From cdd27be43255b4cd4525bf33fd3d09cd1a1dc22e Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Wed, 26 Apr 2023 16:01:13 -0400 Subject: [PATCH] yambar: Remove river support Hyprland does most of what river could do but better, so focusing on Hyprland is ideal to simplify configuration. --- yambar/.config/yambar/config.yml | 45 -------------------------------- 1 file changed, 45 deletions(-) diff --git a/yambar/.config/yambar/config.yml b/yambar/.config/yambar/config.yml index e576e639..d23ff6bc 100644 --- a/yambar/.config/yambar/config.yml +++ b/yambar/.config/yambar/config.yml @@ -21,51 +21,6 @@ bar: middle: sh -c 'kitty ranger ~' text: "{hypr_ws}" left-margin: *BMARGIN - - - river: - anchors: - - base: &river_base - left-margin: *BMARGIN - right-margin: *BMARGIN - default: {string: {text: ''}} - conditions: - id == 1: {string: {text: 一}} - id == 2: {string: {text: 二}} - id == 3: {string: {text: 三}} - id == 4: {string: {text: 四}} - id == 5: {string: {text: 五}} - id == 6: {string: {text: 六}} - id == 7: {string: {text: 七}} - id == 8: {string: {text: 八}} - id == 9: {string: {text: 九}} - id == 10: {string: {text: 十}} - content: - map: - on-click: - left: sh -c "riverctl set-focused-tags $((1 << ({id} - 1)))" - right: sh -c "riverctl toggle-focused-tags $((1 << ({id} -1)))" - middle: sh -c "riverctl toggle-view-tags $((1 << ({id} -1)))" - conditions: - state == urgent: - map: - <<: *river_base - state == focused: - map: - <<: *river_base - deco: {background: {color: ffffff33}} - state == visible && ~occupied: - map: - <<: *river_base - state == visible && occupied: - map: - <<: *river_base - state == unfocused: - map: - <<: *river_base - state == invisible && ~occupied: {empty: {}} - state == invisible && occupied: - map: - <<: *river_base center: - foreign-toplevel: