Update Kill X funct
This commit is contained in:
parent
dc4a5461ab
commit
005fbf0f4a
|
@ -38,6 +38,8 @@ For those who want the old version, check out `oldmain`. I don't plan on maintai
|
|||
|
||||
Note that there are some programs that is included here, mainly for compatibility or choice reasons. While slstatus is pretty barebones compared to dwmblocks-async, it is included on the repo if one decides not to have statuscmd, for example. This aims to be also compatible with already existing setups.
|
||||
|
||||
For the shutdown menu script (located in `scripts/shutdown`), `/usr/libexec/ssh/gnome-ssh-askpass` was set by default for asking password for killing X. Either change it to a more preferred ssh-askpass program or make sudo passwordless.
|
||||
|
||||
### Keybind notes
|
||||
|
||||
In the documentation for this suite, <kbd>Mod4Key</kbd> would be defined as <kbd>⊞ Win</kbd>/<kbd>⌘ Cmd</kbd>/<kbd>❖ Super</kbd>, depending on whichever keyboard do you use.
|
||||
|
|
|
@ -10,5 +10,5 @@ cat <<EOF | jgmenu --simple --at-pointer
|
|||
Lock session, slock
|
||||
Suspend, systemctl suspend
|
||||
Hibernate, systemctl hibernate
|
||||
Kill X, xkill -a
|
||||
Kill X, pkill X || pkill Xorg || SUDO_ASKPASS=/usr/libexec/ssh/gnome-ssh-askpass sudo -A pkill X || SUDO_ASKPASS=/usr/libexec/ssh/gnome-ssh-askpass sudo -A pkill Xorg
|
||||
EOF
|
||||
|
|
Loading…
Reference in a new issue