Move from dunst to swaync and some overall changes for sway

This commit is contained in:
Natsu Kagami 2023-03-23 10:59:44 +01:00
parent 3b569a08e5
commit 2964471723
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
6 changed files with 454 additions and 51 deletions

9
common.nix Normal file
View 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'';
};
}