diff options
author | Rafael Marçalo <raroma09@gmail.com> | 2024-02-18 18:41:21 +0000 |
---|---|---|
committer | Rafael Marçalo <raroma09@gmail.com> | 2024-02-18 18:41:21 +0000 |
commit | 6a96abdb6f23bba8d2df650ee4dfff9ab4b37293 (patch) | |
tree | a39b7544914074ea936a3d13e9778d7c31f8832d /scripts/.local/bin/colorset | |
parent | a0ee36910a2d5ca946036ce6a66af292d00e26a9 (diff) |
Updated colorset script
Diffstat (limited to 'scripts/.local/bin/colorset')
-rwxr-xr-x | scripts/.local/bin/colorset | 2 |
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 |