mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
Compare commits
4 Commits
0c5e4a72fc
...
40e59fa6b3
Author | SHA1 | Date | |
---|---|---|---|
40e59fa6b3 | |||
1b182bf75f | |||
f4a5a3bf66 | |||
ec6fbc35d3 |
@ -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 "*"
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
xrdb -merge -I$HOME ~/.Xresources
|
|
||||||
|
|
||||||
exec bspwm
|
exec bspwm
|
||||||
|
1
install
1
install
@ -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 '/')
|
||||||
|
@ -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 }'
|
||||||
|
3
polybar/.config/polybar/bin/wttr
Executable file
3
polybar/.config/polybar/bin/wttr
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
curl --silent "https://wttr.in/?format=2" | sed 's/️//g'
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user