X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=x%2F.config%2Fi3%2Fconfig;h=1400a8941877ed4a81b2ababb0e468a2823054ed;hb=10237fa57afd9f0eba8bcebfb01263cd68746b25;hp=79ea72334f1e4bdf9eb738a2c06491a4ef82203f;hpb=52b68ea369a25a4eb8d71720177064892d9e1bf6;p=dotfiles.git diff --git a/x/.config/i3/config b/x/.config/i3/config index 79ea723..1400a89 100644 --- a/x/.config/i3/config +++ b/x/.config/i3/config @@ -14,19 +14,19 @@ 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 +exec xautolock -locker ~/.local/bin/lock.sh &\ + dunst &\ + urxvtd -q -o &\ + .local/bin/bg &\ + setxkbmap -layout dvorak,ru -variant ,phonetic_dvorak -option compose:ralt,grp:menu_toggle + +# 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+y exec /usr/share/doc/pass/examples/dmenu/passmenu # font for window titles. font pango:$font 8 @@ -38,6 +38,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 @@ -53,9 +56,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 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