You are not logged in.
Hey,
i am new to Arch. I used for a few years Manjaro. A few weeks ago i bought me an "new" Thinkpad (T460) and I installed Manjaro Sway and it was sucking that I didnt knew really much about the settings and so on.
So i installed a few days ago Arch with/and Sway.
Its very cool but I have some problems. For the most problems google is very helpful but I cant fix the problem with SwayIDLE...
When i run swayidle -w before-sleep 'swaylock -F -l -f -c 000000' in the terminal and I am closing my notebook and waiting still its in suspend mode and open it again its locked.
But when I have in the sway conf the line:
exec swayidle -w before-sleep 'swaylock -F -l -f -c 000000'
it didn't work. I also tried a reboot but its still doesn't work...
The shortcut
bindsym $mod+l exec $lock
is working and set $lock swaylock -F -l -f -c 000000 . I also first tried exec swayidle -w before-sleep '$lock', but because it was not working i tried the full command instead of the var...
Do someone have an idea why its not working?
Thank and sorry for the worse english ![]()
Greetings
Saphira
Last edited by Saphira (2022-11-17 14:02:43)
Offline
Okay I found a solution:
With " instead of ' it is working! ![]()
Now is also
exec swayidle -w before-sleep "$lock"
Working! ![]()
Offline