playing with wttr.in

This commit is contained in:
Harri Lahtinen 2018-12-05 01:03:20 +02:00
parent 952a94c9dd
commit ad65912159
4 changed files with 10 additions and 1 deletions

7
.config/Scripts/wttr.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
rm ~/.config/Scripts/Hameenlinna_0qp.png
wget wttr.in/Hameenlinna_0qp.png && feh Hameenlinna_0qp.png

View File

@ -305,6 +305,7 @@ for_window [window_role="tr-main"] move to workspace $ws8
#for_window [class="st"] exec --no-startup-id transset -a --dec .25
for_window [window_role="GtkFileChooserDialog"] resize shrink height 10 px
for_window [class="mpv"] floating enable
for_window [class="feh"] floating enable
for_window [instance="^package-update$" class="^URxvt$"] floating enable, move position center
###---Function Buttons---###

View File

@ -117,6 +117,7 @@ type = custom/script
exec = ~/.config/Scripts/openweather.sh
tail = true
interval = 600
click-left = ~/.config/Scripts/wttr.sh
[module/i3]
type = internal/i3

2
.zshrc
View File

@ -121,7 +121,7 @@ export GNUPGHOME="~/.gnupg"
export SSH_KEY_PATH="~/.ssh/id_rsa"
#Check the weather:
weath() { curl wttr.in/$1 ;}
weath() { curl wttr.in/Hameenlinna ;}
#FASD
eval "$(fasd --init auto)"