4 ms·
I have a workflow that I believe is far superior to all these window managers. Quake-style terminals have always been popular. I used to use Yakuake on KDE whi
by emilsedgh 9y ago
I have a workflow that I believe is far superior to all these window managers.
Quake-style terminals have always been popular. I used to use Yakuake on KDE which was very convenient.
The convenience its not that those terminals open up with an animation (which is quite annoying). It was because there was a dedicated keyboard shortcut for them. You memorized that and you never ever think about managing the window of that application again.
So for years I have keyboard shortcuts assigned to my applications.
F1 opens Browser
F2 opens File manager
F3 opens Text Editor
F4 opens Chat App (Telegram)
F6 opens Email client
F7 opens ICR Client
F9 opens Terminal
F10 opens Music Player (Although Spotify on Linux has a bug that doesn't allow this to work)
Ever since I adopted this scheme I simply have a better quality of life during the time I'm using my computer. If there was a CPU usage for my brain, I'm sure its dropped. I strongly suggest you to try it out.
Because the shortcuts become muscle memory and you don't even think about them anymore. You know what you want and your fingers just know how to open it up.
I'm not quite sure which window managers allow this, but I'm using KWin and it allows me to arrange these shortcuts.
- mmozeiko 9y agoSo this is pretty much like Windows Win+Number shortcut, when you have apps pinned to taskbar.
- pmoriarty 9y agoAnd this is pretty much the same as the i3 window manager's Mod1+Number to switch workspaces, when you have one app per workspace. This is of course customizable to use other keystrokes if you prefer.
- dbranes 9y agoNot seeing how this is relevant. The tool linked here just helps you manage how much space different windows take up on your screen, it doesn't really care about how you open these windows.
- emilsedgh 9y agoNot really relevant. It just makes my life easier and people in this topic are interested in window managers so I thought I'd share maybe someone finds it useful :)
- michaelmrose 9y agoYou can bind keys to operations including more complex operations than 1key -> command in any window manager or de. If your environment of choice doesn't allow this you can use xbindkeys or sxhkd. Wayland excluded because in wayland this feature is either provided/enabled by the environment or impossible to implement for securities sake. If you haven't already got it may I suggest you implement some sort of raise or run functionality so that say F6 could open your email client or focus it if its already open.
- aji 9y agoI lucked into this pattern when I used ratpoison. Window 0 was always my terminal emulator (running tmux), window 1 was always Firefox. Additionally, tmux window 0 was always my IRC client. Getting between those apps quickly became muscle memory. I use a more conventional window manager now and it's noticeably clumsier.
- lostmsu 9y agoWait a second. That's exactly how Windows taskbar binding works.
- saagarjha 9y agoHave Hammerspoon do this for me on macOS, except the shortcuts are more like Caps Lock+T is Terminal, etc.
- okbake 9y agoI pipe a list of installed programs into dmenu and have it run whichever one I select. I have this bound to Mod+p. dmenu has fuzzy search, so if I want to open firefox I can just type `Mod+p fox <cr>`. Not quite as fast as having dedicated hotkeys, but it also covers all installed programs on the system (or some small subset if I want). Having programs available from anywhere with just a few keystrokes makes everything feel very accessible. Whenever I want to run something I just need to type a few characters of the binaries name to launch it. I use a similiar set up for ssh, where I pipe the Hosts from my ~/.ssh/config into dmenu and only need to type part of the hostname to connect. [dmenu] http://tools.suckless.org/dmenu/ http://tools.suckless.org/dmenu/
- fiatjaf 9y agodmenu takes 2 seconds to open on my computer. It's horrible. But I use it too little to worry about changing it. My question is: how do you open ssh from dmenu? I can't open terminal applications from dmenu, it should open a terminal automatically, I guess, but it doesn't do anything. Is that controlled by some other Linux configuration? I'm on Ubuntu with i3.
- tmearnest 9y agoYou'd need either write a special dmenu script to run it in an xterm, or add a simple script to your path: #!/bin/sh exec xterm -e ssh user@hostname
- deleted 9y ago[deleted]