mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-11-09 14:00:47 -05:00
Update yambar for 2nd display and replace waybar
This commit is contained in:
parent
3388d21169
commit
73f8d0639e
3 changed files with 64 additions and 8 deletions
|
@ -224,15 +224,13 @@ gnome-keyring-daemon --start --components=ssh &
|
||||||
kanshi &
|
kanshi &
|
||||||
pipewire-launcher &
|
pipewire-launcher &
|
||||||
swayidle-launcher &
|
swayidle-launcher &
|
||||||
|
yambar-launcher &
|
||||||
dunst &
|
dunst &
|
||||||
gammastep -r &
|
gammastep -r &
|
||||||
{{- if eq .chezmoi.hostname "hydrus" }}
|
{{- if eq .chezmoi.hostname "hydrus" }}
|
||||||
waybar-launcher &
|
|
||||||
river-tag-overlay &
|
river-tag-overlay &
|
||||||
blueman-applet &
|
|
||||||
swaybg -m fill -i "${HOME}/Pictures/Wallpapers/dark-forest-path.jpg" &
|
swaybg -m fill -i "${HOME}/Pictures/Wallpapers/dark-forest-path.jpg" &
|
||||||
{{- else if eq .chezmoi.hostname "helix" }}
|
{{- else if eq .chezmoi.hostname "helix" }}
|
||||||
yambar-launcher &
|
|
||||||
swaybg -m center -i "${HOME}/Pictures/Wallpapers/Mountain Retreat.jpg" &
|
swaybg -m center -i "${HOME}/Pictures/Wallpapers/Mountain Retreat.jpg" &
|
||||||
{{- end }}
|
{{- end }}
|
||||||
sleep 10 && nextcloud --background &
|
nextcloud --background &
|
||||||
|
|
|
@ -34,14 +34,14 @@ separator: &separator {string: {text: " ", font: *hack, foreground: *light_grey
|
||||||
bar:
|
bar:
|
||||||
{{- if eq .chezmoi.hostname "helix" }}
|
{{- if eq .chezmoi.hostname "helix" }}
|
||||||
height: 64
|
height: 64
|
||||||
location: top
|
location: bottom
|
||||||
{{- else if eq .chezmoi.hostname "hydrus" }}
|
{{- else if eq .chezmoi.hostname "hydrus" }}
|
||||||
monitor: DP-2
|
monitor: DP-2
|
||||||
height: 28
|
height: 28
|
||||||
location: bottom
|
location: bottom
|
||||||
{{- else }}
|
{{- else }}
|
||||||
height: 36
|
height: 36
|
||||||
location: top
|
location: bottom
|
||||||
{{- end }}
|
{{- end }}
|
||||||
layer: top
|
layer: top
|
||||||
spacing: 2
|
spacing: 2
|
||||||
|
@ -164,3 +164,61 @@ center:
|
||||||
activated:
|
activated:
|
||||||
- string: {text: "{app-id}: {title}"}
|
- string: {text: "{app-id}: {title}"}
|
||||||
~activated: {empty: {}}
|
~activated: {empty: {}}
|
||||||
|
|
||||||
|
right:
|
||||||
|
{{- if eq .chezmoi.hostname "hydrus" }}
|
||||||
|
- label:
|
||||||
|
content: *separator
|
||||||
|
- network:
|
||||||
|
name: wlan0
|
||||||
|
poll-interval: 2000
|
||||||
|
content:
|
||||||
|
map:
|
||||||
|
default: {string: {text: , font: *awesome}}
|
||||||
|
conditions:
|
||||||
|
state == down: {string: {text: , font: *awesome, foreground: *dark_grey}}
|
||||||
|
state == up:
|
||||||
|
map:
|
||||||
|
default:
|
||||||
|
- string: {text: , font: *awesome}
|
||||||
|
- string: {text: " {name}: {dl-speed:mb} mb/s down - {ul-speed:mb} mb/s up"}
|
||||||
|
conditions:
|
||||||
|
ipv4 == "":
|
||||||
|
- string: {text: , font: *awesome}
|
||||||
|
- string: {text: " {name}: {dl-speed:mb} mb/s down / {ul-speed:mb} mb/s up"}
|
||||||
|
- network:
|
||||||
|
name: eth0
|
||||||
|
poll-interval: 2000
|
||||||
|
content:
|
||||||
|
map:
|
||||||
|
conditions:
|
||||||
|
~carrier: {empty: {}}
|
||||||
|
carrier:
|
||||||
|
map:
|
||||||
|
default:
|
||||||
|
- string: {text: , font: *awesome}
|
||||||
|
- string: {text: " {name}: {dl-speed:mb} mb/s down / {ul-speed:mb} mb/s up"}
|
||||||
|
conditions:
|
||||||
|
state == down: {string: {text: , font: *awesome}}
|
||||||
|
ipv4 == "":
|
||||||
|
- string: {text: , font: *awesome}
|
||||||
|
- string: {text: " {name}: {dl-speed:mb} mb/s down / {ul-speed:mb} mb/s up"}
|
||||||
|
- label:
|
||||||
|
content: *separator
|
||||||
|
{{- end }}
|
||||||
|
- cpu:
|
||||||
|
poll-interval: 2000
|
||||||
|
content:
|
||||||
|
map:
|
||||||
|
conditions:
|
||||||
|
id == -1:
|
||||||
|
- string: {text: , font: *awesome}
|
||||||
|
- string: {text: " {cpu}%"}
|
||||||
|
- label:
|
||||||
|
content: *separator
|
||||||
|
- mem:
|
||||||
|
poll-interval: 5000
|
||||||
|
content:
|
||||||
|
- string: {text: , font: *awesome}
|
||||||
|
- string: {text: " {used:mb} MiB ({percent_used}% Used)"}
|
||||||
|
|
||||||
|
|
|
@ -271,7 +271,7 @@ bar:
|
||||||
- label:
|
- label:
|
||||||
content: *separator
|
content: *separator
|
||||||
- clock:
|
- clock:
|
||||||
date-format: "%Y-%m-%d"
|
date-format: "%b %d"
|
||||||
time-format: "%R"
|
time-format: "%R"
|
||||||
content:
|
content:
|
||||||
- string: {text: , font: *awesome}
|
- string: {text: , font: *awesome}
|
||||||
|
|
Loading…
Reference in a new issue