Document new way of specifying the monitor

This commit is contained in:
scorpion-26 2024-03-15 19:40:10 +01:00
parent 4fdc81d949
commit b7b3883e7a
2 changed files with 8 additions and 3 deletions

View file

@ -67,7 +67,11 @@ home-manager.users.user = {
```
## Running gBar
*Open bar on monitor 0*
*Open bar on monitor "DP-1"
```
gBar bar DP-1
```
*Open bar on monitor 0 (Legacy way of specifying the monitor)*
```
gBar bar 0
```

View file

@ -55,8 +55,9 @@ void PrintHelp()
"\tgBar [OPTIONS...] WIDGET [MONITOR]\n"
"\n"
"Sample usage:\n"
"\tgBar bar 0 \tOpens the status bar on monitor 0\n"
"\tgBar audio \tOpens the audio flyin on the current monitor\n"
"\tgBar bar DP-1 \tOpens the status bar on monitor \"DP-1\"\n"
"\tgBar bar 0 \tOpens the status bar on monitor 0 (Legacy)\n"
"\tgBar audio \tOpens the audio flyin on the current monitor\n"
"\n"
"All options:\n"
"\t--help/-h \tPrints this help page and exits afterwards\n"