Create live-image for Grit OS

config 7.1KB

    # 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! # the modifier set $mod Mod4 # tags for our workspaces set $tag1 "1: intro" set $tag2 "2" set $tag3 "3" set $tag4 "4" set $tag5 "5" set $tag6 "6" set $tag7 "7" set $tag8 "8" set $tag9 "9" set $tag10 "10" # colors set $black #000000 set $white #ffffff set $blue #00b1d7 set $gray #7e7371 set $red #c92601 # 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--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, 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 # configure window colors client.focused $black $black $blue $red client.focused_inactive $black $black $gray $red client.unfocused $black $black $gray $red client.urgent $black $black $red $red # borders hide_edge_borders both # use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod # enable/disable following the mouse focus_follows_mouse no # 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 -i -b -nb "$black" -nf "$gray" -sb "$black" -sf "$blue" -fn "xft:Inconsolata:size=13" -p "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+h focus left bindsym $mod+j focus down bindsym $mod+k focus up bindsym $mod+l focus right # move focused window bindsym $mod+Shift+h move left bindsym $mod+Shift+j move down bindsym $mod+Shift+k move up bindsym $mod+Shift+l move right # split in horizontal orientation bindsym $mod+c 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 # scratchpad bindsym $mod+grave scratchpad show bindsym $mod+Shift+grave move scratchpad # workspace names workspace $tag1 output LVDS1 workspace $tag2 output LVDS1 workspace $tag3 output LVDS1 workspace $tag10 output LVDS1 # switch to workspace bindsym $mod+1 workspace $tag1 bindsym $mod+2 workspace $tag2 bindsym $mod+3 workspace $tag3 bindsym $mod+4 workspace $tag4 bindsym $mod+5 workspace $tag5 bindsym $mod+6 workspace $tag6 bindsym $mod+7 workspace $tag7 bindsym $mod+8 workspace $tag8 bindsym $mod+9 workspace $tag9 bindsym $mod+0 workspace $tag10 # move focused container to workspace bindsym $mod+Shift+1 move container to workspace $tag1 bindsym $mod+Shift+2 move container to workspace $tag2 bindsym $mod+Shift+3 move container to workspace $tag3 bindsym $mod+Shift+4 move container to workspace $tag4 bindsym $mod+Shift+5 move container to workspace $tag5 bindsym $mod+Shift+6 move container to workspace $tag6 bindsym $mod+Shift+7 move container to workspace $tag7 bindsym $mod+Shift+8 move container to workspace $tag8 bindsym $mod+Shift+9 move container to workspace $tag9 bindsym $mod+Shift+0 move container to workspace $tag10 # 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 # toggle distraction free mode bindsym $mod+Escape bar mode toggle # volume and brightness controls bindsym $mod+plus exec /usr/bin/amixer -D pulse set Master 5%+ bindsym $mod+minus exec /usr/bin/amixer -D pulse set Master 5%- bindsym $mod+m exec /usr/bin/amixer -D pulse set Master 1+ toggle bindsym $mod+bracketright exec /usr/bin/xbacklight -inc 10 bindsym $mod+bracketleft exec /usr/bin/xbacklight -dec 5 bindsym $mod+F8 exec /usr/bin/amixer -D pulse set Master 5%+ bindsym $mod+F7 exec /usr/bin/amixer -D pulse set Master 5%- bindsym $mod+F6 exec /usr/bin/amixer -D pulse set Master 1+ toggle bindsym $mod+F3 exec /usr/bin/xbacklight -inc 10 bindsym $mod+F2 exec /usr/bin/xbacklight -dec 5 bindsym $mod+F9 exec ~/dmenu/kbd-brightness-down bindsym $mod+F10 exec ~/dmenu/kbd-brightness-up bindsym $mod+F12 exec ~/dmenu/kbd-wifi-toggle # resize window (you can also use the mouse for that) mode "resize" { # These bindings trigger as soon as you enter the resize mode bindsym h resize shrink width 10 px or 10 ppt bindsym j resize grow height 10 px or 10 ppt bindsym k resize shrink height 10 px or 10 ppt bindsym l resize grow width 10 px or 10 ppt # back to normal: Enter or Escape bindsym Return mode "default" bindsym Escape mode "default" } bindsym $mod+r mode "resize" # how to exit the system set $mode_system system mode "$mode_system" { bindsym l exec --no-startup-id ~/.config/i3/i3exit lock, mode "default" bindsym e exec --no-startup-id ~/.config/i3/i3exit logout, mode "default" bindsym s exec --no-startup-id ~/.config/i3/i3exit suspend, mode "default" bindsym h exec --no-startup-id ~/.config/i3/i3exit hibernate, mode "default" bindsym r exec --no-startup-id ~/.config/i3/i3exit reboot, mode "default" bindsym Shift+s exec --no-startup-id ~/.config/i3/i3exit shutdown, mode "default" # back to normal: Enter or Escape bindsym Return mode "default" bindsym Escape mode "default" } bindsym $mod+Shift+BackSpace mode "$mode_system" # status bar bar { colors { background $black statusline $gray separator $white focused_workspace $black $black $blue active_workspace $black $black $blue inactive_workspace $black $black $gray urgent_workspace $black $black $red } position top status_command i3status workspace_buttons yes } # enable floating for some windows for_window [class="(?i)skype"] floating enable for_window [class="(?i)chromium" instance="^crx_" window_role="pop-up"] floating enable for_window [class="(?i)gource"] floating enable # some things belong in particular areas assign [class="(?i)chromium" instance="chromium"] $tag1 assign [class="(?i)thunderbird"] $tag2 assign [class="(?i).+xchat"] $tag3 # before autostart exec ~/.config/i3/autostart # autostart exec --no-startup-id xcompmgr exec --no-startup-id i3-msg 'workspace "1: intro";'