diff --git a/system-menu/system-menu.sh b/system-menu/system-menu.sh index 95f4744..f74d6a9 100755 --- a/system-menu/system-menu.sh +++ b/system-menu/system-menu.sh @@ -5,9 +5,11 @@ function is-laptop-p { } function is-desktop-p { - ! is-laptop + ! is-laptop-p } +echo $(is-desktop-p) + pgrep swayidle && swayidle_state="Enabled" || swayidle_state="Disabled" # Format: label action condition