From b8cd0ab4953d053fef09c48ba04f2fbb2df57aa4 Mon Sep 17 00:00:00 2001 From: sban <30375170+mr-sban@users.noreply.github.com> Date: Tue, 5 Sep 2023 07:51:05 +0000 Subject: Timeout added to forecast module, ncmpcpp now tracks player state (#1359) * Added timeout to getforecast to prevent status bar breakage. A 2 second timeout is used in the case that wttr.in is inaccessible when dwm is started; as otherwise it tries to curl wttr.in indefinitely, not allowing other status bar modules to be loaded. * Update music status bar module on player state change --- .config/ncmpcpp/config | 1 + 1 file changed, 1 insertion(+) (limited to '.config/ncmpcpp') diff --git a/.config/ncmpcpp/config b/.config/ncmpcpp/config index 3111aab..1e2a8b0 100644 --- a/.config/ncmpcpp/config +++ b/.config/ncmpcpp/config @@ -31,3 +31,4 @@ progressbar_elapsed_color = blue:b statusbar_color = red statusbar_time_color = cyan:b execute_on_song_change="pkill -RTMIN+11 dwmblocks" +execute_on_player_state_change="pkill -RTMIN+11 dwmblocks" -- cgit v1.3.1