Skip to content

Instantly share code, notes, and snippets.

@abairo
Last active March 31, 2024 06:39
Show Gist options
  • Star 28 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • 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
@Wafelack
Copy link

Thanks ! I stucked for a long time on this.

@pantasio
Copy link

pantasio commented Nov 7, 2021

thank you but dont work with https://github.com/ful1e5/Bibata_Cursor, i try use lxappearce and manual edit ~/.icons/default/index.theme

@abairo
Copy link
Author

abairo commented Dec 12, 2021

Hello, @pantasio.
I updated this gist with a few more steps that fix any problems, and also tested the Bibata theme, it worked perfectly on Arch Linux, I believe the following command can help you.:
Add this line to your .xinitrc file (before the command line that starts your wm).

xsetroot -cursor_name left_ptr &

@tricantivu
Copy link

Fantastic! Just what I was looking for.

Thank you so much.

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

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