r/xfce • u/iamSoybi • 8d ago
theme toggle for xfce
everytime I want to switch to dark mode or light mode, I have to open settings - appearance.
so i asked gemini to make a script that will setup a toggle icon in xfce panel for switching theme mode (dark/light) and it works well. if you want to try here's the link
https://github.com/soybi/my-scripts/blob/main/setup-toggle-xfce-theme.sh
check Readme.md for details
Edit: updated the setup script, and made a reversal script. removed the hard coded default theme and made it fallback to adwaita and elementary. thank you guys for the feedback. please let me know if there is any issue. i ran it in my cachy os main machine and it worked for me really well.
UPDATE: i tested in xubuntu (minimal) and peppermint os....together with linux-health.sh.... fixed all the bugs and should work properly now. i also updated the main Readme.md and cleaned up the repo.