Your Latest Workflow Improvement - Printable Version +- nixers (https://nixers.net) +-- Forum: Desktop Customization, Efficiency, and Aesthetics (https://nixers.net/Forum-Desktop-Customization-Efficiency-and-Aesthetics) +--- Forum: Desktop Customization & Workflow (https://nixers.net/Forum-Desktop-Customization-Workflow) +--- Thread: Your Latest Workflow Improvement (/Thread-Your-Latest-Workflow-Improvement) |
RE: Your latest workflow improvement - z3bra - 28-12-2015 I've been ricing for years as you all probably know. And one thing I've learnt is that you don't rice once and be done with it. There is always something you want to change, something you want to fix, something you grew tired of... It's a never ending process, or a kindof "drug". So I'm just trying to focus on using my desktop rather than making it usable :) RE: Your latest workflow improvement - kirby - 28-12-2015 Contrary to the above, I've had the same basic setup (dwm, 1 'primary' colour on a complementary grey, 1px-wide borders) for a good few years now and the exact colourscheme for at least one year. Whenever I go to change anything I always end up deciding I preferred what I had so just go back. I guess I'm just stuck in my ways. To stay vaguely on topic, I installed an SSD on my netbook so it's a lot quicker, which I guess is a workflow improvement haha. RE: Your latest workflow improvement - ninjacharlie - 28-12-2015 (28-12-2015, 09:28 AM)kirby Wrote: To stay vaguely on topic, I installed an SSD on my netbook so it's a lot quicker, which I guess is a workflow improvement haha. Which laptop are you using? I've been looking at this one: http://www.amazon.com/gp/product/B00SGS7ZH4 , but am not sure if Linux support is any good. RE: Your latest workflow improvement - Pr0Wolf29 - 25-01-2016 I set a keybind for terminal, wolfmenu, and printscreen screenshot. RE: Your latest workflow improvement - z3bra - 25-01-2016 What's wolfmenu? A menu for wolfenstein? RE: Your latest workflow improvement - Pr0Wolf29 - 26-01-2016 Some menu program I made. Kinda like dmenu but user-defined and for GUI and terminal usage. RE: Your latest workflow improvement - arcetera - 11-02-2016 i got a second monitor and hacked around to make it work with wmutils RE: Your latest workflow improvement - josuah - 28-07-2016 I just found a way to bring Emacs-like buffer to the terminal: In emacs, everything is hold into a 'buffer', that can be a file, a terminal app, a process list, a music player, another file, a graphical web browser, a shell, a pdf document, the pdf source file in markdown... This permits you to switch from file to music player to mail client and back to file, with a same interface showing 'everything that is going on' at glance. That was not present outside emacs AFAIK: tmux and dvtm manage "workspaces", "tags", "windows" and "panes", but not "buffers". Abduco can bring the required abstraction needed to do this: all terminal are wrapped in a nohup for interactive programs (tmux attach/detach feature), and can be detached, list running abduco sessions... And to expose vim buffers to abduco, I simply do not use vim buffers: I start the editor once for every file I edit. To quickly switch between the buffers, I use slmenu/dmenu to list and select opened buffers. Ctrl + Z comes back from a buffer to the parent shell. RE: Your latest workflow improvement - Tmplt - 29-07-2016 I often leave the terminal when I want to translate words and phrases to/from a language and also when I want to define a word.. No longer! Code: define() { RE: Your latest workflow improvement - venam - 29-07-2016 (29-07-2016, 02:38 AM)Tmplt Wrote: I often leave the terminal when I want to translate words and phrases to/from a language and also when I want to define a word.. No longer!I've ran into the same issue just recently. I already had a define command but, just like yours it was using the internet to fetch definitions. After some research, `sdcv` seemed like a good solution. The archwiki, as usual, was a good place to get information from. I got the stardict-dictd_www.dict.org_gcide-2.4.2 dictionary. Now no need for internet to fetch those definitions. RE: Your latest workflow improvement - z3bra - 29-07-2016 I use google for that: Code: #!/bin/sh Though it's a bit more complex than yours, it hasn't failed on me yet! RE: Your latest workflow improvement - josuah - 29-07-2016 tmplt: z3bra: Yet another webservice replaced by a shell script, just like "curl -4 wttr.in" RE: Your latest workflow improvement - z3bra - 29-07-2016 Haha, nice! Didn't know about it RE: Your latest workflow improvement - Tmplt - 30-07-2016 (29-07-2016, 04:16 AM)z3bra Wrote: I use google for that: Oh, that script will come in handy. Thanks! RE: Your latest workflow improvement - b3atr - 03-08-2016 (17-08-2015, 09:58 AM)venam Wrote: background processes (ctrl-z) and specific zsh tricks with directories (using pushd). those are awesome and I couldn't live without them anymore :> a little bit of URL generating trick to use macmillandictonary.com to get the pronunciation of a word and play it on terminal by mplayer. an alternative would be greatly appreciated :) Code: pron() { RE: Your latest workflow improvement - neeasade - 03-08-2016 > pron() { that's not where I thought that was going. RE: Your latest workflow improvement - Adrift - 20-02-2017 I'm sure that these are horrible. But I thought I would share a couple scripts that might fit in here. Earlier in the thread a window selecter had been mentioned, I've been using this for quite some time now. It depends on wmctrl and wmutils, but you can substitute most of it honestly. Although using wmctrl allows one to see the window id, workspace, and title all at once. Code: #!/bin/sh I also made a conversion script, since units didn't play well with dmenu. But found it gets all of google's quick instant answers, like what time is it in ___ city, country, etc. Code: #!/bin/sh I also spent quite some time working on a bookmarks dmenu for my firefox and vimb bookmarks, titles display in dmenu, then launch in vimb. I had to re-enable the creation of bookmarks.html in about:config. And both use an automated a sed command to remove a lot of dumb reformatting. I don't miss tabs at all, and now use rtv instead of the browser. Lastly I couldn't survive without the "keyword" function I picked up from firefox, that I use in vimb as "shortcuts" like duckduckgo bangs. Edited a bunch of times because I forgot shit, then shortened. RE: Your Latest Workflow Improvement - josuah - 19-04-2017 I am slowly taking the halfwit route, by building up dmenu scripts. All the io-* scripts in ~/etc/bin/ use iomenu, and I try to keep them stupid. io-calendar: One line per event, from ical files, converted with calendar-update io-edit: Most recently used files and all files in $HOME io-abduco: prompt to attach/create an abduco(1) session io-setfont: For setting TTY fonts in linux (BSD has wsconsctl), psf format. io-search: Prompt for a dir and dump the content of every file, for interactive search, and open the selected line of file in editor. iomenu can handle it (strstr(3) can). io-mblaze: for the super-light mail client mblaze(1) that is a set of command line tools. io-music: You can select a directory or pick individual songs. Currently mplayer, but you can change it. RE: Your Latest Workflow Improvement - josuah - 20-04-2017 Oh, I forgot the best of them: io-troll: What's the magic word? RE: Your Latest Workflow Improvement - Mafia - 21-04-2017 Workflow improvement: USE ACME. My flow is super hot fire now. RE: Your Latest Workflow Improvement - josuah - 21-04-2017 This ^. And with the "win" command. You get an interactive shell within the editor. Presentation from Russ Cox himself. RE: Your Latest Workflow Improvement - Mafia - 21-04-2017 I hope there isn't anyone using acme without win out there. RE: Your Latest Workflow Improvement - z3bra - 21-04-2017 Not using acme, but I'm using more and more sam commands thanks to vis. I must say it is way more powerful and comprehensive than vi's addresses. Once you wrap your head around it, it is pretty nice! Workfllw wise, well, not much changed. I'm removing more and more fluff everyday, and using bare tools more (eg, default dvtm against 1000 lines .tmux.conf). RE: Your Latest Workflow Improvement - r4ndom - 25-04-2017 I'm more and more writing small scripts using dmenu to do things faster. For example this beauty, which is a small file explorer using dmenu. For me it is used to open my lecture/exercise slides. RE: Your Latest Workflow Improvement - drkhsh - 28-04-2017 Code: function up { Code: function extract { Code: function video { Code: alias stopwatch="time cat" RE: Your Latest Workflow Improvement - darthlukan - 03-05-2017 A small thing I did recently that has made things a tiny bit easier on myself is to use ZSH's Vi mode. I spend most of my time at work in various vim sessions with several shells open for performing various tasks (e.g. One specifically for debugging and that's all I do in it, another for file management, etc). It always felt a bit jarring to go from vim to one of my shells and have to use different key bindings for tasks. Well, with Vi mode a lot of that is alleviated and it's made a small improvement to my productivity as I don't have to think as much about key bindings. Since it will probably come up, here's what's in my ~/.zshrc to distinguish modes at the prompt: Code: function ins-mode() { echo "λ" } The result looks like the following. CMD Mode: Code: Ω ⊡ ❱ INS Mode: Code: λ ⊡ ❱ RE: Your Latest Workflow Improvement - jvarg - 03-05-2017 I guess i'm the only one who does not knew this but getting some output from a shell command into vim with that little command: Code: :r !shellcommand just blew my mind. That's so nice :D RE: Your Latest Workflow Improvement - z3bra - 04-05-2017 (03-05-2017, 06:21 PM)jvarg Wrote: I guess i'm the only one who does not knew this but Then you'll probably love piping your selection into random programs Code: :'<,'>!tr a-z A-Z RE: Your Latest Workflow Improvement - venam - 05-05-2017 (04-05-2017, 05:39 PM)z3bra Wrote: Then you'll probably love piping your selection into random programsMy favorite one: Code: :'<,'> !fmt RE: Your Latest Workflow Improvement - jvarg - 05-05-2017 (05-05-2017, 12:42 AM)venam Wrote:(04-05-2017, 05:39 PM)z3bra Wrote: Then you'll probably love piping your selection into random programsMy favorite one: Oh yes, 10/10 thanks guys!! |