Simplify xinit
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user