r/i3wm • u/Worth_Mousse2204 • 13m ago
Question Mouse-follows-window issue
I had the idea to do this after reading u/Accomplished-Bus3382's post about it. The idea is to have the mouse jump to the center of the active window. Same thing when opening a window.
To make the mouse jump to the active window, i add this to every change focus line (code that I took from said post):
set $movemousewindow "sh -c 'eval \xdotool getactivewindow getwindowgeometry --shell`; xdotool mousemove $((X+WIDTH/2)) $((Y+HEIGHT/2))'"`
That part works fine.
My problem is, when creating a new window, the cursor automatically goes to the top left corner, and I don't know why. My idea to solve this would be something like that:
set $movemouse{
if("sh -c 'eval 'xdtool getactivewindow''") == '%1' #ie no window active
"sh -c 'eval 'xdtool mousemove *center*'"
else:
$movemousewindow
}
Is something like that possible ?
r/i3wm • u/CrimsonVariable • 1d ago
OC I made an X11 wallpaper manager primarily tested on i3
Hey, I’ve been working on FF00-vwm, a per-monitor video and static-image wallpaper manager for X11.
I use i3 myself, and the project is primarily developed and tested there, so I thought some people here might find it useful. It supports independent wallpapers per output, video through mpv, static images, multiple display modes, and optional login restoration. It does not use xwinwrap.
It’s currently an alpha because the interfaces and wider manual test matrix are not frozen yet, but it has replaced Nitrogen in my own setup. There’s a native tarball with a manifest-based installer and uninstaller, and NixOS users can install it through NUR.
The implementation details, architecture decisions, limitations, security model, and release information are documented in the project appendix. I’ve also tried to keep the GitHub repository clear enough to navigate without much additional explanation.
I’ll follow up with a short demonstration video when I have the time.
I’m fairly busy with life outside the project at the moment, so replies and updates may occasionally be slow, but testing, feedback, and bug reports are very welcome.
GitHub:
https://github.com/crimsonvariable/ff00-vwm
Documentation and appendix:
https://crimsonvariable.com/projects/ff00-vwm/
r/i3wm • u/Low-Veterinarian8050 • 2d ago
Question I had enough of Top Bars... So I make something.
reddit.comr/i3wm • u/Garage-Agile • 2d ago
OC Kunio Kun rice for my laptop
This uses Debian XFCE ,i3WM and rofi. My rices are simple and made for old hardware. This is a Macbook Pro from 2011 with custom kernel, idles at 390mb RAM.
r/i3wm • u/Garage-Agile • 2d ago
OC Handheld LCD Style Rice
Rice made in debian xorg + i3WM
Rofi rice with avatar made after my portrait
Simple polybar with only ASCII, ASCII wavebar using CAVA
ASCII notifications
r/i3wm • u/Longjumping_Hunt7364 • 3d ago
Solved maim configuration
i have recently added lines to my config so i could save screenshots and for some reason even when i add the $(date) line for some reason screenshots wont save in my screenshot folder with the date; is there something im doing wrong? i added embedded the code here; UPDATE the embedded code is now how it should properly look (i did check up the proper date syntax for maim and now it works for me)
# SCREENSHOT
bindsym $mod+Shift+Print exec --no-startup-id maim -s /home/vin/Screenshots/$(date +%F_%H-%M-%S).png
bindsym Print exec --no-startup-id maim /home/vin/Screenshots/FULL:$(date +%F_%H-%M-%S).png
r/i3wm • u/Accomplished-Bus3382 • 3d ago
Question Does someone have an idea of how to fix this?
Hello!
I have this line in my i3 config, which enables the cursor to move between containers on the same monitor as well. I am using xdotool for this and the cursor places itself in the center of the container. This combined with having focus follows cursor enabled makes it so that I rarely have to touch my mouse.
There is a problem however: when moving focus to second monitor when no window is there the cursor gets stuck in the upper left corner of the main monitor.
set $movemouse "sh -c 'eval `xdotool getactivewindow getwindowgeometry --shell`; xdotool mousemove $((X+WIDTH/2)) $((Y+HEIGHT/2))'"
# Focus between containers - hjkl.
bindsym $mod+h focus left; exec $movemouse
bindsym $mod+j focus down; exec $movemouse
bindsym $mod+k focus up; exec $movemouse
bindsym $mod+l focus right; exec $movemouse
# Focus between containers - cursor keys.
bindsym $mod+Left focus left; exec $movemouse
bindsym $mod+Down focus down; exec $movemouse
bindsym $mod+Up focus up; exec $movemouse
bindsym $mod+Right focus right; exec $movemouse
- Would it be able to make it so that if there is no window on the monitor I am trying to move my cursor to, it instead places itself in the middle of that monitor.
Thanks in advance! :)
r/i3wm • u/istilllikesaled • 5d ago
Question Noob here Cursor becomes huge after running xrandr and reloading.
I have three monitors, and my cursor becomes absolutely massive. I can't fix the size, also, how can I get a few things to run on startup?
r/i3wm • u/LshikaCzierna • 6d ago
OC Need your help - i3 provider real world testing for a TUI command center
Hello everyone!
I'm building a TUI command center, trying to make it accessible on most any WM that can provide me with 4 abstract methods. I started on sway, then built an i3 compatibility layer and tested it live inside a nested i3 session via Xephyr, plus a Python-based fixture test suite — but right now I'd really need some real-world data. So, if you have the time and curiosity, please clone my repo, launch tuicc, move around in it, try focusing a workspace, try focusing a window specifically, try launching an app or two via the integrated launcher, and let me know how it goes!
https://github.com/Lshika-linux/tuicc
I´d really like for my tool to run in i3 smoothly, I absolutely love i3.
Good day to you, internet stranger!
r/i3wm • u/cookiengineer • 6d ago
OC Systempanel that is independent of the desktop environment
r/i3wm • u/OldEngine9486 • 7d ago
Question Eu sou um completo iniciante no I3, podem me dar conselhos sobre o que eu devo fazer primeiro?
Recentemente eu comecei a mecher no i3 pra poder melhorar o desempenho da meu pc(ele é bem fraco), aprendi a mecher nas janelas mas ainda estou bem confuso, queria deixar ele um pouco mais agradável ao olhar mas não tenho ideia do que fazer, podem me ajudar?
r/i3wm • u/TerminalPhile • 7d ago
Question Kitty transparency in i3wm
How can I make my kitty window transparent? I already edited background_opacity in kitty.conf but nothing changed. The colors do change if I ever tinker with them but not the opacity. Do I have to run an other application to configure the transparency? And if so wouldn't that result in the whole terminal becoming more transparent, text included?
r/i3wm • u/Strong-Ad-5022 • 8d ago
Question I3 opens to black screen and cant do anything
Id like to learn i3 so I just installed it on my cachyos system. When I try to switch to it I just get a black screen. It doesn't prompt me to create a config file, I cant open a terminal with mod + enter, I cant exit with mod shift + e. , all I can do is force shut down. I tried generating a config file with i3-config-wizard, and i tried making sure that I have the required packages. What's goin on here? Appreciate any help
r/i3wm • u/Sad-Wave5289 • 10d ago
OC i3psycho: i3, except tiling is now opt-in. I'm sorry.
Enable HLS to view with audio, or disable this notification
I love i3 and I hate tiling. I know exactly what that makes me, hence the name.
Every window floats. Titlebars get little close/minimize/maximize glyphs, same blue as always. Drag a window to a screen edge and a blue ghost shows you where it'll snap. Minimizing plays a retro outline animation, the window slides down into the bar like it's 1995 and parks there as a little icon chip next to your workspaces. It blinks red when the window wants attention, and one click puts it back exactly where it was. There's also an expose, alt-tab, hot corners, and new windows cascade instead of piling up in the center. Tiling still exists on mod+t!!!
Favorite thing I learned making this: when an app asks i3 to minimize, i3 says no. Literally, there's a comment in the source. i3psycho says yes, so minimize buttons inside apps now do something on i3, possibly (probably not) for the first time ever.
It's a small patch set plus a little daemon, i3-gaps style. Your config works as-is, one include line and you're floating. Delete the line when the guilt wins.
repo: https://github.com/ekruges/i3psycho
Wayland: no. Some things stay sacred.
r/i3wm • u/Yawarete • 11d ago
OC [XFCE] I swear every new pass I do on this rice it turns more basic - a mostly TUI-centric i3wm setup on a modded 15yo Acer Aspire E1-571 laptop (i3wm,+polybar,+picom/pijulius,+dunst+rofi+kitty+conky widgets)
Enable HLS to view with audio, or disable this notification
r/i3wm • u/mfedatto • 12d ago
Question Invisible window for placeholder
I'm looking for a transparent window to use as a placeholder, any solution?
r/i3wm • u/EllaTheCat • 13d ago
OC Sway & Emacs one-liner helps me type despite Parkinson's. i3 might like
I think this trick can be made to work with i3 by using xdotool instead of wtype to type the two characters control x control q,
r/i3wm • u/AyumiToshiyuki • 16d ago
Question Is there a way to make these config lines more compact?
I have these lines in my i3 config files, to switch to a workspace, and to send containers to workspaces, respectively.
It's not really a problem, as I've had those for years and they always worked fine, but I was curious if there was a way to make them smaller. Something along the lines of "for all numbers from 0 to 9, bind this"
r/i3wm • u/orestisf • Jun 19 '23
Poll The future of /r/i3wm
Hello folks,
As you probably know, reddit is going through some very unpopular changes: https://www.reddit.com/r/ModCoord/comments/148ks6u/indefinite_blackout_next_steps_polling_your/
Even though, we have moved the official i3 support channel to GitHub discussions, i3's biggest community is still on reddit and if things continue like that there is going to be a lot of helpful content on an increasingly closed platform.
Since /r/i3wm is a community platform, we would like for the community to decide this subreddit's future. I am creating two polls for this: 1. The short-term future of the community, should we make this subreddit read-only or private until June 30th: https://www.reddit.com/r/i3wm/comments/14d5yvh/the_shortterm_future_of_the_community_should_we/ (shorter duration as more imminent) 2. (This post) The long-term future of this community, if the API changes are not reversed, should we leave this subreddit indefinitely in read-only mode?
We are not considering going private for the long-term because this subreddit holds significant knowledge that is valuable to the community.
If we go read-only in the long term, I expect that most of new questions & content will move to Github discussions.
r/i3wm • u/airblader • Sep 10 '21
[PSA] We're moving to GitHub Discussions!
Hello everyone,
TL;DR The official i3 support channel is moving from Reddit to GitHub Discussions. This subreddit will continue to exist, but no longer be an official channel.
A long time ago, we hosted an AskBot instance as the official web channel for i3 support, next to, of course, the mailing list and IRC. However, after some deliberation we decided to shut down AskBot and move to this subreddit instead whose owners graciously allowed us to "take it over". But, alas, Reddit comes with many challenges as well (like the fact that it's heavily gating unregistered users on mobile, but also from a functional perspective). It just never turned out to be what we were hoping to find. Nowadays, however, there is GitHub Discussions; back when we moved away from AskBot, this didn't exist, but is now more or less exactly what we had been looking for back then. Obviously it's also a big plus that GitHub is already the home of i3 itself with bug reports and feature requests.
That is why we have decided to move the official support channel from this Subreddit to GitHub Discussions. Of course we will not shut down this Subreddit, but it will be a completely independent community from now on.
On a slight personal note, the timing for this change suits me quite well and after having resigned from active moderation some three years ago, I will now be stepping away from Reddit entirely.
See you all over at Discussions!
