Configure rofi-powermenu and lockscreen script

Use rofi-powermenu to show options for suspend,reboot, shutdown,
lockscreen, log out. Can be invoked with <M-backspace>. Other power
option shortcuts have been removed from quick access through sxhkd or
i3. Lockscreen can still be quickly set with <M-x>.

Lockscreen now resides in its own script to provide one source of truth,
and in case it is further customized in the future.
This commit is contained in:
Marty Oehme 2019-09-05 13:04:18 +02:00
parent 16cb8f092e
commit 3d9ea5cffe
3 changed files with 24 additions and 32 deletions

8
.local/bin/lockscreen Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env sh
# In case we want to pause any players
# (see https://github.com/LukeSmithxyz/voidrice/blob/archi3/.config/sxhkd/sxhkdrc for that)
# mpc -q pause
# amixer set Master mute
i3lock -e -f -c 1d2021