commit 7f58068
hovercats
·
2024-06-24 12:55:15 +0000 UTC
parent b19cb43
sh/* use set -e across the board
8 files changed,
+16,
-1
M
sh/focus
+2,
-0
1@@ -3,6 +3,8 @@
2 # z3bra - 2014 (c) wtfpl
3 # window focus wrapper that sets borders and can focus next/previous window
4
5+set -e
6+
7 # get current window id
8 CUR="$(pfw)"
9
+2,
-0
1@@ -4,6 +4,8 @@
2 # toggle the fullscreen state of a window
3 # depends on: focus
4
5+set -e
6+
7 BW="${BW:-2}" # border width
8 ACTIVE="${ACTIVE:-0xffffff}" # active border color
9
+1,
-0
1@@ -3,6 +3,7 @@
2 # Copyright (c) 2015 Greduan <me@greduan.com>, licensed under the WTFPL
3 # Adds group-like capabilities, sorta like those you find in CWM and such WMs
4
5+set -e
6
7 # Original, unmodified script can be found at https://github.com/wmutils/contrib
8
M
sh/home
+3,
-1
1@@ -1,4 +1,6 @@
2-#!/bin/sh -eu
3+#!/bin/sh
4+
5+set -eu
6
7 upstream="$HOME/src/selfmade/dotfiles"
8
M
sh/rbgs
+2,
-0
1@@ -2,6 +2,8 @@
2
3 # Simple script which changes your wallpaper on set amount of time.
4
5+set -e
6+
7 cd "$HOME"/usr/img
8
9 while :
M
sh/tile
+2,
-0
1@@ -3,6 +3,8 @@
2 # z3bra - 2014 (c) wtfpl
3 # arrange windows in a tiled pattern
4
5+set -e
6+
7 # default values for gaps and master area
8 PANEL="${PANEL:-0}"
9 GAP="${GAP:-20}"
+2,
-0
1@@ -1,5 +1,7 @@
2 #!/bin/sh
3
4+set -e
5+
6 # Based on https://github.com/wmutils/contrib/blob/master/focus_watcher.sh
7 # and https://git.disroot.org/root_informatica/wms/src/branch/main/wms_voyeur.sh
8
+2,
-0
1@@ -1,5 +1,7 @@
2 #!/bin/sh
3
4+set -e
5+
6 # Original, unmodified script can be found at https://github.com/wmutils/contrib
7
8 # Constructs and groups windows into workspaces to switch between using your favorite keybinder.