run swaync-client from hyprlanda and use waybar only for dnd

This commit is contained in:
Adithya 2024-05-19 15:58:50 +05:30
parent f9d77aa137
commit 794f868933
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
3 changed files with 4 additions and 4 deletions

View file

@ -92,9 +92,7 @@
};
return-type = "json";
exec = "${swaync-client} -swb";
on-click = "${swaync-client} -t -sw";
on-click-right = "${swaync-client} -d -sw";
escape = true;
on-click = "${swaync-client} -d -sw";
};
};
};

View file

@ -13,6 +13,7 @@ let
loginctl = "${pkgs.systemd}/bin/loginctl";
playerctl = "${pkgs.playerctl}/bin/playerctl";
rofi = "${config.programs.rofi.package}/bin/rofi";
swaync-client = "${pkgs.swaynotificationcenter}/bin/swaync-client";
tmux = "${config.programs.tmux.package}/bin/tmux";
wpctl = "${pkgs.wireplumber}/bin/wpctl";
yazi = "${pkgs.yazi}/bin/yazi";
@ -166,6 +167,7 @@ in
"SUPER_SHIFT,Return, exec, ${kitty}"
"SUPER,d, exec, ${rofi} -show drun"
"SUPER,e, exec, ${kitty} --class=yazi ${yazi}"
"SUPER_SHIFT,u, exec, ${swaync-client} -t -sw"
"SUPER,i, exec, ${firefox}"
"SUPER_SHIFT,i, exec, ${librewolf}"