screenshot
this repo is a collection of bash scripts/functions I have been using along with i3wm
dependence:
-
fzf
-
xdotool
-
wmctrl
-
xprop
-
transset(optional)
add lines below in your i3 config, replace $super+comma to your key, then you can select or swap current window to target window via fzf in a floating terminal.
for_window [title="^select_window$"] floating enable bindsym $super+comma exec gnome-terminal --geometry=80x15 --title='select_window' -- /path/to/xwish/fzf_window.sh $(xdotool getactivewindow)
bindsym F3 exec /path/to/xwish/focus_next_win.sh`
add this in your i3 config, then you can use F3 to goto next unfocused window in current workspace, this is very useful if you prefer to open 2 or 3 windows in one workspace, instead of binding four keys repectively for
focus {left, right, up, down}
, this consumes only one keybinding.