lint
This commit is contained in:
parent
9c92ea27e3
commit
8a2127b3d8
37 changed files with 75 additions and 67 deletions
|
@ -20,4 +20,4 @@ in {
|
|||
"${lib.getExe cfg.package} -w 20 -c 10 -d 5 -p -m 2"
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,4 +33,4 @@ in {
|
|||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ in {
|
|||
width = 300;
|
||||
height = 145;
|
||||
frame_color = "#f5c2e7"; # catppuccin pink
|
||||
|
||||
|
||||
origin = "top-right";
|
||||
vertical_alignment = "center";
|
||||
ellipsize = "middle";
|
||||
|
@ -40,7 +40,7 @@ in {
|
|||
progress_bar_frame_width = 1;
|
||||
progress_bar_min_width = 150;
|
||||
progress_bar_max_width = 300;
|
||||
|
||||
|
||||
alignment = "left";
|
||||
markup = "full";
|
||||
format = "<b>%a</b>\\n<b>%s</b>\\n%b";
|
||||
|
|
|
@ -27,7 +27,7 @@ in {
|
|||
options.modules.desktop.fonts = {
|
||||
enable = mkEnableOption "Enable the font configuration module, configuring your chosen fonts";
|
||||
baseFonts = mkEnableOption "Add an extra set of base fonts";
|
||||
|
||||
|
||||
fonts = {
|
||||
sansSerif = mkFontOption "sansSerif" {
|
||||
package = pkgs.my.lexica-ultralegible;
|
||||
|
@ -74,7 +74,7 @@ in {
|
|||
emoji = [ cfg.fonts.emoji.family ];
|
||||
};
|
||||
enableGhostscriptFonts = true;
|
||||
packages = with pkgs; [
|
||||
packages = with pkgs; [
|
||||
corefonts
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
|
@ -89,7 +89,7 @@ in {
|
|||
};
|
||||
|
||||
hm.gtk.enable = true;
|
||||
hm.gtk.font = with cfg.fonts.sansSerif; {
|
||||
hm.gtk.font = with cfg.fonts.sansSerif; {
|
||||
package = package;
|
||||
name = family;
|
||||
|
||||
|
|
|
@ -18,4 +18,4 @@ in {
|
|||
provider = "manual";
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ in {
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
user.packages = with pkgs; [ seahorse ];
|
||||
|
||||
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
security.pam.services.login.enableGnomeKeyring = true;
|
||||
};
|
||||
|
|
|
@ -90,7 +90,7 @@ in {
|
|||
bindr = [ # "bind released"
|
||||
"SUPER, Super_L, exec, ${lib.getExe pkgs.nwg-drawer}"
|
||||
];
|
||||
bind = let
|
||||
bind = let
|
||||
screenshotScript = pkgs.writeScript "screenshot" ''
|
||||
temp_file=$(mktemp)
|
||||
trap 'rm -f "$temp_file"' EXIT
|
||||
|
@ -200,7 +200,7 @@ in {
|
|||
|
||||
monitor=",highrr,auto,auto";
|
||||
|
||||
exec-once = [
|
||||
exec-once = [
|
||||
"${lib.getExe pkgs.networkmanagerapplet}" # network applet
|
||||
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1" # polkit agent
|
||||
"${lib.getExe pkgs.wl-clip-persist} --clipboard regular" # to fix wl clipboards disappearing
|
||||
|
@ -219,7 +219,7 @@ in {
|
|||
|
||||
layout = "dwindle";
|
||||
|
||||
resize_on_border = true;
|
||||
resize_on_border = true;
|
||||
};
|
||||
|
||||
windowrulev2 = [
|
||||
|
|
|
@ -11,7 +11,7 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
boot.plymouth = {
|
||||
enable = true;
|
||||
|
||||
|
||||
themePackages = [ config.modules.desktop.themes.plymouthTheme.package ];
|
||||
theme = config.modules.desktop.themes.plymouthTheme.name;
|
||||
};
|
||||
|
@ -37,4 +37,4 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ in {
|
|||
services.displayManager.sddm = {
|
||||
enable = true;
|
||||
package = pkgs.kdePackages.sddm;
|
||||
wayland.enable = config.modules.desktop.envProto == "wayland";
|
||||
wayland.enable = config.modules.desktop.envProto == "wayland";
|
||||
wayland.compositor = "kwin";
|
||||
theme = config.modules.desktop.themes.sddmTheme.name;
|
||||
settings = {
|
||||
|
|
|
@ -20,7 +20,7 @@ in {
|
|||
if [ ! -f "${lastWallpaper}" ]; then
|
||||
echo "$(ls ${wallpapersFolder} | shuf -n 1)" > "${lastWallpaper}"
|
||||
fi
|
||||
|
||||
|
||||
${cfg.package}/bin/swww-daemon &
|
||||
${lib.getExe cfg.package} img "${wallpapersFolder}/$(cat ${lastWallpaper})" --transition-type none
|
||||
'';
|
||||
|
@ -43,4 +43,4 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
modules.desktop.execOnStart = [ "${cfg.startScript}" ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,4 +30,4 @@ button {
|
|||
|
||||
button:hover, button:active, box:hover, box:active {
|
||||
background: alpha(@surface0, 0.5);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -95,4 +95,4 @@ button {
|
|||
button.selected {
|
||||
background-color: @bg-col;
|
||||
text-color: @pink;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ window#waybar {
|
|||
font-family: "CozetteVector", monospace, "FontAwesome 6 Free", "Noto Sans CJK";
|
||||
font-size: 13px;
|
||||
font-style: normal;
|
||||
|
||||
|
||||
border: 1px solid @surface0;
|
||||
}
|
||||
|
||||
|
@ -158,4 +158,4 @@ tooltip * {
|
|||
margin: 0px;
|
||||
color: @text;
|
||||
font-family: CozetteVector, monospace;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -113,7 +113,7 @@ in {
|
|||
};
|
||||
|
||||
hm.programs.vscode = {
|
||||
extensions = [
|
||||
extensions = [
|
||||
cfg.editor.vscode.colorTheme.extension
|
||||
cfg.editor.vscode.iconTheme.extension
|
||||
];
|
||||
|
|
|
@ -25,7 +25,7 @@ in {
|
|||
settings = {
|
||||
"" = {
|
||||
timeout = 1000;
|
||||
|
||||
|
||||
border_offset = 2;
|
||||
border_size = 2;
|
||||
bar_padding = 2;
|
||||
|
@ -42,4 +42,4 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue