# Waybar Nick's modules/home/gui/desktop/wayland/waybar/config
programs.waybar = {
enable = true;
settings = [
{
layer = "top";
position = "bottom";
height = 50;
spacing = 10;
margin-top = 0;
margin-bottom = 5;
margin-left = 10;
margin-right = 10;
modules-left = [
"custom/launcher"
"tray"
"custom/exit"
];
modules-center = [ "hyprland/workspaces" ];
modules-right = [
"bluetooth"
"privacy"
"pulseaudio"
"battery"
"network"
"clock"
];
"custom/launcher" = {
format = "";
on-click = "rofi -show drun";
tooltip = false;
};
"custom/exit" = {
format = " ";
on-click = "wlogout";
tooltip-format = "Power Menu";
};
"hyprland/workspaces" = {
active-only = false;
disable-scroll = true;
format = "{icon}";
on-click = "activate";
format-icons = {
"1" = "◉";
"2" = "◉";
"3" = "◉";
"4" = "◉";
"5" = "◉";
urgent = "";
default = "◉";
sort-by-number = true;
};
persistent-workspaces = {
"1" = [ ];
"2" = [ ];
"3" = [ ];
"4" = [ ];
"5" = [ ];
};
};
"bluetooth" = {
format = " {status}";
format-disabled = "";
format-off = "";
interval = 30;
on-click = "blueberry";
format-no-controller = "";
};
"tray" = {
icon-size = 20;
spacing = 10;
};
"privacy" = {
icon-spacing = 8;
icon-size = 12;
transition-duration = 250;
modules = {
screenshare = {
type = "screenshare";
tooltip = true;
tooltip-icon-size = 12;
};
audio-out = {
type = "audio-out";
tooltip = true;
tooltip-icon-size = 12;
};
audio-in = {
type = "audio-in";
tooltip = true;
tooltip-icon-size = 12;
};
};
};
"pulseaudio" = {
format = "{icon} {volume}%";
tooltip = false;
format-muted = " Muted";
on-click = "pavucontrol";
on-scroll-up = "pactl set-sink-volume @DEFAULT_SINK@ +5%";
on-scroll-down = "pactl set-sink-volume @DEFAULT_SINK@ -5%";
scroll-step = 5;
format-icons = {
headphone = "";
hands-free = "";
headset = "";
phone = "";
portable = "";
car = "";
default = [
""
""
" "
];
};
};
"battery" = {
format = "{icon}{capacity}%";
format-alt = "{icon} {time}";
format-charging = "{capacity}%";
format-icons = [
" "
" "
" "
" "
" "
];
format-plugged = "{capacity}%";
states = {
critical = 15;
warning = 30;
};
};
"network" = {
format-wifi = " {signalStrength}%";
format-ethernet = "";
tooltip-format = "Connected to {essid} {ifname} via {gwaddr}";
format-linked = "{ifname} (No IP)";
format-disconnected = " ";
};
"clock" = {
calendar = {
format = {
today = "{}";
};
};
format = "{:%I:%M%p}";
tooltip = true;
tooltip-format = "{:%Y %B}\n{calendar}";
format-alt = "{:%d/%m}";
on-click = "gnome-calendar";
};
}
];
style = ''
* {
min-height: 34px;
border-radius:0;
font-family: "MonaspiceNe Nerd Font";
font-weight: bold;
}
window#waybar {
background: #262626;
color: #d197d9;
border: 2px solid;
border-radius: 30px;
border-color: #ce38fd;
opacity: 0.8;
}
#workspaces {
font-size: 50px;
padding-left: 5px;
margin-bottom: 5px;
}
#workspaces button {
color: #ce38fd;
padding: 0px 5px 0px 5px;
opacity: 1;
}
#workspaces button.active {
color: #eecef4;
}
#privacy {
font-size: 20px;
color: #ce38fd;
padding-right: 20px;
}
#tray {
font-size: 20px;
color: #ce38fd;
padding-right: 5px;
padding-left: 5px;
}
#pulseaudio {
font-size: 20px;
color: #ce38fd;
padding-right: 10px;
}
#clock {
font-size: 50px;
color: #ce38fd;
padding-right: 10px;
}
#network {
font-size: 20px;
color: #ce38fd;
padding-right: 10px;
}
#bluetooth {
font-size: 20px;
color: #ce38fd;
padding-right: 10px;
}
#battery {
font-size: 20px;
color: #ce38fd;
padding-right: 10px;
}
#custom-launcher {
font-size: 50px;
color: #ce38fd;
font-weight: bold;
padding-left: 10px;
padding-right: 10px;
}
#custom-exit {
color: #ce38fd;
font-size: 50px;
font-weight: bold;
}
'';
};