From 1f3e1369a5113737b24c5639688ee2e105da3f52 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 22 Jun 2024 16:02:45 -0400 Subject: [PATCH] cinnamon: adked touchpad settings and editor keybindings --- homeManagerModules/desktop/cinnamon/default.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/homeManagerModules/desktop/cinnamon/default.nix b/homeManagerModules/desktop/cinnamon/default.nix index 4e71835b..bcf4d080 100644 --- a/homeManagerModules/desktop/cinnamon/default.nix +++ b/homeManagerModules/desktop/cinnamon/default.nix @@ -14,15 +14,16 @@ "org/cinnamon/desktop/interface".font-name = "${config.alyraffauf.theme.font.name} Regular ${toString config.alyraffauf.theme.font.size}"; "org/cinnamon/desktop/interface".gtk-theme = config.alyraffauf.theme.gtk.name; "org/cinnamon/desktop/interface".icon-theme = config.alyraffauf.theme.iconTheme.name; + "org/cinnamon/desktop/peripherals/touchpad".click-method = "fingers"; "org/cinnamon/desktop/wm/preferences".titlebar-font = "${config.alyraffauf.theme.font.name} ${toString config.alyraffauf.theme.font.size}"; "org/cinnamon/gestures".enabled = true; "org/cinnamon/muffin".workspace-cycle = true; "org/cinnamon/muffin".workspaces-only-on-primary = true; "org/cinnamon/settings-daemon/peripherals/touchscreen".orientation-lock = false; "org/cinnamon/theme".name = config.alyraffauf.theme.gtk.name; - "org/gnome/desktop/interface".gtk-theme = config.alyraffauf.theme.gtk.name; "org/gnome/desktop/interface".cursor-size = config.alyraffauf.theme.cursorTheme.size; "org/gnome/desktop/interface".cursor-theme = config.alyraffauf.theme.cursorTheme.name; + "org/gnome/desktop/interface".gtk-theme = config.alyraffauf.theme.gtk.name; "org/gnome/desktop/interface".icon-theme = config.alyraffauf.theme.iconTheme.name; "org/gnome/desktop/interface".monospace-font-name = "${config.alyraffauf.theme.terminalFont.name} Regular ${toString config.alyraffauf.theme.terminalFont.size}"; "org/gnome/desktop/peripherals/touchpad".natural-scroll = true; @@ -41,6 +42,7 @@ "org/cinnamon/desktop/keybindings/media-keys" = { www = ["XF86WWW" "b"]; terminal = ["" "t"]; + home = ["f" "XF86Explorer"]; }; "org/cinnamon/desktop/keybindings/wm" = { # TODO: Declaratively disable conflict with panel applet. @@ -55,6 +57,16 @@ switch-to-workspace-8 = ["8"]; switch-to-workspace-9 = ["9"]; }; + + "org/cinnamon/desktop/keybindings" = { + custom-list = ["__dummy__" "custom0"]; + }; + + "org/cinnamon/desktop/keybindings/custom-keybindings/custom0" = { + binding = ["e"]; + name = "Open Editor"; + command = "${config.alyraffauf.defaultApps.editor.exe}"; + }; }; }; };