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:
parent
a53f76a0be
commit
cdd27be432
@ -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 |
Loading…
Reference in New Issue
Block a user