diff --git a/README.md b/README.md index e120f3e..69fa010 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/src/gBar.cpp b/src/gBar.cpp index ddeca96..6dda94d 100644 --- a/src/gBar.cpp +++ b/src/gBar.cpp @@ -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"