# This file has been auto-generated by i3-config-wizard(1). # It will not be overwritten, so edit it as you like. # # Should you change your keyboard layout some time, delete # this file and re-run i3-config-wizard(1). # # i3 config file (v4) # # Please see https://i3wm.org/docs/userguide.html for a complete reference! 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 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 floating_modifier $mod workspace_layout tabbed bindsym $mod+Return exec i3-sensible-terminal # start dmenu (a program launcher) bindsym $mod+y exec dmenu_run # start a terminal and other applications bindsym $mod+x exec urxvt bindsym $mod+c exec pcmanfm bindsym $mod+v exec strategist; workspace "1: system" bindsym $mod+b exec chromium-browser; workspace "3: web" bindsym $mod+m exec exec sylpheed; workspace "2: contact" bindsym $mod+n exec gedit bindsym $mod+F3 exec /home/imre/.screenlayout/lakas.sh assign [class="Strategist"] "1: system" assign [class="Sylpheed"] "2: contact" assign [class="Chromium"] "3: web" bindsym Print exec "scrot /home/imre/screenshots/$(date +%y%m%d_%H%M%S).png" bindsym $mod+0 exec amixer -c 0 sset Master playback 0% bindsym $mod+1 exec amixer -c 0 sset Master playback 10% bindsym $mod+2 exec amixer -c 0 sset Master playback 20% bindsym $mod+3 exec amixer -c 0 sset Master playback 30% bindsym $mod+4 exec amixer -c 0 sset Master playback 40% bindsym $mod+5 exec amixer -c 0 sset Master playback 50% bindsym $mod+6 exec amixer -c 0 sset Master playback 60% bindsym $mod+7 exec amixer -c 0 sset Master playback 70% bindsym $mod+8 exec amixer -c 0 sset Master playback 80% bindsym $mod+9 exec amixer -c 0 sset Master playback 90% bindsym $mod+odiaeresis exec amixer -c 0 sset Master playback 100% bindsym $mod+Shift+q exec poweroff # kill focused window bindsym $mod+d kill # change focus bindsym $mod+u focus left bindsym $mod+i focus down bindsym $mod+o focus up bindsym $mod+p focus right # move focused window bindsym $mod+Shift+u move left bindsym $mod+Shift+i move down bindsym $mod+Shift+o move up bindsym $mod+Shift+p move right # split in horizontal orientation bindsym $mod+e split h # split in vertical orientation bindsym $mod+w split v # enter fullscreen mode for the focused container bindsym $mod+f fullscreen toggle # change container layout (stacked, tabbed, toggle split) bindsym $mod+a layout stacking bindsym $mod+s layout tabbed bindsym $mod+g layout toggle split # toggle tiling / floating bindsym $mod+Shift+space floating toggle # change focus between tiling / floating windows bindsym $mod+space focus mode_toggle # focus the parent container # bindsym $mod+9 focus parent # focus the child container # bindsym $mod+8 focus child # Define names for default workspaces for which we configure key bindings later on. # We use variables to avoid repeating the names in multiple places. set $ws1 "1: system" set $ws2 "2: contact" set $ws3 "3: web" set $ws4 "4: prog" set $ws5 "5: temp" set $ws6 "6: extra" set $ws7 "0: magic" set $ws8 "8" set $ws9 "9" set $ws10 "10" # switch to workspace bindsym $mod+h workspace $ws1 bindsym $mod+j workspace $ws2 bindsym $mod+k workspace $ws3 bindsym $mod+l workspace $ws4 bindsym $mod+eacute workspace $ws5 bindsym $mod+aacute workspace $ws6 bindsym $mod+z workspace $ws7 # bindsym $mod+1 workspace $ws8 # bindsym $mod+2 workspace $ws9 # bindsym $mod+odiaeresis workspace $ws10 # move focused container to workspace bindsym $mod+Shift+h move container to workspace $ws1 bindsym $mod+Shift+j move container to workspace $ws2 bindsym $mod+Shift+k move container to workspace $ws3 bindsym $mod+Shift+l move container to workspace $ws4 bindsym $mod+Shift+eacute move container to workspace $ws5 bindsym $mod+Shift+aacute move container to workspace $ws6 bindsym $mod+Shift+z move container to workspace $ws7 # bindsym $mod+Shift+1 move container to workspace $ws8 # bindsym $mod+Shift+2 move container to workspace $ws9 # bindsym $mod+Shift+odiaeresis move container to workspace $ws10 # 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-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" # resize window (you can also use the mouse for that) mode "resize" { # These bindings trigger as soon as you enter the resize mode # Pressing left will shrink the window’s width. # Pressing right will grow the window’s width. # Pressing up will shrink the window’s height. # Pressing down will grow the window’s height. bindsym j resize shrink width 10 px or 10 ppt bindsym k resize grow height 10 px or 10 ppt bindsym l resize shrink height 10 px or 10 ppt bindsym eacute resize grow width 10 px or 10 ppt # same bindings, but for the arrow keys bindsym Left resize shrink width 10 px or 10 ppt bindsym Down resize grow height 10 px or 10 ppt bindsym Up resize shrink height 10 px or 10 ppt bindsym Right resize grow width 10 px or 10 ppt # back to normal: Enter or Escape or $mod+r bindsym Return mode "default" bindsym Escape mode "default" bindsym $mod+r mode "default" } bindsym $mod+r mode "resize" # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { status_command i3status position top mode hide hidden_state hide modifier Mod1 } exec --no-startup-id feh --bg-scale /home/imre/wallpapers/sea.jpg hide_edge_borders both # class border backgr. text indicator child_border client.focused #444444 #111111 #ffffff #0000ff #0000ff client.focused_inactive #222222 #000000 #888888 #000088 #000088 client.unfocused #222222 #000000 #888888 #000088 #000088 client.urgent #222222 #900000 #ffffff #900000 #900000 client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c client.background #ffffff