https://github.com/kndndrj/sway-scripts
Personal collection of sway scripts.
https://github.com/kndndrj/sway-scripts
Last synced: 2 months ago
JSON representation
Personal collection of sway scripts.
- Host: GitHub
- URL: https://github.com/kndndrj/sway-scripts
- Owner: kndndrj
- Created: 2024-04-05T06:22:22.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-04T12:35:58.000Z (over 1 year ago)
- Last Synced: 2025-06-12T11:56:22.014Z (4 months ago)
- Language: Go
- Size: 41 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sway Scripts
This repository contains some of my scripts that I use with my sway config.
## `sway-reflex`
```sh
go install github.com/kndndrj/sway-scripts/sway-reflex@latest
```This one is basically `autotiling` on steroids. You provide a physical window size and the script
organizes windows by itself. Useful for large monitors, where a single window over the whole screen
is just too big.example:
```
# [.config/sway/config]exec_always sway-reflex -window_size 500x300 -default_gaps 20
```## `sway-scratch`
```sh
go install github.com/kndndrj/sway-scripts/sway-scratch@latest
```This starts a server to manage scratchpads - this server can then be controlled via subsequent
commands.example:
```
# [.config/sway/config]# start the server
exec_always sway-scratch serve# bind scratchpads to keys
bindsym $mod+d exec sway-scratch call kitty -position left
bindsym $mod+f exec sway-scratch call kitty -position right
```