hyprland + waybar + GTK (Catpuccin)

This commit is contained in:
nx2
2024-04-01 16:42:51 +02:00
parent da22e65d5a
commit 06d616a6e5
779 changed files with 101007 additions and 103 deletions

View File

@@ -9,16 +9,17 @@ in
programs.waybar = {
enable = true;
settings = {
height = 20;
layer = "top";
position = "bottom";
margin-top = 0;
margin-left = 0;
margin-bottom = 0;
padding-bottom = 0;
margin-right = 0;
spacing = 10;
modules-left = [
bar = {
height = 20;
layer = "top";
position = "bottom";
margin-top = 0;
margin-left = 0;
margin-bottom = 0;
padding-bottom = 0;
margin-right = 0;
spacing = 10;
modules-left = [
"cpu"
"memory"
"wireplumber"
@@ -26,91 +27,92 @@ in
"battery"
"network"
"hyprland/window"
];
modules-center = [
];
modules-center = [
"hyprland/workspaces"
];
modules-right = [
];
modules-right = [
"custom/mode"
"custom/ctimeremaining"
"custom/cclock"
"tray"
];
"hyprland/workspaces" = {
];
"hyprland/workspaces" = {
on-click = "activate";
format = "{name}";
all-outputs = false;
active-only = false;
};
"hyprland/window" = {
};
"hyprland/window" = {
format = "{}";
separate-outputs = true;
};
"custom/cclock" = {
};
"custom/cclock" = {
exec = "/home/nx2/scripts/cclock.sh";
restart-interval = 60;
};
"custom/ctimeremaining" = {
};
"custom/ctimeremaining" = {
exec = "python /home/nx2/scripts/NxGCalEvent/get-remaining-time.py";
restart-interval = 60;
};
"custom/mode" = {
};
"custom/mode" = {
exec = "cat /tmp/waybar-mode";
interval = "once";
signal = 8;
};
};
cpu = {
cpu = {
interval = 1;
format = "󰍛 {}%";
max-length = 10;
};
memory = {
};
memory = {
interval = 5;
format = " {avail:.0f}G free";
};
battery = {
};
battery = {
interval = 60;
tooltip = false;
format = "{icon} {capacity}%";
states = {
warning = 25;
critical = 10;
warning = 25;
critical = 10;
};
format-icons = [
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
];
format-charging = "{icon} +{capacity}%";
format-plugged = "{icon} P{capacity}%";
format-full = "{icon} F{capacity}%";
};
backlight = {
};
backlight = {
device = "DP-1";
format = "{icon} {percent}%";
format-icons = [
""
""
""
""
""
""
""
""
""
""
""
""
""
""
""
""
""
""
];
};
network = {
};
network = {
format-wifi = " {essid}";
format-ethernet = " Wired";
format-disconnected = " Disconnected";
};
wireplumber = {
};
wireplumber = {
format = "󰕾 {volume}%";
format-muted = " Muted";
};
};
};
style = ''
@@ -187,4 +189,4 @@ in
'';
};
}
}