add mako notification daemon
This commit is contained in:
parent
f51ac822e0
commit
a29c66e35d
3 changed files with 56 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ $colorpicker = hyprpicker | head -c 7 | wl-copy
|
||||||
# exec-once = nm-applet &
|
# exec-once = nm-applet &
|
||||||
# exec-once = waybar & hyprpaper & firefox
|
# exec-once = waybar & hyprpaper & firefox
|
||||||
exec-once = swww-daemon &
|
exec-once = swww-daemon &
|
||||||
|
exec-once = mako &
|
||||||
# TODO: or do I do `swww init` or `swww restore`?
|
# TODO: or do I do `swww init` or `swww restore`?
|
||||||
|
|
||||||
# █▀▀ █▄░█ █░█ █░█ ▄▀█ █▀█
|
# █▀▀ █▄░█ █░█ █░█ ▄▀█ █▀█
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@
|
||||||
../modules/wm/hypr/hyprlock.nix
|
../modules/wm/hypr/hyprlock.nix
|
||||||
../modules/kanshi.nix
|
../modules/kanshi.nix
|
||||||
../modules/ags
|
../modules/ags
|
||||||
|
../modules/mako.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
|
|
||||||
54
homes/modules/mako.nix
Normal file
54
homes/modules/mako.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
||||||
|
{...}: let
|
||||||
|
dracula = rec {
|
||||||
|
background = "#282A36";
|
||||||
|
border = cyan;
|
||||||
|
|
||||||
|
cyan = "#8BE9FD";
|
||||||
|
yellow = "#F1FA8C";
|
||||||
|
red = "#FF5555";
|
||||||
|
};
|
||||||
|
|
||||||
|
theme = dracula;
|
||||||
|
in {
|
||||||
|
# notification daemon for Wayland
|
||||||
|
services.mako = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
actions = true;
|
||||||
|
anchor = "top-right";
|
||||||
|
layer = "overlay";
|
||||||
|
sort = "-time";
|
||||||
|
|
||||||
|
height = 100;
|
||||||
|
width = 300;
|
||||||
|
margin = 50;
|
||||||
|
background-color = theme.background;
|
||||||
|
border-color = theme.border;
|
||||||
|
border-radius = 20;
|
||||||
|
border-size = 4;
|
||||||
|
font = "monospace 10";
|
||||||
|
|
||||||
|
markup = true;
|
||||||
|
icons = true;
|
||||||
|
max-icon-size = 64;
|
||||||
|
|
||||||
|
default-timeout = 5000;
|
||||||
|
ignore-timeout = false;
|
||||||
|
|
||||||
|
"actionable=true" = {
|
||||||
|
anchor = "top-left";
|
||||||
|
};
|
||||||
|
|
||||||
|
"urgency=low" = {
|
||||||
|
border-color = theme.border;
|
||||||
|
};
|
||||||
|
"urgency=normal" = {
|
||||||
|
border-color = theme.yellow;
|
||||||
|
};
|
||||||
|
"urgency=high" = {
|
||||||
|
default-timeout = 0;
|
||||||
|
border-color = theme.red;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue