source ~/.mutt/mailboxes
# Receiving, sending and searching
-set sendmail="msmtp -C /home/mart/.mutt/msmtprc"
+set sendmail="msmtp -C /home/mrl/.mutt/msmtprc"
set send_charset="us-ascii:utf-8"
macro index,pager $ "<shell-escape>offlineimap -c ~/.mutt/offlineimaprc &<enter><sync-mailbox>" "Force refresh"
macro attach B "<pipe-entry>firefox \"data:text/html;base64,$(base64 -w 0 <&0)\"<enter>"
export SUDO_ASKPASS=/usr/lib/ssh/ssh-askpass
export NOTMUCH_CONFIG=~/.mutt/notmuch-config
-export CLEAN_HOME=~/projects/clean-itasks
-export PATH=$PATH:$CLEAN_HOME/lib/exe:$CLEAN_HOME/bin:~/.local/bin
+export CLEAN_HOME=/opt/clean
+export PATH=$PATH:~/.local/bin:$CLEAN_HOME/lib/exe:$CLEAN_HOME/bin
alias ls='ls --color=auto'
alias grep='grep --color=auto'
set $fontsize 12
# lock the screen after 10 minutes
-exec xautolock -locker '/home/mart/.local/bin/lock.sh'
-# set a background
-exec ~/.local/bin/bg
-# Start the notification daemon
-exec dunst
+exec xautolock -locker ~/.local/bin/lock.sh &\
+ display -window root /tmp/bg.png &\
+ dunst &\
+ /usr/sbin/wpa_gui -t &\
+ urxvtd -q -o -f &\
+ xrdb -merge ~/.Xresources &\
+ setxkbmap -layout dvorak,ru -variant ,phonetic_dvorak -option compose:ralt,grp:menu_toggle
# Printscreen current window
bindsym Shift+Print exec ~/.local/bin/scr window
# lock the screen
bindsym $mod+l exec xautolock -locknow
# put a password in the clipboard
-bindsym $mod+y exec passmenu
+bindsym $mod+y exec /usr/share/doc/pass/examples/dmenu/passmenu
bindsym $mod+b exec ~/.local/bin/network
bindsym $mod+Shift+b exec ~/.local/bin/wifi
bindsym $mod+s focus right
# alternatively, you can use the cursor keys:
-bindsym XF86MonBrightnessUp exec xbacklight -inc 5
-bindsym XF86MonBrightnessDown exec xbacklight -dec 5
+bindsym XF86MonBrightnessUp exec xbacklight -inc 10
+bindsym XF86MonBrightnessDown exec xbacklight -dec 10
bindsym XF86AudioMute exec amixer -c 1 set Master toggle
bindsym XF86AudioLowerVolume exec amixer -c 1 set Master 5%-
bindsym XF86AudioRaiseVolume exec amixer -c 1 set Master 5%+
status_command i3status
modifier $mod
font pango:$font $fontsize
+ mode hide
+ bindsym button1 exec killall -USR1 i3status
}
-xrdb -merge ~/.Xresources
-urxvtd -q -o -f
+fbgrab /tmp/bg.png
envfile="$HOME/.gnupg/gpg-agent.env"
if [[ -e "$envfile" ]] && kill -0 $(grep GPG_AGENT_INFO "$envfile" | cut -d: -f 2) 2>/dev/null
export GPG_AGENT_INFO
export SSH_AUTH_SOCK
-setxkbmap -layout dvorak,ru -variant ,phonetic_dvorak -option compose:ralt,grp:menu_toggle
exec i3