diff --git a/home/TODOS.md b/home/TODOS.md index 7ea0003..d68c7ca 100644 --- a/home/TODOS.md +++ b/home/TODOS.md @@ -142,3 +142,7 @@ - Hintergrund, Lockscreen - Webhook + +## Terminal + +- Maby auf Kitty umsteigen wegen Fira Code diff --git a/home/programs/xmonad/src/xmobar/scripts/audio.sh b/home/programs/xmonad/src/xmobar/scripts/audio.sh deleted file mode 100755 index 5296dac..0000000 --- a/home/programs/xmonad/src/xmobar/scripts/audio.sh +++ /dev/null @@ -1,22 +0,0 @@ -Status=$(pulseaudio-ctl full-status) -Volume=$(cut -d ' ' -f 1 <<<$Status) -Mute=$(cut -d ' ' -f 2 <<<$Status) -Microphone=$(cut -d ' ' -f 3 <<<$Status) - -if [[ $Mute == "yes" ]]; then - Symbol="\xe04f" -else - if [[ $Volume -le 50 ]]; then - Symbol="\xe04d" - else - Symbol="\xe050" - fi -fi - -if [[ $Microphone == *"yes"* ]]; then - MicOut="\xe02b" -else - MicOut="\xe029" -fi - -echo "$Symbol $Volume% $MicOut" diff --git a/home/programs/xmonad/src/xmobar/scripts/backlight.sh b/home/programs/xmonad/src/xmobar/scripts/backlight.sh deleted file mode 100755 index e7899c0..0000000 --- a/home/programs/xmonad/src/xmobar/scripts/backlight.sh +++ /dev/null @@ -1,2 +0,0 @@ -Out=$(xbacklight -get) -echo "\xe3aa $Out%" diff --git a/home/programs/xmonad/src/xmobar/xmobar.hs b/home/programs/xmonad/src/xmobar/xmobar.hs index 427778c..be86dc6 100644 --- a/home/programs/xmonad/src/xmobar/xmobar.hs +++ b/home/programs/xmonad/src/xmobar/xmobar.hs @@ -3,18 +3,18 @@ import Xmobar config :: Config config = defaultConfig - { font = "Fira Code 9" - , position = TopH 30 - , borderColor = "#402339" + { font = "Fira Code 10" + , position = TopH 25 + , borderColor = "#f38ba8" , border = FullB , borderWidth = 2 - , bgColor = "#381f32" - , fgColor = "#a8dfe3" + , bgColor = "#eba0ac" + , fgColor = "#b4befe" , commands = [ - Run $ Com "./scripts/backlight.sh" [] "backlight" 10 - Run $ Com "./scripts/audio.sh" [] "audio" 10 - Run $ Cpu + Run $ Com "/bin/sh" ["-c", "Status=$(pulseaudio-ctl full-status); Volume=$(cut -d ' ' -f 1 <<<$Status); Mute=$(cut -d ' ' -f 2 <<<$Status); Microphone=$(cut -d ' ' -f 3 <<<$ Status); if [[ $Mute == \"yes\" ]]; then Symbol=\"\xf466\"; elif [[ $Volume -le 50 ]]; then Symbol=\"\xf027\"; elseSymbol=\"\xf028\"; fi; if [[ $Microphone == *\"yes\"* ]]; then MicOut=\"\xf036d\"; else MicOut=\"\xf036c\"; fi; echo \"$Symbol $Volume% $MicOut\""] "audio" 100 + , Run $ Com "/bin/sh" ["-c", "echo \"\xf00e0 $(xbacklight -get)%\""] "backlight" 100 + , Run $ Cpu [ "--template", "\xf085 %" , "--Low","3" @@ -32,13 +32,6 @@ config = ,"-n","#bbc2cf" ,"-h","#fb4934" ] 50 - , Run $ Alsa "default" "Master" - [ - "--template", "\xe050>/fc> " - , "--suffix" , "True" - , "--" - , "--on", "\xe050>/fc> " - ] , Run $ Date "\xf017 %a %d.%m.%y %H:%M" "date" 300 , Run $ DynNetwork [