From b5ff63187314df61c1c6517f3d04d3807e158931 Mon Sep 17 00:00:00 2001 From: tslil clingman <> Date: Sun, 3 Dec 2023 18:17:53 +0100 Subject: [yambar] switch to river --- river/init | 1 + yambar/config.yml | 30 +++++++++++++++++------------- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/river/init b/river/init index b3fd88e..d77ac93 100755 --- a/river/init +++ b/river/init @@ -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}*" -- cgit v1.2.3