I might make the switch to a GUI, but I'll never stop using Dvorak
post
- i3 on X11.
- emacs for everything.
- Rust lover
- dvorak
- i3 config shared across different machines. Config dynamically generated based on hostname.
- Custom menus with rofi
- Web content is the only thing that makes me use the mouse.
relation status: long distance.
For this degree of tism, I would say that's a win!
What's rofi do? How custom does it make the menus?
It's actually quite neat. It is a three part archesta:
- i3 key binding, say,
Super-lthat triggers a script of mine. - The script itself
rofi-menutakes a single argument, a text "menu file" that describes the menu. Say,my-layouts.menu - The menu file is super simple. It looks like this:
Menu Title
[shortcut] # <exit | stay> # <label> # <command>
[shortcut] # <exit | stay> # <label> # <command>
[shortcut] # <exit | stay> # <label> # <command>
...
The script parses this file and generates the menu.
- shortcut is the key binding that will immediately trigger the menu item.
- exit | stay defines whether the menu closes after the option is actioned (sometimes you wanna keep the menu open)
- label is what you see in the menu
- command is... well, the command
One more thing, if your hostname is "my_machine", and the menu file that you gave to my script is "my-layout.menu", then the script will actually prefer to use "my-layout.my_machine.menu" if it exists. So you can share your config across multiple machines and have them pick the appropriate menus depending on where it is ran.
A menu example could be:
Layouts
l # stay # Rotate Layout # i3-msg toggle all
f # exit # Toggre Floating # i3-msg floating toggle
So to change i3 layouts, I type:
Super-l(opens menu)lrotate layout (rows, cols, tabs, stack) and keep the menu open. If I keep hittinglit will keep rotating.Escto close the menu.
To toggle the window floating:
Super-l(opens menu)fto toggle floating. The menu closes immediately after.
If you are interested, I can share the script with you :)
non judgemental post i just think this might be funny or relatable to some and if not i hope u feel welcome to share your experiences here peace and love
Using NixOS means when I had the time to customize I wrote it all declaratively, so now that I’ve got obligations it all stays configured and reproducible. No need to swap lol
No need to swap lol
A flake-based configuration: [am I a joke to you]
so i guess everybody is doing if via flakes now but can't we just continue with the configuration.nix and home.nix split?
You can especially since flakes are still experimental technically, but I really like being able to track the lockfile in git, have a bunch of systems/homes/packages/overlays all stored together, and mixing&matching various inputs (e.g. very easily handle multiple versions of nixpkgs in the same config)
The modularity, if built properly, is pretty nice. I can just tell my friend to run a console command aimed at my flake repo and boom they have my exact mpv package and configuration with customized settings; and if they like it they can just copy one or two files and make it their own.
lol I’m stealing this from another post I somewhere I saved it but:

htop, ytop, and ranger (or something similar).
And just based on the info those show, the computer is a ThinkPad with some 4-core, non-SMT Intel CPU and 8 GB of memory with 512 MB of that reserved for the integrated GPU.
I don't get it. I used OpenBox when I was single and now KDE while in a relationship.
Is that kangaroo pooping
Kind of serious question...
If you are in the tiling team, is this some sort of pattern in you? To be dissident of the "mainstream" way of doing things?
Do you see yourself also taking "the other", custom, method for most areas of your life?
it's a way of doing things with programs that you don't have to think about. moving your hand to the mouse, clicking or double clicking the window, dragging it to the appropriate corner and waiting for snapping to toggle are all too slow compared to a keyboard shortcut to open and tile left, right, bottom, or stacked in i3.
this mouse movement is even ambiguous on mac os which requires external apps to make the experience marginally above suck.
The main thing is you want to commit these actions to muscle memory to free up your conscious effort on whatever it is you are trying to focus on.
all 38 comments