Document new way of specifying the monitor

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

View file

@ -67,7 +67,11 @@ home-manager.users.user = {
``` ```
## Running gBar ## 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 gBar bar 0
``` ```

View file

@ -55,7 +55,8 @@ void PrintHelp()
"\tgBar [OPTIONS...] WIDGET [MONITOR]\n" "\tgBar [OPTIONS...] WIDGET [MONITOR]\n"
"\n" "\n"
"Sample usage:\n" "Sample usage:\n"
"\tgBar bar 0 \tOpens the status bar on monitor 0\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" "\tgBar audio \tOpens the audio flyin on the current monitor\n"
"\n" "\n"
"All options:\n" "All options:\n"