aboutsummaryrefslogtreecommitdiffstats
path: root/home
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-04-14 02:28:12 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-04-14 02:28:12 -0700
commit88725ad0370518a959dc0b2b8454cd72b40ead18 (patch)
tree9131877a4010296a1c1b4ecbbd8b8ba60f263743 /home
parentda4263835389068c372712fe886e57d4631d6c40 (diff)
downloadnix-88725ad0370518a959dc0b2b8454cd72b40ead18.tar
nix-88725ad0370518a959dc0b2b8454cd72b40ead18.tar.gz
nix-88725ad0370518a959dc0b2b8454cd72b40ead18.tar.bz2
nix-88725ad0370518a959dc0b2b8454cd72b40ead18.tar.lz
nix-88725ad0370518a959dc0b2b8454cd72b40ead18.tar.xz
nix-88725ad0370518a959dc0b2b8454cd72b40ead18.tar.zst
nix-88725ad0370518a959dc0b2b8454cd72b40ead18.zip
Update i3 config
Diffstat (limited to 'home')
-rw-r--r--home/nipsy/common/optional/desktops/i3/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/home/nipsy/common/optional/desktops/i3/default.nix b/home/nipsy/common/optional/desktops/i3/default.nix
index 5e40312..78d11de 100644
--- a/home/nipsy/common/optional/desktops/i3/default.nix
+++ b/home/nipsy/common/optional/desktops/i3/default.nix
@@ -31,6 +31,7 @@
keybindings = lib.mkOptionDefault {
"${modifier}+Return" = "exec ${pkgs.st}/bin/st";
"${modifier}+Shift+e" = "exec ${pkgs.i3}/bin/i3-msg exit";
+ "${modifier}+Shift+v" = ''mode "VNC"'';
};
startup = [
{
@@ -57,6 +58,11 @@
];
};
enable = true;
- #extraConfig = (builtins.readFile ./config);
+ extraConfig = ''
+ # VNC mode (disable all local keybindings except the toggle keybinding)
+ mode "VNC" {
+ bindsym $mod+Shift+v mode "default"
+ }
+ '';
};
}