Browse Source

Move README to markdown

master
Remi Reuvekamp 3 years ago
parent
commit
a083f23608
1 changed files with 31 additions and 22 deletions
  1. +31
    -22
      panel/README.md

panel/README → panel/README.md View File

@@ -1,8 +1,12 @@
# panel

Panel which shows the status of workspaces in the BSPWM.
Every workspace has it's own block with the colour depending on the workspace state.
Every workspace has its own block with the colour depending on the workspace state.

## Usage

Usage:
$ panel --help
$ panel --help
```
-align int
0, 1, 2 for left, center, right respectively. Can only be used with force-width and force-item-width

@@ -47,6 +51,7 @@ Usage:
colour of spacer between workspace blocks (default "#000000")
-spacer-width int
width of spacer between workspace blocks (default 5)
```

Note: Only one of these can be used at a time, since they conflict.
force-item-width
@@ -54,27 +59,31 @@ Note: Only one of these can be used at a time, since they conflict.

Note: When using force-item-width or force-width, margin-left and margin-rigth cannot be used.

Examples:
$ panel
SCREENSHOT
## Examples

$ panel
SCREENSHOT

$ panel -force-item-width 30 -height 10 -align 1 -margin-vertical 10
SCREENSHOT

$ panel -margin-left 100 -margin-right 100
You would use this if you have got other panels at the left and right, in this example both 100 pixels, and don't want them to overlap with this panel.
SCREENSHOT

$ panel -force-item-width 30 -height 10 -align 1 -margin-vertical 10
SCREENSHOT
## Dependencies

$ panel -margin-left 100 -margin-right 100
You would use this if you have got other panels at the left and right, in this example both 100 pixels, and don't want them to overlap with this panel.
SCREENSHOT
dzen2
bspc / bspwm
xrandr
go compiler (If you'd like I could build a binary for you. Contact me by using the author information of the Git commits.)

Dependencies:
dzen2
bspc / bspwm
xrandr
go compiler
If you'd like I could build a binary for you. Contact me by the contact information in the README in the root of the repository.
## TODO

TODO
Test multiple monitors. Ignore monitors with only workspaces that contain 'Desktop' in their name.
Make screenshots for examples.
Test multiple monitors. Ignore monitors with only workspaces that contain 'Desktop' in their name.
Make screenshots for examples.

Future plans
The force-width and force-item-width is a bit of a mess from a user point of view. Maybe have a generic panel-width that is default to 100%.
### Future plans
The force-width and force-item-width is a bit complicated from a user point of view.
Especially because margin cannot be used with it.
Maybe have a generic panel-width that is default to 100%.

Loading…
Cancel
Save