From 88725ad0370518a959dc0b2b8454cd72b40ead18 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sun, 14 Apr 2024 02:28:12 -0700 Subject: Update i3 config --- home/nipsy/common/optional/desktops/i3/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'home') 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" + } + ''; }; } -- cgit v1.2.3