Skip to main content

#i3 - How not to loose focus when navigating with a JetBrains IDE

Add the following directive to ~/.i3/config

focus_follows_mouse no

#WeeChat - Filters and tags with WeeChat

/filter add joinquit * irc_join,irc_part,irc_quit *

#Systemd - How to read live-tail logs of multiple services with journalctl

Tail logs of multiple services

sudo journalctl --follow _SYSTEMD_UNIT=docker.service + _SYSTEMD_UNIT=apache2.service

#Shell - Set sound volume from the command-line

Add the next function and its corresponding alias to a shell startup script to set sound volume from the command-line. Thanks to Nick Robinson-Wall for sharing how to set/get/mute volume from the command line with .

function set_sound_volume() {
    local PERCENTAGE="${1}"       
    echo 'About to set volume up to '"${PERCENTAGE}"' % of its maximal value'  
    osascript -e 'set volume output volume '"${PERCENTAGE}"
alias set-sound-volume='set_sound_volume'