Compare commits

..

3 commits

2 changed files with 21 additions and 27 deletions

View file

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

View file

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