X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=x%2F.config%2Fi3%2Fconfig;h=ebfe48459f557f22bfaff9f460ea96d86602949d;hb=5512a2454fa70907cbbf24c2c11dfd0941a07891;hp=489bcfad219ea769b952a65a3aa614bb6b98bfa1;hpb=ae833e18bdf78a15ff3db3c1c616ee5a0850273d;p=dotfiles.git diff --git a/x/.config/i3/config b/x/.config/i3/config index 489bcfa..ebfe484 100644 --- a/x/.config/i3/config +++ b/x/.config/i3/config @@ -14,22 +14,16 @@ set $font DejaVu Sans Mono set $fontsize 12 # lock the screen after 10 minutes -exec xautolock -locker ~/.local/bin/lock.sh &\ - dunst &\ - ~/.local/bin/bg &\ - urxvtd -q -o &\ - setxkbmap -layout dvorak,ru -variant ,phonetic_dvorak -option compose:ralt,grp:menu_toggle +exec xautolock -locker ~/.local/bin/lock.sh & dunst & setxkbmap -layout dvorak,ru -variant ,phonetic_dvorak -option compose:ralt,grp:menu_toggle # Toggle playback bindsym Pause exec mpc toggle -# Printscreen current window -bindsym Shift+Print exec ~/.local/bin/scr window # Printscreen +bindsym Shift+Print exec ~/.local/bin/scr window bindsym Print exec ~/.local/bin/scr # 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 +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 @@ -54,8 +51,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%+ @@ -142,6 +139,5 @@ bindsym $mod+p mode "resize" # finds out, if available) bar { status_command i3status - modifier $mod font pango:$font $fontsize }