diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-12-14 11:48:47 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-12-14 11:48:47 +0200 |
| commit | 60a6caee5fb3cd27de1f102636b8769ce35ddda1 (patch) | |
| tree | 5f8872515132cfbfabe8b3d5bdc9a3173d48a43e /toggle-monocle | |
| parent | b3c6961ec830d9cea78bd54354f0e67024f68fcc (diff) | |
| download | dotfiles-60a6caee5fb3cd27de1f102636b8769ce35ddda1.tar.gz dotfiles-60a6caee5fb3cd27de1f102636b8769ce35ddda1.zip | |
Add toggle-monocle
Diffstat (limited to 'toggle-monocle')
| -rwxr-xr-x | toggle-monocle | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/toggle-monocle b/toggle-monocle new file mode 100755 index 0000000..bad444a --- /dev/null +++ b/toggle-monocle @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +# toggle monocle mode for bspwm + +MONOCLE=$(eww get monocleMode) +if [ $MONOCLE = true ]; then + eww update monocleMode=false + # notify "Zoom Out" +else + eww update monocleMode=true + # notify "Zoom In" +fi +bspc desktop -l next |
