Some utility scripts for i3. Detailed installation instruction is contained within each script. rofi based scripts can be used by the following syntax:
$ rofi -show example -modi example:~/.local/bin/example-script
Within i3, you most likely want to assign a corresponding key binding:
bindsym $mod+e exec --no-startup-id "rofi -show example -modi example:~/.local/bin/example-script"
- All scripts rely on the i3ipc python package
- Some scripts rely on rofi
- Some scripts rely on flameshot
The following scripts are currently available:
- Opens rofi containing window names for all open i3 windows
- Wait for the user to select a window in rofi
- Move the selected window to the current workspace
- Focus the moved window
- Opens rofi containing a list of all available workspaces
- Wait for the user to select a workspace in rofi
- Move the selected workspace to the current output
- Opens rofi containing a list of all available workspaces
- Wait for the user to select a workspace in rofi
- Swap all windows from the current workspace with all windows of the selected one
- Opens rofi containing window names for all open i3 windows
- Wait for the user to select a window in rofi
- Swaps the currently focused window with the selected one
- Starts flameshot as usual
- After taking the screenshot, additional windows (e.g. save menu) are displayed on the same workspace where you invoked the script from (instead on the workspace where the screenshot was taken).