Simplify xinit

This commit is contained in:
natemaia
2018-08-28 21:46:36 -07:00
parent 1c713f1bc5
commit 6f638e5aaa
3 changed files with 8 additions and 36 deletions

View File

@ -11,12 +11,11 @@
# restore the background
nitrogen --restore &
# allow pressing super alone to simulate two key presses
if [[ $session == 'dwm' ]]; then
# allow pressing super alone to simulate Alt-p
ksuperkey -e 'Super_L=Alt_L|p' &
ksuperkey -e 'Super_R=Alt_L|p' &
else
# allow pressing super alone to simulate Alt-p
ksuperkey -e 'Super_L=Alt_L|F1' &
ksuperkey -e 'Super_R=Alt_L|F1' &
fi