X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=x%2F.config%2Fi3%2Fconfig;fp=x%2F.config%2Fi3%2Fconfig;h=568190d29735c339c86d840d7ffbe6d749c38eb7;hb=f2a1c89978a8ec6f129660a28f5c424b5f55bcd2;hp=9fd78e60cc103c0ed7b8413131f3e4337634642f;hpb=27970ff5278649a0a966f985919f3568d25d9d26;p=dotfiles.git diff --git a/x/.config/i3/config b/x/.config/i3/config index 9fd78e6..568190d 100644 --- a/x/.config/i3/config +++ b/x/.config/i3/config @@ -13,26 +13,27 @@ set $mod Mod4 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 -# start steam -exec steam - -# Toggle music playback +exec display -window root /tmp/bg.png &\ + dunst &\ + urxvtd -q -o -f &\ + mpd &\ + xrdb -merge ~/.Xresources &\ + steam &\ + 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 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 /usr/share/doc/pass/examples/dmenu/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 +55,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 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 @@ -140,7 +142,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 }