system/pkgs/wm/waybar/waybar.nix

60 lines
1.9 KiB
Nix
Raw Permalink Normal View History

2024-10-14 17:28:31 -04:00
{ pkgs, config, ... }:
{
programs.waybar = {
enable= true;
settings = {
mainBar = {
stylesheet = "${config.home.homeDirectory}/.config/waybar/style.css";
layer = "top";
position = "top";
height = 58;
2024-11-01 12:04:24 -04:00
spacing = 0;
2024-10-14 17:28:31 -04:00
fixed-center = true;
margin-left = 8;
2024-11-01 12:04:24 -04:00
margin-right = 25;
padding-right = 25;
2024-10-14 17:28:31 -04:00
output = [
2024-11-01 12:04:24 -04:00
"DP-5"
2024-10-14 17:28:31 -04:00
];
2024-11-01 12:04:24 -04:00
include = "~/system/pkgs/wm/waybar/default.json";
2025-06-16 14:00:25 -04:00
modules-left = [ "custom/os_button" "hyprland/workspaces#roman" "custom/pavc" "cava" "pulseaudio/slider" ];
2024-11-01 12:04:24 -04:00
modules-center = [ "hyprland/window" "wlr/taskbar" ]; # replace wlr/taskbar
2025-06-16 14:00:25 -04:00
modules-right = [ "cpu" "temperature" "disk" "tray" "clock" "custom/exit" ];
2025-04-09 20:56:29 -04:00
# modules-right = [ "custom/pavc" "cava" "pulseaudio/slider" "cpu" "temperature" "disk" "bluetooth" "tray" "clock" "custom/exit" ];
2024-10-14 17:28:31 -04:00
"custom/os_button" = {
"format" = "";
"on-click" = "rofi -show drun -modi drun,filebrowser,run,window,ssh";
"tooltip" = false;
};
};
leftBar = {
stylesheet = "${config.home.homeDirectory}/.config/waybar/style.css";
layer = "top";
position = "bottom";
height = 39;
output = "DP-3";
2024-11-01 12:04:24 -04:00
spacing = 0;
2024-10-14 17:28:31 -04:00
fixed-center = true;
margin-left = 8;
margin-right = 8;
2024-11-01 12:04:24 -04:00
include = "~/system/pkgs/wm/waybar/default.json";
2024-10-14 17:28:31 -04:00
modules-left = [ "memory" "hyprland/workspaces#roman" ];
modules-center = [ "wlr/taskbar" ];
modules-right = [ ];
};
rightBar = {
layer = "top";
2025-04-09 20:56:29 -04:00
position = "top";
2024-10-14 17:28:31 -04:00
height = 47;
2024-11-01 12:04:24 -04:00
output = "DP-6";
2025-04-09 20:56:29 -04:00
margin-bottom = 3;
2024-11-01 12:04:24 -04:00
include = "~/system/pkgs/wm/waybar/default.json";
2024-12-06 13:12:42 -05:00
modules-left = [ "systemd-failed-units" "jack" ];
2024-10-14 17:28:31 -04:00
modules-center = [ "wlr/taskbar" ];
modules-right = [ "hyprland/workspaces#roman" "network" ];
};
};
};
}