all repos — dotfiles @ 9facb085083aa4ffbd78acd39fb431c28b6c3829

linux dotfiles

update xinit, linkhandler and i3blocks/iface
Prithu Goswami prithugoswami524@gmail.com
Fri, 10 Jul 2020 22:20:56 +0530
commit

9facb085083aa4ffbd78acd39fb431c28b6c3829

parent

d7185e025ec1c2e6bbbcd11a30d82d2ab4216a2e

3 files changed, 7 insertions(+), 1 deletions(-)

jump to
M .xinitrc.xinitrc

@@ -29,3 +29,4 @@ [ -f ~/.xprofile ] && . ~/.xprofile

exec i3 # exec xfce4-session +# exec dwm
M bin/scripts/linkhandlerbin/scripts/linkhandler

@@ -8,7 +8,8 @@ # otherwise it opens link in browser.

# Sci-Hub's domain occasionally changes due to shutdowns: scihub="http://sci-hub.tw/" -TRUEBROWSER=$BROWSER +# TRUEBROWSER=$BROWSER +TRUEBROWSER="chromium" # If no url given. Opens browser. For using script as $BROWSER. [ -z "$1" ] && { "$TRUEBROWSER"; exit; }
M i3blocks/ifacei3blocks/iface

@@ -66,5 +66,9 @@ esac

#------------------------------------------------------------------------ +case $BLOCK_BUTTON in + 1) setsid notify-send "`ping -c 1 1.1 | grep time=`";; +esac + echo "$LABEL$IPADDR" # full text echo "$LABEL$IPADDR" # short text