Compare commits

...

3 commits

2 changed files with 21 additions and 27 deletions

View file

@ -12,19 +12,12 @@ bar:
left: left:
- river: - river:
anchors: anchors:
- base: &river_base base: &river_base
margin: 8 margin: 8
tag: id tag: id
values: values: {}
1: {string: {text: "1"}} default: &river_default
2: {string: {text: "2"}} default: {string: {text: "{id}"}}
3: {string: {text: "3"}}
4: {string: {text: "4"}}
5: {string: {text: "5"}}
6: {string: {text: "6"}}
7: {string: {text: "7"}}
8: {string: {text: "8"}}
9: {string: {text: "9"}}
content: content:
map: map:
tag: state tag: state
@ -32,28 +25,25 @@ bar:
focused: focused:
map: map:
<<: *river_base <<: *river_base
values: default: {string: {text: "{id}", foreground: *bg}}
1: {string: {text: "1", foreground: *bg}}
2: {string: {text: "2", foreground: *bg}}
3: {string: {text: "3", foreground: *bg}}
4: {string: {text: "4", foreground: *bg}}
5: {string: {text: "5", foreground: *bg}}
6: {string: {text: "6", foreground: *bg}}
7: {string: {text: "7", foreground: *bg}}
8: {string: {text: "8", foreground: *bg}}
9: {string: {text: "9", foreground: *bg}}
deco: {background: {color: *accent}} deco: {background: {color: *accent}}
unfocused: {map: {<<: *river_base}} unfocused:
map:
<<: *river_base
default: {string: {text: "{id}"}}
invisible: invisible:
map: map:
tag: occupied tag: occupied
values: values:
false: {empty: {}} false: {empty: {}}
true: {map: {<<: *river_base}} true:
map:
<<: *river_base
default: {string: {text: "{id}"}}
right: right:
- alsa: - alsa:
card: pulse card: default
mixer: Capture mixer: Capture
content: content:
map: map:
@ -63,7 +53,7 @@ bar:
true: {string: {text: Mic en mute, foreground: *accent}} true: {string: {text: Mic en mute, foreground: *accent}}
false: {string: {text: "Mic {percent}%"}} false: {string: {text: "Mic {percent}%"}}
- alsa: - alsa:
card: pulse card: default
mixer: Master mixer: Master
content: content:
map: map:

View file

@ -2,6 +2,10 @@
. /etc/profile . /etc/profile
ulimit -c unlimited
export MESA_LOADER_DRIVER_OVERRIDE=crocus
if test -z "${XDG_RUNTIME_DIR}"; then if test -z "${XDG_RUNTIME_DIR}"; then
export XDG_RUNTIME_DIR=/tmp/$(id -u)-runtime-dir export XDG_RUNTIME_DIR=/tmp/$(id -u)-runtime-dir
if ! test -d "${XDG_RUNTIME_DIR}"; then if ! test -d "${XDG_RUNTIME_DIR}"; then