diff --git a/modules/nixos/themes/a-happy-gnome/config/dconf/desktop.conf b/modules/nixos/themes/a-happy-gnome/config/dconf/desktop.conf index 1fc375a2..698f147a 100644 --- a/modules/nixos/themes/a-happy-gnome/config/dconf/desktop.conf +++ b/modules/nixos/themes/a-happy-gnome/config/dconf/desktop.conf @@ -50,3 +50,19 @@ locations=[<(uint32 2, <('New York', 'KNYC', true, [(0.71180344078725644, -1.290 [org/gnome/system/location] enabled=false + +# Disable notification pop-outs for the common messenger apps. +[org/gnome/desktop/notifications/application/re-sonny-tangram] +show-banners=false + +[org/gnome/desktop/notifications/application/org-gnome-polari] +show-banners=false + +[org/gnome/desktop/notifications/application/thunderbird] +show-banners=false + +[org/gnome/desktop/notifications/application/io-github-hexchat] +show-banners=false + +[org/gnome/desktop/notifications/application/org-gnome-evolution-alarm-notify] +show-banners=false diff --git a/modules/nixos/themes/a-happy-gnome/config/dconf/shell-extensions.conf b/modules/nixos/themes/a-happy-gnome/config/dconf/shell-extensions.conf index 9a4b655f..81d007ab 100644 --- a/modules/nixos/themes/a-happy-gnome/config/dconf/shell-extensions.conf +++ b/modules/nixos/themes/a-happy-gnome/config/dconf/shell-extensions.conf @@ -19,9 +19,12 @@ apps-show-extra-details=true # Minor tweaks ahoy! [org/gnome/shell/extensions/just-perfection] activities-button=false -workspace-wrap-around=false -window-demands-attention-focus=true +clock-menu-position-offset=9 +clock-menu-position=1 +notification-banner-position=2 ripple-box=false +window-demands-attention-focus=true +workspace-wrap-around=false # The lovely tool if you're a mouse handler. [org/gnome/shell/extensions/flypie] diff --git a/modules/nixos/themes/a-happy-gnome/default.nix b/modules/nixos/themes/a-happy-gnome/default.nix index ccbc2280..fde5e655 100644 --- a/modules/nixos/themes/a-happy-gnome/default.nix +++ b/modules/nixos/themes/a-happy-gnome/default.nix @@ -53,6 +53,7 @@ in appindicator alphabetical-app-grid burn-my-windows + caffeine desktop-cube gsconnect x11-gestures @@ -74,6 +75,18 @@ in internal = true; }; + extraApps = lib.mkOption { + type = with lib.types; listOf package; + description = "A list of applications to be included in the theme."; + default = with pkgs; [ + gnome.polari + ]; + example = lib.literalExpression '' + with pkgs; [ gnome.polari ]; + ''; + internal = true; + }; + terminal = lib.mkOption { type = lib.types.package; description = '' @@ -109,12 +122,8 @@ in totem epiphany gnome-terminal - gnome-music yelp - ] ++ (with pkgs; [ - gnome-user-docs - gnome-tour - ]); + ]; # I'm pretty sure this is already done but just to make sure. services.gnome.chrome-gnome-shell.enable = true; @@ -165,6 +174,6 @@ in # GNOME search providers. gnome-search-provider-recoll - ] ++ cfg.shellExtensions; + ] ++ cfg.shellExtensions ++ cfg.extraApps; }; }