mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
36 lines
796 B
Nix
36 lines
796 B
Nix
_: {
|
|
stylix.targets.swaync.enable = true;
|
|
systemd.user.services.swaync = {
|
|
Service = {
|
|
Environment = [
|
|
"GSK_RENDERER=gl"
|
|
"GTK_DISABLE_VULKAN=1"
|
|
];
|
|
};
|
|
};
|
|
services.swaync = {
|
|
enable = true;
|
|
settings = {
|
|
positionX = "right";
|
|
positionY = "top";
|
|
layer-shell = true;
|
|
layer = "overlay";
|
|
control-center-layer = "top";
|
|
widgets = ["mpris" "dnd" "title" "notifications" "inhibitors" "backlight" "volume"];
|
|
widget-config = {
|
|
title = {
|
|
text = "Notifications";
|
|
clear-all-button = true;
|
|
button-text = "";
|
|
};
|
|
dnd = {
|
|
text = " DND";
|
|
};
|
|
mpris = {
|
|
image-size = 60;
|
|
image-radius = 12;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|