Update Hyprland configuration and improve icon theme settings

This commit is contained in:
Chris Toph 2025-04-18 14:45:13 -04:00
parent 2230626be5
commit c8bec32001
4 changed files with 29 additions and 13 deletions

View file

@ -66,7 +66,7 @@ let
"SUPER, L, exec, hyprlock"
# "SUPER, L, exec, ${lockscreen}"
"SUPER, Q, killactive,"
"CTRL_ALT, Delete, exit,"
"CTRL_ALT, Delete, exec, uwsm stop"
", ${brightUp}, exec, ${brightness} + 10"
", ${brightDown}, exec, ${brightness} - 10"

View file

@ -31,14 +31,14 @@
"NIXOS_OZONE_WL, 1" # for ozone-based and electron apps to run on wayland
"MOZ_ENABLE_WAYLAND, 1" # for firefox to run on wayland
"MOZ_WEBRENDER, 1" # for firefox to run on wayland
"XDG_SESSION_TYPE,wayland"
"XDG_SESSION_DESKTOP,Hyprland"
"XDG_CURRENT_DESKTOP,Hyprland"
"WLR_NO_HARDWARE_CURSORS,1"
"WLR_RENDERER_ALLOW_SOFTWARE,1"
"QT_QPA_PLATFORM,wayland"
"GTK_USE_PORTAL,1"
"HYPRCURSOR_THEME,rose-pine-hyprcursor" # this will be better than default for now
"XDG_SESSION_TYPE, wayland"
"XDG_SESSION_DESKTOP, Hyprland"
"XDG_CURRENT_DESKTOP, Hyprland"
"WLR_NO_HARDWARE_CURSORS, 1"
"WLR_RENDERER_ALLOW_SOFTWARE, 1"
"QT_QPA_PLATFORM, wayland"
"GTK_USE_PORTAL, 1"
"HYPRCURSOR_THEME, rose-pine-hyprcursor" # this will be better than default for now
];
xwayland = {

View file

@ -7,6 +7,17 @@
let
path = lib.custom.relativeToRoot "pkgs/common/monocraft-nerd-fonts/package.nix";
monocraft-nerd-fonts = pkgs.callPackage path { inherit pkgs; };
qogir = pkgs.qogir-icon-theme.override {
colorVariants = [
"dark"
"standard"
];
themeVariants = [
"ubuntu"
];
};
in
{
imports = [
@ -61,8 +72,14 @@ in
enable = true;
iconTheme = {
package = pkgs.adwaita-icon-theme;
name = "Adwaita";
# package = qogir;
# name = "Qogir";
package = (
pkgs.papirus-icon-theme.override {
color = "yellow";
}
);
name = "Papirus";
};
};
@ -77,4 +94,3 @@ in
};
};
}

View file

@ -5,7 +5,7 @@
}:
let
# FIXME(xdg): That should use config options and just reference whatever is configured as the default
files = [ "nautilus.desktop" ];
files = [ "org.gnome.Nautilus.desktop" ];
browser = [ "zen.desktop" ];
editor = [ "code.desktop" ];
steam = [ "steam-session.desktop" ];