Keyboard Shortcut

Good Day folks,

I have an older AL install and some of my keybindings are dead.
The one I’m trying to fix now, is how to reload polybar safely?

My current shortcut within my rc.xml file is

    <keybind key="W-S-r">
      <action name="Execute">
        <command>launch-polybar --reload</command>
      </action>
    </keybind>

I was thinking polybar -rc /path/to/config/unknown ?

Many scripts were combined together in order to tidy up ~/bin

You’ll find this script https://github.com/ARCHLabs/Archlabs-User-Home/blob/master/home/bin/toggle.sh

To toggle polybar off/on:

toggle.sh -p

It can be passed options to toggle off/on some applications, as well as being used to monitor processes

Example, toggle redshift on/off:

toggle.sh -r -tg

Monitor redshift process (for use with polybar)

toggle.sh -r

Just check out the help page

toggle.sh --help

Cheers

1 Like