diff --git a/.config/xmobar/xmobarrc-template b/.config/xmobar/xmobarrc-template index 4d3eb7e..eea4fa5 100644 --- a/.config/xmobar/xmobarrc-template +++ b/.config/xmobar/xmobarrc-template @@ -3,11 +3,13 @@ Config { overrideRedirect = False , bgColor = "BGCOLOR" , fgColor = "FGCOLOR" , position = TopW L 100 - , iconRoot = ".config/xmobar/xpm/" , commands = [ Run Weather "EGPF" [ "--template", " °C" , "-L", "0" , "-H", "25" + , "--low" , "lightblue" + , "--normal", "#f8f8f2" + , "--high" , "red" ] 36000 , Run Cpu [ "-L", "3" @@ -23,10 +25,10 @@ Config { overrideRedirect = False ] , Run Memory ["--template", "Mem: %"] 10 , Run Swap [] 10 - , Run Date "%a %Y-%m-%d %H:%M" "date" 10 + , Run Date "%a %Y-%m-%d %H:%M" "date" 10 , Run XMonadLog ] , sepChar = "%" , alignSep = "}{" - , template = " %XMonadLog% }{ %alsa:default:Master% | %cpu% | %memory% * %swap% | %EGPF% | %date% " + , template = "%XMonadLog% }{ %alsa:default:Master% | %cpu% | %memory% * %swap% | %EGPF% | %date% " } diff --git a/.config/xmonad b/.config/xmonad index abb0363..90fd606 160000 --- a/.config/xmonad +++ b/.config/xmonad @@ -1 +1 @@ -Subproject commit abb03630a897b26b5b83decce96eec81511a9981 +Subproject commit 90fd606fb31f033373a3bd40030f19e5a1d586a0 diff --git a/.scripts/changebg b/.scripts/changebg index b295e1c..f664c29 100755 --- a/.scripts/changebg +++ b/.scripts/changebg @@ -25,13 +25,11 @@ xmobar_change(){ args=("$@") PATH_TO_IMG="${args[0]}" -if [[ -z "$PATH_TO_IMG" ]]; then - wpg -m -else - echo $PATH_TO_IMG - wpg -a $PATH_TO_IMG - wpg -s "$(basename $PATH_TO_IMG)" -fi +echo $PATH_TO_IMG + +wal -i $PATH_TO_IMG +feh --bg-fill $PATH_TO_IMG + # overwrite .Xresources file cat ~/.cache/wal/colors.Xresources > ~/.Xresources echo "\nXcursor.theme: Breeze" >> ~./Xresources @@ -39,7 +37,11 @@ echo "\nXcursor.theme: Breeze" >> ~./Xresources # merge it into xrdb 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 killall xmobar diff --git a/.scripts/dmen b/.scripts/dmen deleted file mode 100755 index a636cd6..0000000 --- a/.scripts/dmen +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -# Import the colors -. "${HOME}/.cache/wal/colors.sh" - -dmenu_run -nb "$color0" -nf "$color15" -sb "$color1" -sf "$color15" diff --git a/.scripts/shutdownnow b/.scripts/poweroff similarity index 100% rename from .scripts/shutdownnow rename to .scripts/poweroff