Browse Source

set numlock to off on reload

pull/1/head
parent
commit
849292a09b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/x11/xsession.reload.fish.j2

+ 1
- 1
templates/x11/xsession.reload.fish.j2 View File

@@ -3,7 +3,7 @@
{{ansible_managed|comment}} {{ansible_managed|comment}}


# reset keyboard state # reset keyboard state
numlockx on
numlockx off
if [ (xset -q | sed -n 's/^.*Caps Lock:\s*\(\S*\).*$/\1/p') = "on" ] if [ (xset -q | sed -n 's/^.*Caps Lock:\s*\(\S*\).*$/\1/p') = "on" ]
xdotool key Caps_Lock xdotool key Caps_Lock
end end