Closed MubinMuhammad closed 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')
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
Please fill out the following:
Swayfx Version:
sway version 0.3.2-26cdeeb (Feb 28 2024, branch 'master')
Description: I was wondering if I can check wheather i'm using sway or swayfx in a bash script. Is there a way to do it or just I have to ask the user and hope he is telling the truth?