aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2024-05-21 17:01:56 -0700
committerCaroline Larimore <caroline@larimo.re>2024-05-21 17:01:56 -0700
commit8fc8554d8a60f5acda74462c3ff19450a5443547 (patch)
treebb644b3b554037babf7fd16464cd6cbfb3900412 /home
parentf71b3fe651e8a549f4d26b6aa84eaf8ca1a7e3e7 (diff)
Swap alt and meta keys using keyd
Diffstat (limited to 'home')
-rw-r--r--home/i3.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/home/i3.nix b/home/i3.nix
index 86d2e05..2df6dc9 100644
--- a/home/i3.nix
+++ b/home/i3.nix
@@ -5,7 +5,8 @@
enable = true;
config = let
- mod = "Mod1";
+ #NOTE: Alt (Mod1) and meta (Mod4) have been swapped by keyd.
+ mod = "Mod4";
ws0 = "0:Main";
ws1 = "1:Terminal";
@@ -117,7 +118,7 @@
"Shift+Print" = "exec ${pkgs.flameshot}/bin/flameshot screen -c";
"Print" = "exec ${pkgs.flameshot}/bin/flameshot full -c";
"${mod}+Shift+s" = "exec ${pkgs.flameshot}/bin/flameshot gui -c";
- "Mod4+Shift+s" = "exec ${pkgs.flameshot}/bin/flameshot gui -c";
+ "Mod1+Shift+s" = "exec ${pkgs.flameshot}/bin/flameshot gui -c";
"${mod}+Ctrl+Shift+s" = "exec ${pkgs.flameshot}/bin/flameshot launcher -c";
# Media keys