swaync: added notification sound effect
This commit is contained in:
parent
62a047ce77
commit
a0781b380d
BIN
home/modules/hyprland/gran_turismo_menu_sound_effect.mp3
Normal file
BIN
home/modules/hyprland/gran_turismo_menu_sound_effect.mp3
Normal file
Binary file not shown.
|
@ -9,11 +9,22 @@ in
|
|||
libnotify
|
||||
];
|
||||
|
||||
# Config: https://manpages.debian.org/testing/sway-notification-center/swaync.5.en.html
|
||||
home.file.".config/swaync/config.json".text = builtins.toJSON {
|
||||
positionX = "center";
|
||||
positionY = "top";
|
||||
fit-to-screen = false;
|
||||
control-center-height = 800;
|
||||
timeout = 5;
|
||||
timeout-low = 3;
|
||||
|
||||
scripts = {
|
||||
play-notification-sound = {
|
||||
exec = ''${pkgs.sox}/bin/play --volume 0.5 ${./gran_turismo_menu_sound_effect.mp3}'';
|
||||
app-name = ".*";
|
||||
urgency = "Normal";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.file.".config/swaync/style.css".source = pkgs.fetchurl {
|
||||
|
|
Loading…
Reference in a new issue