diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2025-09-18 10:02:56 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2025-09-18 10:02:56 -0700 |
commit | e421f36a6111b1c40cfef626e6e931ded9f8fa8f (patch) | |
tree | c5535e18272d9d33b7778b1b0b9ee1f911751255 | |
parent | b45debce0ae6f9ec7276bf964f4a139a114c355e (diff) | |
download | nix-e421f36a6111b1c40cfef626e6e931ded9f8fa8f.tar nix-e421f36a6111b1c40cfef626e6e931ded9f8fa8f.tar.gz nix-e421f36a6111b1c40cfef626e6e931ded9f8fa8f.tar.bz2 nix-e421f36a6111b1c40cfef626e6e931ded9f8fa8f.tar.lz nix-e421f36a6111b1c40cfef626e6e931ded9f8fa8f.tar.xz nix-e421f36a6111b1c40cfef626e6e931ded9f8fa8f.tar.zst nix-e421f36a6111b1c40cfef626e6e931ded9f8fa8f.zip |
Fix syntax
-rw-r--r-- | home/nipsy/common/optional/desktops/i3/default.nix | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/home/nipsy/common/optional/desktops/i3/default.nix b/home/nipsy/common/optional/desktops/i3/default.nix index eb2732e..2f2b7a0 100644 --- a/home/nipsy/common/optional/desktops/i3/default.nix +++ b/home/nipsy/common/optional/desktops/i3/default.nix @@ -82,22 +82,18 @@ config = rec { defaultWorkspace = "workspace number 1"; modifier = "Mod4"; - keybindings = lib.mkMerge [ - (lib.mkIf ((builtins.match "^(kaitain|richese)$" config.networking.hostName) != null) { - lib.mkOptionDefault { + keybindings = lib.mkOptionDefault { + lib.mkMerge [ + (lib.mkIf ((builtins.match "^(kaitain|richese)$" config.networking.hostName) != null) { "${modifier}+Return" = "exec st"; - "${modifier}+Shift+e" = "exec ${pkgs.i3}/bin/i3-msg exit"; - "${modifier}+Shift+v" = ''mode "VNC"''; - }; - }) - (lib.mkIf (config.networking.hostName == "ginaz") { - lib.mkOptionDefault { + }) + (lib.mkIf (config.networking.hostName == "ginaz") { "${modifier}+Return" = "exec ghostty"; - "${modifier}+Shift+e" = "exec ${pkgs.i3}/bin/i3-msg exit"; - "${modifier}+Shift+v" = ''mode "VNC"''; - }; - }) - ]; + }) + ]; + "${modifier}+Shift+e" = "exec ${pkgs.i3}/bin/i3-msg exit"; + "${modifier}+Shift+v" = ''mode "VNC"''; + }; startup = [ { command = "${pkgs.feh}/bin/feh --no-fehbg --bg-center ~/bg/StarWarsRetro-BrentCheshire.jpg"; |