Open landryb opened 11 months ago
like done in swaywm/swaylock#325, replace wordexp() usage by handrolled C equivalents - i've been testing it working file with this in ~.config/swayidle/config:
wordexp()
~.config/swayidle/config
timeout 10 'swaylock -f -c 00ff00' timeout 20 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'
and it behaves as expected.
The handrolled line parser might be improved, but i've tested it with lines having extra spaces between keywords or trailing spaces.
Feedback welcome !
like done in swaywm/swaylock#325, replace
wordexp()
usage by handrolled C equivalents - i've been testing it working file with this in~.config/swayidle/config
:and it behaves as expected.
The handrolled line parser might be improved, but i've tested it with lines having extra spaces between keywords or trailing spaces.
Feedback welcome !