Sway : Move calc to scratchpad.

This commit is contained in:
Dmitry Voronin 2024-04-16 23:23:37 +03:00
parent 7848042633
commit c1d02624cb
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,8 @@
{ ... }: {
text = ''
# Launch calculator app.
function calc() {
gnome-calculator
}
'';
}

View file

@ -38,5 +38,11 @@
for_window [title="Emulator" window_type="utility"] {
move scratchpad
}
# Calculator.
for_window [app_id="org.gnome.Calculator"] {
move scratchpad
scratchpad show
}
'';
}