1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

Compare commits

...

4 Commits

8 changed files with 9 additions and 4 deletions

View File

@ -7,6 +7,9 @@ function start_if_not_running
end end
end end
###---Load xresources---###
xrdb -load ~/.config/X11/xresources
###---Flush rules---### ###---Flush rules---###
bspc rule -r "*" bspc rule -r "*"

View File

@ -1,5 +1,3 @@
#!/usr/bin/env sh #!/usr/bin/env sh
xrdb -merge -I$HOME ~/.Xresources
exec bspwm exec bspwm

View File

@ -30,6 +30,7 @@ mkdir_if_not_exist ~/.config/omf
mkdir_if_not_exist ~/.config/polybar/bin mkdir_if_not_exist ~/.config/polybar/bin
mkdir_if_not_exist ~/.config/mpd mkdir_if_not_exist ~/.config/mpd
mkdir_if_not_exist ~/.config/wal mkdir_if_not_exist ~/.config/wal
mkdir_if_not_exist ~/.config/X11
mkdir_if_not_exist ~/.weechat mkdir_if_not_exist ~/.weechat
for d in (find -- */ -maxdepth 0 -type d | cut -f1 -d '/') for d in (find -- */ -maxdepth 0 -type d | cut -f1 -d '/')

View File

@ -1,3 +1,3 @@
#!/usr/bin/env sh #!/usr/bin/env sh
curl --silent "https://corona-stats.online/Netherlands?minimal=true" | sed -n '2p' | sed 's/\x1b\[[0-9;]*m//g' | awk '{ print "😷" $3, "💀" $5"%", $6$7, $8$9 }' curl --silent "https://corona-stats.online/Netherlands?minimal=true" | sed -n '2p' | sed 's/\x1b\[[0-9;]*m//g' | awk '{ print "😷" $4, "💀" $5, "" $7, "ﯭ"$8 }'

View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
curl --silent "https://wttr.in/?format=2" | sed 's///g'

View File

@ -392,7 +392,7 @@ click-left = ~/.local/bin/wireguard-switch wg1
[module/weather] [module/weather]
type = custom/script type = custom/script
exec = curl --silent "https://wttr.in/?format=2" exec = ~/.config/polybar/bin/wttr
interval = 900 interval = 900
click-left = setsid alacritty --class float,float -e ~/.config/polybar/bin/wttr-and-wait click-left = setsid alacritty --class float,float -e ~/.config/polybar/bin/wttr-and-wait