X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=x%2F.config%2Fi3%2Fconfig;h=0277172f521a5606d6d2ecfd5db7f0fcc3f40334;hb=6cde5de091d9641a4fc470b79d2d3e528a2db157;hp=11923601c733749394ad04bf6dab65989a8cb2cd;hpb=e7793f1b7978fa302c4da4c4943d849f7917b944;p=dotfiles.git diff --git a/x/.config/i3/config b/x/.config/i3/config index 1192360..0277172 100644 --- a/x/.config/i3/config +++ b/x/.config/i3/config @@ -13,33 +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 -# set the network switcher -exec netctltray - -# Toggle music playback +# 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 -# 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+Shift+y exec passmenu --type # 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 hide_edge_borders none # start a terminal -bindsym $mod+Return exec i3-sensible-terminal +bindsym $mod+Return exec urxvtc + +# lock +bindsym $mod+l exec xautolock -locknow # kill focused window bindsym $mod+Shift+quotedbl kill @@ -54,10 +48,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 @DEFAULT_SINK@ toggle +bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% +bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% # move focused window bindsym $mod+Shift+h move left @@ -141,6 +136,5 @@ bindsym $mod+p mode "resize" # finds out, if available) bar { status_command i3status - modifier $mod font pango:$font $fontsize }