14 lines
268 B
Bash
Executable File
14 lines
268 B
Bash
Executable File
#!/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}"
|