all repos

dotfiles @ 170780871063632c9905e6e89ba03067b023ffeb

my dotfiles
4 files changed, 31 insertions(+), 12 deletions(-)
waybar: add more rice to it
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2025-06-13 17:04:07 +0300
Parent: e30bf56
M config/niri/waybar.jsonc

@@ -13,13 +13,12 @@ ],

"modules-left": ["niri/workspaces", "niri/window"], "modules-center": ["clock"], "modules-right": [ - "memory", - "cpu", + "niri/language", "tray", - "niri/language", + "pulseaudio", + "battery", "backlight", - "battery", - "pulseaudio", + "power-profiles-daemon", "network" ] }
M config/waybar/config

@@ -1,4 +1,5 @@

// vim: ft=jsonc +// NOTE: hyprland config { "position": "top", "layer": "top",
M config/waybar/modules/info.json

@@ -6,22 +6,31 @@ },

"clock": { "format": " {:%a, %d %b %H:%M}", // replace %I with %H for 24h format - "tooltip": true, - "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", - "on-click": "morgen" }, "battery": { "format": "{icon} {capacity}%", "format-charging": "{icon} {capacity}%", "format-plugged": "{capacity}% ", - "format-alt": "{icon} {time}", "format-icons": ["", "", "", "", ""], - "tooltip": false, + "tooltip": true, + "tooltip-format": "Left {time} \nHealth: {health}", "states": { "good": 95, "warning": 30, "critical": 15 + } + }, + + "power-profiles-daemon": { + "format": "{icon}", + "tooltip-format": "{profile}", + "tooltip": true, + "format-icons": { + "default": "", + "performance": "", + "balanced": "", + "power-saver": "" } },
M config/waybar/style.css

@@ -24,7 +24,12 @@ border-bottom: 2px solid @inactive-bg-color;

color: @fg-color; } -#language, #cpu, #memory, #workspaces, #window, #tray, #clock, #battery, #pulseaudio, #network, #backlight { +tooltip { + background: @bg-color; + border: 1px solid @bg-darker-color; +} + +#language, #cpu, #memory, #workspaces, #window, #tray, #clock, #battery, #power-profiles-daemon, #pulseaudio, #network, #backlight { background-color: @bg-darker-color; color: @fg-color; border-radius: 16px;

@@ -55,7 +60,12 @@ border-radius: 16px;

color: black; } -#clock { font-weight: bold; } #battery.charging { color: @green; } #battery.warning:not(.charging) { color: @red; } + +#clock { font-weight: bold; } #pulseaudio.muted { color: @red; } + +#power-profiles-daemon.performance { color: @blue; } +#power-profiles-daemon.balanced { color: @green; } +#power-profiles-daemon.power-saver { color: @red; }