diff --git a/src/dot_config/private_waybar/private_config b/src/dot_config/private_waybar/private_config new file mode 100644 index 0000000..fbf3742 --- /dev/null +++ b/src/dot_config/private_waybar/private_config @@ -0,0 +1,38 @@ +{ + "layer": "top", + "reload_style_on_change": true, + "modules-left": ["niri/workspaces"], + "modules-center": ["niri/window"], + "modules-right": ["mpris", "network", "battery", "clock"], + "niri/window": { + "max-length": 50 + }, + "niri/workspaces": { + "format": "{icon}", + "format-icons": { + } + }, + "battery": { + "format": "{capacity}% {icon}", + "format-icons": ["", "", "", "", ""], + "states": { + "warning": 40, + "critical": 10, + } + }, + "clock": { + "format": "{:%H:%M}", + }, + "network": { + "format-wifi": "⇌", + "format-disconnected": "⚠" + }, + "mpris": { + "format": "{artist} - {title} {status_icon}", + "format-paused": "{artist} - {title} {status_icon}", + "status-icons": { + "playing": "✗", + "paused": "•" + }, + } +} diff --git a/src/dot_config/private_waybar/style.css b/src/dot_config/private_waybar/style.css new file mode 100644 index 0000000..a827083 --- /dev/null +++ b/src/dot_config/private_waybar/style.css @@ -0,0 +1,27 @@ +@import url("file:///etc/xdg/waybar/style.css"); + +.modules-left { + padding-left: 0.5em; +} +.modules-right { + padding-right: 0.5em; +} + +#network, +#battery, +#clock { + background-color: transparent; + color: #ffffff; +} + +#mpris { + margin-right: 0.5em; +} + +#battery.warning:not(.charging) { + background-color: #99AABB; +} + +window#waybar.chromium { + background-color: rgba(43, 48, 59, 0.5); +}