diff options
-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" + } + ''; }; } |