Sway: add urgent theme, add blur to swaync notifications
Add catppuccin theme to Xresources and set HiDPI for Scorch (for Xwayland applications)
This commit is contained in:
parent
d32d1ff574
commit
390883b318
|
@ -2,6 +2,7 @@
|
|||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
scheme,
|
||||
catppuccinVariant ? "Mocha",
|
||||
...
|
||||
}: {
|
||||
|
@ -60,4 +61,24 @@
|
|||
name = "Catppuccin-${catppuccinVariant}-${size}-${accent}-Dark";
|
||||
};
|
||||
};
|
||||
xresources.properties = with scheme.withHashtag; {
|
||||
"*background" = base00;
|
||||
"*foreground" = base05;
|
||||
"*color0" = base00;
|
||||
"*color1" = red;
|
||||
"*color2" = green;
|
||||
"*color3" = yellow;
|
||||
"*color4" = blue;
|
||||
"*color5" = magenta;
|
||||
"*color6" = cyan;
|
||||
"*color7" = base04;
|
||||
"*color8" = base01;
|
||||
"*color9" = red;
|
||||
"*color10" = green;
|
||||
"*color11" = yellow;
|
||||
"*color12" = blue;
|
||||
"*color13" = magenta;
|
||||
"*color14" = cyan;
|
||||
"*color15" = base05;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -35,7 +35,10 @@
|
|||
menu = "${config.programs.rofi.finalPackage}/bin/rofi -show drun";
|
||||
workspaceAutoBackAndForth = true;
|
||||
bars = [];
|
||||
gaps = {inner = 10;};
|
||||
gaps = {
|
||||
inner = 5;
|
||||
outer = 5;
|
||||
};
|
||||
fonts = {
|
||||
names = [fonts.monospace.name];
|
||||
style = "regular";
|
||||
|
@ -51,14 +54,15 @@
|
|||
border = toString scheme.withHashtag.${accentColour};
|
||||
childBorder = border;
|
||||
};
|
||||
unfocused = rec {
|
||||
focusedInactive = rec {
|
||||
inherit background text indicator;
|
||||
border = toString base03;
|
||||
childBorder = border;
|
||||
};
|
||||
focusedInactive = rec {
|
||||
unfocused = focusedInactive;
|
||||
urgent = rec {
|
||||
inherit background text indicator;
|
||||
border = toString base03;
|
||||
border = toString red;
|
||||
childBorder = border;
|
||||
};
|
||||
};
|
||||
|
@ -162,6 +166,7 @@
|
|||
shadows enable
|
||||
shadow_blur_radius 4
|
||||
layer_effects "waybar" blur enable; blur_ignore_transparent enable
|
||||
layer_effects "swaync-notification-window" blur enable; blur_ignore_transparent enable
|
||||
layer_effects "swaync-control-center" blur enable; blur_ignore_transparent enable
|
||||
layer_effects "rofi" blur enable; blur_ignore_transparent enable
|
||||
titlebar_separator enable
|
||||
|
|
|
@ -14,4 +14,5 @@
|
|||
scale = "1.5";
|
||||
};
|
||||
};
|
||||
xresources.properties."Xft.dpi" = toString (builtins.mul 96 1.5);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue