From d2d71fef5508d9d5575ebf3892fae1f5a5c14c9f Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 9 Jun 2024 13:21:27 -0400 Subject: [PATCH] fix: disable use cursors from gtk, so hyprcursors will be used --- hypr/conf/cursor.conf | 1 + hypr/scripts/gtk.sh | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/hypr/conf/cursor.conf b/hypr/conf/cursor.conf index 39f83fd..0c6bfed 100644 --- a/hypr/conf/cursor.conf +++ b/hypr/conf/cursor.conf @@ -1 +1,2 @@ exec-once = hyprctl setcursor Vimix 24 +env = HYPRCURSOR_THEME,Vimix-hyprcursors diff --git a/hypr/scripts/gtk.sh b/hypr/scripts/gtk.sh index e412fab..4e56ba7 100755 --- a/hypr/scripts/gtk.sh +++ b/hypr/scripts/gtk.sh @@ -29,7 +29,7 @@ gsettings set "$gnome_schema" cursor-theme "$cursor_theme" gsettings set "$gnome_schema" font-name "$font_name" gsettings set "$gnome_schema" color-scheme "prefer-dark" -if [ -f ~/dotfiles/hypr/conf/cursor.conf ] ;then - echo "exec-once = hyprctl setcursor $cursor_theme $cursor_size" > ~/dotfiles/hypr/conf/cursor.conf - hyprctl setcursor $cursor_theme $cursor_size -fi \ No newline at end of file +# if [ -f ~/dotfiles/hypr/conf/cursor.conf ] ;then +# echo "exec-once = hyprctl setcursor $cursor_theme $cursor_size" > ~/dotfiles/hypr/conf/cursor.conf +# hyprctl setcursor $cursor_theme $cursor_size +# fi \ No newline at end of file