swayidle wont start anymore: too few parameters
CoveTar opened this issue · 4 comments
Hello
- sway version 1.7
- eDP-1 1920x1080
- default sway config
- mesa version 22.1.3-1
- swayidle 1.7.1-2
swayidle -d timeout 300 "swaylock --color=00000000"
[Line 862] Got timeout
[Line 709] Register idle timeout at 300000 ms
[Line 710] Setup idle
[Line 672] Command: swaylock --color=00000000
[Line 702] Too few parameters to timeout command. Usage: timeout <seconds> <command>
Also wont start in sway config with exec. Issue began recently not sure when.
Your timeout
command is working as it should. The problem you see is from another timeout
command, likely in your swayidle config (.config/swayidle/config
).
Your
timeout
command is working as it should. The problem you see is from anothertimeout
command, likely in your swayidle config (.config/swayidle/config
).
Thanks. But I am using the default sway config in /etc/sway/config
so swayidle is commented out by default.
swayidle config, not sway config. Check the path I wrote. swayidle reads its config file if present after processing its command line. A valid command line but invalid configuration file will give output like what you are seeing.
swayidle config, not sway config. Check the path I wrote. swayidle reads its config file if present after processing its command line. A valid command line but invalid configuration file will give output like what you are seeing.
Sorry about that and you are totally right, thanks buddy.