diff --git a/.local/bin/dwmstatusbar b/.local/bin/dwmstatusbar index db83d4b..d382ae0 100755 --- a/.local/bin/dwmstatusbar +++ b/.local/bin/dwmstatusbar @@ -29,10 +29,10 @@ print_date(){ } print_mem(){ - free --mebi | sed -n '2{p;q}' | awk '{printf ("🧠 %2.2fGiB/%2.2fGiB", ( $3 / 1024), ($2 / 1024))}' + free --mebi | sed -n '2{p;q}' | awk '{printf ("🧠 %2.2fGiB", ( $3 / 1024) )}' } -batLevel() { +print_battery() { # Find the battery level hash acpi || return 0 onl="$(acpi -V | grep "on-line")" @@ -69,6 +69,6 @@ print_cpu() { while true do - xsetroot -name "$(print_temp) | $(print_mail) | $(print_cpu) | $(print_mem) | $(print_weather) | $(print_wifi) | $(batLevel) | $(print_volume) | $(print_date)" + xsetroot -name "$(print_temp) $(print_mail) $(print_cpu) $(print_mem) $(print_weather) $(print_wifi) $(print_battery) $(print_volume) $(print_date)" sleep 5 done diff --git a/.wall.jpg b/.wall.jpg index 69bcac6..0a44d57 100644 Binary files a/.wall.jpg and b/.wall.jpg differ diff --git a/.xinitrc b/.xinitrc index ac98358..9a45828 100644 --- a/.xinitrc +++ b/.xinitrc @@ -10,12 +10,12 @@ feh --bg-fill $HOME/.wall.jpg & redshift -l 53.2327:18.3036 -t 6500:3200& nm-applet --sm-disable& sudo /root/.local/bin/protonvpn c -f& -DISPLAY=:0 gkrellm& +#DISPLAY=:0 gkrellm& dunst -config& browser-x& password-manager& transmission-daemon& -/usr/local/bin/st -e /bin/sh -c "tmux new-session -s BASE -n HOME '/bin/zsh'\; split-window 'htop'\; new-window -n MAIL 'neomutt'\; new-window -n DISCORD '/home/yorune/git/cordless/cordless'\; new-window -n IRC 'irssi'\; new-window -n NEWSBOAT 'newsboat'\; new-window -n MUSIC 'cmus'"& +/usr/local/bin/st -e /bin/sh -c "tmux new-session -s BASE -n HOME '/bin/zsh'\; split-window 'htop'\; new-window -n MAIL 'neomutt'\; new-window -n IRC 'irssi'\; new-window -n NEWSBOAT 'newsboat'\; new-window -n MUSIC 'cmus'"& (sleep 30 && getforecast)& sudo /usr/bin/rdate -s -l ntp.task.gda.pl && sudo /sbin/hwclock --systohc /opt/MEGAcmd/mega-cmd-server --debug-full > /var/log/megacmd/megacmd.log&