Make set-initial-kanshi-state only work on laptops
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
#!/usr/bin/zsh
|
||||
|
||||
# Only run on laptops
|
||||
[[ "${HOST}" = *-laptop ]] || exit 0
|
||||
|
||||
# Wait for the socket
|
||||
if ! [[ -S /run/user/1000/fr.emersion.kanshi.wayland-1 ]]; then
|
||||
printf 'Waiting for socket .' 1>&2
|
||||
|
||||
Reference in New Issue
Block a user