Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set $mod Mod4
- floating_modifier $mod
- #class backgr. border text
- client.focused #002b36 #268bd2 #825969
- client.focused_inactive #002b36 #657b83 #999999
- client.unfocused #002b36 #073642 #999999
- client.urgent #002b36 #859900 #2e3436
- client.background #002b36
- bindsym $mod+Return exec ~/scripts/urxvt
- # kill focused window
- bindsym $mod+Shift+q kill
- # start dmenu (a program launcher)
- bindsym $mod+d exec dmenu_run -p 'Hello:' -h 16 -fn Consolas-10 -nb '#002b36' -sb '#002b36' -nf '#657b83' -sf '#268bd2'
- # 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
- bindsym $mod+1 workspace 1:www
- bindsym $mod+2 workspace 2:dev
- bindsym $mod+3 workspace 3:media
- bindsym $mod+4 workspace 4:chats
- bindsym $mod+5 workspace 5:steam
- bindsym $mod+6 workspace 6:game
- bindsym $mod+7 workspace 7
- bindsym $mod+8 workspace 8
- bindsym $mod+9 workspace 9
- bindsym $mod+0 workspace 10
- # move focused container to workspace
- bindsym $mod+Shift+1 move container to workspace 1:www
- bindsym $mod+Shift+2 move container to workspace 2:dev
- bindsym $mod+Shift+3 move container to workspace 3:media
- bindsym $mod+Shift+4 move container to workspace 4:chats
- bindsym $mod+Shift+5 move container to workspace 5:steam
- bindsym $mod+Shift+6 move container to workspace 6:game
- bindsym $mod+Shift+7 move container to workspace 7
- bindsym $mod+Shift+8 move container to workspace 8
- bindsym $mod+Shift+9 move container to workspace 9
- bindsym $mod+Shift+0 move container to workspace 10
- bindsym XF86AudioRaiseVolume exec "amixer sset Master 5%+"
- bindsym XF86AudioLowerVolume exec "amixer sset Master 5%-"
- bindsym XF86AudioPlay exec "deadbeef --play-pause"
- bindsym XF86AudioPrev exec "deadbeef --prev"
- bindsym XF86AudioNext exec "deadbeef --next"
- bindsym Print exec "scrot '%m-%d-%H:%M:%S_screen.png' -e '~/scripts/png_shrink.py $f; mv $f ~/scrot'"
- assign [class="^Firefox$"] → 1:www
- assign [class="^Subl3$"] → 2:dev
- assign [class="^jetbrains-pycharm$"] → 2:dev
- assign [class="^Transmission-gtk$"] → 3:media
- assign [class="^Deadbeef$"] → 3:media
- assign [class="^Vlc$"] → 3:media
- assign [class="^mplayer2$"] → 3:media
- assign [class="^Gimp$"] → 3:media
- assign [class="^Gajim$"] → 4:chats
- assign [class="^Steam$"] → 5:steam
- assign [class="^hl2_linux$"] → 6:game
- assign [class="^Wine$" instance="^Steam.exe$"] → 5:steam
- assign [class="^Wine$"] → 6:game
- # for_window [class="^Vlc$"] floating enable
- # for_window [class="^Wine$"] floating enable
- # for_window [class="^Steam$"] floating enable
- for_window [class="^Wine$" instance="^Tqit.exe$"] floating enable
- for_window [class="^Wine$" instance="^CivilizationV.exe$"] floating enable
- for_window [class="^lxappearance$"] floating enable
- for_window [title="Tiny ship"] floating enable
- # 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 restartq
- # 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'"
- mode "resize" {
- 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
- 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
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- bindsym $mod+r mode "resize"
- font pango:Consolas 10
- new_window 1pixel
- new_float 1pixel
- # Start i3bar to display a workspace bar (plus the system information i3status
- # finds out, if available)
- bar {
- status_command ~/scripts/dzenrc
- position top
- colors {
- background #002b36
- statusline #657b83
- separator #268bd2
- # class border backgr. text
- focused_workspace #002b36 #002b36 #268bd2
- active_workspace #002b36 #002b36 #859900
- inactive_workspace #002b36 #002b36 #657b83
- urgent_workspace #002b36 #002b36 #859900
- }
- }
- exec --no-startup-id setxkbmap -layout 'us,ru' -option 'grp:caps_toggle,grp_led:scroll'
- exec --no-startup-id sh ~/.fehbgq
Advertisement
Add Comment
Please, Sign In to add comment