feat: add privacy configuration file for window rules and screensharing protection;
feat: implement distraction toggle script for hosts file management; feat: add privacy toggle script with status checking capability; refactor: improve grayscale toggle script with status parameter support; refactor: reorganize hyprland gestures and input configuration; chore: remove unused bspwm script and btop configuration files; chore: delete obsolete rofi-wayland launcher themes and configurations; feat: extend nvim filetype recognition for pascal scripts; feat: enhance swaync configuration with new toggle buttons and layout adjustments; chore: update waybar goal file content; chore: modify gitignore patterns for cava assets and thunar configurations; fix: adjust thunar custom actions to use swww instead of hyprpaper
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"ignore-gtk-theme": true,
|
||||
"positionX": "right",
|
||||
"positionY": "top",
|
||||
"layer": "overlay",
|
||||
"layer": "top",
|
||||
"control-center-layer": "top",
|
||||
"layer-shell": true,
|
||||
"layer-shell-cover-screen": false,
|
||||
@@ -23,7 +23,7 @@
|
||||
"relative-timestamps": true,
|
||||
"control-center-width": 470,
|
||||
"control-center-height": 800,
|
||||
"notification-window-width": 500,
|
||||
"notification-window-width": 400,
|
||||
"keyboard-shortcuts": true,
|
||||
"notification-grouping": false,
|
||||
"image-visibility": "when-available",
|
||||
@@ -144,13 +144,13 @@
|
||||
"update-command": "sh -c '[[ $(pactl get-source-mute alsa_input.pci-0000_00_1f.3.analog-stereo) == \\\"Mute: no\\\" ]] && echo true || echo false'"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"label": "",
|
||||
"type": "toggle",
|
||||
"command": "[[ $SWAYNC_TOGGLE_STATE == true ]] && ( systemd-inhibit --why='User request via swaync' --what=sleep:handle-lid-switch:idle sh -c 'echo \"$$\" > \"$XDG_RUNTIME_DIR/swaync-idle.pid\"; while true; do sleep 3600; done' ) || kill $(<\"$XDG_RUNTIME_DIR/swaync-idle.pid\")",
|
||||
"update-command": "kill -0 $(<\"$XDG_RUNTIME_DIR/swaync-idle.pid\") && echo true || echo false"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"label": "",
|
||||
"type": "toggle",
|
||||
"command": "sh -c 'exec ~/.config/hypr/scripts/toggle_mirror_display.sh'",
|
||||
"update-command": "sh -c 'exec ~/.config/hypr/scripts/toggle_mirror_display.sh g'"
|
||||
@@ -160,6 +160,24 @@
|
||||
"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'"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"type": "toggle",
|
||||
"command": "sh -c 'exec ~/.config/hypr/scripts/toggle_privacy.sh'",
|
||||
"update-command": "sh -c 'exec ~/.config/hypr/scripts/toggle_privacy.sh g'"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"type": "toggle",
|
||||
"command": "sh -c 'exec ~/.config/hypr/scripts/grayscale-toggle.sh'",
|
||||
"update-command": "sh -c 'exec ~/.config/hypr/scripts/grayscale-toggle.sh g'"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"type": "toggle",
|
||||
"command": "sh -c 'exec ~/.config/hypr/scripts/toggle_distractions.sh'",
|
||||
"update-command": "sh -c 'exec ~/.config/hypr/scripts/toggle_distractions.sh g'"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user