i3ipc-python
🐍 An improved Python library to control i3wm and sway. (by altdesktop)
i3-focus-last | i3ipc-python | |
---|---|---|
3 | 16 | |
27 | 834 | |
- | 0.5% | |
8.1 | 0.0 | |
about 2 months ago | 4 months ago | |
Rust | Python | |
MIT License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
i3-focus-last
Posts with mentions or reviews of i3-focus-last.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-25.
-
i3-back: A utility to quickly switch to your last focused window
I've actually found https://github.com/lbonn/i3-focus-last after releasing this project, which may be what you are looking for. It's definitely a different approach this this solution.
-
Super Tab behavior like any other DE do with apps.
There's also a rust version https://github.com/lbonn/i3-focus-last
-
Cycling through windows in SwayWM
If you would like dmenu integration as well, I can personally recommend this: https://github.com/lbonn/i3-focus-last
i3ipc-python
Posts with mentions or reviews of i3ipc-python.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-14.
- How to switch focus to last selected window?
-
Is it possible to force all windows that move to a specific workspace and/or monitor to automatically become floating?
i3ipc-python seems to do what I want -- it even has a script specifically for this -- and for existing windows moving to the space I think I can just use the binding.
-
Use the same shortcut to switch containers and workspaces?
Any reason not to use i3ipc-python? The module will talk over the ipc socket rather than calling out to (relatively expensive) i3-msg subprocesses to do it.
-
How to send all keystrokes to a specific window with a specific WM_CLASS regexp?
Untested but with i3ipc-python you should be able to write a script something like this:
-
Can you alt+tab in i3 WM?
here you go, there's more stuff on the arch wiki
-
Super Tab behavior like any other DE do with apps.
And this is the specific script to focus the last focused workspace https://github.com/altdesktop/i3ipc-python/blob/master/examples/focus-last.py
-
sway-menu extended
Looks good, if you want to go even further you could replace calls to swaymsg with a python implementation python-i3ipc / i3ipc-python
-
Issues with Runekit on Linux.
I could probably use the i3ipc-python (https://github.com/altdesktop/i3ipc-python) library (which works with both i3 and Sway) to make a Sway-specific implementation, but then it would be up to other people to implement support for things like KDE Wayland and Gnome Wayland.
-
How to catch name of a window *at the exact moment of creation* before it changes? example: zoom notifications, them sly devils!
This is kind of interesting for me. I ran into a problem with spotify, I couldn't assign it to its proper workspace... The reason was because spotify does not put proper values in at startup (sometimes it manages, but mostly not), in bspwm there were subscribe that just dumped data out. I3 you can subscribe as well, but it seems they want you to use more libraries. I found this https://i3wm.org/docs/ipc.html, through that I found https://github.com/altdesktop/i3ipc-python, installed it with
-
Vertical Sidebar
The end goal is to make something that interacts with https://github.com/altdesktop/i3ipc-python, or something similar, so I'm fine with something closer to a library.
What are some alternatives?
When comparing i3-focus-last and i3ipc-python you can also consider the following projects:
handlr - A better xdg-utils
rofi - Rofi: A window switcher, application launcher and dmenu replacement
rot8 - screen rotation daemon
runekit - Alt1-compatible widget host for RuneScape 3
swayws - a sway workspace manager which allows easy moving of workspaces to and from outputs
psuinfo - A psutil-based command to display customizable system usage info in a single line, for Tint2 executors or CLI
hyperfine - A command-line benchmarking tool
i3-autoname
sway - i3-compatible Wayland compositor
wofi-scripts - Scripts for wofi, a wayland compatible program launcher
bat - A cat(1) clone with wings.
runekit - Alt1-compatible widget host for RuneScape 3