mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Compare commits
4 Commits
63387e4fa3
...
ad77bbeab2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ad77bbeab2 | ||
|
|
b8cd0ab495 | ||
|
|
b90c31bb54 | ||
|
|
47d0d37673 |
@ -31,3 +31,4 @@ progressbar_elapsed_color = blue:b
|
|||||||
statusbar_color = red
|
statusbar_color = red
|
||||||
statusbar_time_color = cyan:b
|
statusbar_time_color = cyan:b
|
||||||
execute_on_song_change="pkill -RTMIN+11 dwmblocks"
|
execute_on_song_change="pkill -RTMIN+11 dwmblocks"
|
||||||
|
execute_on_player_state_change="pkill -RTMIN+11 dwmblocks"
|
||||||
|
|||||||
@ -14,4 +14,4 @@ else
|
|||||||
. "$HOME/.xprofile"
|
. "$HOME/.xprofile"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ssh-agent dwm
|
exec dbus-launch --exit-with-session dwm
|
||||||
|
|||||||
@ -8,6 +8,7 @@ setbg & # set the background with the `setbg` script
|
|||||||
#xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & xrdbpid=$! # Uncomment to use Xresources colors/settings on startup
|
#xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & xrdbpid=$! # Uncomment to use Xresources colors/settings on startup
|
||||||
|
|
||||||
autostart="mpd xcompmgr dunst unclutter pipewire remapd"
|
autostart="mpd xcompmgr dunst unclutter pipewire remapd"
|
||||||
|
eval $(ssh-agent)
|
||||||
|
|
||||||
for program in $autostart; do
|
for program in $autostart; do
|
||||||
pidof -sx "$program" || "$program" &
|
pidof -sx "$program" || "$program" &
|
||||||
|
|||||||
@ -7,7 +7,7 @@ url="${WTTRURL:-wttr.in}"
|
|||||||
weatherreport="${XDG_CACHE_HOME:-$HOME/.cache}/weatherreport"
|
weatherreport="${XDG_CACHE_HOME:-$HOME/.cache}/weatherreport"
|
||||||
|
|
||||||
# Get a weather report from 'wttr.in' and save it locally.
|
# Get a weather report from 'wttr.in' and save it locally.
|
||||||
getforecast() { curl -sf "$url/$LOCATION" > "$weatherreport" || exit 1; }
|
getforecast() { timeout --signal=1 2s curl -sf "$url/$LOCATION" > "$weatherreport" || exit 1; }
|
||||||
|
|
||||||
# Forecast should be updated only once a day.
|
# Forecast should be updated only once a day.
|
||||||
checkforecast() {
|
checkforecast() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user