Updated my dotfiles

Signed-off-by: Marcin Wozniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-05-27 00:03:35 +02:00 committed by Marcin Wozniak
parent 551999a822
commit 007b45e54c
3 changed files with 5 additions and 5 deletions

View File

@ -29,10 +29,10 @@ print_date(){
} }
print_mem(){ 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 # Find the battery level
hash acpi || return 0 hash acpi || return 0
onl="$(acpi -V | grep "on-line")" onl="$(acpi -V | grep "on-line")"
@ -69,6 +69,6 @@ print_cpu() {
while true while true
do 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 sleep 5
done done

BIN
.wall.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 144 KiB

View File

@ -10,12 +10,12 @@ feh --bg-fill $HOME/.wall.jpg &
redshift -l 53.2327:18.3036 -t 6500:3200& redshift -l 53.2327:18.3036 -t 6500:3200&
nm-applet --sm-disable& nm-applet --sm-disable&
sudo /root/.local/bin/protonvpn c -f& sudo /root/.local/bin/protonvpn c -f&
DISPLAY=:0 gkrellm& #DISPLAY=:0 gkrellm&
dunst -config& dunst -config&
browser-x& browser-x&
password-manager& password-manager&
transmission-daemon& 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)& (sleep 30 && getforecast)&
sudo /usr/bin/rdate -s -l ntp.task.gda.pl && sudo /sbin/hwclock --systohc 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& /opt/MEGAcmd/mega-cmd-server --debug-full > /var/log/megacmd/megacmd.log&