Przeglądaj źródła

capslock handling

systemd-xsession
rodzic
commit
b4e7d9f2b5
2 zmienionych plików z 3 dodań i 0 usunięć
  1. +2
    -0
      templates/i3.config.j2
  2. +1
    -0
      templates/reload.sh.j2

+ 2
- 0
templates/i3.config.j2 Wyświetl plik

@@ -39,6 +39,7 @@ bindsym XF86Calculator exec {{eralitex_calculator_command}}
## Special modes
bindsym $mod+t mode timer
bindsym $mod+s mode session
bindsym $mod+S mode session
bindsym $mod+c mode clipboard
bindcode $mod+49 mode "remote"

@@ -166,6 +167,7 @@ mode "apps" {
mode "session" {
bindsym q exit
bindsym r reload; exec --no-startup-id {{eralitex_directory}}/{{item}}/reload; mode "default"; {{on_focus_workspace}}
bindsym R reload; exec --no-startup-id {{eralitex_directory}}/{{item}}/reload; mode "default"; {{on_focus_workspace}}
bindsym s exec --no-startup-id {{eralitex_lock_command}}; exec --no-startup-{{eralitex_suspend_command}}; mode "default"; {{on_focus_workspace}}
bindsym x exec --no-startup-id {{eralitex_lock_command}}; mode "default"; {{on_focus_workspace}}
bindsym e exec --no-startup-id {{eralitex_enable_screensaver_command}}; mode "default"; {{on_focus_workspace}}


+ 1
- 0
templates/reload.sh.j2 Wyświetl plik

@@ -5,6 +5,7 @@ setxkbmap de
xmodmap {{eralitex_directory}}/Xmodmap
setxkbmap -option caps:hyper
xmodmap {{eralitex_directory}}/Xmodmap
xkbset nullify lock

# background
xsetroot -solid black