stuff
[dotfiles.git] / x / .config / i3 / config
index 79ea723..1247e24 100644 (file)
@@ -13,20 +13,14 @@ set $mod Mod4
 set $font DejaVu Sans Mono
 set $fontsize 12
 
-# lock the screen after 10 minutes
-exec xautolock -locker 'echo RELOADAGENT | gpg-connect-agent; i3lock'
-# set a background
-exec ~/.local/bin/bg
-exec dunst
-
-# 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+Shift+y exec passmenu --type
 
 # font for window titles.
 font pango:$font 8
@@ -36,7 +30,10 @@ floating_modifier $mod
 hide_edge_borders none
 
 # start a terminal
-bindsym $mod+Return exec i3-sensible-terminal
+bindsym $mod+Return exec /home/mrl/projects/st/st
+
+# lock
+bindsym $mod+l exec xautolock -locknow
 
 # kill focused window
 bindsym $mod+Shift+quotedbl kill
@@ -53,9 +50,9 @@ 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 XF86AudioMute exec xbacklight -dec 5
-bindsym XF86AudioLowerVolume exec xbacklight -dec 5
-bindsym XF86AudioRaiseVolume exec xbacklight -dec 5
+bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
+bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
+bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
 
 # move focused window
 bindsym $mod+Shift+h move left
@@ -139,6 +136,5 @@ bindsym $mod+p mode "resize"
 # finds out, if available)
 bar {
        status_command i3status
-       modifier $mod
        font pango:$font $fontsize
 }