export SUDO_ASKPASS=/usr/lib/ssh/ssh-askpass
-export PATH=\
-$PATH:\
-/usr/local/texlive/2014/bin/x86_64-linux:\
-/opt/clean/bin
-
-
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias vi=vim
}
volume(){
- mixer=$(amixer | head -5 | tail -1)
- echo $mixer | grep "\[on\]" || mute="(M)"
+ mixer=$(amixer 2>&1 | head -5 | tail -1)
+ echo $mixer | grep -q "\[on\]" || mute="(M)"
volume=$(echo $mixer | grep -Po "(?<=\[)[0-9]{1,3}%")
echo -n "vol: $volume$mute"
}
set $mod Mod4
-exec setxkbmap -layout dvorak,ru -variant ,phonetic_dvorak -option compose:ralt -option grp:menu_toggle
exec xautolock -locker 'i3lock -c ccff00'
-exec convert -size 1600x900 plasma:fractal -colorspace Gray -modulate 20,100,10 png:- | display -window root
+exec convert -size 1600x900 plasma:fractal -modulate 20,100,10 png:- | display -window root
exec netctltray
bindsym XF86AudioLowerVolume exec amixer set Master 5-
bindsym $mod+l exec xautolock -locknow
# kill focused window
-bindsym $mod+Shift+apostrophe kill
+bindsym $mod+Shift+quotedbl kill
# start dmenu (a program launcher)
bindsym $mod+e exec dmenu_run