|
|
# German keyboard layout
|
|
|
exec --no-startup-id setxkbmap {{ i3_xkbmap }}
|
|
|
|
|
|
# i3 config file (v4)
|
|
|
#
|
|
|
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
|
|
|
|
|
# Meta key as modifier
|
|
|
set $mod Mod4
|
|
|
|
|
|
# Font for window titles. Will also be used by the bar unless a different font
|
|
|
# is used in the bar {} block below.
|
|
|
#font pango:monospace 8
|
|
|
|
|
|
# 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 pango:DejaVu Sans 12
|
|
|
|
|
|
# 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.
|
|
|
|
|
|
# change focus
|
|
|
bindsym $mod+j focus left
|
|
|
bindsym $mod+k focus down
|
|
|
bindsym $mod+l focus up
|
|
|
bindsym $mod+semicolon focus right
|
|
|
|
|
|
# alternatively, you can use the cursor keys:
|
|
|
bindsym $mod+Left focus left
|
|
|
bindsym $mod+Down focus down
|
|
|
bindsym $mod+Up focus up
|
|
|
bindsym $mod+Right focus right
|
|
|
|
|
|
# move focused window
|
|
|
bindsym $mod+Shift+j move left
|
|
|
bindsym $mod+Shift+k move down
|
|
|
bindsym $mod+Shift+l move up
|
|
|
bindsym $mod+Shift+semicolon 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+h split h
|
|
|
|
|
|
# split in vertical orientation
|
|
|
bindsym $mod+v split v
|
|
|
|
|
|
# enter fullscreen mode for the focused container
|
|
|
bindsym $mod+f fullscreen toggle
|
|
|
|
|
|
# change container layout (stacked, tabbed, toggle split)
|
|
|
bindsym $mod+s layout stacking
|
|
|
bindsym $mod+w layout tabbed
|
|
|
bindsym $mod+e layout toggle split
|
|
|
|
|
|
# change focus between tiling / floating windows
|
|
|
bindsym $mod+space focus mode_toggle
|
|
|
|
|
|
# focus the parent container
|
|
|
bindsym $mod+a focus parent
|
|
|
|
|
|
# reload the configuration file
|
|
|
bindsym $mod+Shift+c reload
|
|
|
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
|
|
bindsym $mod+Shift+r restart
|
|
|
# exit i3 (logs you out of your X session)
|
|
|
bindsym $mod+Shift+e exec "i3-msg exit"
|
|
|
|
|
|
# poweroff computer
|
|
|
bindsym $mod+Control+s exec "systemctl poweroff"
|
|
|
# reboot computer
|
|
|
bindsym $mod+Control+r exec "systemctl reboot"
|
|
|
|
|
|
# Chromium Key Bindings, see https://support.google.com/chrome/answer/157179?co=GENIE.Platform%3DDesktop&hl=en
|
|
|
bindsym --release Super_L exec "xdotool key Alt_L+Home" # open homepage on windows button
|
|
|
|
|
|
exec --no-startup-id xsetroot -solid {{ i3_background | quote }}
|
|
|
|
|
|
exec --no-startup-id {{ autostart_script | quote }}
|
|
|
|
|
|
# Disable screensaver / power saving functions turning display off after a certain timeout
|
|
|
exec xset s off
|
|
|
exec xset -dpms
|
|
|
|
|
|
bindsym $mod+t exec --no-startup-id "xterm"
|