feat(desktop): make icon theme configurable
This commit is contained in:
parent
0fc804a42d
commit
ed79106342
2 changed files with 25 additions and 5 deletions
|
@ -1,5 +1,8 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.desktop.sway;
|
||||
in
|
||||
{
|
||||
config = mkIf config.modules.desktop.sway.enable {
|
||||
systemd.user.services.mako = {
|
||||
|
@ -24,12 +27,11 @@ with lib;
|
|||
border-radius = 0;
|
||||
border-size = 2;
|
||||
icons = true;
|
||||
icon-path = "${cfg.iconTheme}/share/icons/${cfg.iconThemePathname}";
|
||||
max-icon-size = 64;
|
||||
layer = "overlay";
|
||||
anchor = "top-right";
|
||||
format = ''
|
||||
<span font_scale='small-caps'>%a</span>\n<b>%s</b>\n%b
|
||||
'';
|
||||
format = ''<span font_scale='small-caps'>%a</span>\n<b>%s</b>\n%b'';
|
||||
"urgency=high" = {
|
||||
border-color = "#F268b3";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue