feat: swaync toggles for wallpaper switching & wallpaper freezing;
refactor: notifications for cpufreq and powermode are no longer saved;
This commit is contained in:
@@ -93,8 +93,8 @@
|
|||||||
"cmd_getter": "exec ~/.config/hypr/scripts/cpufreq.sh g",
|
"cmd_getter": "exec ~/.config/hypr/scripts/cpufreq.sh g",
|
||||||
"min": 1,
|
"min": 1,
|
||||||
"min_limit": 1,
|
"min_limit": 1,
|
||||||
"max": 5,
|
"max": 6,
|
||||||
"max_limit": 5
|
"max_limit": 6
|
||||||
},
|
},
|
||||||
"dnd": {
|
"dnd": {
|
||||||
"text": "Don't bother"
|
"text": "Don't bother"
|
||||||
@@ -154,6 +154,12 @@
|
|||||||
"type": "toggle",
|
"type": "toggle",
|
||||||
"command": "sh -c 'exec ~/.config/hypr/scripts/toggle_mirror_display.sh'",
|
"command": "sh -c 'exec ~/.config/hypr/scripts/toggle_mirror_display.sh'",
|
||||||
"update-command": "sh -c 'exec ~/.config/hypr/scripts/toggle_mirror_display.sh g'"
|
"update-command": "sh -c 'exec ~/.config/hypr/scripts/toggle_mirror_display.sh g'"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "",
|
||||||
|
"type": "toggle",
|
||||||
|
"command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && (echo 1 > $HOME/.config/hypr/conditions/autofreeze_swww) || (echo 0 > $HOME/.config/hypr/conditions/autofreeze_swww)'",
|
||||||
|
"update-command": "sh -c '[ \$(cat $HOME/.config/hypr/conditions/autofreeze_swww) -eq 1 ] && echo true || echo false'"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -186,15 +192,15 @@
|
|||||||
"actions": [
|
"actions": [
|
||||||
{
|
{
|
||||||
"label": "Razgonnnn",
|
"label": "Razgonnnn",
|
||||||
"command": "notify-send -t 2000 ' Power-Profile Performance' && powerprofilesctl set performance"
|
"command": "sh -c 'notify-send --hint int:transient:1 Power-Profile Performance && powerprofilesctl set performance'"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "Balanced",
|
"label": "Balanced",
|
||||||
"command": "notify-send -t 2000 'Power-Profile Balanced' && powerprofilesctl set balanced"
|
"command": "sh -c 'notify-send --hint int:transient:1 Power-Profile Balanced && powerprofilesctl set balanced'"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "Survival",
|
"label": "Survival",
|
||||||
"command": "notify-send -t 2000 'Power-Profile Power-saver' && powerprofilesctl set power-saver"
|
"command": "sh -c 'notify-send --hint int:transient:1 Power-Profile Power-saver && powerprofilesctl set power-saver'"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user