Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set $mod Mod4
- workspace_layout tabbed
- new_window 1pixel
- workspace_auto_back_and_forth yes
- # class border backgr. text indicator
- client.focused #87AF87 #87AF87 #000000 #87AF87
- client.focused_inactive #87AF87 #87AF87 #000000 #87AF87
- client.background #182818
- client.unfocused #87AF87 #1B4D1A #87AF87 #87AF87
- client.urgent #2f343a #1B4D1A #ffffff #900000
- default_orientation vertical
- # font for window titles. ISO 10646 = Unicode
- font -hell-monobook-bold-r-normal--16-160-72-72-m-80-iso10646-1
- #font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
- # Use Mouse+$mod to drag floating windows to their wanted position
- floating_modifier $mod
- #bindsym XF86ScreenSaver exec kb496d
- # start a terminal
- bindsym Mod1+Ctrl+f exec term
- # kill focused window
- bindsym $mod+Q kill
- # start dmenu (a program launcher)
- bindsym Mod1+grave exec dmenu_run -p 'Run:' -nb '#182818' -nf '#87AF87' -sb '#87AF87' -sf '#000000' -fn -elite-terminal-bold-r-normal--14-140-72-72-c-80-koi8-r
- # change focus
- #bindsym $mod+j focus left
- #bindsym $mod+k focus down
- #bindsym $mod+l focus up
- #bindsym $mod+semicolon focus right
- bindsym Ctrl+k focus right
- bindsym Ctrl+m focus down
- bindsym Ctrl+i focus up
- bindsym Ctrl+j focus left
- # 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 Ctrl+Shift+J move left
- bindsym Ctrl+Shift+M move down
- bindsym Ctrl+Shift+I move up
- bindsym Ctrl+Shift+K move right
- #bindsym Ctrl+Shift+k focus right
- #bindsym Ctrl+Shift+m focus down
- #bindsym Ctrl+Shift+i focus up
- #bindsym Ctrl+Shift+j focus left
- # 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 Mod1+Return fullscreen
- # change containe layout (stacked, tabbed, default)
- bindsym Mod4+s layout stacking
- bindsym Mod4+w layout tabbed
- bindsym Mod4+e layout default
- # 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
- #bindcode $mod+d focus child
- # switch to workspace
- bindsym Mod1+1 workspace 1:term
- bindsym Mod1+2 workspace 2:web
- bindsym Mod1+3 workspace 3:mail
- bindsym Mod1+4 workspace 4:misc1
- bindsym Mod1+5 workspace 5:misc2
- bindsym Mod1+6 workspace 6:misc3
- bindsym Mod1+7 workspace 7:draw
- bindsym Mod1+8 workspace 8:sql
- bindsym Mod1+9 workspace 9:skype
- bindsym Mod1+0 workspace 10:music
- # move focused container to workspace
- bindsym Mod1+Shift+exclam move container to workspace 1:term
- bindsym Mod1+Shift+at move container to workspace 2:web
- bindsym Mod1+Shift+numbersign move container to workspace 3:mail
- bindsym Mod1+Shift+dollar move container to workspace 4:misc1
- bindsym Mod1+Shift+percent move container to workspace 5:misc2
- bindsym Mod1+Shift+asciicircum move container to workspace 6:misc3
- bindsym Mod1+Shift+ampersand move container to workspace 7:draw
- bindsym Mod1+Shift+asterisk move container to workspace 8:sql
- bindsym Mod1+Shift+parenleft move container to workspace 9:skype
- bindsym Mod1+Shift+parenright move container to workspace 10:music
- #assing windows to workspaces
- #assign [class="^Firefox$" instance="^Navigator$"] \u2192 8: web
- bindsym Mod4+k exec mpc toggle
- bindsym Mod4+l exec mpc next
- bindsym Mod4+j exec mpc prev
- bindsym Mod4+o exec aumix -v +5
- bindsym Mod4+m exec aumix -v -5
- bindsym Mod4+4 exec g 1
- bindsym Mod4+3 exec gamma3
- bindsym Mod4+2 exec gamma2
- bindsym Mod4+1 exec gamma1
- bindsym Mod4+Shift+V [title=".*?VIM.*?"] focus
- bindsym Mod4+Shift+B [title=".*?Pentadactyl"] focus
- bindsym Mod4+Shift+M [title="mutt.*?"] focus
- bindsym Mod4+Shift+S [title="SQLyog.*?"] focus
- bindsym Mod4+Shift+G [class="Gimp" instance="gimp" window_role="gimp-image-window"] focus
- for_window [class="^Skype$" instance="^skype$"] move container to workspace 9:skype
- for_window [class="^Skype$" instance="^skype$"] floating enable
- for_window [class="^XVkbd$" instance="^xvkbd$"] floating enable
- bindsym Mod4+Shift+K [class="^Skype$" instance="^skype$" window_role="Chats"] focus
- #bindsym Mod4+Shift+K [class="^Skype$" instance="^skype$" window_role="Chats"] focus
- assign [class="^Firefox$" instance="^Navigator$"] 2:web
- assign [class="Gimp" instance="gimp"] 7:draw
- assign [class="MyPaint" instance="mypaint"] 7:draw
- for_window [class="Gimp" instance="gimp" window_role="gimp-toolbox"] floating disable
- for_window [class="MyPaint" instance="mypaint" window_role="Brush selector"] floating disable
- for_window [title=".*?Pentadactyl.*?"] move container to workspace 2:web
- for_window [class="Wine" instance="SQLyog.exe"] move container to workspace 8:sql
- for_window [title=".*?chat.*?"] move scratchpad
- #for_window [title="notes.txt.*?"] move scratchpad
- for_window [title="StarDict.*?"] move scratchpad
- #scratchpads
- #bindsym Mod4+R sctarchpad show
- bindsym Mod4+i [title=".*?chat.*?"] scratchpad show
- bindsym Ctrl+space [title=".*?dmesg.*?"] scratchpad show
- bindsym Mod4+n [title="notes.txt.*?"] scratchpad show
- bindsym Mod4+d [title="StarDict.*?"] scratchpad show
- bindsym Mod4+c [title="wifi"] scratchpad show
- bindsym Mod1+space scratchpad show
- #bindsym Mod4+i [title="chat"] scratchpad show
- bindsym Mod4+minus move scratchpad
- # 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 exit
- #lock screen
- bindsym Ctrl+Mod1+l exec lock
- #rotate screen
- bindsym XF86Explorer exec rotate
- #title toggle
- bindsym Mod1+t border normal
- bindsym Mod1+Shift+T border 1pixel
- #bindsym mod+u border none
- # 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 113 resize shrink width 10 px or 10 ppt
- bindsym 116 resize grow height 10 px or 10 ppt
- bindsym 111 resize shrink height 10 px or 10 ppt
- bindsym 114 resize grow width 10 px or 10 ppt
- # back to normal: Enter or Escape
- bindsym Return mode "default"
- bindsym grave mode "default"
- }
- bindsym $mod+r mode "resize"
- # Start i3bar to display a workspace bar (plus the system information i3status
- bar {
- workspace_buttons yes
- tray_output primary
- #status_command i3status conky|dzen2
- status_command myi3status
- #status_command i3status -c ~/.i3status.conf
- #position top
- mode dock
- colors {
- background #182818
- #background #000000
- statusline #87AF87
- #client.focused #87AF87 #87AF87 #000000 #87AF87
- #client.focused_inactive #87AF87 #000000 #87AF87 #87AF87
- #client.unfocused #87AF87 #000000 #87B07F #87AF87
- focused_workspace #000000 #87AF87
- active_workspace #ffffff #DA70D6
- inactive_workspace #87AF87 #182818
- urgent_workspace #ffffff #32CD32
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement