All Projects → edne → i3-workspace-handler

edne / i3-workspace-handler

Licence: other
Create i3 workspaces on the fly and call them by name

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to i3-workspace-handler

i3nator
i3nator is Tmuxinator for the i3 window manager
Stars: ✭ 57 (+147.83%)
Mutual labels:  i3, i3wm
dotfiles
A collection of dotfiles for i3, polybar and more.
Stars: ✭ 25 (+8.7%)
Mutual labels:  i3, i3wm
polybar-now-playing
Script for polybar to display and control media(not only Spotify) using DBus.
Stars: ✭ 34 (+47.83%)
Mutual labels:  i3, i3wm
sway-alttab
Simple Alt-Tab daemon for SwayWM/i3. Switches back to previous focused window on Alt-Tab or SIGUSR1
Stars: ✭ 36 (+56.52%)
Mutual labels:  i3, i3wm
i3-create-config
Script to create an i3 config from multiple files.
Stars: ✭ 27 (+17.39%)
Mutual labels:  i3, i3wm
i3status
Simple status bar for i3 / i3-gaps / sway written in bash and python
Stars: ✭ 69 (+200%)
Mutual labels:  i3, i3wm
rofi-todo
📓 Minimal todo client for the rofi launcher
Stars: ✭ 20 (-13.04%)
Mutual labels:  i3, i3wm
i3
Archivos de configuraciones de i3
Stars: ✭ 32 (+39.13%)
Mutual labels:  i3, i3wm
dotfiles
collection (and a backup) of my config files
Stars: ✭ 49 (+113.04%)
Mutual labels:  i3, i3wm
todofi.sh
Handle your todo-txt tasks directly from Rofi
Stars: ✭ 46 (+100%)
Mutual labels:  i3, i3wm
kitti3
Kitty drop-down service for sway & i3wm
Stars: ✭ 73 (+217.39%)
Mutual labels:  i3, i3wm
ansible-debian
Buildfiles: Ansible automated leight-weight and sensible Debian provisioning
Stars: ✭ 83 (+260.87%)
Mutual labels:  i3, i3wm
i3blocks-crypto
💵 View your favorite coins' ticker prices with i3blocks.
Stars: ✭ 30 (+30.43%)
Mutual labels:  i3, i3wm
swayinfo
Some goodies for use in Sway and i3 wm
Stars: ✭ 30 (+30.43%)
Mutual labels:  i3, i3wm
i3-wm-gruvbox-theme
An i3-wm gruvbox theme implementation
Stars: ✭ 229 (+895.65%)
Mutual labels:  i3, i3wm
i3blocks-modules
Custom modules for i3blocks status bar
Stars: ✭ 36 (+56.52%)
Mutual labels:  i3, i3wm
i3-dstatus
Another great statusline generator for i3wm
Stars: ✭ 35 (+52.17%)
Mutual labels:  i3, i3wm
i3wm-config
i3wm config files. Updated config files are in the repository below.
Stars: ✭ 13 (-43.48%)
Mutual labels:  i3, i3wm
i3lock-next
Create a fancy image to use with i3lock.
Stars: ✭ 64 (+178.26%)
Mutual labels:  i3, i3wm
Dotfiles
🌸 Configuration for i3, kitty, picom, ZSH, gtk, qutebrowser, qbittorrent and more... (All tools for an arch linux new installation)
Stars: ✭ 15 (-34.78%)
Mutual labels:  i3, i3wm

i3 Workspace Handler

Create i3 workspaces on the fly and call them by name.

dmenu screenshot

Pressing Mod+Space (on my setup I press in sequence left and right thumbs) a dmenu with the workspaces list appears, allowing to choose one.

Typing a non existing name a new one will be created.

With Mod+Shift+Space (left thumb, left pinkie, right thumb) you can move the selected container.

Installing

  • Copy lsws in a folder in your $PATH, or read below to see what it does.

  • Add these lines in your .i3/config:

bindsym $mod+space        exec i3-msg workspace $(lsws | dmenu -p "→")
bindsym $mod+Shift+space  exec i3-msg move container to workspace $(lsws | dmenu -p "|→")
bindsym $mod+u            workspace back_and_forth

Eventually changing them with your Mod key and your colors and font configuration.

Details

lsws

List workspaces. As seen before we need to get the workspace names list in a dmenu-friendly way, but i3-msg -t get_workspaces prints a json.

i3-msg -t get_workspaces |  # get the json
tr , '\n' |                 # replace commas with newline
grep name |                 # "name":"workspace-name"
cut -d \" -f 4              #         ^ 4th field, spliting by "

If you have it already installed you can use Jq to do the same job in a cleaner way:

i3-msg -t get_workspaces | jq -r ".[].name"

License

Licensed under the Beerware License:

As long as you retain this notice you can do whatever you want with this stuff.
If we meet some day, and you think this stuff is worth it, you can buy me a
beer in return.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].