Dual monitor Awesome WM with xrandr

I struggled a couple of days until I figured it out that setting up dual monitor via xrandr is needed after X started and before aweome started, so in between.

The solution was adding xrandr exec line into my .xinitrc

# ~/.xinitrc
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

function VGAConnected {
   ! xrandr | grep "^VGA-1" | grep disconnected
if VGAConnected; then
    xrandr --output eDP-1-1 --mode 1920x1080 --primary \
           --output VGA-1-1 --mode 1920x1080 --rotate normal --right-of eDP-1-1

exec awesome -c .config/awesome/rc.lua

to get the screen names (eDP-1-1, VGA-1-1, etc.) just run xrandr without args.


The Only Three Ways To Be More Productive

I’ve met plenty of people who have “five years of marketing experience” that can’t market as well as someone who has worked in marketing for six months but read the fundamental books of the field.

At the end of the day or week, make a list of your least valuable tasks and ask: “Is it profitable?” If not, stop doing it. If yes, can you delegate it?

From https://taylorpearson.me/3productivity/

Switched to browser bookmarks from Pocket

I got annoyed by malformed articles in Pocket so I removed the app from tablet, smartphone and browser and switched to use browser (Chrome) bookmarks. Just created a _read bookmark directory to be it up in the order (due sort by title).

read bookmark directory

So now during my morning reading on tablet I use Chrome instead Pocket app.
While using Chrome I provide better analytics data for the article authors. If they share knowledge for free, they get some free statistics from me in return 🙂

News overload

choosing what to read, when, and how is a news literacy skill. In the same way that financial literacy requires knowing how money works and the most effective methods for managing it, news literacy requires familiarity with how journalism is made and with the most effective ways to consume it

From http://blog.rescuetime.com/2017/08/15/information-overload/

How to find flow

​we can all develop our willpower and self-control by focusing on 3 steps.

1. Find your standards. Your standards are the reference points you’ll use to determine whether any action you’re going to take is desireable towards getting into a state of flow—so, whether you’re going to check your email (again) or hit your 1000 word count for the day.

2. Set up means for monitoring. Flow depends on immediate feedback and so does self control. Whatever your task, find ways to constantly monitor your performance and adjust as you continue.

3. Be wary of your energy. Our mental strength waxes and wanes throughout the day (which is why it’s so important to define your own work schedule around your energy). Understanding when you have more energy will help you stay in control and give you a better chance of entering a state of flow.

From https://zapier.com/blog/how-to-find-flow/

Hack into your flow

“The average business person spends less than 5% of their day in flow. If you could increase that to 15%, overall workplace productivity would double,”

“The brain can’t tell the difference between physical consequences and emotional risk,” says Kotler. “Taking social risks is the same as physical risks.”

“In Silicon Valley, the idea is to fail fast or fail forward,” he says. “If you’re not giving employees space to fail, you’re not giving them space to risk. Move fast and break things. Engage in rapid experimentation. High consequences will drive flow and you get further faster.”

From https://www.fastcompany.com/3031052/how-to-hack-into-your-flow-state-and-quintuple-your-productivity