This commit is contained in:
RingOfStorms (Joshua Bell) 2025-10-26 11:10:41 -05:00
parent 940c53192b
commit 647423692c
3 changed files with 34 additions and 8 deletions

View file

@ -82,10 +82,10 @@
};
bars = [
{
position = "top";
statusCommand = "${pkgs.i3status}/bin/i3status";
}
# {
# position = "top";
# statusCommand = "${pkgs.i3status}/bin/i3status";
# }
];
startup = [ ];

View file

@ -48,4 +48,23 @@
};
hardware.graphics.enable = true;
environment.systemPackages = with pkgs; [
# xfce.xfce4-panel
# xfce.xfce4-session
# xfce.xfce4-settings
# xfce.xfce4-power-manager
# xfce.xfce4-pulseaudio-plugin
# xfce.xfce4-screenshooter
# xfce.xfce4-clipman-plugin
# xfce.xfce4-sensors-plugin
# xfce.xfce4-notifyd
pavucontrol
];
# Applets/services for tray widgets
programs.nm-applet.enable = true;
services.blueman.enable = true;
services.upower.enable = true;
# xfce4-notifyd is provided as a package; XFCE runs it automatically
}

View file

@ -34,11 +34,18 @@ in
let
inherit (lib) mkAfter;
in
{
xsession.windowManager.i3.config.startup = mkAfter i3ExtraOptions.startup;
xsession.windowManager.i3.extraConfig = mkAfter assignLines;
{
xsession.windowManager.i3.config.bars = lib.mkForce [];
xsession.windowManager.i3.config.startup = mkAfter (i3ExtraOptions.startup ++ [
{ command = "nm-applet"; }
{ command = "blueman-applet"; }
{ command = "xfce4-power-manager"; }
{ command = "sh -c 'pgrep -x xfsettingsd >/dev/null || xfsettingsd'"; }
{ command = "sh -c 'pgrep -x xfce4-panel >/dev/null || (sleep 0.5; xfce4-panel --disable-wm-check)'"; }
]);
xsession.windowManager.i3.extraConfig = mkAfter assignLines;
home.packages = [ pkgs.xwallpaper pkgs.xorg.xrandr ];
}
}
)
];
};