fix(hypr): Cursor theme now defined with home.pointerCursor

This commit is contained in:
GaspardCulis 2024-09-23 15:19:39 +02:00
parent b8e03ddcdb
commit 6357f999e7
3 changed files with 8 additions and 10 deletions

View file

@ -46,10 +46,16 @@
pkgs.firefox pkgs.firefox
pkgs.kitty pkgs.kitty
pkgs.yazi pkgs.yazi
# Theme
pkgs.bibata-cursors
]; ];
home.pointerCursor = {
gtk.enable = true;
# x11.enable = true;
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic";
size = 24;
};
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
extraConfig = builtins.readFile ./hyprland.conf; extraConfig = builtins.readFile ./hyprland.conf;

View file

@ -1,13 +1,6 @@
# Hyprland GPU backend # Hyprland GPU backend
# env = WLR_DRM_DEVICES,/dev/dri/card1 # env = WLR_DRM_DEVICES,/dev/dri/card1
# Hyprcursor
env = HYPRCURSOR_THEME,Bibata-Modern
env = HYPRCURSOR_SIZE,24
# X cursor
env = XCURSOR_THEME,Bibata-Modern
env = XCURSOR_SIZE,24
# Backend # Backend
env = GDK_BACKEND, wayland,x11 env = GDK_BACKEND, wayland,x11
env = SDL_VIDEODRIVER, wayland env = SDL_VIDEODRIVER, wayland

View file

@ -6,5 +6,4 @@ exec-once = wallpaperctl daemon
exec-once = swayosd-server exec-once = swayosd-server
exec-once = udiskie exec-once = udiskie
exec-once = eww-bard exec-once = eww-bard
exec-once = hyprctl setcursor Bibata-Modern-Classic 24
exec-once = dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP