1
0
forked from extern/nix-config

yambar: Remove river support

Hyprland does most of what river could do but better, so focusing on
Hyprland is ideal to simplify configuration.
This commit is contained in:
Donovan Glover 2023-04-26 16:01:13 -04:00
parent a53f76a0be
commit cdd27be432
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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:

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB