diff --git a/gtk/gtk.sh b/gtk/gtk.sh index 84105f4..eab930e 100755 --- a/gtk/gtk.sh +++ b/gtk/gtk.sh @@ -15,3 +15,5 @@ gsettings set "$gnome_schema" icon-theme "$icon_theme" gsettings set "$gnome_schema" cursor-theme "$cursor_theme" gsettings set "$gnome_schema" font-name "$font_name" gsettings set "$gnome_schema" color-scheme "prefer-dark" + +echo "exec-once = hyprctl setcursor $cursor_theme 24" > ~/dotfiles/hypr/conf/cursor.conf \ No newline at end of file diff --git a/hypr/conf/autostart.conf b/hypr/conf/autostart.conf index b3abdeb..1f3facb 100644 --- a/hypr/conf/autostart.conf +++ b/hypr/conf/autostart.conf @@ -11,9 +11,6 @@ exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # Load Dunst Notification Manager exec-once = dunst -# Set Cursor Theme -exec-once = hyprctl setcursor Bibata-Modern-Ice 24 - # Load GTK settings exec-once = ~/dotfiles/gtk/gtk.sh diff --git a/hypr/conf/cursor.conf b/hypr/conf/cursor.conf new file mode 100644 index 0000000..b3b3493 --- /dev/null +++ b/hypr/conf/cursor.conf @@ -0,0 +1 @@ +exec-once = hyprctl setcursor Bibata-Modern-Ice 24 diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 12f123d..0b2cdbb 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -17,6 +17,11 @@ source = ~/dotfiles/hypr/conf/monitor.conf # ----------------------------------------------------- source = ~/dotfiles/hypr/conf/autostart.conf +# ----------------------------------------------------- +# Cursor +# ----------------------------------------------------- +source = ~/dotfiles/hypr/conf/cursor.conf + # ----------------------------------------------------- # Environment # -----------------------------------------------------