All Projects → ylmrx → i3wins

ylmrx / i3wins

Licence: MIT license
A better i3 windows switcher with rofi

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to i3wins

Dots
A Repository For Config Files / Dotfiles / Themes / Color Schemes / Etc...
Stars: ✭ 100 (+316.67%)
Mutual labels:  window-manager, rofi, i3wm
Dotfiles
My dotfiles managed by GNU Stow - Arch, i3-gaps, bspwm, ncmpcpp, (neo)vim, zsh etc.
Stars: ✭ 99 (+312.5%)
Mutual labels:  rofi, i3wm
Dotfiles
🐧 Configuration files
Stars: ✭ 81 (+237.5%)
Mutual labels:  rofi, i3wm
axyl-iso
Axyl is a Linux distro centered on tiling window managers. Choose from i3, bspwm, dwm and more.
Stars: ✭ 348 (+1350%)
Mutual labels:  window-manager, i3wm
Dotfiles
🐲 My Arch Linux config [i3-gaps + i3blocks + Zsh + Spacemacs + Rofi + Alacritty + Neofetch]
Stars: ✭ 725 (+2920.83%)
Mutual labels:  rofi, i3wm
Dotfiles
Get ready for dotfiles. Contains i3, i3blocks, rofi, dunst, picom, vim, tmux, and zsh.
Stars: ✭ 985 (+4004.17%)
Mutual labels:  rofi, i3wm
sway-alttab
Simple Alt-Tab daemon for SwayWM/i3. Switches back to previous focused window on Alt-Tab or SIGUSR1
Stars: ✭ 36 (+50%)
Mutual labels:  window-manager, i3wm
dotfiles
Gruvbox inspired Arch Linux i3wm rice.
Stars: ✭ 43 (+79.17%)
Mutual labels:  rofi, i3wm
Dotfiles
i3 + Plasma: using the i3 window manager on the top of KDE Plasma and other dotfiles, configurations, scripts, workarounds and practises from my Debian Sid machines.
Stars: ✭ 651 (+2612.5%)
Mutual labels:  window-manager, i3wm
Polybar
A fast and easy-to-use status bar
Stars: ✭ 9,604 (+39916.67%)
Mutual labels:  window-manager, i3wm
dotfiles
My dotfiles
Stars: ✭ 16 (-33.33%)
Mutual labels:  rofi, i3wm
Rofi
A large collection of Rofi based custom Menu, Applets, Launchers & Powermenus.
Stars: ✭ 2,907 (+12012.5%)
Mutual labels:  window-manager, rofi
rofi-todo
📓 Minimal todo client for the rofi launcher
Stars: ✭ 20 (-16.67%)
Mutual labels:  rofi, i3wm
Nmcli Rofi
A simple manager for network connections using rofi and nmcli
Stars: ✭ 39 (+62.5%)
Mutual labels:  rofi, i3wm
i3-dotfiles
“ With wisdom comes the desire for simplicity.” Brendon Burchard.
Stars: ✭ 30 (+25%)
Mutual labels:  rofi, i3wm
I3 Rice Rin Shelter
My i3wm rice with theme "Rin : shelter"
Stars: ✭ 146 (+508.33%)
Mutual labels:  rofi, i3wm
dotfiles
collection (and a backup) of my config files
Stars: ✭ 49 (+104.17%)
Mutual labels:  rofi, i3wm
dotfiles
My (bsp/i3)wm dotfiles.
Stars: ✭ 20 (-16.67%)
Mutual labels:  rofi, i3wm
Archcraft
// Source : ISO
Stars: ✭ 437 (+1720.83%)
Mutual labels:  window-manager, rofi
I3wsr
Change i3-wm workspace names based on content
Stars: ✭ 107 (+345.83%)
Mutual labels:  window-manager, i3wm

i3wins/i3lasts

As the name might suggest, this is a wrapper to rofi acting as a window-switcher.

I found -show window option to be quite slow, and would often get in the way. On another topic, I use i3 in an XFCE environment (for the PM and such)… and the virtual desktops would conflicts, and be generally weird.

i3wins is fast and won't get in the way.

i3lasts is also a window-switcher, but it keeps track of your focused windows through time. It's insanely effective if you go back and forth a lot. It comes as a server (which need to be running at all time) / client as i3 won't keep track of those.

Pre-requisites

  • i3
  • rofi
  • a working python3 environment can help
  • libi3ipc (libi3ipc-glib on ubuntu/debian)

Installation

I recommand using some virtual environments.

python3 -m venv new_folder
source new_folder/bin/activate
pip install i3wins
deactivate

If you're a more yolo-oriented person : pip install --user i3wins

You can now run : new_folder/bin/i3wins

Help !

No help. All options you give to i3wins are directly sent to rofi.

Check rofi manpage.

Settings

Here's a snippet from my i3 config:

i3wins

bindsym Mod1+Tab exec "/home/fuzzy/.local/share/virtualenvs/i3switch/bin/i3wins -kb-row-down 'Down,Control+n,Alt+Tab' -kb-accept-entry '!Alt+Tab,!Alt_L,!Alt+Alt_L,Return'"

i3lasts

bindsym Mod1+space exec "/home/fuzzy/.local/share/virtualenvs/i3switch/bin/i3lastc"
[...]
exec --no-startup-id "/home/fuzzy/.local/share/virtualenvs/i3switch/bin/i3lasts -kb-row-down 'Down,Control+n,Alt+space,space' -kb-accept-entry '!Alt+space,!Alt_L,!Alt+Alt_L,Return'"

Feel free to use it as-is. Or modify it into oblivion.

Some explanation on the i3 config

Long story made short :

  • Faster mode : Hold Alt, then press Tab as many times as needed, when you're where you want : release Tab then Alt.
  • Not so fast : Hold Alt, then press Tab and release Alt while still holding Tab : the window will stay there, you can search text, scroll, validate with a single press on Alt, or the good'ol Enter key

(the spacebar has the same behavior)

You'll get used to it.

More swag

Keys

Have you noticed desktops are displayed with d1, d2, d3, … And that windows are numbered in the relevant order with 'w' ?

Have you noticed how close d and w are close to the tab key ?

… just saying.

Eyes

  • Current desk is pink
  • Current window is yellow
  • I think you're cool
  • Have a mojito.

Colors are hardcoded and were set by yours truly for ecstatic co-workers' high-fives and maximum swaginess in every situation. But they're still designed for darker themes of rofi.

Todo

  • Handles URGENCY,
  • tags Fullscreen windows as such,
  • deal with vim-marks and more i3-specific concepts (tree depth for examples).
  • show current desktop windows in the right order (they are in reverse currently)
  • Support for rofi 1.5.4 (allows icons in dmenu mode)
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].