From 52a8aaf98bd8627dd34d08203fd4d4f0323ca3b6 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 3 Jun 2023 19:29:34 +0200 Subject: ma gnome: deploy shortcuts and config with dconf --- makefu/2configs/gui/gnome.nix | 47 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) (limited to 'makefu/2configs/gui') diff --git a/makefu/2configs/gui/gnome.nix b/makefu/2configs/gui/gnome.nix index c949bb8ad..44ba2dd67 100644 --- a/makefu/2configs/gui/gnome.nix +++ b/makefu/2configs/gui/gnome.nix @@ -13,4 +13,51 @@ in # user = mainUser; #}; }; + programs.dconf.enable = true; + home-manager.users.${mainUser}.dconf = { + enable = true; + settings = { + "org/gnome/terminal/legacy" = { + mnemonics-enabled = false; + theme-variant = "dark"; + }; + "org/gnome/desktop/interface" = { + enable-animations = false; + enable-hot-corners = false; + show-battery-percentage = true; + }; + "org/gnome/desktop/peripherals/touchpad" = { + edge-scrolling-enabled = false; + natural-scroll = false; + send-events = "enabled"; + tap-to-click = true; + two-finger-scrolling-enabled = true; + }; + "org/gnome/desktop/session".idle-delay = 900; + "org/gnome/desktop/wm/keybindings" = { + close=["c"]; + minimize=["n"]; + move-to-workspace-1=["1"]; + move-to-workspace-2=["2"]; + move-to-workspace-3=["3"]; + move-to-workspace-4=["4"]; + panel-run-dialog=["r"]; + switch-to-workspace-1=["1"]; + switch-to-workspace-2=["2"]; + switch-to-workspace-3=["3"]; + switch-to-workspace-4=["4"]; + toggle-fullscreen=["f"]; + }; + "org/gnome/desktop/wm/preferences".num-workspaces = 4; + "org/gnome/settings-daemon/plugins/color".night-light-enabled = true; + "org/gnome/settings-daemon/plugins/media-keys" = { + custom-keybindings = [ "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/"]; + }; + "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = { + binding = "Return"; + command = "gnome-terminal"; + name = "terminal"; + }; + }; + }; } -- cgit v1.2.3