added wifi script
[dotfiles.git] / x / .config / i3 / config
index 10af625..479c40c 100644 (file)
@@ -17,11 +17,8 @@ set $fontsize 12
 exec xautolock -locker 'echo RELOADAGENT | gpg-connect-agent; i3lock'
 # set a background
 exec ~/.local/bin/bg
-# set the network switcher
-exec netctltray
+exec dunst
 
-# Toggle music playback
-bindsym Pause exec mpc toggle
 # Printscreen current window
 bindsym Shift+Print exec ~/.local/bin/scr window
 # Printscreen
@@ -29,10 +26,12 @@ 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 ~/.local/bin/passmenu
+bindsym $mod+y exec passmenu
+bindsym $mod+b exec ~/.local/bin/network
+bindsym $mod+Shift+b exec ~/.local/bin/wifi
 
 # font for window titles.
-font pango:DejaVu Sans Mono 8
+font pango:$font 8
 
 # use Mouse+$mod to drag floating windows to their wanted position
 floating_modifier $mod
@@ -54,10 +53,11 @@ bindsym $mod+n focus up
 bindsym $mod+s focus right
 
 # alternatively, you can use the cursor keys:
-bindsym $mod+Left exec xbacklight -dec 5
-bindsym $mod+Down exec amixer set Master 5- && kill -n 10 `pidof i3status`
-bindsym $mod+Up exec amixer set Master 5+ && kill -n 10 `pidof i3status`
-bindsym $mod+Right exec xbacklight -inc 5
+bindsym XF86MonBrightnessUp exec xbacklight -inc 5
+bindsym XF86MonBrightnessDown exec xbacklight -dec 5
+bindsym XF86AudioMute exec pactl set-sink-mute 1 toggle
+bindsym XF86AudioLowerVolume exec pactl set-sink-volume 1 -5%
+bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 1 +5%
 
 # move focused window
 bindsym $mod+Shift+h move left
@@ -140,7 +140,7 @@ bindsym $mod+p mode "resize"
 # Start i3bar to display a workspace bar (plus the system information i3status
 # finds out, if available)
 bar {
-       status_command /home/mart/projects/i3status/i3status
+       status_command i3status
        modifier $mod
        font pango:$font $fontsize
 }