Crates.io | i3-dws |
lib.rs | i3-dws |
version | 0.1.1 |
source | src |
created_at | 2022-06-22 09:26:32.126842 |
updated_at | 2022-06-22 10:20:11.343406 |
description | Decoupled Workspace Switcher for i3 |
homepage | |
repository | |
max_upload_size | |
id | 610768 |
size | 18,369 |
Decoupled Workspace Switcher
Simple scirpt written in Rust that enables using workspaces in a manner decoupled from outputs: For every display there are workspaces from 0 to 9. Any suggestions, comments and prs are welcome.
USAGE:
i3-dws [OPTIONS]
OPTIONS:
--create-cfg
-h, --help Print help information
--list-outputs
--list-workspaces
-m, --move <MV> Move container to workspace
-o, --output <OUTPUT> Change to current workspace on given output
-V, --version Print version information
-w, --workspace <WORKSPACE> Workspace to change on current output
Use i3-dws --create-cfg
to get initial workspace config and paste it into your i3 config file (usually in ~/.config/i3/config
). Additional configs may look like that:
# change workspace
bindsym Mod4+1 exec --no-startup-id i3-dws -w 1
bindsym Mod4+2 exec --no-startup-id i3-dws -w 2
bindsym Mod4+3 exec --no-startup-id i3-dws -w 3
bindsym Mod4+4 exec --no-startup-id i3-dws -w 4
bindsym Mod4+5 exec --no-startup-id i3-dws -w 5
bindsym Mod4+6 exec --no-startup-id i3-dws -w 6
bindsym Mod4+7 exec --no-startup-id i3-dws -w 7
bindsym Mod4+8 exec --no-startup-id i3-dws -w 8
bindsym Mod4+9 exec --no-startup-id i3-dws -w 9
bindsym Mod4+0 exec --no-startup-id i3-dws -w 0
# move focused container to workspace
bindsym Mod4+Shift+1 exec i3-dws -m 1
bindsym Mod4+Shift+2 exec i3-dws -m 2
bindsym Mod4+Shift+3 exec i3-dws -m 3
bindsym Mod4+Shift+4 exec i3-dws -m 4
bindsym Mod4+Shift+5 exec i3-dws -m 5
bindsym Mod4+Shift+6 exec i3-dws -m 6
bindsym Mod4+Shift+7 exec i3-dws -m 7
bindsym Mod4+Shift+8 exec i3-dws -m 8
bindsym Mod4+Shift+9 exec i3-dws -m 9
bindsym Mod4+Shift+0 exec i3-dws -m 10