mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 01:43:10 -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 &
|
||||
pipewire-launcher &
|
||||
swayidle-launcher &
|
||||
yambar-launcher &
|
||||
dunst &
|
||||
gammastep -r &
|
||||
{{- if eq .chezmoi.hostname "hydrus" }}
|
||||
waybar-launcher &
|
||||
river-tag-overlay &
|
||||
blueman-applet &
|
||||
swaybg -m fill -i "${HOME}/Pictures/Wallpapers/dark-forest-path.jpg" &
|
||||
{{- else if eq .chezmoi.hostname "helix" }}
|
||||
yambar-launcher &
|
||||
swaybg -m center -i "${HOME}/Pictures/Wallpapers/Mountain Retreat.jpg" &
|
||||
{{- end }}
|
||||
sleep 10 && nextcloud --background &
|
||||
nextcloud --background &
|
||||
|
|
|
@ -34,14 +34,14 @@ separator: &separator {string: {text: " ", font: *hack, foreground: *light_grey
|
|||
bar:
|
||||
{{- if eq .chezmoi.hostname "helix" }}
|
||||
height: 64
|
||||
location: top
|
||||
location: bottom
|
||||
{{- else if eq .chezmoi.hostname "hydrus" }}
|
||||
monitor: DP-2
|
||||
height: 28
|
||||
location: bottom
|
||||
{{- else }}
|
||||
height: 36
|
||||
location: top
|
||||
location: bottom
|
||||
{{- end }}
|
||||
layer: top
|
||||
spacing: 2
|
||||
|
@ -156,7 +156,7 @@ bar:
|
|||
foreground: *light_grey
|
||||
id >= 10 && ~visible && ~occupied: {empty: {}}
|
||||
{{ end }}
|
||||
center:
|
||||
center:
|
||||
- foreign-toplevel:
|
||||
content:
|
||||
map:
|
||||
|
@ -164,3 +164,61 @@ center:
|
|||
activated:
|
||||
- string: {text: "{app-id}: {title}"}
|
||||
~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:
|
||||
content: *separator
|
||||
- clock:
|
||||
date-format: "%Y-%m-%d"
|
||||
date-format: "%b %d"
|
||||
time-format: "%R"
|
||||
content:
|
||||
- string: {text: , font: *awesome}
|
||||
|
|
Loading…
Reference in a new issue