diff options
| author | kj_sh604 | 2025-12-21 15:01:39 -0500 |
|---|---|---|
| committer | kj_sh604 | 2025-12-21 15:01:39 -0500 |
| commit | 2d9d8acc3e154f53d390eaf11d858fb7a05c7abc (patch) | |
| tree | a13036a779c1e074f390206967b1502793a78a26 | |
| parent | d0107cdf8b9c86f908e56ed4dd9e7a48a825f0d4 (diff) | |
refactor: add 2 second timeout
| -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 3ef5e16..96f2dbf 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" || echo "xfwm4 compositor disabled" | 7 | notify-send "Xfce Window Manager" "Compositor Disabled" -t 2048 || 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" || echo "xfwm4 compositor Enabled" | 10 | notify-send "Xfce Window Manager" "Compositor Enabled" -t 2048 || echo "xfwm4 compositor Enabled" |
| 11 | fi \ No newline at end of file | 11 | fi |
