Merge branch 'laptop' of github.com:dopefishh/dotfiles into laptop
[dotfiles.git] / x / .config / i3 / config
index 1d1485c..489bcfa 100644 (file)
@@ -14,20 +14,20 @@ set $font DejaVu Sans Mono
 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 &\
+       dunst &\
+       ~/.local/bin/bg &\
+       urxvtd -q -o &\
+       setxkbmap -layout dvorak,ru -variant ,phonetic_dvorak -option compose:ralt,grp:menu_toggle
+
+# Toggle playback
+bindsym Pause exec mpc toggle
 # Printscreen current window
 bindsym Shift+Print exec ~/.local/bin/scr window
 # Printscreen
 bindsym Print exec ~/.local/bin/scr
-# 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
 
@@ -54,8 +54,8 @@ bindsym $mod+n focus up
 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%+