https://github.com/skoved/sway-float
Simple program that floats (firefox based) browser windows immediately
https://github.com/skoved/sway-float
browser firefox sway swaywm wayland
Last synced: 11 months ago
JSON representation
Simple program that floats (firefox based) browser windows immediately
- Host: GitHub
- URL: https://github.com/skoved/sway-float
- Owner: skoved
- License: gpl-3.0
- Created: 2025-05-28T14:26:21.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-10T13:30:15.000Z (about 1 year ago)
- Last Synced: 2025-06-10T14:45:48.940Z (about 1 year ago)
- Topics: browser, firefox, sway, swaywm, wayland
- Language: Go
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sway-float
Simple program to float windows immediately.
## Problem
Firefox based browsers (and other programs) create a new window and immediately give the window a default name
(ex: Mozilla Firefox) before setting the actual name of the window. Sway has trouble dealing with this change in window
title names and will only match the first title that is set until the window focus changes. Then the it will match the
new title and the window will be made floating. This program uses sway-ipc to listen directly for window events and will
set a window to floating when a new window that matches the criteria is created.