X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=.config%2Fi3%2Fconfig;h=62adfd0b96cc1111b6f74af31358d13bb1cd4f45;hb=59341d0430a1e1b51be924d969628bee99e7fe36;hp=823f9bcce1e7b8a039266637e6bfac6ff9768976;hpb=61d1f412efa1a69861ab48328300cb7eec2cd305;p=dotfiles.git diff --git a/.config/i3/config b/.config/i3/config index 823f9bc..62adfd0 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -11,44 +11,37 @@ set $mod Mod4 -exec xautolock -locker 'i3lock -c ccff00; systemctl suspend' +# lock the screen after 10 minutes +exec xautolock -locker \ + 'sudo -K; echo RELOADAGENT | gpg-connect-agent; i3lock -c ccff00' +# set a background exec convert -size 1600x900 plasma:fractal -modulate 20,100,10 png:- | display -window root +# set the backlight exec xbacklight -set 50 +# set the network switcher exec netctltray -# Custom keybindings +# lock the screen bindsym $mod+l exec xautolock -locknow + +# put a password in the clipboard bindsym $mod+p exec passmenu -# Font for window titles. Will also be used by the bar unless a different font -# is used in the bar {} block below. -# This font is widely installed, provides lots of unicode glyphs, right-to-left -# text rendering and scalability on retina/hidpi displays (thanks to pango). +# font for window titles. font pango:DejaVu Sans Mono 8 -# Before i3 v4.8, we used to recommend this one as the default: -# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -# The font above is very space-efficient, that is, it looks good, sharp and -# clear in small sizes. However, its unicode glyph coverage is limited, the old -# X core fonts rendering does not support right-to-left and this being a bitmap -# font, it doesn’t scale on retina/hidpi displays. - -# Use Mouse+$mod to drag floating windows to their wanted position + +# 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 - # kill focused window bindsym $mod+Shift+quotedbl kill -# start dmenu (a program launcher) -bindsym $mod+e exec dmenu_run -# There also is the (new) i3-dmenu-desktop which only displays applications -# shipping a .desktop file. It is a wrapper around dmenu, so you need that -# installed. -# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop +# start dmenu +bindsym $mod+e exec dmenu_run -i -f -fn 'xft:DejaVu Sans Mono:style=Book:pixelsize=12' # change focus bindsym $mod+h focus left @@ -68,12 +61,6 @@ bindsym $mod+Shift+t move down bindsym $mod+Shift+n move up bindsym $mod+Shift+s move right -# alternatively, you can use the cursor keys: -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - # split in horizontal orientation bindsym $mod+d split h