mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
waybar: add more rice to it
This commit is contained in:
parent
e30bf568c8
commit
1707808710
4 changed files with 31 additions and 12 deletions
|
|
@ -13,13 +13,12 @@
|
|||
"modules-left": ["niri/workspaces", "niri/window"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": [
|
||||
"memory",
|
||||
"cpu",
|
||||
"tray",
|
||||
"niri/language",
|
||||
"backlight",
|
||||
"battery",
|
||||
"tray",
|
||||
"pulseaudio",
|
||||
"battery",
|
||||
"backlight",
|
||||
"power-profiles-daemon",
|
||||
"network"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
// vim: ft=jsonc
|
||||
// NOTE: hyprland config
|
||||
{
|
||||
"position": "top",
|
||||
"layer": "top",
|
||||
|
|
|
|||
|
|
@ -6,18 +6,15 @@
|
|||
|
||||
"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,
|
||||
|
|
@ -25,6 +22,18 @@
|
|||
}
|
||||
},
|
||||
|
||||
"power-profiles-daemon": {
|
||||
"format": "{icon}",
|
||||
"tooltip-format": "{profile}",
|
||||
"tooltip": true,
|
||||
"format-icons": {
|
||||
"default": "",
|
||||
"performance": "",
|
||||
"balanced": "",
|
||||
"power-saver": ""
|
||||
}
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"format": " {used}",
|
||||
"interval": 5
|
||||
|
|
|
|||
|
|
@ -24,7 +24,12 @@ window#waybar {
|
|||
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 @@ window#waybar {
|
|||
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; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue