Fix system-menu.sh

This commit is contained in:
2025-09-24 00:31:52 -07:00
parent 204035cb8c
commit 48b6b0afde

View File

@ -5,9 +5,11 @@ function is-laptop-p {
} }
function is-desktop-p { function is-desktop-p {
! is-laptop ! is-laptop-p
} }
echo $(is-desktop-p)
pgrep swayidle && swayidle_state="Enabled" || swayidle_state="Disabled" pgrep swayidle && swayidle_state="Enabled" || swayidle_state="Disabled"
# Format: label action condition # Format: label action condition