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 6be44ee7..1252cfc4 100644 --- a/modules/nixos/themes/a-happy-gnome/config/dconf/desktop.conf +++ b/modules/nixos/themes/a-happy-gnome/config/dconf/desktop.conf @@ -36,3 +36,7 @@ enabled=false [org/gnome/desktop/wm/preferences] workspace-names=['Web', 'Dev', 'Notes', 'Graphics', 'Audio'] + +# Application configs. +[re/sonny/Junction] +show-app-names=true diff --git a/modules/nixos/themes/a-happy-gnome/config/dconf/keybindings.conf b/modules/nixos/themes/a-happy-gnome/config/dconf/keybindings.conf index 71aeb373..b3679a54 100644 --- a/modules/nixos/themes/a-happy-gnome/config/dconf/keybindings.conf +++ b/modules/nixos/themes/a-happy-gnome/config/dconf/keybindings.conf @@ -44,13 +44,13 @@ toggle-message-tray=['v'] # Bringing my old habits back when I use standalone window managers. [org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0] binding='Return' -command='alacritty' +command='kitty' name='Terminal' # The equivalent to the newspaper in the morning. [org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1] binding='r' -command='nix run nixpkgs#alacritty -- -e nix run nixpkgs#newsboat' +command='nix run nixpkgs#kitty -- -e nix run nixpkgs#newsboat' name='News aggregator' # We don't want to restore them shortcuts. diff --git a/modules/nixos/themes/a-happy-gnome/default.nix b/modules/nixos/themes/a-happy-gnome/default.nix index 4586c752..0d1e634d 100644 --- a/modules/nixos/themes/a-happy-gnome/default.nix +++ b/modules/nixos/themes/a-happy-gnome/default.nix @@ -57,7 +57,24 @@ in }; }; + xdg.mime = { + enable = true; + defaultApplications = { + # Default application for web browser. + "text/html" = "re.sonny.Junction.desktop"; + + # Default handler for all files. Not all applications will + # respect it, though. + "x-scheme-handler/file" = "re.sonny.Junction.desktop"; + + # Default handler for directories. + "inode/directory" = "re.sonny.Junction.desktop"; + }; + }; + environment.systemPackages = with pkgs; [ + # The preferred terminal. + kitty # The application menu. junction @@ -90,10 +107,6 @@ in # GNOME search providers. gnome-search-provider-recoll - - gnome-search-provider-browser-tabs.gnome-shell-extension - gnome-search-provider-browser-tabs.web-extension - gnome-search-provider-browser-tabs.connector ]; }; }