Setup scratchpads in sway

This commit is contained in:
Nathan McCarty 2023-01-15 00:18:19 -05:00
parent 2dba810fa1
commit 0da5d0435d
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 5 additions and 0 deletions

View File

@ -160,6 +160,11 @@ in with lib; {
# Play/pause and next song
"XF86AudioPlay" = "exec mpc toggle";
"XF86AudioNext" = "exec mpc next";
# Setup scratchpads
"${modifer}+n" =
"exec sh -c 'swaymsg [app_id=\"emacs\"] scratchpad show'";
"${modifer}+m" =
"exec sh -c 'swaymsg [app_id=\"Alacritty\"] scratchpad show'";
};
# Startup applications
startup = [