stuff
[dotfiles.git] / x / .config / i3 / config
index abbfdde..1247e24 100644 (file)
@@ -13,9 +13,6 @@ set $mod Mod4
 set $font DejaVu Sans Mono
 set $fontsize 12
 
-# lock the screen after 10 minutes
-exec xautolock -locker ~/.local/bin/lock.sh & dunst & setxkbmap -layout dvorak,ru,us -variant ,phonetic_dvorak, -option compose:ralt,grp:menu_toggle,caps:super
-
 # Toggle playback
 bindsym Pause exec mpc toggle
 # Printscreen
@@ -33,7 +30,7 @@ floating_modifier $mod
 hide_edge_borders none
 
 # start a terminal
-bindsym $mod+Return exec urxvtc
+bindsym $mod+Return exec /home/mrl/projects/st/st
 
 # lock
 bindsym $mod+l exec xautolock -locknow
@@ -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 amixer -c 1 set Master toggle
-bindsym XF86AudioLowerVolume exec amixer -c 1 set Master 5%-
-bindsym XF86AudioRaiseVolume exec amixer -c 1 set Master 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