diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-04-14 02:28:12 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-04-14 02:28:12 -0700 |
commit | 88725ad0370518a959dc0b2b8454cd72b40ead18 (patch) | |
tree | 9131877a4010296a1c1b4ecbbd8b8ba60f263743 /home | |
parent | da4263835389068c372712fe886e57d4631d6c40 (diff) | |
download | nix-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 '')
-rw-r--r-- | home/nipsy/common/optional/desktops/i3/default.nix | 8 |
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" + } + ''; }; } |