Compare commits

..

No commits in common. "0e3e5f19bee539859784c790d22f3bd67b05a76e" and "414b19ff8aaf85c39f19f79e5629680bbff79f18" have entirely different histories.

3 changed files with 160 additions and 2 deletions

View file

@ -5,9 +5,25 @@ riverctl background-color 0x$background
riverctl border-color-focused 0x$border_focused
riverctl border-color-unfocused 0x$border_unfocused
riverctl border-width 5
riverctl spawn "killall yambar ; yambar --config=$HOME/.cache/themer.lua/yambar"
riverctl spawn 'killall yambar ; yambar'
riverctl spawn "killall fnott >/dev/null ; fnott"
riverctl spawn "killall river-tag-overlay >/dev/null ; river-tag-overlay \
--border-width=5 \
--anchors=1:0:0:0 \
--timeout=2000 \
--square-padding=10 \
--square-inner-padding=5 \
--square-size=30 \
--background-colour=0x$background \
--border-colour=0x$border_focused \
--square-active-background-colour=0x$border_focused \
--square-active-border-colour=0x$border_focused \
--square-active-occupied-colour=0x$border_focused \
--square-inactive-background-colour=0x$background \
--square-inactive-border-colour=0x$border_focused \
--square-inactive-occupied-colour=0x$border_focused \
"
if test -n "$bg"; then
riverctl spawn "killall swaybg ; swaybg --image '$bg'"

@ -1 +1 @@
Subproject commit 7295fe228f56c41881e312b397d744d1e5fad777
Subproject commit be2aae17290fbf459e7fb193de4274b5ea162639

View file

@ -0,0 +1,142 @@
bar:
height: 16
location: top
layer: top
spacing: 8
right-margin: 8
background: *bg
foreground: *fg
font: sans-serif:size=12
left:
- river:
anchors:
base: &river_base
margin: 8
tag: id
default: &river_default
default: {string: {text: "{id}"}}
values: &river_values
1: {string: {text: "I"}}
2: {string: {text: "II"}}
3: {string: {text: "III"}}
4: {string: {text: "IV"}}
5: {string: {text: "V"}}
6: {string: {text: "VI"}}
7: {string: {text: "VII"}}
8: {string: {text: "VIII"}}
9: {string: {text: "IX"}}
10: {empty: {}}
11: {empty: {}}
12: {empty: {}}
13: {empty: {}}
14: {empty: {}}
15: {empty: {}}
16: {empty: {}}
17: {empty: {}}
18: {empty: {}}
19: {empty: {}}
20: {empty: {}}
21: {empty: {}}
22: {empty: {}}
23: {empty: {}}
24: {empty: {}}
25: {empty: {}}
26: {empty: {}}
27: {empty: {}}
28: {empty: {}}
29: {empty: {}}
30: {empty: {}}
31: {empty: {}}
32: {empty: {}}
content:
map:
tag: state
values:
focused:
map:
<<: *river_base
deco: {background: {color: *accent}}
values:
<<: *river_values
1: {string: {text: "I", foreground: *bg}}
2: {string: {text: "II", foreground: *bg}}
3: {string: {text: "III", foreground: *bg}}
4: {string: {text: "IV", foreground: *bg}}
5: {string: {text: "V", foreground: *bg}}
6: {string: {text: "VI", foreground: *bg}}
7: {string: {text: "VII", foreground: *bg}}
8: {string: {text: "VIII", foreground: *bg}}
9: {string: {text: "IX", foreground: *bg}}
unfocused:
map:
<<: *river_base
values:
<<: *river_values
invisible:
map:
tag: occupied
values:
true:
map:
deco: {background: {color: *bgish}}
<<: *river_base
values:
<<: *river_values
false:
map:
<<: *river_base
values:
<<: *river_values
right:
- network:
name: eth0
content:
map:
tag: carrier
default: {empty: {}}
values:
true:
map:
tag: state
values:
down: {string: {text: Ethernet down, foreground: *accent}}
up:
map:
tag: ipv4
default: {string: {text: Ethernet}}
values:
"": {string: {text: Ethernet sin IPv4, foreground: *accent}}
- network:
name: wlan0
content:
map:
tag: state
values:
down: {string: {text: WiFi down, foreground: *accent}}
up:
map:
tag: ipv4
default: {string: {text: WiFi}}
values:
"": {string: {text: WiFi sin IPv4, foreground: *accent}}
- battery:
name: BAT0
poll-interval: 30
content:
map:
tag: state
values:
discharging: {string: {text: "{capacity}%"}}
unknown: {string: {text: "{capacity}% limite"}}
not charging: {string: {text: "{capacity}% limite"}}
charging: {string: {text: "{capacity}% cargando"}}
full: {string: {text: "{capacity}% full"}}
- clock:
date-format: "%A %d of %B"
content:
- string: {text: " {date}", right-margin: 12}
- string: {text: " {time}"}