hm: hypr, vesktop, dunst

This commit is contained in:
djaidjai committed 2026-10-06 13:30:23 +02:00
1 parent c3234faf17
commit 597c0582a8
12 files changed
+267 -103

No files matched your search

+48 -29
View File
@@ -64,14 +64,9 @@
wl-clipboard
wl-clipboard-x11
swaybg
catppuccin-qt5ct
];
qt = {
enable = true;
platformTheme = "qt5ct"; # might have to go back to gnome if this makes kdenlive crash
style = "adwaita-dark";
};
# i have no clue what this does.
# GLib aborts any program that loads a GSettings schema it can't find, and Qt's GTK file dialog needs gtk3's. Nothing else puts these on the path.
environment.sessionVariables.GSETTINGS_SCHEMA_DIR = builtins.concatStringsSep ":" [
@@ -79,30 +74,54 @@
"${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}/glib-2.0/schemas"
];
# TODO: other mimetypes?
xdg.mime.defaultApplications = {
"inode/directory" = [ "kitty" ];
"text/html" = [ "librewolf.desktop" ];
"x-scheme-handler/http" = [ "librewolf.desktop" ];
"x-scheme-handler/https" = [ "librewolf.desktop" ];
};
xdg.portal = {
enable = true;
config = {
common.default = [ "gtk" ];
hyprland = {
default = [
"gtk"
"hyprland"
];
"org.freedesktop.impl.portal.FileChooser" = [ "termfilechooser" ];
environment.pathsToLink = [ "/share/xdg-desktop-portal" "/share/applications" ];
home-manager.users.djai = {
xdg = {
mimeApps = {
enable = true;
defaultApplications = {
"inode/directory" = [ "kitty.desktop" ];
"image/gif" = [ "mpv.desktop" ];
"text/html" = [ "librewolf.desktop" ];
"application/pdf" = [ "zathura.desktop" ];
"image/*" = [ "feh.deskop" ];
"x-scheme-handler/http" = [ "librewolf.desktop" ];
"x-scheme-handler/https" = [ "librewolf.desktop" ];
};
};
# TODO: check termfilechooser still works; had to disable this becos of hyprland
# portal = {
# enable = true;
# config = {
# common.default = [ "gtk" ];
# hyprland = {
# default = [
# "gtk"
# "hyprland"
# ];
# org.freedesktop.impl.portal.FileChooser = [ "termfilechooser" ];
# };
# };
# extraPortals = with pkgs; [
# xdg-desktop-portal-gtk
# xdg-desktop-portal-termfilechooser
# ];
# };
};
catppuccin = {
cursors = {
enable = true;
accent = "mauve";
};
qt5ct.enable = true;
};
qt = {
style.name = "kvantum"; # required for catppuccin-nix
platformTheme.name = "qtct";
enable = true;
};
# programs.hyprland adds the Hyprland portal.
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
xdg-desktop-portal-termfilechooser
];
};
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.