river: yambar
This commit is contained in:
parent
414b19ff8a
commit
56a28d6eff
3 changed files with 2 additions and 160 deletions
|
@ -5,25 +5,9 @@ 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'
|
||||
riverctl spawn "killall yambar ; yambar --config=$HOME/.cache/themer.lua/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 be2aae17290fbf459e7fb193de4274b5ea162639
|
||||
Subproject commit 000759de26d82e4a790634206f818295ca1e7211
|
|
@ -1,142 +0,0 @@
|
|||
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}"}
|
Loading…
Reference in a new issue