summaryrefslogtreecommitdiff
path: root/scripts/.local
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/.local')
-rwxr-xr-xscripts/.local/bin/colorset2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/.local/bin/colorset b/scripts/.local/bin/colorset
index 5a20b40..d6c9beb 100755
--- a/scripts/.local/bin/colorset
+++ b/scripts/.local/bin/colorset
@@ -14,7 +14,7 @@ fi
# Setting the new colorscheme based on the wallpaper and making some color tweaks
cp -rf ~/.cache/wal/colors-wal-dmenu.h "$SRC"/colors/dmenu/colors.h
-cp -rf ~/.cache/wal/colors-wal-st.h "$SRC"/colors/st/colors.h
+sed s:"= 0":"= 256":g ~/.cache/wal/colors-wal-st.h > "$SRC"/colors/st/colors.h
head -7 ~/.cache/wal/colors-wal-dwm.h > "$SRC"/colors/dwm/colors.h
sed -i s/"$(grep norm_border "$SRC"/colors/dwm/colors.h | cut -d# -f 2 | cut -d\" -f 1)"/"$(grep black "$SRC"/colors/st/colors.h | head -1 | cut -d# -f 2 | cut -d\" -f 1)"/g "$SRC"/colors/dwm/colors.h