Move from dunst to swaync and some overall changes for sway
This commit is contained in:
parent
3b569a08e5
commit
2964471723
6 changed files with 454 additions and 51 deletions
9
common.nix
Normal file
9
common.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Common stuff
|
||||
{ lib, pkgs, config, ... }:
|
||||
with lib; {
|
||||
# swaync disable notifications on screencast
|
||||
xdg.portal.wlr.settings.screencast = {
|
||||
exec_before = ''which swaync-client && swaync-client --inhibitor-add "xdg-desktop-portal-wlr" || true'';
|
||||
exec_after = ''which swaync-client && swaync-client --inhibitor-remove "xdg-desktop-portal-wlr" || true'';
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue