mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 02:13:55 -05:00
hyprland: updated waybar config
This commit is contained in:
parent
fd2222b036
commit
26ab6ef0ad
|
@ -15,6 +15,8 @@
|
|||
overskride
|
||||
udiskie
|
||||
xfce.thunar
|
||||
playerctl
|
||||
pavucontrol
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
|
@ -24,6 +26,24 @@
|
|||
|
||||
xdg.configFile."hypr/hypridle.conf".source = ./dotfiles/hypridle.conf;
|
||||
programs.waybar.enable = true;
|
||||
programs.waybar.style = ''
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: DroidSansM Nerd Font Mono;
|
||||
}
|
||||
window#waybar {
|
||||
background: #000;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
#workspaces button {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
#clock, #battery, #pulseaudio, #network {
|
||||
padding: 0 10px;
|
||||
margin: 0 5px;
|
||||
}
|
||||
'';
|
||||
programs.waybar.settings = {
|
||||
mainBar = {
|
||||
layer = "top";
|
||||
|
@ -35,14 +55,34 @@
|
|||
];
|
||||
modules-left = [ "hyprland/workspaces" "hyprland/mode" ];
|
||||
modules-center = [ "hyprland/window" ];
|
||||
modules-right = [ "tray" "battery" "clock"];
|
||||
modules-right = [ "tray" "network" "pulseaudio" "battery" "clock"];
|
||||
|
||||
"hyprland/workspaces" = {
|
||||
all-outputs = true;
|
||||
};
|
||||
"clock" = {
|
||||
"tooltip-format" = "{:%Y-%m-%d | %H:%M}";
|
||||
"interval" = 60;
|
||||
"format" = "{:%I:%M}";
|
||||
"format" = "{:%I:%M%p}";
|
||||
};
|
||||
"battery" = {
|
||||
"format" = " {capacity}%";
|
||||
"on-click" = "pp-adjuster";
|
||||
};
|
||||
"pulseaudio" = {
|
||||
"format" = " {volume}%";
|
||||
"format-bluetooth" = "{volume}% {icon}";
|
||||
"format-muted" = "";
|
||||
"format-icons"= {
|
||||
"headphones" = "";
|
||||
"handsfree" = "";
|
||||
"headset" = "";
|
||||
};
|
||||
"on-click" = "pavucontrol";
|
||||
};
|
||||
"network" = {
|
||||
"format-wifi" = " {signalStrength}%";
|
||||
"format-disconnected" = "⚠";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -55,6 +55,7 @@ in {
|
|||
imports =
|
||||
[
|
||||
../../modules/kde.nix
|
||||
../../modules/hyprland.nix
|
||||
../../modules/plymouth.nix
|
||||
../../modules/zram_swap.nix
|
||||
../../system
|
||||
|
|
Loading…
Reference in a new issue