Add configs
This commit is contained in:
parent
b5d6f24d1b
commit
3503e2a250
2 changed files with 151 additions and 2 deletions
4
README
4
README
|
@ -68,7 +68,7 @@ Copy config files
|
|||
cp .ashrc /home/<user>/
|
||||
mkdir -p /home/<user>/.local/bin/
|
||||
cp lynx /home/<user>/.local/bin/
|
||||
cp river foot /home/<user>/.config/
|
||||
cp -r vis river foot yambar /home/<user>/.config/
|
||||
Create the wallpaper folder
|
||||
mkdir -p /home/<user>/.local/share/wallpapers/
|
||||
Copy the wallpaper over
|
||||
|
@ -76,7 +76,7 @@ Copy the wallpaper over
|
|||
Now install the nessessary packages to enter a GUI session
|
||||
apk add xwayland... still unsure what deps are mising
|
||||
Install packages
|
||||
apk add lynx vis tofi yambar imv wlr-randr wbg
|
||||
apk add lynx vis fuzzel fastfetch yambar imv wlr-randr wbg
|
||||
Install a font
|
||||
apk add font-mononoki-nerd
|
||||
Now give the user ownership of the files
|
||||
|
|
149
yambar/config.yml
Normal file
149
yambar/config.yml
Normal file
|
@ -0,0 +1,149 @@
|
|||
mononki: &mononoki Mononoki Nerd Font Mono:pixelsize=16
|
||||
|
||||
color_fg: &color_fg e6ebf3ff
|
||||
color_bg: &color_bg faf4ed00
|
||||
|
||||
tag_urgent: &tag_urgent {stack: [{background: {color: *color_bg}}, {underline: {size: 4, color: b4637aff}}]}
|
||||
tag_focused: &tag_focused {stack: [{background: {color: *color_bg}}, {underline: {size: 4, color: 56949fff}}]}
|
||||
tag_unfocused: &tag_unfocused {stack: [{background: {color: *color_bg}}, {underline: {size: 4, color: d8d8d8ff}}]}
|
||||
|
||||
bar:
|
||||
height: 30
|
||||
location: top
|
||||
font: Mononoki Nerd Font Mono:pixelsize=18
|
||||
spacing: 6
|
||||
margin: 12
|
||||
layer: top
|
||||
foreground: *color_fg
|
||||
background: *color_bg
|
||||
|
||||
left:
|
||||
- river:
|
||||
anchors:
|
||||
- base: &river_base
|
||||
left-margin: 10
|
||||
right-margin: 13
|
||||
default: {string: {text: , font: *mononoki}}
|
||||
conditions:
|
||||
id == 1: {string: {text: 1, font: *mononoki}}
|
||||
id == 2: {string: {text: 2, font: *mononoki}}
|
||||
id == 3: {string: {text: 3, font: *mononoki}}
|
||||
id == 4: {string: {text: 4, font: *mononoki}}
|
||||
id == 5: {string: {text: 5, font: *mononoki}}
|
||||
id == 6: {string: {text: 6, font: *mononoki}}
|
||||
id == 7: {string: {text: 7, font: *mononoki}}
|
||||
id == 8: {string: {text: 8, font: *mononoki}}
|
||||
id == 9: {string: {text: 9, font: *mononoki}}
|
||||
id == 10: {string: {text: "scratchpad", font: *mononoki}}
|
||||
id == 11: {string: {text: "work", font: *mononoki}}
|
||||
|
||||
content:
|
||||
map:
|
||||
on-click:
|
||||
left: sh -c "riverctl set-focused-tags $((1 << ({id} - 1)))"
|
||||
right: sh -c "riverctl toggle-focused-tags $((1 << ({id} -1)))"
|
||||
middle: sh -c "riverctl toggle-view-tags $((1 << ({id} -1)))"
|
||||
conditions:
|
||||
state == urgent:
|
||||
map:
|
||||
<<: *river_base
|
||||
deco: *tag_urgent
|
||||
state == focused:
|
||||
map:
|
||||
<<: *river_base
|
||||
deco: *tag_focused
|
||||
state == visible && ~occupied:
|
||||
map:
|
||||
<<: *river_base
|
||||
state == visible && occupied:
|
||||
map:
|
||||
<<: *river_base
|
||||
deco: *tag_unfocused
|
||||
state == unfocused:
|
||||
map:
|
||||
<<: *river_base
|
||||
state == invisible && ~occupied: {empty: {}}
|
||||
state == invisible && occupied:
|
||||
map:
|
||||
<<: *river_base
|
||||
deco: *tag_unfocused
|
||||
|
||||
center:
|
||||
#- river:
|
||||
# title: {string: { text: "{title}" }}
|
||||
# content:
|
||||
# map:
|
||||
# conditions:
|
||||
# ~occupied: {empty: {}}
|
||||
|
||||
- clock:
|
||||
date-format: "%a %b %d"
|
||||
time-format: "%I:%M"
|
||||
content:
|
||||
string: {text: "{date} {time}"}
|
||||
|
||||
right:
|
||||
#- removables:
|
||||
# content:
|
||||
# map:
|
||||
# conditions:
|
||||
# ~mounted:
|
||||
# string:
|
||||
# on-click: udisksctl mount -b {device}
|
||||
# text: "{label}"
|
||||
# font: *mononoki
|
||||
# deco: {underline: {size: 4, color: d8d8d8ff}}
|
||||
# mounted:
|
||||
# string:
|
||||
# on-click: udisksctl unmount -b {device}
|
||||
# text: "{label} "
|
||||
# font: *mononoki
|
||||
# deco: {underline: {size: 4, color: 56949fff}}
|
||||
#- cpu:
|
||||
# poll-interval: 2500
|
||||
# content:
|
||||
# map:
|
||||
# conditions:
|
||||
# id >= 0:
|
||||
# - ramp:
|
||||
# tag: cpu
|
||||
# items:
|
||||
# - string: {text: ▁}
|
||||
# - string: {text: ▂}
|
||||
# - string: {text: ▃}
|
||||
# - string: {text: ▄}
|
||||
# - string: {text: ▅}
|
||||
# - string: {text: ▆}
|
||||
# - string: {text: ▇}
|
||||
# - string: {text: █}
|
||||
- network:
|
||||
name: wlp3s0
|
||||
content:
|
||||
map:
|
||||
conditions:
|
||||
state == "down":
|
||||
string:
|
||||
text: "Network: {state}"
|
||||
font: *mononoki
|
||||
deco: {underline: {size: 4, color: b4637aff}}
|
||||
state != "down":
|
||||
string:
|
||||
text: "Network: {state}"
|
||||
font: *mononoki
|
||||
deco: {underline: {size: 4, color: d8d8d8ff}}
|
||||
- mem:
|
||||
poll-interval: 2500
|
||||
content:
|
||||
map:
|
||||
conditions:
|
||||
used >= 8589934592:
|
||||
string:
|
||||
text: "RAM: {used:mb}MB"
|
||||
font: *mononoki
|
||||
deco: {underline: {size: 4, color: b4637aff}}
|
||||
used < 8589934592:
|
||||
string:
|
||||
text: "RAM: {used:mb}MB"
|
||||
font: *mononoki
|
||||
deco: {underline: {size: 4, color: d8d8d8ff}}
|
||||
|
Loading…
Reference in a new issue