summaryrefslogtreecommitdiff
path: root/home/xyz/.config/nsxiv/exec
# modules that don't update on their own need to be run at the start for getting their initial value update_net update_vol update_mic update_gpu # SIGNALLING# trap "<function>;display" "RTMIN+n"trap"update_mic;display""RTMIN"trap"update_vol;display""RTMIN+1"# xev can't read my toggle internet keyboard key, don't know what key to use in sxhkd to send signaltrap"update_net;display""RTMIN+2"# to update it from external commands## kill -m $(pidof -x sbar)# where m = 34 + nwhile:;dosleep1&wait[ $((sec %5))-eq0] && update_time # update time every 5 seconds[ $((sec %60))-eq0] && update_net [ $((sec %60))-eq0] && update_bat # how often the display updates ( 5 seconds )[ $((sec %5))-eq0] && display sec=$((sec +1))done
AgeCommit message (Expand)Author