litle changes.

This commit is contained in:
#root_informatica 2023-12-29 00:49:55 -03:00
parent 1625bd5c54
commit 9cb48745ea

View file

@ -25,9 +25,10 @@ if [ -f "$TARGET" ]; then
sed -i "s/^.*\bIC=\b.*$/IC=$ic/" $WMSVAR # new inactive color
sed -i "s/^.*\bBC=\b.*$/BC=$bc/" $WMSVAR # new background color
# overwrite the term and nsxiv values in ~/.Xresources
# overwrite the xterm, emacs and nsxiv values in ~/.Xresources
sed -i "s/\(XTerm\*background:\).*/\XTerm\*background: \#$bc/" $XVAR
sed -i "s/\(Nsxiv\*window.background:\).*/\Nsxiv\*window.background: \#$bc/" $XVAR
sed -i "s/\(Emacs\*background:\).*/\Emacs\*background: \#$bc/" $XVAR
# apply the change
wms_value.sh -d