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.kitty
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 = {
enable = true;
extraConfig = builtins.readFile ./hyprland.conf;

View file

@ -1,13 +1,6 @@
# Hyprland GPU backend
# 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
env = GDK_BACKEND, wayland,x11
env = SDL_VIDEODRIVER, wayland

View file

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