changes to niri/noctalia, add fuzzel

This commit is contained in:
Sean Kovacs 2026-02-06 21:49:13 -05:00
commit 7e322b21f8
Signed by: sckova
GPG key ID: 00F325187C68651A
5 changed files with 46 additions and 15 deletions

View file

@ -22,6 +22,10 @@
]; ];
programs.noctalia-shell.settings.brightness.enableDdcSupport = true; programs.noctalia-shell.settings.brightness.enableDdcSupport = true;
programs.noctalia-shell.settings.bar = {
position = "top";
density = "default";
};
programs.spicetify = programs.spicetify =
let let

View file

@ -19,6 +19,11 @@
render-drm-device = "/dev/dri/card2"; render-drm-device = "/dev/dri/card2";
}; };
programs.noctalia-shell.settings.bar = {
position = "top";
density = "spacious";
};
programs.plasma = { programs.plasma = {
input.touchpads = [ input.touchpads = [
{ {

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { pkgs, config, ... }:
{ {
imports = [ imports = [
./niri.nix ./niri.nix
@ -16,6 +16,35 @@
playerctl 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 = { xsession = {
enable = true; enable = true;
windowManager.command = "niri"; windowManager.command = "niri";

View file

@ -75,7 +75,7 @@
height = 2160; height = 2160;
refresh = 143.999; refresh = 143.999;
}; };
scale = 1.33; scale = 1.5;
position = { position = {
x = 0; x = 0;
y = 0; y = 0;
@ -188,9 +188,7 @@
hotkey-overlay.title = "Open a Terminal: kitty"; hotkey-overlay.title = "Open a Terminal: kitty";
}; };
"Mod+Space" = { "Mod+Space" = {
action.spawn-sh = [ action.spawn = [ "fuzzel" ];
"noctalia-shell ipc call launcher toggle"
];
hotkey-overlay.title = "Run an Application: Noctalia app launcher"; hotkey-overlay.title = "Run an Application: Noctalia app launcher";
}; };

View file

@ -31,12 +31,12 @@
enforceMinimum = false; enforceMinimum = false;
}; };
bar = { bar = {
position = "top"; # position = "top";
# density = "spacious";
backgroundOpacity = 1; backgroundOpacity = 1;
monitors = [ ]; monitors = [ ];
density = "spacious";
showCapsule = true; showCapsule = true;
capsuleOpacity = 0.5; capsuleOpacity = 1;
floating = false; floating = false;
marginVertical = 0.25; marginVertical = 0.25;
marginHorizontal = 0.25; marginHorizontal = 0.25;
@ -44,11 +44,6 @@
exclusive = true; exclusive = true;
widgets = { widgets = {
left = [ left = [
{
icon = "rocket";
id = "CustomButton";
leftClickExec = "noctalia-shell ipc call launcher toggle";
}
{ {
id = "Workspace"; id = "Workspace";
} }
@ -120,7 +115,7 @@
}; };
general = { general = {
avatarImage = "/home/${config.userOptions.username}/.face"; avatarImage = "/home/${config.userOptions.username}/.face";
dimmerOpacity = 0.6; dimmerOpacity = 0.5;
showScreenCorners = false; showScreenCorners = false;
forceBlackScreenCorners = false; forceBlackScreenCorners = false;
scaleRatio = 1; scaleRatio = 1;
@ -147,7 +142,7 @@
fontDefaultScale = 1; fontDefaultScale = 1;
fontFixedScale = 1; fontFixedScale = 1;
tooltipsEnabled = true; tooltipsEnabled = true;
panelBackgroundOpacity = 0.5; panelBackgroundOpacity = 1;
panelsAttachedToBar = true; panelsAttachedToBar = true;
settingsPanelMode = "attached"; settingsPanelMode = "attached";
}; };