Init Config

This commit is contained in:
DerGrumpf
2026-04-03 23:37:52 +02:00
parent a8ec840d21
commit 62d3c12930
111 changed files with 5652 additions and 1 deletions

View File

@@ -0,0 +1,52 @@
{
compositor ? "hyprland",
}:
let
common = import ./common.nix;
wm = if compositor == "hyprland" then import ./hyprland-wm.nix else import ./niri-wm.nix;
in
{
enable = true;
settings = {
mainBar = {
layer = "top";
position = "top";
height = 30;
output = [ "DP-1" ];
modules-left = [
"custom/nixicon"
"clock"
];
modules-center = [
"hyprland/workspaces"
"niri/workspaces"
"custom/mako"
"custom/swaync"
];
modules-right = [
"group/hardware"
];
}
// common.widgets
// wm.widgets;
secondBar = {
layer = "top";
position = "top";
height = 30;
output = [ "HDMI-A-2" ];
modules-left = [
"group/media"
"custom/wallpaper"
];
modules-center = [
"hyprland/workspaces"
"niri/workspaces"
];
modules-right = [ "custom/weather" ];
}
// common.widgets
// wm.widgets;
};
}