Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Modifier
- set $mod Mod4
- # Font
- font pango:System San Francisco 9
- # Drag floating windows
- floating_modifier $mod
- # Start a terminal
- bindsym $mod+Return exec i3-sensible-terminal
- # Kill focused window
- bindsym $mod+Shift+q kill
- # 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
- bindsym $mod+f fullscreen toggle
- # Change container layout
- 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
- # Set workspace label
- set $workspace1 "1 "
- set $workspace2 "2 "
- set $workspace3 "3 "
- set $workspace4 "4 "
- set $workspace5 "5 "
- set $workspace6 "6 "
- set $workspace7 "7 "
- set $workspace8 "8 "
- set $workspace9 "9 "
- set $workspace10 "10 "
- # Switch to workspace
- bindsym $mod+1 workspace $workspace1
- bindsym $mod+2 workspace $workspace2
- bindsym $mod+3 workspace $workspace3
- bindsym $mod+4 workspace $workspace4
- bindsym $mod+5 workspace $workspace5
- bindsym $mod+6 workspace $workspace6
- bindsym $mod+7 workspace $workspace7
- bindsym $mod+8 workspace $workspace8
- bindsym $mod+9 workspace $workspace9
- bindsym $mod+0 workspace $workspace10
- # Move focused container to workspace
- bindsym $mod+Shift+1 move container to workspace $workspace1
- bindsym $mod+Shift+2 move container to workspace $workspace2
- bindsym $mod+Shift+3 move container to workspace $workspace3
- bindsym $mod+Shift+4 move container to workspace $workspace4
- bindsym $mod+Shift+5 move container to workspace $workspace5
- bindsym $mod+Shift+6 move container to workspace $workspace6
- bindsym $mod+Shift+7 move container to workspace $workspace7
- bindsym $mod+Shift+8 move container to workspace $workspace8
- bindsym $mod+Shift+9 move container to workspace $workspace9
- bindsym $mod+Shift+0 move container to workspace $workspace10
- # Default workspace
- assign [class="URxvt"] $workspace1
- assign [class="Chromium"] $workspace2
- assign [class="VirtualBox"] $workspace3
- # Reload the configuration file
- bindsym $mod+Shift+c reload
- # Restart i3 inplace
- bindsym $mod+Shift+r restart
- # Exit i3
- 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'"
- # Window colors
- set $bg-color #2f343f
- set $inactive-bg-color #2f343f
- set $text-color #f3f4f5
- set $inactive-text-color #676E7D
- set $urgent-bg-color #E53935
- # border background text indicator
- client.focused $bg-color $bg-color $text-color #00ff00
- client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00
- client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00
- client.urgent $urgent-bg-color $urgent-bg-color $text-color #00ff00
- # Thin borders
- hide_edge_borders both
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement