mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 02:13:55 -05:00
waybar: new groups and custom config for hyprland
This commit is contained in:
parent
99119c2941
commit
181fbf50f8
|
@ -28,11 +28,7 @@
|
|||
modules-center = ["clock"];
|
||||
modules-right = [
|
||||
"tray"
|
||||
"bluetooth"
|
||||
"pulseaudio"
|
||||
"power-profiles-daemon"
|
||||
"battery"
|
||||
"custom/logout"
|
||||
"group/hardware"
|
||||
];
|
||||
"hyprland/workspaces" = {
|
||||
"all-outputs" = true;
|
||||
|
@ -149,6 +145,10 @@
|
|||
"power-saver" = "";
|
||||
};
|
||||
};
|
||||
"group/hardware" = {
|
||||
"orientation" = "horizontal";
|
||||
modules = ["bluetooth" "pulseaudio" "power-profiles-daemon" "battery" "custom/logout"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -71,6 +71,8 @@
|
|||
extraPortals = [pkgs.xdg-desktop-portal-hyprland];
|
||||
};
|
||||
|
||||
xdg.configFile."waybar/hyprland-style.css".source = ./waybar.css;
|
||||
|
||||
programs.waybar.settings = {
|
||||
mainBar = {
|
||||
modules-left = ["hyprland/workspaces" "hyprland/submap"];
|
||||
|
@ -89,7 +91,7 @@
|
|||
terminal = pkgs.alacritty + "/bin/alacritty";
|
||||
|
||||
# Hyprland desktop utilities
|
||||
bar = pkgs.waybar + "/bin/waybar";
|
||||
bar = pkgs.waybar + "/bin/waybar -s ${config.xdg.configHome}/waybar/hyprland-style.css";
|
||||
launcher = pkgs.fuzzel + "/bin/fuzzel";
|
||||
notifyd = pkgs.mako + "/bin/mako";
|
||||
wallpaperd = pkgs.hyprpaper + "/bin/hyprpaper";
|
||||
|
|
27
homeManagerModules/desktop/hypr/waybar.css
Normal file
27
homeManagerModules/desktop/hypr/waybar.css
Normal file
|
@ -0,0 +1,27 @@
|
|||
@import url("style.css");
|
||||
|
||||
/* Style overrides for sway */
|
||||
|
||||
window#waybar {
|
||||
background: rgba (35, 38, 52, 0.0);
|
||||
}
|
||||
|
||||
#workspaces,
|
||||
#submap,
|
||||
#tray,
|
||||
#clock,
|
||||
#hardware
|
||||
{
|
||||
border-radius: 10;
|
||||
background: rgba (35, 38, 52, 0.8);
|
||||
margin: 5px 10px 0px 10px;
|
||||
padding: 0px 10px 0px 10px;
|
||||
}
|
||||
|
||||
#clock {
|
||||
padding: 0px 20px 0px 20px;
|
||||
}
|
||||
|
||||
/* #workspaces {
|
||||
padding: 0px 5px;
|
||||
} */
|
Loading…
Reference in a new issue