/SwayGravity

An impractical sway script that implements gravity

Primary LanguagePython

Gravity in sway

A python script that adds gravity to floating windows, the windows can also be thrown.

This was made for April Fools' Day.

fallwinapf3.mp4

Dependencies

  • python3
  • i3ipc python
  • mpv

Usage

  1. Edit your screen size in the script (default is 1920x1080)
  2. Run the script
./gravity