summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin/xmq
diff options
context:
space:
mode:
Diffstat (limited to 'home/xyz/.local/bin/xmq')
0 files changed, 0 insertions, 0 deletions
#update_event () { # event="$(calcurse -n | sed 1d | \ # sed -E "s_^ *\[(.*):(.*)\] ([^\t]*)\t?.*_[\1h \2m->\3]_")" # [ "[]" = "$event" ] && event="" #} # modules that don't update on their own need to be run at the start for getting their initial value update_vol update_mic update_cap update_vpn display () { xsetroot -name "$(echo "$time | N $net V $vpn | M $vol C $mic | $cap | $bat")" } # 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 signal #trap "update_net;display" "RTMIN+2" trap "update_cap;display" "RTMIN+3" trap "update_vpn;display" "RTMIN+4" # to update it from external commands ## kill -m "$(cat "$XDG_CACHE_HOME/pidofbar")" # where m = 34 + n