How To: Refresh your status bar in response to a hotkey - Desktop Customization & Workflow
Users browsing this thread: 1 Guest(s)
|
|||
The version without a PID file:
Code: #!/bin/sh Let’s say, you saved this as "update_bar.sh". Your key binds would then look like this: Code: # Volume Keys Saves you the trouble of dealing with a PID file, which can contain a wrong PID. This version uses "pkill" to scan through all running processes and send the signal to the ones matching the pattern. (This still assumes that spectrwm runs key binds using "sh -c ...". Don’t know if that’s true.) |
|||