From 17ba53843de139a667d64e30f0df188409599faa Mon Sep 17 00:00:00 2001 From: Fern Garden Date: Mon, 4 Aug 2025 23:00:17 +0800 Subject: [PATCH] Various desktop changes. --- suites/desktop/home.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/suites/desktop/home.nix b/suites/desktop/home.nix index aadbbd2..48b7c92 100644 --- a/suites/desktop/home.nix +++ b/suites/desktop/home.nix @@ -45,6 +45,11 @@ with lib; { path = getExe pkgs.xwayland-satellite-unstable; }; + # Autostart. + spawn-at-startup = [ + {command = ["smile" "--start-hidden"];} + ]; + # Don't show client-side window decorations. prefer-no-csd = true; @@ -220,6 +225,13 @@ with lib; { proportion = 1.0 / 2.0; }; }; + + window-rules = [ + { + matches = [{app-id = "it.mijorus.smile";}]; + open-floating = true; + } + ]; }; }; @@ -274,6 +286,7 @@ with lib; { enable = true; settings = { main = { + terminal = "kitty"; horizontal-pad = 8; vertical-pad = 8; inner-pad = 8; @@ -313,6 +326,7 @@ with lib; { format-disconnected = ""; tooltip = true; tooltip-format = "{essid}"; + on-click = "nm-connection-editor"; }; "wireplumber" = { @@ -320,6 +334,7 @@ with lib; { format = "{icon} {volume}%"; format-muted = " "; tooltip = false; + on-click = "pwvucontrol"; }; "clock" = { @@ -387,6 +402,7 @@ with lib; { loupe nautilus nerd-fonts.symbols-only + networkmanagerapplet nextcloud-client noto-fonts noto-fonts-cjk-sans @@ -398,6 +414,7 @@ with lib; { playerctl prismlauncher protonmail-desktop + pwvucontrol rockbox-utility seahorse signal-desktop