I am trying to set up a systemd “hook” (not sure if this is the right terminology) to workaround an issue with the 6.11 and my setup. Basically Bluetooth being enabled breaks suspend.
So on OpenSUSE I wrote a script to disable Bluetooth before suspend and put it under /usr/lib/systemd/system-sleep/bluetooth-toggle.sh
and it worked well.
I’ve tried to setup something similar on Silverblue (Bazzite technically) using /etc/systemd/system-sleep/bluetooth-toogle.sh
, but it isn’t executing.
Is it possible to setup a simple hook like this in an atomic desktop or do I need another method?