Prechádzať zdrojové kódy

Update awful command and disable conky for now

Andrew Swistak 8 rokov pred
rodič
commit
781ab04e9a

+ 2 - 2
config/awesome/rc.lua

@@ -43,8 +43,8 @@ do
 end
 -- }}}
 
-awful.util.spawn('compton')
---awful.util.spawn_with_shell(os.getenv('HOME') .. '/.conkyinit --restart >/dev/null 2>&1')
+awful.spawn('compton')
+--awful.spawn_with_shell(os.getenv('HOME') .. '/.conkyinit --restart >/dev/null 2>&1')
 
 -- {{{ Variable definitions
 -- Themes define colours, icons, font and wallpapers.

+ 24 - 0
config/systemd/user/slimlock.service

@@ -0,0 +1,24 @@
+;[Unit]
+;Description=User suspend actions
+;Before=suspend.target
+
+;[Service]
+;User=%u
+;Type=forking
+;Environment=DISPLAY=:0
+;ExecStart=/usr/bin/xautolock -locknow
+
+;[Install]
+;WantedBy=suspend.target
+
+[Unit]
+Description=Lock X session using slimlock
+Before=suspend.target
+
+[Service]
+User=%u
+Type=simple
+ExecStart=/usr/bin/xautolock -locknow
+
+[Install]
+WantedBy=suspend.target

+ 1 - 0
config/systemd/user/suspend.target.wants/slimlock.service

@@ -0,0 +1 @@
+/home/drew/.config/systemd/user/slimlock.service

+ 9 - 0
config/systemd/user/xautolock.service

@@ -0,0 +1,9 @@
+[Unit]
+Description=Lock screen after timeout
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/xautolock -time 10 -locker "/usr/bin/slimlock" -nowlocker "/usr/bin/slimlock" -detectsleep
+
+[Install]
+WantedBy=default.target