command
module
Version:
v0.0.0-...-71fd645
Opens a new window with list of versions in this module.
Published: Jan 23, 2024
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
sway-yast
Yet Another Sway Tab is a single-binary alt+tab clone (Most Recently Used) window switcher for Sway WM.
Features
- Daemon (IPC & RPC) architecture, filesystem-free
- Uses
fzf
, works in the terminal
- Renders a popup using
foot
(optional)
- Dark mode support (optional)
Checks gsettings get org.gnome.desktop.interface color-scheme
- Shows workspaces and outputs (especially headless)
- 1-hand compatible keystrokes
Usage
- Install
go install github.com/pancsta/sway-yast@latest
- Start the daemon
sway-yast daemon
- Add a binding (optional)
swaymsg bindsym alt+tab exec sway-yast switcher
- Run in the terminal (optional)
sway-yast fzf
- Press
alt+tab
Key bindings
Normal mode:
alt+tab
show the switcher, preselect the previous window, enter Switcher
mode
Switcher mode:
space
focus the selected window, close the switcher
enter
focus the selected window, close the switcher
tab
select the next window in the list
down
select the next window in the list
shift+tab
select the previous window in the list
up
select the previous window in the list
esc
close the switcher
ctrl+c
close the switcher
a-z
, 0-9
fuzzy search
Example - switch to the 3nd MRU window:
Example - switch to Krusader by name:
Configuration
See the config section in main.go, modify and go build
.
Kudos
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.