Added minimal waybar
This commit is contained in:
parent
0b05a4d13b
commit
efe98deb44
@ -1,3 +1,4 @@
|
|||||||
|
spawn-at-startup "waybar"
|
||||||
spawn-at-startup "swww-daemon"
|
spawn-at-startup "swww-daemon"
|
||||||
spawn-at-startup "wal -i ~/Pictures/Wallpapers/pywallpaper.jpg -n --cols16"
|
spawn-at-startup "wal -i ~/Pictures/Wallpapers/pywallpaper.jpg -n --cols16"
|
||||||
|
|
||||||
|
|||||||
44
.config/waybar/config
Normal file
44
.config/waybar/config
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
{
|
||||||
|
"layer": "top",
|
||||||
|
"position": "top",
|
||||||
|
"height": 16,
|
||||||
|
"spacing": 10,
|
||||||
|
|
||||||
|
"modules-left": ["clock"],
|
||||||
|
"modules-center": ["niri/window"],
|
||||||
|
"modules-right": ["cpu","memory","network"],
|
||||||
|
|
||||||
|
"clock": {
|
||||||
|
"format": "{:%d.%m.%Y | %H:%M}"
|
||||||
|
},
|
||||||
|
|
||||||
|
"cpu": {
|
||||||
|
"interval": 10,
|
||||||
|
"format": "CPU: {}%",
|
||||||
|
"max-length": 10
|
||||||
|
},
|
||||||
|
|
||||||
|
"memory": {
|
||||||
|
"interval": 30,
|
||||||
|
"format": "\uf4bc {used:0.1f}G"
|
||||||
|
},
|
||||||
|
|
||||||
|
"network": {
|
||||||
|
"format": "",
|
||||||
|
"format-ethernet": "\udb83\udc9d",
|
||||||
|
"format-wifi": "{icon}",
|
||||||
|
"format-disconnected": "\udb83\udc9c",
|
||||||
|
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
|
||||||
|
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
|
||||||
|
"tooltip-format-ethernet": "{ifname}",
|
||||||
|
"tooltip-format-disconnected": "Disconnected",
|
||||||
|
},
|
||||||
|
|
||||||
|
"niri/window": {
|
||||||
|
"format": "{}",
|
||||||
|
"rewrite": {
|
||||||
|
"(.*) - Mozilla Firefox": "🌎 $1",
|
||||||
|
"(.*) - zsh": "> [$1]"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
26
.config/waybar/style.css
Normal file
26
.config/waybar/style.css
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
@define-color foreground #eeeeee;
|
||||||
|
@define-color foreground-inactive #aaaaaa;
|
||||||
|
@define-color background #000000;
|
||||||
|
|
||||||
|
* {
|
||||||
|
font-family: FiraCode Nerd Font;
|
||||||
|
font-size: 16px;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#waybar {
|
||||||
|
color: @foreground;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network,
|
||||||
|
#cpu,
|
||||||
|
#clock,
|
||||||
|
#memory,
|
||||||
|
#window {
|
||||||
|
padding-left: 10px;
|
||||||
|
padding-right: 10px;
|
||||||
|
padding-top: 3px;
|
||||||
|
padding-bottom: 3px;
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user