Signed-off-by: Marcin Wozniak <y0rune@aol.com>
This commit is contained in:
2020-05-16 21:26:00 +02:00
committed by Marcin Wozniak
parent c52a5d7a65
commit b7218fb685
10 changed files with 7 additions and 309 deletions

View File

@ -1,3 +1,2 @@
#!/bin/bash
#GDK_DPI_SCALE="1.25" firefox
google-chrome-stable --force-device-scale-factor=1.25&
GDK_DPI_SCALE="1.25" firefox

View File

@ -1,5 +1,5 @@
#!/bin/bash
testweather() {
print_weather() {
[ "$(stat -c %y "/home/yorune/.config/weatherreport" 2>/dev/null | cut -d' ' -f1)" != "$(date '+%Y-%m-%d')" ] && curl -s "wttr.in/$location" > "/home/yorune/.config/weatherreport"
printf "%s " "$(sed '16q;d' "/home/yorune/.config/weatherreport" | grep -wo "[0-9]*%" | sort -n | sed -e '$!d' | sed -e "s/^/ /g" | tr -d '\n')" && sed '13q;d' "/home/yorune/.config/weatherreport" | grep -o "m\\(-\\)*[0-9]\\+" | sort -n -t 'm' -k 2n | sed -e 1b -e '$!d' | tr '\n|m' ' ' | awk '{print " ",$1 "°","",$2 "°"}'
@ -74,5 +74,5 @@ usageData() {
while true
do
xsetroot -name "$(print_temp) | $(print_mem) | $(print_wifi) | $(batLevel) | $(print_volume) | $(print_date)"
xsetroot -name "$(print_temp) | $(print_weather) | $(print_wifi) | $(batLevel) | $(print_volume) | $(print_date)"
done

View File

@ -1,2 +0,0 @@
#!/bin/bash
GDK_DPI_SCALE="1.2" thunderbird-bin