makke xmobar fancy
This commit is contained in:
parent
2e1bd2e9c6
commit
aa8caa69ca
8 changed files with 109 additions and 38 deletions
|
@ -20,7 +20,7 @@ xmobar_change(){
|
|||
-e "s/COLOR13/$color13/g" \
|
||||
-e "s/COLOR14/$color14/g" \
|
||||
-e "s/COLOR15/$color15/g" \
|
||||
~/.config/xmobar/xmobarrc-template > ~/.config/xmobar/xmobarrc
|
||||
~/.config/xmobar/xmobarrc-template.hs > ~/.config/xmobar/xmobarrc
|
||||
}
|
||||
args=("$@")
|
||||
PATH_TO_IMG="${args[0]}"
|
||||
|
|
28
.scripts/update_xmobar.sh
Executable file
28
.scripts/update_xmobar.sh
Executable file
|
@ -0,0 +1,28 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
xmobar_change(){
|
||||
echo "changing xmobarrc"
|
||||
source ~/.cache/wal/colors.sh
|
||||
sed -e "s/BGCOLOR/$background/g" \
|
||||
-e "s/FGCOLOR/$foreground/g" \
|
||||
-e "s/COLOR1/$color1/g" \
|
||||
-e "s/COLOR2/$color2/g" \
|
||||
-e "s/COLOR3/$color3/g" \
|
||||
-e "s/COLOR4/$color4/g" \
|
||||
-e "s/COLOR5/$color5/g" \
|
||||
-e "s/COLOR6/$color6/g" \
|
||||
-e "s/COLOR7/$color7/g" \
|
||||
-e "s/COLOR8/$color8/g" \
|
||||
-e "s/COLOR9/$color9/g" \
|
||||
-e "s/COLOR10/$color10/g" \
|
||||
-e "s/COLOR11/$color11/g" \
|
||||
-e "s/COLOR12/$color12/g" \
|
||||
-e "s/COLOR13/$color13/g" \
|
||||
-e "s/COLOR14/$color14/g" \
|
||||
-e "s/COLOR15/$color15/g" \
|
||||
~/.config/xmobar/xmobarrc-template.hs > ~/.config/xmobar/xmobarrc
|
||||
}
|
||||
|
||||
xmobar_change
|
||||
killall xmobar
|
||||
xmobar
|
Loading…
Add table
Add a link
Reference in a new issue