hyprland: fix setting cursor, increase size 24 -> 32

This commit is contained in:
Evie Litherland-Smith 2024-02-27 14:00:11 +00:00
parent 6bae1d114c
commit 5ed0d0ef60
2 changed files with 3 additions and 4 deletions

View file

@ -88,8 +88,8 @@
"XDG_SESSION_DESKTOP=Hyprland" "XDG_SESSION_DESKTOP=Hyprland"
"GDK_BACKEND=wayland,x11" "GDK_BACKEND=wayland,x11"
"GTK_THEME,${gtk.theme.name}" "GTK_THEME,${gtk.theme.name}"
"XCURSOR_THEME,${gtk.cursorTheme.name}" "XCURSOR_THEME,${stylix.cursor.name}"
"XCURSOR_SIZE,${toString gtk.cursorTheme.size}" "XCURSOR_SIZE,${toString stylix.cursor.size}"
"QT_AUTO_SCREEN_SCALE_FACTOR,1" "QT_AUTO_SCREEN_SCALE_FACTOR,1"
"QT_QPA_PLATFORM,wayland" "QT_QPA_PLATFORM,wayland"
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1" "QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
@ -97,7 +97,7 @@
"GRIM_DEFAULT_DIR=${xdg.userDirs.pictures}/Grim" "GRIM_DEFAULT_DIR=${xdg.userDirs.pictures}/Grim"
]; ];
exec-once = with config; [ exec-once = with config; [
"${wayland.windowManager.hyprland.finalPackage}/bin/hyprctl setcursor ${gtk.theme.name} ${toString gtk.cursorTheme.size}" "${wayland.windowManager.hyprland.finalPackage}/bin/hyprctl setcursor ${stylix.cursor.name} ${toString stylix.cursor.name}"
"${pkgs.swaynotificationcenter}/bin/swaync" "${pkgs.swaynotificationcenter}/bin/swaync"
"${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1" "${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1"
"${pkgs.protonmail-bridge}/bin/protonmail-bridge -n" "${pkgs.protonmail-bridge}/bin/protonmail-bridge -n"

View file

@ -17,7 +17,6 @@
cursor = { cursor = {
package = pkgs.volantes-cursors; package = pkgs.volantes-cursors;
name = "volantes_cursors"; name = "volantes_cursors";
size = 24;
}; };
fonts = rec { fonts = rec {
sizes = { sizes = {