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) |
Your Latest Workflow Improvement - z3bra - 17-08-2015 Hey there. I know we're all interrested in improving our day-to-day tasks to make them faster, or easier to do. We all do different things to improve our workflow, and most of the time, it feels pretty good to see it working. I create this thread so we can share any snippet, trick or solution we find to improve our workflow. I'll start with a script of mine I use a lot: At work, I'm forced to use a window machine. Not a big deal as I'm allowed to run a VM on it (archlinux, for convenience). But from time to time, I need to send logfiles, memory dumps and similar to people, and this is a tedious task, as I need to copy the files from the VM to a shared folder with the host, then put it on people's desktop using the windows explorer (I'm a system admin, so that's why I have these access). I then created a script call "winput" which uses smbclient to send search netbios names on the network, and put files on the desktop of these people. Computers here are named after the login name, with 1,2 or 3 appended to it (or not): Code: #!/bin/sh Example of it running: Code: $ winput username ~/.profile And I can now si the .profile file on my desktop! Magic :D Your turn now! RE: You latest workflow improvement - venam - 17-08-2015 I recently finished reading Practical Vim and because I spend most of my time programming it boosted my workflow. I also got myself to use more and more background processes (ctrl-z) and specific zsh tricks with directories (using pushd). RE: You latest workflow improvement - z3bra - 17-08-2015 (17-08-2015, 09:58 AM)venam Wrote: specific zsh tricks with directories (using pushd). Any example about these? I'm curious as to how popd/pushd can be used for interactive use. RE: Your latest workflow improvement - venam - 17-08-2015 (17-08-2015, 11:50 AM)z3bra Wrote:Quote:specific zsh tricks with directories (using pushd).Any example about these? I'm curious as to how popd/pushd can be used for interactive use. Code: ~ > pushd BUILDING < Like that you can move wherever you want in the stack in an interactive way. RE: Your latest workflow improvement - neeasade - 17-08-2015 Well, I'm working on a small script to help me if I forget where open windows are/ multihead nicety[WIP]: https://sr.ht/6lif.webm Still messing around with dzen2 a bit, it's fun. The plan is to make it so that left click is focus and move cursor to window, and right click is bring to current workspace as biggest window. RE: Your latest workflow improvement - dkeg - 17-08-2015 Just some pretty minor stuff for me. Small bash function for git for quicker and less typing. Code: function gitpush() { RE: Your latest workflow improvement - swathe - 17-08-2015 (17-08-2015, 10:56 PM)dkeg Wrote: Just some pretty minor stuff for me. Small bash function for git for quicker and less typing. I've started using this with git, it's nice https://github.com/qw3rtman/gg RE: Your latest workflow improvement - z3bra - 18-08-2015 Git can sure be a pain to deal with (as in, many commands to type...) I should start making it easier to use, at least for my dotfiles where I don't care about the history, I just want them to be in sync everywhere. Something like a script that would run every time I update a file, that would pull/commit/push the changes. Mmmmmh... I might be onto something! RE: Your latest workflow improvement - dkeg - 18-08-2015 Thanks swathe, looks interesting, but way over the top for my needs. z3bra, sounds good! I'd be very interested to see what you come up with. I tend to think I may like manual pushes better, for me though, a bit more control. Actually, I believe there is something a bit similar over at the linuxbbq forums similar .... found it ... http://linuxbbq.org/bbs/viewtopic.php?f=15&t=668&p=9498&hilit=gitupper#p9498 ... RE: Your latest workflow improvement - Wildefyr - 18-08-2015 (17-08-2015, 07:21 PM)neeasade Wrote: Well, I'm working on a small script to help me if I forget where open windows are/ multihead nicety[WIP]: https://sr.ht/6lif.webm Nice! I've been thinking of doing something similar with wmutils, get a list of open windows and then select using hjkl; actually should be fairly easy to implement, just need to find ( or write ) a menu select system. RE: Your latest workflow improvement - neeasade - 19-08-2015 (18-08-2015, 07:41 PM)Wildefyr Wrote: Nice! I've been thinking of doing something similar with wmutils, get a list of open windows and then select using hjkl; actually should be fairly easy to implement, just need to find ( or write ) a menu select system. Would such a menu written in wmutils be WM agnostic if the WM was simple enough? That's an interesting proposition. RE: Your latest workflow improvement - Wildefyr - 19-08-2015 (19-08-2015, 09:12 AM)neeasade Wrote:(18-08-2015, 07:41 PM)Wildefyr Wrote: Nice! I've been thinking of doing something similar with wmutils, get a list of open windows and then select using hjkl; actually should be fairly easy to implement, just need to find ( or write ) a menu select system. Yes, it would be. RE: Your latest workflow improvement - z3bra - 19-08-2015 Depends on the WM entirely. Some WM reparent windows, and thus, won't work. Some WM keep track of windows in-memory and ignore windows deletion event, and thus won't work. Some WM relies entirely on EWMH, and thus won't work. Some WM forbid external programs to handle windows, and thus, won't work. For now, I've only found cwm (and swm, obviously) to fully integrate with wmutils (though some like ratpoison give good results) RE: Your latest workflow improvement - October - 24-08-2015 I recently installed OpenBSD and by default it comes with CWM (calm window manager). I've found it to be quite useful as it already comes with search and works great IMO. RE: Your latest workflow improvement - jvarg - 25-08-2015 Remapping my capslock to escape was the best improvement i have had. RE: Your latest workflow improvement - vedard - 29-08-2015 I found a little trick to create a "Recently added" play-list in MPD. It's not perfect because every recently modified files will come at the top of the list. Code: cd ~/drv/Music/iTunes/iTunes\ Media/Music RE: Your latest workflow improvement - swathe - 31-08-2015 Nothing amazing, but I ditched wordpress for the octopress blogging framework. I have to say I enjoy using it a lot more. RE: Your latest workflow improvement - Wildefyr - 31-08-2015 Wrote this script using fzf to give me an interactive way to view and then kill processes without loading something like htop: (dcat has already mentioned how he hates this tho): Code: KILL=/tmp/.kill RE: Your latest workflow improvement - neeasade - 31-08-2015 oh fuck yeah fzf functions. https://github.com/junegunn/fzf Code: fe() { RE: Your latest workflow improvement - greduan - 06-09-2015 What I don't like about fzf is that the install script invades the hell out of your config files. .bashrc and .zshrc IIRC. Otherwise I'd use it all day, nowadays I don't install it because of that. RE: Your latest workflow improvement - z3bra - 07-09-2015 I've stopped using IRC at work recently. That's a huge productivity boost in the end. I didn't realise how distracting it was. RE: Your latest workflow improvement - jury - 07-09-2015 ^ That's why I'm rarely on IRC; I can never get anything else done when it's open =P Unrelated: if you don't have a constantly displayed clock (because minimalism or, like me, laziness), you can put one in dmenu output. Here's my dmenu_run (same as vanilla except for a couple lines): Code: #!/bin/sh RE: Your latest workflow improvement - ninjacharlie - 07-09-2015 Not a super recent performance boost, but I did start using Vimium in Chrome (adds vim-ish keybindings). It's way more comfortable for me to use now :) RE: Your latest workflow improvement - Wildefyr - 08-09-2015 (07-09-2015, 09:08 PM)ninjacharlie Wrote: Not a super recent performance boost, but I did start using Vimium in Chrome (adds vim-ish keybindings). It's way more comfortable for me to use now :) I tried using that, but I think cVim is a much better implementation. Also vimperator for firefox is far more feature complete and more hackable, main reason why I switched over to firefox from chrome. RE: Your latest workflow improvement - greduan - 09-09-2015 (07-09-2015, 04:55 AM)z3bra Wrote: I've stopped using IRC at work recently. That's a huge productivity boost in the end. I didn't realise how distracting it was.IKR, same. Problem is then I completely forget to join IRC and then happens what happened, which is that I'm offline for months at a time. lol RE: Your latest workflow improvement - z3bra - 09-09-2015 Yeah it makes me realise how much I was quatting IRC... RE: Your latest workflow improvement - dkeg - 13-09-2015 gtk colors from xcolors replace current color values in gtk theme with xcolors https://github.com/dkeg/inspin/blob/master/gtkColor RE: Your latest workflow improvement - neeasade - 14-09-2015 (13-09-2015, 06:24 PM)dkeg Wrote: gtk colors from xcolorsVery nice. Will have to play with this when home today. RE: Your latest workflow improvement - venam - 14-09-2015 (13-09-2015, 06:24 PM)dkeg Wrote: gtk colors from xcolorsThat's epic. This weekend I'll try to combine your gtkColor and 2bwmColor with URNN. Like that you get a wallpaper that fits with the terminal colorscheme that fits with 2bwm borders that fits with the gtk colors. I'll report when I'm done! Kudos for the good work. RE: Your latest workflow improvement - dkeg - 14-09-2015 ^cool. Look forward to it. And thanks! |