summaryrefslogtreecommitdiff
path: root/home/i3-config.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-05-28 20:37:18 -0600
committerAlejandro Soto <alejandro@34project.org>2023-05-28 20:37:18 -0600
commitc92dee7b00e6147ff91bab2f3113d1500f123ed9 (patch)
tree951a1eac39de0d6832322769fa9c914be87d256c /home/i3-config.nix
parent8413062d39c4e0344edd229f6a01fb2c46a5d94c (diff)
home/i3: add $mod+i shortcut for xcalib
Diffstat (limited to 'home/i3-config.nix')
-rw-r--r--home/i3-config.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/home/i3-config.nix b/home/i3-config.nix
index 999745b..66dbfc7 100644
--- a/home/i3-config.nix
+++ b/home/i3-config.nix
@@ -1,4 +1,4 @@
-{ i3lock-color, i3status-rust, rofi, setxkbmap, st, tmux-lift, xautolock }:
+{ i3lock-color, i3status-rust, rofi, st, tmux-lift, xautolock, xcalib, xorg }:
''
# This file has been auto-generated by i3-config-wizard(1).# It will not be overwritten, so edit it as you like.
#
@@ -158,8 +158,9 @@
position top
}
- bindsym $mod+Shift+U exec ${setxkbmap}/bin/setxkbmap us
- bindsym $mod+Shift+E exec ${setxkbmap}/bin/setxkbmap latam
+ bindsym $mod+Shift+U exec ${xorg.setxkbmap}/bin/setxkbmap us
+ bindsym $mod+Shift+E exec ${xorg.setxkbmap}/bin/setxkbmap latam
+ bindsym $mod+I exec ${xcalib}/bin/xcalib -invert -alter
focus_follows_mouse no