WillPower3309 / swayfx

SwayFX: Sway, but with eye candy!
MIT License
1.17k stars 48 forks source link

Can shell script (bash) detect if I'm using swayfx or sway? #300

Closed MubinMuhammad closed 2 months ago

MubinMuhammad commented 2 months ago

Please fill out the following:

incycledream commented 2 months ago

Maybe, it can check currently logged session by name utilizing loginctl list-sessions and session-status output. I don't really know how swayfx is displayed there.

The developer really should make "fx" prefix in version like this: sway version 0.3.2-fx-26cdeeb (Feb 28 2024, branch 'master')

ozwaldorf commented 2 months ago

On the latest git version, it does say swayfx and the version of sway it's based off of, which will be included and available in the upcoming release as well

This was done in https://github.com/WillPower3309/swayfx/pull/254