laptop stuff
[dotfiles.git] / x / .config / i3 / config
index f8534f5..1400a89 100644 (file)
@@ -15,23 +15,18 @@ set $fontsize 12
 
 # lock the screen after 10 minutes
 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 &\
+       urxvtd -q -o &\
+       .local/bin/bg &\
        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 /usr/share/doc/pass/examples/dmenu/passmenu
-bindsym $mod+b exec ~/.local/bin/network
-bindsym $mod+Shift+b exec ~/.local/bin/wifi
 
 # font for window titles.
 font pango:$font 8
@@ -43,6 +38,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
 
@@ -56,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 10
-bindsym XF86MonBrightnessDown exec xbacklight -dec 10
+bindsym XF86MonBrightnessUp exec xbacklight -inc 5
+bindsym XF86MonBrightnessDown exec xbacklight -dec 5
 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%+
@@ -146,6 +144,4 @@ bar {
        status_command i3status
        modifier $mod
        font pango:$font $fontsize
-       mode hide
-       bindsym button1 exec killall -USR1 i3status
 }