Fix system-menu.sh
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user