mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-10-29 15:26:35 +00:00
38 lines
1 KiB
TOML
38 lines
1 KiB
TOML
name = "hyprland"
|
|
name_pretty = "Hyprland"
|
|
icon = "applications-other"
|
|
|
|
[[entries]]
|
|
text = "Stop hyprsunset"
|
|
icon = "weather-clear"
|
|
actions = { "" = "hyprctl hyprsunset identity" }
|
|
|
|
[[entries]]
|
|
text = "Start hyprsunset"
|
|
icon = "weather-clear-night"
|
|
actions = { "" = "hyprctl hyprsunset temperature 2700" }
|
|
|
|
[[entries]]
|
|
text = "Idle timeouts (hypridle)"
|
|
icon = ""
|
|
async = "printf 'Idle timeouts (hypridle): %s' $(toggle-idle check && echo 'ON' || echo 'OFF')"
|
|
|
|
[entries.actions]
|
|
"toggle" = "toggle-idle"
|
|
"start" = "toggle-idle on"
|
|
"stop" = "toggle-idle off"
|
|
|
|
[[entries]]
|
|
text = "Notifications (swaync)"
|
|
icon = ""
|
|
async = "printf 'Notifications (swaync): %s' $(toggle-notifications check && echo 'ON' || echo 'OFF')"
|
|
|
|
[entries.actions]
|
|
"toggle" = "toggle-notifications"
|
|
"start" = "toggle-notifications on"
|
|
"stop" = "toggle-notifications off"
|
|
|
|
[[entries]]
|
|
text = "Cursor zoom"
|
|
icon = "zoom-in"
|
|
actions = { "toggle" = "hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor -j | jq '(.float) | if . > 1 then 1 else 1.5 end')" }
|