diff options
| author | kj_sh604 | 2025-12-21 16:07:37 -0500 |
|---|---|---|
| committer | kj_sh604 | 2025-12-21 16:07:37 -0500 |
| commit | de3b570f95050973ced204d2e68adba232044ace (patch) | |
| tree | ca54669514801a187c1ae937c72750c998dff53b | |
| parent | e050d29847bffcd4460f03c56002c14bcede68b9 (diff) | |
refactor: make timeout `3072`
| -rwxr-xr-x | .local/bin/toggle-xfwm4-compositor | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/toggle-xfwm4-compositor b/.local/bin/toggle-xfwm4-compositor index b8462eb..db8f3b0 100755 --- a/.local/bin/toggle-xfwm4-compositor +++ b/.local/bin/toggle-xfwm4-compositor | |||
| @@ -4,8 +4,8 @@ current=$(xfconf-query -c xfwm4 -p /general/use_compositing) | |||
| 4 | 4 | ||
| 5 | if [ "$current" = "true" ]; then | 5 | if [ "$current" = "true" ]; then |
| 6 | xfconf-query -c xfwm4 -p /general/use_compositing -s false | 6 | xfconf-query -c xfwm4 -p /general/use_compositing -s false |
| 7 | notify-send "Xfce Window Manager" "Compositor Disabled" -t 2048 || echo "xfwm4 compositor disabled" | 7 | notify-send "Xfce Window Manager" "Compositor Disabled" -t 3072 || echo "xfwm4 compositor disabled" |
| 8 | else | 8 | else |
| 9 | xfconf-query -c xfwm4 -p /general/use_compositing -s true | 9 | xfconf-query -c xfwm4 -p /general/use_compositing -s true |
| 10 | notify-send "Xfce Window Manager" "Compositor Enabled" -t 2048 || echo "xfwm4 compositor Enabled" | 10 | notify-send "Xfce Window Manager" "Compositor Enabled" -t 3072 || echo "xfwm4 compositor Enabled" |
| 11 | fi \ No newline at end of file | 11 | fi |
