fix poly bar, use minified nvim to test out

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-10-27 22:57:22 -05:00
parent 647423692c
commit b2f0476412
6 changed files with 389 additions and 136 deletions

View file

@ -14,13 +14,13 @@ let
'';
bg1 = ../_shared_assets/wallpapers/pixel_neon.png;
bg2 = ../_shared_assets/wallpapers/pixel_neon_v.png;
xrSetup = "xrandr --output DP-1 --mode 3840x2160 --rate 97.983 --pos 0x0 --primary; xrandr --output DP-2 --mode 3440x1440 --rate 99.982 --rotate left --left-of DP-1";
xrSetup = "xrandr --output DP-1 --mode 3840x2160 --rate 97.98 --pos 0x0 --primary; sleep 0.2; xrandr --output DP-2 --mode 3440x1440 --rate 99.98 --rotate left --left-of DP-1";
xwallpaperCmd = "xwallpaper --output DP-1 --zoom ${bg1} --output DP-2 --zoom ${bg2}";
startupCmd = "sh -c 'sleep 0.2; i3-msg workspace number 7; sleep 0.2; i3-msg workspace number 1'";
i3ExtraOptions = {
startup = [
{ command = "${xrSetup}"; }
{ command = "sh -c 'sleep 0.5; ${xwallpaperCmd}'"; }
{ command = "sh -c 'sleep 1; ${xwallpaperCmd}'"; }
{ command = "${startupCmd}"; }
];
};
@ -35,16 +35,14 @@ in
inherit (lib) mkAfter;
in
{
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)'"; }
{ command = "sh -c 'xset s off -dpms; xset s noblank'"; }
]);
xsession.windowManager.i3.extraConfig = mkAfter assignLines;
home.packages = [ pkgs.xwallpaper pkgs.xorg.xrandr ];
home.packages = [ pkgs.xwallpaper pkgs.xorg.xrandr pkgs.xorg.xset ];
}
)
];