diff --git a/.config/xmobar/xmobarrc-template b/.config/xmobar/xmobarrc-template index 4d3eb7e..5aa0e2d 100644 --- a/.config/xmobar/xmobarrc-template +++ b/.config/xmobar/xmobarrc-template @@ -4,16 +4,9 @@ Config { overrideRedirect = False , fgColor = "FGCOLOR" , position = TopW L 100 , iconRoot = ".config/xmobar/xpm/" - , commands = [ Run Weather "EGPF" - [ "--template", " °C" - , "-L", "0" - , "-H", "25" - ] 36000 - , Run Cpu + , commands = [Run Cpu [ "-L", "3" , "-H", "50" - , "--high" , "red" - , "--normal", "green" ] 10 , Run Alsa "default" "Master" [ "--template", "" @@ -22,11 +15,11 @@ Config { overrideRedirect = False , "--on", "" ] , Run Memory ["--template", "Mem: %"] 10 - , Run Swap [] 10 , Run Date "%a %Y-%m-%d %H:%M" "date" 10 , Run XMonadLog + , Run Com "get_music_info" [] "" 10 ] , sepChar = "%" , alignSep = "}{" - , template = " %XMonadLog% }{ %alsa:default:Master% | %cpu% | %memory% * %swap% | %EGPF% | %date% " + , template = " %XMonadLog% }{ %get_music_info% | %alsa:default:Master% | %cpu% | %memory% | %date% " } diff --git a/.config/xmonad b/.config/xmonad index b0ed135..995541b 160000 --- a/.config/xmonad +++ b/.config/xmonad @@ -1 +1 @@ -Subproject commit b0ed135a9539739a7c3e00a8031e7a34df561173 +Subproject commit 995541b03d5bb2c4b5fcd5cfea20dab5d6bf01f3 diff --git a/.doom.d/init.el b/.doom.d/init.el index a886b16..60f7f2d 100644 --- a/.doom.d/init.el +++ b/.doom.d/init.el @@ -162,7 +162,7 @@ ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() ;;scala ; java, but good ;;(scheme +guile) ; a fully conniving family of lisps - sh ; she sells {ba,z,fi}sh shells on the C xor + (sh +lsp) ; she sells {ba,z,fi}sh shells on the C xor ;;sml ;;solidity ; do you need a blockchain? No. ;;swift ; who asked for emoji variables? diff --git a/.scripts/changebg b/.scripts/changebg index e1c71cf..fe167f3 100755 --- a/.scripts/changebg +++ b/.scripts/changebg @@ -52,9 +52,5 @@ xmonad --restart # change lock screen background #betterlockscreen -u $PATH_TO_IMG -betterlockscreen -u $PATH_TO_IMG +betterlockscreen -u $PATH_TO_IMG & -# change login manager screen -PROJECT_ROOT="/home/os/Documents/Projects/aether-fork" # change this path if needed. -WALLPAPER_FOLDER="src/img/wallpapers" -WAL_CSS="/home/os/.cache/wal/colors.json" diff --git a/.scripts/get_music_info b/.scripts/get_music_info new file mode 100755 index 0000000..5354740 --- /dev/null +++ b/.scripts/get_music_info @@ -0,0 +1,2 @@ +#!/bin/sh +head ~/.wnpClient/wnpClient.txt -n 2 | sed ':a;N;$!ba;s/\n/ by /g' diff --git a/.scripts/powerbutton b/.scripts/powerbutton index aadc669..1b45a67 100755 --- a/.scripts/powerbutton +++ b/.scripts/powerbutton @@ -3,7 +3,7 @@ result=$(echo -e "Shutdown\nRestart\nSleep\nLock" | dmenu -nb "$color0" -nf "$color15" -sb "$color1" -sf "$color15" -p "") case "$result" in - ("Shutdown") shutdownnow ;; + ("Shutdown") systemctl poweroff;; ("Restart") reboot ;; ("Sleep") systemctl suspend ;; ("Lock") betterlockscreen -l ;;