8 lines
315 B
Bash
Executable File
8 lines
315 B
Bash
Executable File
#!/bin/bash
|
|
# Toggle Signal scratchpad window.
|
|
# Falls back to regular focus if window was moved out of scratchpad,
|
|
# then to launching Signal if it's not running at all.
|
|
swaymsg '[app_id="signal"] scratchpad show' 2>/dev/null || \
|
|
swaymsg '[app_id="signal"] focus' 2>/dev/null || \
|
|
flatpak run org.signal.Signal &
|