Last active
February 2, 2019 17:53
-
-
Save davewongillies/94f3acbfa0e5fd0f2cca36e249a31e4a to your computer and use it in GitHub Desktop.
Revisions
-
davewongillies revised this gist
Feb 2, 2019 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,14 +1,14 @@ # /etc/systemd/system/wakelock.service [Unit] Description=Lock the screen on resume from suspend Before=sleep.target suspend.target [Service] User=daveg Type=forking Environment=DISPLAY=:0 ExecStart=/usr/bin/i3lock -i /home/daveg/Pictures/thinkpad-black.png -c 000000 [Install] WantedBy=sleep.target suspend.target -
victorhaggqvist renamed this gist
Mar 20, 2015 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ # file /etc/systemd/system/wakelock.service [Unit] Description=Lock the screen on resume from suspend -
victorhaggqvist created this gist
Mar 20, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ [Unit] Description=Lock the screen on resume from suspend [Service] User=victor Type=forking Environment=DISPLAY=:0 ExecStart=/usr/bin/i3lock [Install] WantedBy=sleep.target WantedBy=suspend.target