Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # =======================================================
- set $tag1 "1: Web"
- set $tag2 "2: Code"
- set $tag3 "3: Terminal"
- set $tag4 "4: Other"
- set $tag5 "5: Photoshop"
- # =======================================================
- set $black #212121
- set $darkblack #000000
- set $red #fb4934
- set $darkred #cc241d
- set $green #b8bb26
- set $darkgreen #98971a
- set $yellow #fabd2f
- set $darkyellow #d79921
- set $blue #83a598
- set $darkblue #458588
- set $magenta #d3869b
- set $darkmagenta #b16286
- set $cyan #8ec07c
- set $darkcyan #689d6a
- set $white #ebdbb2
- set $darkwhite #a89984
- set $transparent #1d202100
- workspace_auto_back_and_forth yes
- force_display_urgency_hint 0 ms
- focus_on_window_activation urgent
- floating_minimum_size -1 x -1
- floating_maximum_size -1 x -1
- font pango:Hack, FontAwesome 12
- # BORDER BACKGROUND TEXT INDICATOR CHILD_BORDER
- client.focused $black $black $yellow $yellow $yellow
- client.unfocused $black $black $white $black $darkyellow
- client.focused_inactive $black $black $white $black $darkyellow
- client.urgent $darkred $darkred $black $darkblue $darkred
- client.background $black
- set $mod Mod4
- floating_modifier $mod
- bindsym $mod+Return exec i3-sensible-terminal
- bindsym $mod+c kill
- bindsym $mod+r exec dmenu_run
- # change focus
- 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+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 toggle
- # 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 $tag1
- bindsym $mod+2 workspace $tag2
- bindsym $mod+3 workspace $tag3
- bindsym $mod+4 workspace $tag4
- bindsym $mod+5 workspace $tag5
- # 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+o move workspace to output left
- # reload the configuration file
- bindsym $mod+Shift+r reload
- # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
- bindsym $mod+Shift+Control+r restart
- # exit i3 (logs you out of your X session)
- bindsym $mod+Shift+q 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'"
- # 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 eacute 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"
- }
- bindsym $mod+t mode "resize"
- bindsym $mod+s exec subl
- bindsym $mod+p exec ~/phpstorm/bin/phpstorm.sh
- bindsym $mod+g exec google-chrome
- bindsym $mod+y exec "google-chrome --app=http://localhost"
- bindsym $mod+n exec nautilus
- bindsym $mod+q mode "run"
- mode "run" {
- bindsym $mod+p exec "~/.wine/drive_c/Program\ Files\ \(x86\)/Adobe/Adobe\ Photoshop\ CS5/Photoshop.exe"
- bindsym Return mode "default"
- bindsym Escape mode "default"
- }
- bar {
- # verbose yes
- status_command i3blocks
- #i3bar_command i3bar -t
- position top
- font pango:Hack, FontAwesome 11
- strip_workspace_numbers yes
- separator_symbol "■"
- bindsym button4 nop
- bindsym button5 nop
- tray_output eDP1
- tray_output LVDS-0
- tray_padding 0
- height 34
- colors {
- statusline $white
- background $transparent
- separator $yellow
- # BORDER BACKGROUND TEXT
- focused_workspace $transparent $transparent $yellow
- inactive_workspace $transparent $transparent $white
- active_workspace $transparent $transparent $white
- urgent_workspace $darkred $darkred $transparent
- binding_mode $transparent $transparent $yellow
- }
- }
- # gaps
- set $default_gaps_inner 15
- set $default_gaps_outer 0
- gaps inner $default_gaps_inner
- gaps outer $default_gaps_outer
- smart_gaps on
- assign [instance="localhost"] $tag3
- assign [class="google-chrome"] $tag1
- assign [class="Sublime_text"] $tag2
- assign [class="jetbrains-phpstorm"] $tag2
- assign [class="X-terminal-emulator"] $tag3
- assign [class="Photoshop.exe"] $tag5
- assign [class="Nautilus"] $tag4
- # background
- exec --no-startup-id feh --bg-center ~/Backgrounds/fish.jpg
- # compton
- exec --no-startup-id --config .config/compton.conf -b
- for_window [class="^.*"] border pixel 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement