mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Improve waybar widgets
This commit is contained in:
parent
737c22d65b
commit
8f456c797d
1 changed files with 31 additions and 4 deletions
|
|
@ -4,7 +4,6 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
config = lib.mkIf config.myConfig.de.hyprland.enable {
|
config = lib.mkIf config.myConfig.de.hyprland.enable {
|
||||||
|
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
systemd.enable = true;
|
systemd.enable = true;
|
||||||
|
|
@ -13,7 +12,7 @@
|
||||||
mainBar = {
|
mainBar = {
|
||||||
layer = "top";
|
layer = "top";
|
||||||
position = "top";
|
position = "top";
|
||||||
spacing = 3;
|
spacing = 10;
|
||||||
|
|
||||||
modules-left = ["clock"];
|
modules-left = ["clock"];
|
||||||
modules-center = ["hyprland/workspaces"];
|
modules-center = ["hyprland/workspaces"];
|
||||||
|
|
@ -24,8 +23,36 @@
|
||||||
all-outputs = true;
|
all-outputs = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
clock = {
|
||||||
|
format = " {:%H.%M}";
|
||||||
|
tooltip-format = "{:%d.%m.%Y}";
|
||||||
|
};
|
||||||
|
|
||||||
|
wireplumber = {
|
||||||
|
format = "{icon} {volume}%";
|
||||||
|
format-muted = "";
|
||||||
|
format-icons = ["" "" ""];
|
||||||
|
scroll-step = "5";
|
||||||
|
};
|
||||||
|
|
||||||
|
tray = {
|
||||||
|
icon-size = 20;
|
||||||
|
spacing = 6;
|
||||||
|
};
|
||||||
|
|
||||||
backlight = {
|
backlight = {
|
||||||
device = "amdgpu_bl1";
|
device = "amdgpu_bl1";
|
||||||
|
format = "{icon} {percent}%";
|
||||||
|
format-icons = ["" "" ""];
|
||||||
|
};
|
||||||
|
|
||||||
|
battery = {
|
||||||
|
states = {
|
||||||
|
warning = 15;
|
||||||
|
critical = 5;
|
||||||
|
};
|
||||||
|
format = "{icon} {capacity}%";
|
||||||
|
format-icons = ["" "" "" "" "" "" "" "" "" "" ""];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -34,8 +61,8 @@
|
||||||
* {
|
* {
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
font-family: "JetBrainsMono Nerd Font";
|
font-family: "Open Sans, Symbols Nerd Font Mono";
|
||||||
font-size: 14px;
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue