From 92163021be0539fe8505dc762e4725ba7e1e8912 Mon Sep 17 00:00:00 2001 From: Emi Simpson Date: Sun, 15 Jan 2023 15:15:52 -0500 Subject: [PATCH] Automatically configure GNOME extensions --- configs/dconf.nix | 62 ++++++++++++++++++++++++++++++++--------------- 1 file changed, 42 insertions(+), 20 deletions(-) diff --git a/configs/dconf.nix b/configs/dconf.nix index a386f7d..34eef47 100644 --- a/configs/dconf.nix +++ b/configs/dconf.nix @@ -1,24 +1,4 @@ mkTuple: { - "org/gnome/shell/extensions/pop-shell" = { - tile-move-down-global=["j"]; - tile-move-up-global=["k"]; - tile-move-left-global=["h"]; - tile-move-right-global=["l"]; - focus-down=["j"]; - focus-up=["k"]; - focus-left=["h"]; - focus-right=["l"]; - tile-orientation=["o"]; - tile-floating=["g"]; - tile-stacking-global=["s"]; - - active-hint=true; - active-hint-border-radius=true; - show-title=false; - smart-gaps=true; - snap-to-grid=true; - tile-by-default=true; - }; "org/gnome/settings-daemon/plugins/media-keys" = { custom-keybindings = ["/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/terminal/"]; screensaver = ["Escape"]; @@ -43,6 +23,48 @@ mkTuple: { "org/gnome/shell" = { favorite-apps=["org.gnome.Nautilus.desktop"]; + enabled-extensions = [ + "pop-shell@system76.com" + "firefox-pip@bennypowers.com" + "espresso@coadmunkee.github.com" + "burn-my-windows@schneegans.github.com" + "blur-my-shell@aunetx" + "user-theme@gnome-shell-extensions.gcampax.github.com" + ]; + }; + "org/gnome/shell/extensions/pop-shell" = { + tile-move-down-global=["j"]; + tile-move-up-global=["k"]; + tile-move-left-global=["h"]; + tile-move-right-global=["l"]; + focus-down=["j"]; + focus-up=["k"]; + focus-left=["h"]; + focus-right=["l"]; + tile-orientation=["o"]; + tile-floating=["g"]; + tile-stacking-global=["s"]; + + active-hint=true; + active-hint-border-radius=true; + show-title=false; + smart-gaps=true; + snap-to-grid=true; + tile-by-default=true; + }; + "org/gnome/shell/extensions/burn-my-windows" = { + disable-on-battery=true; + broken-glass-animation-time = 666; + broken-glass-close-effect = true; + pixelate-open-effect = true; + fire-close-effect = false; + glide-close-effect = false; + }; + "org/gnome/shell/extensions/espresso" = { + show-notifications=false; + }; + "org/gnome/shell/extensions/blur-my-shell" = { + hacks-level = 0; }; "org/gnome/desktop/input-sources" = { show-all-sources=true;