Skip to content

Commit

Permalink
sway: Explicitly set a background
Browse files Browse the repository at this point in the history
Hopefully a workaround for swaywm/sway#8348
  • Loading branch information
wkral committed Sep 19, 2024
1 parent 78d0152 commit 4476938
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions home/gui/sway/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ let
cfg = config.wk.gui;
font-size = cfg.font.base-size;
modifier = "Mod4";
inherit (config.xdg) configHome;

wpctl = action: "exec '${pkgs.wireplumber}/bin/wpctl ${action}'";
sysd = target: action: "exec 'systemctl --user ${action} ${target}'";
Expand Down Expand Up @@ -106,8 +105,13 @@ in
xkb_options = "caps:escape";
};
};
seat."*" = {
xcursor_theme = "Bibata-Modern-Ice";
output = {
"*" = {
bg = "${pkgs.sway}/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png";
};
};
seat." * " = {
xcursor_theme = " Bibata-Modern-Ice ";
};
startup = [
{
Expand All @@ -126,3 +130,4 @@ in
};

}

0 comments on commit 4476938

Please sign in to comment.