Skip to content

Commit

Permalink
graphical/wms/sway: try swayfx
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Jul 16, 2024
1 parent 9eda673 commit a193967
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions modules/home/programs/graphical/wms/sway/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,14 @@ in

wayland.windowManager.sway = {
enable = true;
package = pkgs.sway;
package = pkgs.swayfx;
checkConfig = false;

config = {
bars = [ ];

colors = { };

floating = {
modifier = "Shift";
};
Expand All @@ -131,7 +134,18 @@ in
workspaceLayout = "default";
} // cfg.settings;

extraConfig = cfg.appendConfig;
extraConfig = ''
blur enable
blur_passes 4
blur_radius 5
shadows_on_csd enable
titlebar_separator disable
scratchpad_minimize disable
${cfg.appendConfig}
'';

extraConfigEarly = cfg.prependConfig;
inherit (cfg) extraSessionCommands;

Expand All @@ -154,12 +168,6 @@ in
# inactive_opacity = 0.9;
# rounding = 10;
#
# blur = {
# enabled = "yes";
# passes = 4;
# size = 5;
# };
#
# drop_shadow = true;
# shadow_ignore_window = true;
# shadow_range = 20;
Expand Down

0 comments on commit a193967

Please sign in to comment.