This commit is contained in:
mjallen18
2026-01-16 10:47:06 -06:00
parent b613f941a6
commit f57617e268
4 changed files with 82 additions and 2 deletions

View File

@@ -143,6 +143,13 @@ in
orca-slicer orca-slicer
vscodium vscodium
]); ]);
services = {
kdeconnect = {
enable = lib.mkForce true;
indicator = lib.mkForce true;
};
};
programs = { programs = {
password-store = enabled; password-store = enabled;

View File

@@ -137,7 +137,7 @@ in
kdeconnect = { kdeconnect = {
enable = lib.mkDefault hasDestopEnvironment; enable = lib.mkDefault hasDestopEnvironment;
indicator = lib.mkDefault hasDestopEnvironment; indicator = lib.mkDefault hasDestopEnvironment;
package = pkgs.gnomeExtensions.gsconnect; package = pkgs.kdePackages.kdeconnect-kde;
}; };
}; };
} }

View File

@@ -209,7 +209,7 @@ with lib;
type = with types; listOf str; type = with types; listOf str;
default = [ default = [
"nwg-look -a" "nwg-look -a"
"nwg-dock-hyprland" "nwg-dock-hyprland -x"
]; ];
description = "Commands to run via Hyprland exec-once"; description = "Commands to run via Hyprland exec-once";
}; };

View File

@@ -16,6 +16,79 @@ in
home.packages = with pkgs; [ nwg-dock-hyprland ]; home.packages = with pkgs; [ nwg-dock-hyprland ];
home.file = { home.file = {
".config/nwg-dock-hyprland/config.json".text = ''
{
"position": "bottom",
"anchor": "center",
"margin": 12,
"icon_size": 48,
"icon_size_hover": 64,
"spacing": 6,
"padding": 8,
"autohide": false,
"autohide_timeout": 0.3,
"exclusive": true,
"layer": "top",
"height": 72,
"background_alpha": 0.55,
"rounded_corners": 16,
"show_labels": false,
"show_running": true,
"show_pinned": true,
"pinned": [
"firefox.desktop",
"org.wezfurlong.wezterm.desktop",
"codium.desktop",
"org.gnome.Nautilus.desktop"
]
}
'';
".config/nwg-dock-hyprland/style.css".text = ''
window {
background: #36364f;
border-radius: 10px;
border-style: none;
border-width: 1px;
border-color: rgba(156, 142, 122, 0.7)
}
#box {
/* Define attributes of the box surrounding icons here */
padding: 10px
}
#active {
/* This is to underline the button representing the currently active window */
border-bottom: solid 1px;
border-color: rgba(255, 255, 255, 0.3)
}
button, image {
background: none;
border-style: none;
box-shadow: none;
color: #999
}
button {
padding: 4px;
margin-left: 4px;
margin-right: 4px;
color: #eee;
font-size: 12px
}
button:hover {
background-color: rgba(255, 255, 255, 0.15);
border-radius: 2px;
}
button:focus {
box-shadow: none
}
'';
".config/nwg-dock-hyprland/drawer.css".text = '' ".config/nwg-dock-hyprland/drawer.css".text = ''
window { window {
background: ${config.lib.stylix.colors.base00}; background: ${config.lib.stylix.colors.base00};