Setup scratchpads in sway
This commit is contained in:
parent
2dba810fa1
commit
0da5d0435d
|
@ -160,6 +160,11 @@ in with lib; {
|
||||||
# Play/pause and next song
|
# Play/pause and next song
|
||||||
"XF86AudioPlay" = "exec mpc toggle";
|
"XF86AudioPlay" = "exec mpc toggle";
|
||||||
"XF86AudioNext" = "exec mpc next";
|
"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 applications
|
||||||
startup = [
|
startup = [
|
||||||
|
|
Loading…
Reference in New Issue