diff --git a/home/hosts/alien/default.nix b/home/hosts/alien/default.nix index a29bbaf..bc90d17 100644 --- a/home/hosts/alien/default.nix +++ b/home/hosts/alien/default.nix @@ -22,6 +22,10 @@ ]; programs.noctalia-shell.settings.brightness.enableDdcSupport = true; + programs.noctalia-shell.settings.bar = { + position = "top"; + density = "default"; + }; programs.spicetify = let diff --git a/home/hosts/peach/default.nix b/home/hosts/peach/default.nix index 7e1ee13..029415a 100644 --- a/home/hosts/peach/default.nix +++ b/home/hosts/peach/default.nix @@ -19,6 +19,11 @@ render-drm-device = "/dev/dri/card2"; }; + programs.noctalia-shell.settings.bar = { + position = "top"; + density = "spacious"; + }; + programs.plasma = { input.touchpads = [ { diff --git a/home/tiling/default.nix b/home/tiling/default.nix index 53a2556..24914c1 100644 --- a/home/tiling/default.nix +++ b/home/tiling/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, config, ... }: { imports = [ ./niri.nix @@ -16,6 +16,35 @@ playerctl ]; + programs.fuzzel = { + enable = true; + package = pkgs.fuzzel; + settings = { + main = { + terminal = "${pkgs.kitty}/bin/kitty"; + layer = "overlay"; + font = with config.userOptions.fontMono; name + ":size=" + toString (size + 2); + launch-prefix = "${pkgs.niri}/bin/niri msg action spawn --"; + }; + border = { + width = 2; + radius = 8; + }; + colors = with config.scheme; { + background = base00 + "ff"; + text = base05 + "ff"; + prompt = base04 + "ff"; + placeholder = base04 + "ff"; + input = base05 + "ff"; + match = base09 + "ff"; + selection = base04 + "ff"; + selection-text = base05 + "ff"; + counter = base04 + "ff"; + border = base09 + "ff"; + }; + }; + }; + xsession = { enable = true; windowManager.command = "niri"; diff --git a/home/tiling/niri.nix b/home/tiling/niri.nix index 0495b1d..177daf2 100644 --- a/home/tiling/niri.nix +++ b/home/tiling/niri.nix @@ -75,7 +75,7 @@ height = 2160; refresh = 143.999; }; - scale = 1.33; + scale = 1.5; position = { x = 0; y = 0; @@ -188,9 +188,7 @@ hotkey-overlay.title = "Open a Terminal: kitty"; }; "Mod+Space" = { - action.spawn-sh = [ - "noctalia-shell ipc call launcher toggle" - ]; + action.spawn = [ "fuzzel" ]; hotkey-overlay.title = "Run an Application: Noctalia app launcher"; }; diff --git a/home/tiling/noctalia.nix b/home/tiling/noctalia.nix index 76969a8..cc00a0b 100644 --- a/home/tiling/noctalia.nix +++ b/home/tiling/noctalia.nix @@ -31,12 +31,12 @@ enforceMinimum = false; }; bar = { - position = "top"; + # position = "top"; + # density = "spacious"; backgroundOpacity = 1; monitors = [ ]; - density = "spacious"; showCapsule = true; - capsuleOpacity = 0.5; + capsuleOpacity = 1; floating = false; marginVertical = 0.25; marginHorizontal = 0.25; @@ -44,11 +44,6 @@ exclusive = true; widgets = { left = [ - { - icon = "rocket"; - id = "CustomButton"; - leftClickExec = "noctalia-shell ipc call launcher toggle"; - } { id = "Workspace"; } @@ -120,7 +115,7 @@ }; general = { avatarImage = "/home/${config.userOptions.username}/.face"; - dimmerOpacity = 0.6; + dimmerOpacity = 0.5; showScreenCorners = false; forceBlackScreenCorners = false; scaleRatio = 1; @@ -147,7 +142,7 @@ fontDefaultScale = 1; fontFixedScale = 1; tooltipsEnabled = true; - panelBackgroundOpacity = 0.5; + panelBackgroundOpacity = 1; panelsAttachedToBar = true; settingsPanelMode = "attached"; };