Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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
- # Use Mouse+$mod to drag floating windows to their wanted position
- floating_modifier $mod
- # start a terminal
- bindsym $mod+Return exec urxvt
- # kill focused window
- bindsym $mod+q kill
- # shutdown/log out dialog
- bindsym $mod+k exec $HOME/Launchers/i3shutdown
- # lock the screen
- #bindsym $mod+l exec i3lock -i $HOME/Pictures/Wallpapers/Tye/Broken-Windows-Error.png -p win
- bindsym $mod+l exec xscreensaver-command -lock
- # 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
- bindsym $mod+d exec kupfer
- # focus containers
- bindsym $mod+Left focus left
- bindsym $mod+Down focus down
- bindsym $mod+Up focus up
- bindsym $mod+Right focus right
- # move focused containers
- 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 vertical/horizontal orientation
- bindsym $mod+h split h
- bindsym $mod+v split v
- # enter fullscreen mode for the focused container
- bindsym $mod+f fullscreen
- # default container layout (stacked, tabbed, toggle split, floating)
- workspace_layout tabbed
- # change container layout
- bindsym $mod+s layout stacking
- bindsym $mod+w layout tabbed
- bindsym $mod+e layout toggle split
- bindsym $mod+Shift+space floating toggle
- # change focus between tiling/floating windows
- bindsym $mod+space focus mode_toggle
- # focus parent/child
- bindsym $mod+Shift+a focus parent
- bindsym $mod+a focus child
- # assign workspace names
- set $ws1 1: Main
- set $ws2 2: Editing
- set $ws3 3
- set $ws4 4
- set $ws5 5
- set $ws6 6
- set $ws7 7
- set $ws8 8: Media
- set $ws9 9: Games
- set $ws10 10: Steam
- # switch to workspace
- bindsym $mod+1 workspace $ws1
- bindsym $mod+2 workspace $ws2
- bindsym $mod+3 workspace $ws3
- bindsym $mod+4 workspace $ws4
- bindsym $mod+5 workspace $ws5
- bindsym $mod+6 workspace $ws6
- bindsym $mod+7 workspace $ws7
- bindsym $mod+8 workspace $ws8
- bindsym $mod+9 workspace $ws9
- bindsym $mod+0 workspace $ws10
- # move focused container to workspace
- bindsym $mod+Shift+1 move container to workspace $ws1
- bindsym $mod+Shift+2 move container to workspace $ws2
- bindsym $mod+Shift+3 move container to workspace $ws3
- bindsym $mod+Shift+4 move container to workspace $ws4
- bindsym $mod+Shift+5 move container to workspace $ws5
- bindsym $mod+Shift+6 move container to workspace $ws6
- bindsym $mod+Shift+7 move container to workspace $ws7
- bindsym $mod+Shift+8 move container to workspace $ws8
- bindsym $mod+Shift+9 move container to workspace $ws9
- bindsym $mod+Shift+0 move container to workspace $ws10
- # program specific stuff
- # assigns
- assign [class="(Firefox|Gnome-terminal|Nemo|Conky)"] $ws1
- assign [title="(Palace.*)"] $ws1
- assign [class="(Gimp)"] $ws2
- assign [class="(smplayer|xbmc.bin)"] $ws8
- assign [class="TheGame_NFML"] $ws9
- assign [class="^(?!Steam)" title="(StarConflict.*|Trine|Spiral.*|Iesabel|The Witcher.*|Teslagrad|Dust:.*|Bastion|Painkiller.*|RaceTheSun|Rochard)"] $ws9
- assign [class="(Steam)"] $ws10
- for_window [class="URxvt"] move to scratchpad
- # automatically focus certain windows when they open
- for_window [class="(Gimp|smplayer|xbmc.bin|Steam|TheGame_NFML)"] focus
- for_window [title="(StarConflict.*|Trine|Spiral.*|Iesabel|The Witcher.*|Teslagrad|Dust:.*|Bastion|Painkiller.*|RaceTheSun|Rochard)"] focus
- # automatically change the behaviour of certain windows
- for_window [class="Wine" title="(Palace.*)"] split v
- for_window [class="Wine" title="(Palace.*|.*~BC.*)"] floating disable
- for_window [class="Wine" title=".*~BC.*"] [class="Wine" title="Palace.*"] split h # tile horizontally at the palace client window when the log is open
- for_window [class="(Wine|Kupfer.py)"] border none # remove the border from all wine windows, since they draw their own anyway
- # scratch pad
- # move current window to scratch pad
- bindsym $mod+Shift+asciitilde move scratchpad
- # toggle showing scratch pad
- bindsym $mod+asciitilde scratchpad show
- # 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
- # resize window (you can also use the mouse for that)
- mode "Resize" {
- # "control"
- bindsym Control+Left resize shrink width 1 px or 1 ppt
- bindsym Control+Right resize grow width 1 px or 1 ppt
- bindsym Control+Up resize shrink height 1 px or 1 ppt
- bindsym Control+Down resize grow height 1 px or 1 ppt
- # normal
- bindsym Left resize shrink width 10 px or 10 ppt
- bindsym Right resize grow width 10 px or 10 ppt
- bindsym Up resize shrink height 10 px or 10 ppt
- bindsym Down resize grow height 10 px or 10 ppt
- # run
- bindsym Shift+Left resize shrink width 20 px or 20 ppt
- bindsym Shift+Right resize grow width 20 px or 20 ppt
- bindsym Shift+Up resize shrink height 20 px or 20 ppt
- bindsym Shift+Down resize grow height 20 px or 20 ppt
- # return
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- bindsym $mod+r mode "Resize"
- # move containers
- mode "Move" {
- # "control"
- bindsym Control+Left move left 1 px
- bindsym Control+Right move right 1 px
- bindsym Control+Up move up 1 px
- bindsym Control+Down move down 1 px
- # normal
- bindsym Left move left 10 px
- bindsym Right move right 10 px
- bindsym Up move up 10 px
- bindsym Down move down 10 px
- # run
- bindsym Shift+Left move left 20 px
- bindsym Shift+Right move right 20 px
- bindsym Shift+Up move up 20 px
- bindsym Shift+Down move down 20 px
- # return
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- bindsym $mod+m mode "Move"
- # media keys
- bindsym XF86AudioRaiseVolume exec $HOME/Launchers/volumeControl up
- bindsym XF86AudioLowerVolume exec $HOME/Launchers/volumeControl down
- bindsym XF86AudioMute exec $HOME/Launchers/volumeControl mute
- bindsym XF86AudioPlay exec mpc toggle
- bindsym XF86AudioStop exec mpc stop
- bindsym XF86AudioPrev exec $HOME/Launchers/mpcPrevSong.sh
- bindsym XF86AudioNext exec mpc next
- # aesthetics
- # Window border styles
- # normal = border normal, with window title bar;
- # none = no border or window title bar;
- # 1pixel = 1 pixel border.
- new_window none
- bindsym $mod+t border normal
- bindsym $mod+y border 1pixel
- bindsym $mod+u border none
- # font
- # font pango:family style size
- font pango:Ubuntu bold 8
- # colour defines
- # a = focused, active
- # i = focused, inactive
- # u = unfocused
- # b = bar
- # w = warn (urgent)
- set $texta #00aaff
- set $texti #005080
- set $textu #666666
- set $textb #0099cc
- set $textw #cc8800
- set $backgrounda #002255
- set $backgroundi #000000
- set $backgroundu #000000
- set $backgroundw #000000
- set $bordera #202020
- set $borderi #202020
- set $borderu #202020
- set $borderb #0099cc
- set $borderw #552200
- set $status #00aaff
- set $separator #202020
- # i3 colour scheme border background text
- client.focused $bordera $backgrounda $texta
- client.unfocused $borderu $backgroundu $textu
- client.focused_inactive $borderi $backgroundi $texti
- client.urgent $borderw $backgroundw $textw
- # click to focus new window, instead of just moving the mouse
- focus_follows_mouse no
- # i3status
- bar {
- status_command i3status --config ~/.i3/i3status.conf
- position top
- mode dock
- font pango:Ubuntu 8
- # i3status colour scheme
- colors {
- background $backgroundu
- statusline $status
- separator $separator
- # border background text
- focused_workspace $borderb $backgroundi $textb
- active_workspace $borderb $backgroundi $textb
- inactive_workspace $borderi $backgroundi $texti
- urgent_workspace $borderw $backgroundw $textw
- }
- }
- # auto starts
- exec --no-startup-id kupfer --no-splash
- exec --no-startup-id ~/.fehbg
- #exec --no-startup-id xautolock -time 60 -locker "i3lock -i $HOME/Pictures/Wallpapers/Tye/Broken-Windows-Error.png -p win"
- exec --no-startup-id xscreensaver
- exec --no-startup-id dunst
- exec --no-startup-id dropboxd
- exec --no-startup-id udiskie --tray
- exec --no-startup-id urxvt
- exec --no-startup-id tconk.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement