Compare commits

..

No commits in common. "b306f5d22c637be273dce478b8764e44dbeabb5a" and "7a064700704f6a1f4b365d653775c872edc7b544" have entirely different histories.

5 changed files with 16 additions and 18 deletions

View File

@ -3,11 +3,13 @@ Config { overrideRedirect = False
, bgColor = "BGCOLOR" , bgColor = "BGCOLOR"
, fgColor = "FGCOLOR" , fgColor = "FGCOLOR"
, position = TopW L 100 , position = TopW L 100
, iconRoot = ".config/xmobar/xpm/"
, commands = [ Run Weather "EGPF" , commands = [ Run Weather "EGPF"
[ "--template", "<weather> <tempC>°C" [ "--template", "<weather> <tempC>°C"
, "-L", "0" , "-L", "0"
, "-H", "25" , "-H", "25"
, "--low" , "lightblue"
, "--normal", "#f8f8f2"
, "--high" , "red"
] 36000 ] 36000
, Run Cpu , Run Cpu
[ "-L", "3" [ "-L", "3"
@ -23,10 +25,10 @@ Config { overrideRedirect = False
] ]
, Run Memory ["--template", "Mem: <usedratio>%"] 10 , Run Memory ["--template", "Mem: <usedratio>%"] 10
, Run Swap [] 10 , Run Swap [] 10
, Run Date "%a %Y-%m-%d <fc=COLOR6>%H:%M</fc>" "date" 10 , Run Date "%a %Y-%m-%d <fc=#8be9fd>%H:%M</fc>" "date" 10
, Run XMonadLog , Run XMonadLog
] ]
, sepChar = "%" , sepChar = "%"
, alignSep = "}{" , alignSep = "}{"
, template = " <icon=haskell_20.xpm/> %XMonadLog% }{ %alsa:default:Master% | %cpu% | %memory% * %swap% | %EGPF% | %date% " , template = "%XMonadLog% }{ %alsa:default:Master% | %cpu% | %memory% * %swap% | %EGPF% | %date% "
} }

@ -1 +1 @@
Subproject commit abb03630a897b26b5b83decce96eec81511a9981 Subproject commit 90fd606fb31f033373a3bd40030f19e5a1d586a0

View File

@ -25,13 +25,11 @@ xmobar_change(){
args=("$@") args=("$@")
PATH_TO_IMG="${args[0]}" PATH_TO_IMG="${args[0]}"
if [[ -z "$PATH_TO_IMG" ]]; then echo $PATH_TO_IMG
wpg -m
else wal -i $PATH_TO_IMG
echo $PATH_TO_IMG feh --bg-fill $PATH_TO_IMG
wpg -a $PATH_TO_IMG
wpg -s "$(basename $PATH_TO_IMG)"
fi
# overwrite .Xresources file # overwrite .Xresources file
cat ~/.cache/wal/colors.Xresources > ~/.Xresources cat ~/.cache/wal/colors.Xresources > ~/.Xresources
echo "\nXcursor.theme: Breeze" >> ~./Xresources echo "\nXcursor.theme: Breeze" >> ~./Xresources
@ -39,7 +37,11 @@ echo "\nXcursor.theme: Breeze" >> ~./Xresources
# merge it into xrdb # merge it into xrdb
xrdb -merge ~/.Xresources xrdb -merge ~/.Xresources
emacsclient -e '(my-load-xresources)' # Does not really work because it takes the wrong colors and the cli cannot use the Xresources file for some reason...
# aur package is themix-full-git
# generate new gtk themes
/opt/oomox/plugins/theme_oomox/change_color.sh ~/.cache/wal/colors-oomox -o Wal -t ~/.themes/ -d true -m gtk3
xmobar_change xmobar_change
killall xmobar killall xmobar

View File

@ -1,6 +0,0 @@
#!/bin/sh
# Import the colors
. "${HOME}/.cache/wal/colors.sh"
dmenu_run -nb "$color0" -nf "$color15" -sb "$color1" -sf "$color15"