Skip to content

Instantly share code, notes, and snippets.

@abairo
Last active May 29, 2024 08:21
Show Gist options
  • Save abairo/5e2ed2faeadcc7abf43cda37826b2fbc to your computer and use it in GitHub Desktop.
Save abairo/5e2ed2faeadcc7abf43cda37826b2fbc to your computer and use it in GitHub Desktop.

Start by getting the correct theme name to use in the next steps:

cat .icons/Breeze-Hacked/index.theme
[Icon Theme]
Name=Breeze-Hacked

So you need

mkdir ~/.icons
cd ~/.icons
unzip ~/Downloads/Breeze-Hacked.zip
echo 'Xcursor.theme: Breeze-Hacked' >> ~/.Xresources
xrdb ~/.Xresources

end with i3 restart (i3wm) or bpsc quit (bspwm) or reboot if necessary.

If you get an incosistent theme on some parts of the system or windows, try this:

Add this line to your .xinitrc file (before the command line that starts your wm)

xsetroot -cursor_name left_ptr &

If the previous steps don't work, try this:

Edit the following files: .icons/default/index.theme and /usr/share/icons/default/index.theme, with:

Inherits=Breeze-Hacked

these files too: .config/gtk-3.0/settings.ini and /usr/share/gtk-3.0/settings.ini, with:

gtk-cursor-theme-name=Breeze-Hacked
@hatredholder
Copy link

Saved my ass, dude. Been messing around trying to find a solution to have a consistent cursor (not to have Adwaita there and my theme there) for hours and making Xresources file worked. Thank you SOOO much for making this!

@harishnkr
Copy link

harishnkr commented Feb 6, 2023

Thanks for the gist. I would suggest adding the line
xsetroot -cursor_name left_ptr
inside the bspwmrc file instead of .xinitrc fine in case none of these work.

@LAST7
Copy link

LAST7 commented May 29, 2024

Saved my ass three years later, thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment