Last active
July 13, 2023 16:51
-
-
Save DeityLamb/01def51d9e01cf234d7acbfa676072f0 to your computer and use it in GitHub Desktop.
run application as floating in swaywm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # [usage examples] | |
| # sh ./floating.sh kitty -e "htop" | |
| # sh ./floating.sh kitty -e "ranger" | |
| $@ & | |
| swaymsg "for_window [pid=\"$!\"] floating enable" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment