From b4e7d9f2b523e6da3df5a8c48ad97470854694e2 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Tue, 21 Jul 2020 02:00:43 +0200 Subject: [PATCH] capslock handling --- templates/i3.config.j2 | 2 ++ templates/reload.sh.j2 | 1 + 2 files changed, 3 insertions(+) diff --git a/templates/i3.config.j2 b/templates/i3.config.j2 index aed96d5..f8d8560 100644 --- a/templates/i3.config.j2 +++ b/templates/i3.config.j2 @@ -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}} diff --git a/templates/reload.sh.j2 b/templates/reload.sh.j2 index 7607736..7523caf 100644 --- a/templates/reload.sh.j2 +++ b/templates/reload.sh.j2 @@ -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