A collection of utility scripts for Sway/Wayland desktops.
Requires sway with tofi as launcher.
In sway config:
set $menu tofi-drun \
--width 360 \
--height 272 \
| xargs -d '\n' swaymsg exec --To install scripts as well as desktop entries, run:
chmod +x ./install.sh
./install.shCopies all scripts from src/ to ~/.local/bin/, and desktop files to ~/.local/share/applications.
Interactive Bluetooth device manager using tofi.
- Power on/off toggle
- Device scanning
- Connect/disconnect paired devices
- Pair new devices
- Remove paired devices
- Shows device type icons and connection status
Dependencies:
tofibluetoothctl(bluez)notify-send(libnotify)
Clipboard history selector. Selecting an item in clip history will put it in wl-copy.
Dependencies:
toficliphistwl-copy(wl-clipboard)
Clipboard history selector with live preview support. Shows image previews for copied images and syntax-highlighted text previews for code/text entries.
Features:
- Image preview (PNG, JPG, WebP, GIF)
- Text preview with syntax highlighting
- Preview window automatically positioned next to tofi
Dependencies:
tofi(with--stream-eventssupport - requires custom build from tofi fork)cliphistwl-copy(wl-clipboard)imv(image preview)alacritty(terminal for text preview)micro(text editor for preview)jq(JSON parsing)swaymsg(sway)
MIT