river: Definir tags UIOP

This commit is contained in:
Cat /dev/Nulo 2022-01-21 21:45:13 -03:00
parent 214a66b9a9
commit 5b7f1bd3a7
2 changed files with 19 additions and 1 deletions

View file

@ -70,6 +70,10 @@ define_tag $((1 << 5)) 6
define_tag $((1 << 6)) 7
define_tag $((1 << 7)) 8
define_tag $((1 << 8)) 9
define_tag $((1 << 9)) U
define_tag $((1 << 10)) I
define_tag $((1 << 11)) O
define_tag $((1 << 12)) P
all_tags=$(((1 << 32) - 1))
riverctl map normal $mod 0 set-focused-tags $all_tags

View file

@ -15,7 +15,6 @@ bar:
base: &river_base
margin: 8
tag: id
values: {}
default: &river_default
default: {string: {text: "{id}"}}
content:
@ -27,10 +26,20 @@ bar:
<<: *river_base
default: {string: {text: "{id}", foreground: *bg}}
deco: {background: {color: *accent}}
values:
10: {string: {text: "u", foreground: *bg}}
11: {string: {text: "i", foreground: *bg}}
12: {string: {text: "o", foreground: *bg}}
13: {string: {text: "p", foreground: *bg}}
unfocused:
map:
<<: *river_base
default: {string: {text: "{id}"}}
values:
10: {string: {text: "u"}}
11: {string: {text: "i"}}
12: {string: {text: "o"}}
13: {string: {text: "p"}}
invisible:
map:
tag: occupied
@ -40,6 +49,11 @@ bar:
map:
<<: *river_base
default: {string: {text: "{id}"}}
values:
10: {string: {text: "u"}}
11: {string: {text: "i"}}
12: {string: {text: "o"}}
13: {string: {text: "p"}}
right:
- network: