NixOS configuration ๐Ÿช„

๐Ÿ›โœจ Fixed bugs and configured sway right

Signed-off-by: Xaiya Schumin <d.schumin@proton.me>

+15 -10
+2 -4
modules/home/desktop/sway/config/applications.nix
··· 11 11 { 12 12 wayland.windowManager.sway.config = { 13 13 window = { 14 - border = 2; 14 + border = 1; 15 15 titlebar = false; 16 16 }; 17 17 18 18 gaps = { 19 - # smartGaps = true; 20 - 21 19 inner = 8; 22 - outer = 5; 20 + outer = 3; 23 21 }; 24 22 25 23 floating = {
+11 -4
modules/home/desktop/sway/default.nix
··· 16 16 17 17 modifier = "Mod4"; 18 18 sway = osConfig.sylveon.system.graphical.sway; 19 + cfg = config.wayland.windowManager.sway.config; 19 20 in 20 21 { 21 22 imports = [ ··· 43 44 let 44 45 submodule = { 45 46 childBorder = "$base"; 46 - indicator = submodule.childBorder; 47 + indicator = submodule.childBorder; 47 48 48 49 # Configuration needed only if using the title bar 49 50 text = "$text"; ··· 52 53 }; 53 54 in 54 55 { 55 - focused = submodule // { childBorder = "\$${config.catppuccin.accent}"; }; 56 - urgent = submodule // { childBorder = "$red"; }; 56 + focused = submodule // rec { 57 + childBorder = "\$${config.catppuccin.accent}"; 58 + indicator = childBorder; 59 + }; 60 + 61 + urgent = submodule // rec { 62 + childBorder = "$red"; 63 + indicator = childBorder; 64 + }; 57 65 58 66 placeholder = submodule; 59 67 focusedInactive = submodule; 60 68 unfocused = submodule; 61 - 62 69 }; 63 70 64 71 keybindings = mkOptionDefault {
+2 -2
modules/home/desktop/sway/packages/swaync.nix
··· 6 6 in 7 7 { 8 8 9 - # TODO: make icon dissapearrs? 10 - # notification center point/something different? 11 9 services.swaync = mkIf sway.enable { 12 10 enable = true; 13 11 14 12 settings = { 15 13 positionX = "right"; 16 14 positionY = "top"; 15 + 16 + image-visibility = "never"; 17 17 }; 18 18 }; 19 19 }