themes/a-happy-gnome: update XDG prefs and add kitty

This commit is contained in:
Gabriel Arazas 2022-03-28 08:19:12 +08:00
parent 18f36a25c5
commit e5c6708f64
3 changed files with 23 additions and 6 deletions

View File

@ -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

View File

@ -44,13 +44,13 @@ toggle-message-tray=['<Super>v']
# Bringing my old habits back when I use standalone window managers.
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0]
binding='<Super>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='<Shift><Super>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.

View File

@ -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
];
};
}