summarylogtreecommitdiffstats
path: root/dark-theme.sh
diff options
context:
space:
mode:
authormynacol2022-01-28 13:16:23 +0100
committermynacol2022-01-28 13:16:23 +0100
commit2a0a2c527be958ad54f09a1874b7b04e6a25d4cc (patch)
tree96b947c17593dd906a9059ddb4bb15d30829868d /dark-theme.sh
parentfd0a53b35284cea15d39c288eb816996b5aa9d54 (diff)
downloadaur-2a0a2c527be958ad54f09a1874b7b04e6a25d4cc.tar.gz
Avoid creating sub-shells
Diffstat (limited to 'dark-theme.sh')
-rwxr-xr-xdark-theme.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/dark-theme.sh b/dark-theme.sh
index f01994bb1e8d..d471c108a4e4 100755
--- a/dark-theme.sh
+++ b/dark-theme.sh
@@ -7,11 +7,11 @@ CURRENT=$(gsettings get org.gnome.desktop.interface gtk-theme)
if [ "$1" = "dark" ]; then
for f in "$HOME/.local/share/dark-mode.d/"*; do
- ( "$f" )
+ "$f" &
done
elif [ "$1" = "light" ]; then
for f in "$HOME/.local/share/light-mode.d/"*; do
- ( "$f" )
+ "$f" &
done
elif [ "$1" = "toggle" ]; then
if echo "$CURRENT" | grep -q "dark"; then