Created
January 28, 2020 09:20
-
-
Save vanatteveldt/1ec9efb500dbe4b49b23f9f526a9fc20 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 somewhen, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see http://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. ISO 10646 = Unicode | |
#font -misc-fixed-medium-r-normal--16-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, if you need a lot of unicode glyphs or | |
# right-to-left text rendering, you should instead use pango for rendering and | |
# chose a FreeType font, such as: | |
# font pango:DejaVu Sans Mono 10 | |
# font for window titles. ISO 10646 = Unicode | |
# font pango: M+ 1m, FontAwesome, Ionicons, 16 | |
# font pango: M+ 1m, FontAwesome, Ionicons, 10 | |
font pango:Source Code Pro 10px | |
# colors | |
# from: https://gist.github.com/paulbdavis/4956329 | |
# client.focused #688060 #688060 #303030 #ffcfaf | |
client.focused #dcdccc #dcdccc #3c3b37 #ffcfaf | |
client.focused_inactive #3c3b37 #3c3b37 #7f9f7f #3c3b37 | |
client.unfocused #3c3b37 #3c3b37 #dcdccc #3c3b37 | |
client.urgent #dca3a3 #dca3a3 #dcdccc #3c3b37 | |
# Use Mouse+$mod to drag floating windows to their wanted position | |
floating_modifier $mod | |
# start a terminal | |
bindsym $mod+Return exec i3-sensible-terminal | |
# kill focused window | |
bindsym $mod+Shift+q kill | |
# start dmenu (a program launcher) | |
bindsym $mod+d 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 | |
# 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 | |
# change container layout (stacked, tabbed, toggle split) | |
bindsym $mod+s layout stacking | |
bindsym $mod+w layout tabbed | |
bindsym $mod+e 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+a focus parent | |
# focus the child container | |
#bindsym $mod+d focus child | |
# switch to workspace | |
set $oa DP-0 | |
set $ob HDMI-0 | |
set $ws1a "1a" | |
set $ws1b "1b" | |
set $ws2a "2a" | |
set $ws2b "2b" | |
set $ws3a "3a" | |
set $ws3b "3b" | |
set $ws4a "4a" | |
set $ws4b "4b" | |
set $ws5a "5a" | |
set $ws5b "5b" | |
set $ws6a "6a" | |
set $ws6b "6b" | |
set $ws7a "7a" | |
set $ws7b "7b" | |
set $ws8a "8a" | |
set $ws8b "8b" | |
set $ws9a "9a" | |
set $ws9b "9b" | |
set $ws10a "10a" | |
set $ws10b "10b" | |
workspace $ws1a output $oa | |
workspace $ws1b output $ob | |
workspace $ws2a output $oa | |
workspace $ws2b output $ob | |
workspace $ws3a output $oa | |
workspace $ws3b output $ob | |
workspace $ws4a output $oa | |
workspace $ws4b output $ob | |
workspace $ws5a output $oa | |
workspace $ws5b output $ob | |
workspace $ws6a output $oa | |
workspace $ws6b output $ob | |
workspace $ws7a output $oa | |
workspace $ws7b output $ob | |
workspace $ws8a output $oa | |
workspace $ws8b output $ob | |
workspace $ws9a output $oa | |
workspace $ws9b output $ob | |
workspace $ws10a output $oa | |
workspace $ws10b output $ob | |
bindsym $mod+1 workspace $ws1a; workspace $ws1b | |
bindsym $mod+2 workspace $ws2a; workspace $ws2b | |
bindsym $mod+3 workspace $ws3a; workspace $ws3b | |
bindsym $mod+4 workspace $ws4a; workspace $ws4b | |
bindsym $mod+5 workspace $ws5a; workspace $ws5b | |
bindsym $mod+6 workspace $ws6a; workspace $ws6b | |
bindsym $mod+7 workspace $ws7a; workspace $ws7b | |
bindsym $mod+8 workspace $ws8a; workspace $ws8b | |
bindsym $mod+9 workspace $ws9a; workspace $ws9b | |
bindsym $mod+0 workspace $ws10a; workspace $ws10b | |
# move focused container to workspace | |
bindsym $mod+Shift+1 move container to workspace 1a | |
bindsym $mod+Shift+2 move container to workspace 2a | |
bindsym $mod+Shift+3 move container to workspace 3a | |
bindsym $mod+Shift+4 move container to workspace 4a | |
bindsym $mod+Shift+5 move container to workspace 5a | |
bindsym $mod+Shift+6 move container to workspace 6a | |
bindsym $mod+Shift+7 move container to workspace 7a | |
bindsym $mod+Shift+8 move container to workspace 8a | |
bindsym $mod+Shift+9 move container to workspace 9a | |
bindsym $mod+Shift+0 move container to workspace 10a | |
# 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" | |
bindsym $mod+i exec "mate-panel --run-dialog" | |
# 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 semicolon 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 | |
bindsym Return mode "default" | |
bindsym Escape mode "default" | |
} | |
bar { | |
tray_output None | |
mode invisible | |
colors { | |
background #000000 | |
statusline #ffffff | |
separator #666666 | |
focused_workspace #4c7899 #285577 #ffffff | |
active_workspace #333333 #5f676a #ffffff | |
inactive_workspace #333333 #222222 #888888 | |
urgent_workspace #2f343a #900000 #ffffff | |
binding_mode #2f343a #900000 #ffffff | |
} | |
} | |
bindsym $mod+r mode "resize" | |
# Start i3bar to display a workspace bar (plus the system information i3status | |
# finds out, if available) | |
exec dropbox start | |
hide_edge_borders both | |
mouse_warping none | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment