X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=x%2F.config%2Fi3%2Fconfig;h=2eb31dba43dbfcf7bc15e38d29a6a44d5f8843f7;hb=2e8785fdabbcbdcf4603b362d767126315625ac7;hp=479c40c324c0ced36b7d9a24a4f44a9c8f6750da;hpb=597705ad735abef3def5a356f6e329eb2a978020;p=dotfiles.git diff --git a/x/.config/i3/config b/x/.config/i3/config index 479c40c..2eb31db 100644 --- a/x/.config/i3/config +++ b/x/.config/i3/config @@ -14,10 +14,12 @@ 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 +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 +# xrdb -merge ~/.Xresources &\ # Printscreen current window bindsym Shift+Print exec ~/.local/bin/scr window @@ -26,7 +28,7 @@ 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+y exec /usr/share/doc/pass/examples/dmenu/passmenu bindsym $mod+b exec ~/.local/bin/network bindsym $mod+Shift+b exec ~/.local/bin/wifi @@ -53,11 +55,11 @@ bindsym $mod+n focus up 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 pactl set-sink-mute 1 toggle -bindsym XF86AudioLowerVolume exec pactl set-sink-volume 1 -5% -bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 1 +5% +bindsym XF86MonBrightnessUp exec xbacklight -inc 10 +bindsym XF86MonBrightnessDown exec xbacklight -dec 10 +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%+ # move focused window bindsym $mod+Shift+h move left @@ -143,4 +145,6 @@ bar { status_command i3status modifier $mod font pango:$font $fontsize + mode hide + bindsym button1 exec killall -USR1 i3status }