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

@ -8,7 +8,7 @@
control-center-margin-top = 0; control-center-margin-top = 0;
control-center-margin-bottom = 0; control-center-margin-bottom = 0;
control-center-margin-right = 0; control-center-margin-right = 0;
control-center-margin-left= 0; control-center-margin-left = 0;
control-center-layer = "overlay"; control-center-layer = "overlay";
timeout = 10; timeout = 10;
timeout-low = 5; timeout-low = 5;

View file

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

View file

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