From 6a96abdb6f23bba8d2df650ee4dfff9ab4b37293 Mon Sep 17 00:00:00 2001 From: Rafael Marçalo Date: Sun, 18 Feb 2024 18:41:21 +0000 Subject: Updated colorset script --- scripts/.local/bin/colorset | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3