various updates for new installation
[dotfiles.git] / x / .config / i3 / config
index 1d1485c..ebfe484 100644 (file)
@@ -14,22 +14,16 @@ 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 & setxkbmap -layout dvorak,ru -variant ,phonetic_dvorak -option compose:ralt,grp:menu_toggle
 
-# Printscreen current window
-bindsym Shift+Print exec ~/.local/bin/scr window
+# Toggle playback
+bindsym Pause exec mpc toggle
 # Printscreen
+bindsym Shift+Print exec ~/.local/bin/scr window
 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+b exec ~/.local/bin/network
-bindsym $mod+Shift+b exec ~/.local/bin/wifi
+bindsym $mod+y exec /usr/share/doc/pass/examples/dmenu/passmenu
+bindsym $mod+Shift+y exec /usr/share/doc/pass/examples/dmenu/passmenu --type
 
 # font for window titles.
 font pango:$font 8
@@ -41,6 +35,9 @@ hide_edge_borders none
 # start a terminal
 bindsym $mod+Return exec i3-sensible-terminal
 
+# lock
+bindsym $mod+l exec xautolock -locknow
+
 # kill focused window
 bindsym $mod+Shift+quotedbl kill
 
@@ -142,6 +139,5 @@ bindsym $mod+p mode "resize"
 # finds out, if available)
 bar {
        status_command i3status
-       modifier $mod
        font pango:$font $fontsize
 }