mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 10:48:35 +02:00
systemd: tentative to manage session with systemd
To me, I think it was cleaner to have a parameter with the current display. This way, the session is specific to the current display. It seems BindsTo doesn't think this way.
This commit is contained in:
parent
d5b72851ec
commit
ae691bb025
20 changed files with 132 additions and 82 deletions
11
rc/start.lua
11
rc/start.lua
|
@ -1,11 +1,5 @@
|
|||
-- Start idempotent commands
|
||||
local execute = {
|
||||
-- Kill any running nm-applet
|
||||
"pkill nm-applet",
|
||||
-- Start PulseAudio
|
||||
"xset -b", -- Disable bell
|
||||
-- Enable numlock
|
||||
"numlockx on",
|
||||
-- Default browser
|
||||
"xdg-mime default " .. config.browser .. ".desktop " ..
|
||||
"x-scheme-handler/http " ..
|
||||
|
@ -17,8 +11,3 @@ local execute = {
|
|||
}
|
||||
|
||||
os.execute(table.concat(execute, ";"))
|
||||
|
||||
-- Spawn various X programs
|
||||
xrun("polkit-gnome-authentication-agent-1",
|
||||
"/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1")
|
||||
xrun("NetworkManager Applet", "nm-applet")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue