set $mod Mod4
# lock the screen after 10 minutes
-exec xautolock -locker 'i3lock -c ccff00; systemctl suspend'
+exec xautolock -locker \
+ 'sudo -K; echo RELOADAGENT | gpg-connect-agent; i3lock -c ccff00'
# set a background
exec convert -size 1600x900 plasma:fractal -modulate 20,100,10 png:- | display -window root
# set the backlight
# set the network switcher
exec netctltray
-# Custom keybindings
+# lock the screen
bindsym $mod+l exec xautolock -locknow
+
+# put a password in the clipboard
bindsym $mod+p exec passmenu
-# Font for window titles.
+# font for window titles.
font pango:DejaVu Sans Mono 8
-# Use Mouse+$mod to drag floating windows to their wanted position
+# use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
hide_edge_borders none
# kill focused window
bindsym $mod+Shift+quotedbl kill
-# start dmenu (a program launcher)
+# start dmenu
bindsym $mod+e exec dmenu_run -i -f -fn 'xft:DejaVu Sans Mono:style=Book:pixelsize=12'
# change focus
bindsym $mod+Shift+n move up
bindsym $mod+Shift+s move right
-# alternatively, you can use the cursor keys:
-bindsym $mod+Shift+Left move left
-bindsym $mod+Shift+Down move down
-bindsym $mod+Shift+Up move up
-bindsym $mod+Shift+Right move right
-
# split in horizontal orientation
bindsym $mod+d split h
set noswapfile
set colorcolumn=80
set textwidth=79
+set shiftwidth=4
+set tabstop=4
" List characters to mark trailing whitespace etc
set listchars=nbsp:¬,tab:▸\ ,eol:↩,extends:»,precedes:«,trail:•