fix: disable use cursors from gtk, so hyprcursors will be used

This commit is contained in:
Yingjie Wang 2024-06-09 13:21:27 -04:00
parent bc97bf2569
commit d2d71fef55
2 changed files with 5 additions and 4 deletions

View File

@ -1 +1,2 @@
exec-once = hyprctl setcursor Vimix 24
env = HYPRCURSOR_THEME,Vimix-hyprcursors

View File

@ -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
# 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