diff options
Diffstat (limited to '.local/share')
-rwxr-xr-x | .local/share/mode/mode | 4 | ||||
-rw-r--r-- | .local/share/mode/plug.d/50_accent | 4 | ||||
-rw-r--r-- | .local/share/mode/reload.d/brave | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/.local/share/mode/mode b/.local/share/mode/mode index 83228f1..1c70c2a 100755 --- a/.local/share/mode/mode +++ b/.local/share/mode/mode @@ -69,7 +69,7 @@ switch() { done # join all processes started above - wait $(jobs -rp) + wait $(jobs -p) } # reload programs using scripts in reload.d @@ -81,7 +81,7 @@ reload() { "$reload_function" & done - wait $(jobs -rp) + wait $(jobs -p) } # main program argument parser (later argument always take priority) diff --git a/.local/share/mode/plug.d/50_accent b/.local/share/mode/plug.d/50_accent index 6e0aa73..2a8a113 100644 --- a/.local/share/mode/plug.d/50_accent +++ b/.local/share/mode/plug.d/50_accent @@ -4,11 +4,11 @@ # do not generate accent color if already explicitly defined by theme [ -n "$accent" ] && return -[ "$mode" == "light" ] && { +[ "$mode" = "light" ] && { accent="$color15" accent_text="$color0" } -[ "$mode" == "dark" ] && { +[ "$mode" = "dark" ] && { accent="$(mix_rgb $bg $color0 0.5)" accent_text="$fg" } diff --git a/.local/share/mode/reload.d/brave b/.local/share/mode/reload.d/brave index beb0a91..6f6caeb 100644 --- a/.local/share/mode/reload.d/brave +++ b/.local/share/mode/reload.d/brave @@ -74,7 +74,7 @@ script "chrome.send(\"setBraveThemeType\", [$([ "$mode" = "light" ] && echo "2" # cleanup delete "$url_base/window" delete "$url_base" -kill $(jobs -rp) -wait $(jobs -rp) +kill $(jobs -p) +wait $(jobs -p) # reference: https://w3c.github.io/webdriver/ |