Change swayidle stuff

This commit is contained in:
2025-11-29 17:05:07 -08:00
parent 859bedf756
commit a59a18e2bc
3 changed files with 15 additions and 2 deletions

13
config/run-swayidle.sh Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env zsh
local config_file
case "${HOST}" in
*-desktop)
config_file='swayidle-desktop.conf'
;;
*-portable)
config_file='swayidle-laptop.conf'
;;
esac
exec swayidle -w -C "${HOME}/.config/river/config/${config_file}"