diff options
| author | tslil clingman <> | 2023-12-03 18:17:53 +0100 |
|---|---|---|
| committer | tslil clingman <> | 2023-12-03 19:59:26 +0100 |
| commit | b5ff63187314df61c1c6517f3d04d3807e158931 (patch) | |
| tree | 5b4975f1fcb57a6239bae1b2a71b3ba5c38595cb | |
| parent | 4e6c9861a5aeba3e146bc8c63dfee8aeb929a07d (diff) | |
[yambar] switch to river
| -rwxr-xr-x | river/init | 1 | ||||
| -rw-r--r-- | yambar/config.yml | 30 |
2 files changed, 18 insertions, 13 deletions
@@ -19,6 +19,7 @@ riverctl input pointer-2362-628-PIXA3854:00_093A:0274_Touchpad tap enabled riverctl map normal Super T spawn foot riverctl map normal Super D spawn run riverctl map normal Super P spawn grim_slurp +riverctl map normal Super+Shift X spawn lock # Close and Quit riverctl map normal Super+Shift K close diff --git a/yambar/config.yml b/yambar/config.yml index 130c56b..b6a7fc4 100644 --- a/yambar/config.yml +++ b/yambar/config.yml @@ -8,6 +8,7 @@ bar: right: - network: name: wlp1s0 + poll-interval: 30000 content: map: default: @@ -31,17 +32,20 @@ bar: poll-interval: 30000 content: {string: {text: "{temp} | {time}"}} left: - - dwl: - number-of-tags: 8 - dwl-info-filename: "/home/tslil/.cache/dwltags" - name-of-tags: [ "F", "U", "H", ".", "V", "L", "O", "M" ] + - river: + title: {string: { margin: 5, max: 64, text: "{layout} | {title}" }} content: - list: - items: - - map: - conditions: - # default tag - id == 0: {string: {max: 64, text: " | {layout} | {title}"}} - selected: {string: {text: " *{name}"}} - ~empty: {string: {text: " {name}"}} - urgent: {string: {text: "=> {name} <="}} + map: + conditions: + ~occupied: {empty: {}} + occupied: + map: + conditions: + ~focused: + string: + margin: 5 + text: "{id} " + focused: + string: + margin: 5 + text: "{id}*" |
