You are not logged in.
So I use Airblader's fork of i3, (https://github.com/Airblader/i3, and I'm trying to get border on the edges of windows to show up, but no matter what I add to the config file it seems it won't work. I tried restarting i3 with $mod+Shift+r, even rebooting, but after the changes I've made it seems borders just won't show up. I've tried new_window pixel and the size, etc, new_float as well, nothing seems to be working.
Here's my ~/.i3/config file (without any of my attempts at borders in it):
# 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 some time, 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
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
font pango:DejaVu Sans Mono 8
# Before i3 v4.8, we used to recommend this one as the default:
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
# The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, its unicode glyph coverage is limited, the old
# X core fonts rendering does not support right-to-left and this being a bitmap
# font, it doesn’t scale on retina/hidpi displays.
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec i3-sensible-terminal
# kill focused window
bindsym $mod+Shift+q kill
# 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
# 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 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 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
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
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3
bindsym $mod+Shift+4 move container to workspace 4
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 6
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
# 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 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 semicolon 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+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
#bar {
# status_command i3status
#}
for_window [class="^.*"] border pixel 0
gaps inner 30
gaps outer 20
set $mode_gaps Gaps: (o) outer, (i) inner
set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
bindsym $mod+Shift+g mode "$mode_gaps"
mode "$mode_gaps" {
bindsym o mode "$mode_gaps_outer"
bindsym i mode "$mode_gaps_inner"
bindsym Return mode "default"
bindsym Escape mode "default"
}
mode "$mode_gaps_inner" {
bindsym plus gaps inner current plus 5
bindsym minus gaps inner current minus 5
bindsym 0 gaps inner current set 0
bindsym Shift+plus gaps inner all plus 5
bindsym Shift+minus gaps inner all minus 5
bindsym Shift+0 gaps inner all set 0
bindsym Return mode "default"
bindsym Escape mode "default"
}
mode "$mode_gaps_outer" {
bindsym plus gaps outer current plus 5
bindsym minus gaps outer current minus 5
bindsym 0 gaps outer current set 0
bindsym Shift+plus gaps outer all plus 5
bindsym Shift+minus gaps outer all minus 5
bindsym Shift+0 gaps outer all set 0
bindsym Return mode "default"
bindsym Escape mode "default"
}
workspace_auto_back_and_forth yes
## COLORS:
#class border backgr. text indicator
client.focused #333333 #aa2727 #cccccc #000000
client.focused_inactive #333333 #333333 #999999 #000000
client.unfocused #333333 #333333 #7f7f7f #000000
client.urgent #b20000 #b20000 #cccccc #000000
Last edited by XNova42 (2015-08-31 02:58:20)
Offline
Although the github page says
Note: Gaps will only work correctly if you disable window titlebars entirely. Unfortunately this is necessary due to the way i3 creates such bars on windows. You can disable them via for_window [class="^.*"] border pixel 0 in your config.
I just don't have this line in my i3 config and borders work fine.
Here's my config:
# i3 config file (v4)
set $mod Mod1
# Font for window titles
font pango: Source Sans Pro Regular 8
# Window borders
new_window 1pixel
smart_borders on
gaps inner 0
gaps outer 0
# Color settings
client.focused #00C1FF #00C1FF #000088 #00C1FF
client.focused_inactive #2C2C2C #2C2C2C #ffffff #2C2C2C
client.unfocused #2C2C2C #2C2C2C #ffffff #2C2C2C
client.urgent #00C1FF #00C1FF #000088 #00C1FF
# Do not follow the mouse
focus_follows_mouse no
# Move floating windows when pressing mod
floating_modifier $mod
# Changing windows is done all the time, need it fast and dirty
bindsym $mod+h focus left
bindsym $mod+l focus right
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+w [class="qutebrowser"] focus
bindsym $mod+t [class="URxvt"] focus
bindsym $mod+m focus mode_toggle
bindsym $mod+Tab layout toggle all
# Window stuff
bindsym Control+q kill
bindsym Control+m fullscreen
# Enable workspace back and forth
workspace_auto_back_and_forth yes
# Correct handling of floating windows
for_window [window_role="pop-up"] floating enable
for_window [window_role="bubble"] floating enable
for_window [window_role="task_dialog"] floating enable
for_window [window_role="dialog"] floating enable
for_window [window_role="menu"] floating enable
for_window [window_role="Preferences"] floating enable
for_window [class="com-wolfram-jlink-Reader"] floating enable
for_window [class="Gifview"] floating enable
# Function keys
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5 -time 0 -steps 1 && ~/.i3/brightness-show.sh
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5 -time 0 -steps 1 && ~/.i3/brightness-show.sh
bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 5%- && ~/.i3/volnoti-set.sh
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 5%+ && ~/.i3/volnoti-set.sh
bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle && ~/.i3/volnoti-set.sh
bindsym XF86AudioPlay exec --no-startup-id cmus-remote -u
bindsym XF86AudioStop exec --no-startup-id cmus-remote -s
bindsym XF86AudioNext exec --no-startup-id cmus-remote -n
bindsym XF86AudioPrev exec --no-startup-id cmus-remote -r
# Screenshot
bindsym --release Insert exec --no-startup-id scrot '%Y-%m-%d_%H:%M_$wx$h.png' -e 'mv $f ~/Bilder/Screenshot'
bindsym --release Control+Insert exec --no-startup-id scrot '%Y-%m-%d_%H:%M_$wx$h.png' -s -e 'mv $f ~/Bilder/Screenshot'
bindsym --release Print exec --no-startup-id scrot '%Y-%m-%d_%H:%M_$wx$h.png' -u -e 'mv $f ~/Bilder/Screenshot'
# Everything else in a vi like normal mode
mode "NORMAL" {
# Window navigation
bindsym h focus left
bindsym l focus right
bindsym j focus down
bindsym k focus up
# Resizing windows
bindsym Shift+h resize shrink width 25 px or 5 ppt
bindsym Shift+k resize grow height 25 px or 5 ppt
bindsym Shift+j resize shrink height 25 px or 5 ppt
bindsym Shift+l resize grow width 25 px or 5 ppt
# Moving windows
bindsym Control+h move left
bindsym Control+j move down
bindsym Control+k move up
bindsym Control+l move right
# Kill a window
bindsym x kill
# Kill all windows
bindsym Shift+x exec --no-startup-id ~/.i3/py-scripts/closeall.py
# dmenu
bindsym d exec --no-startup-id i3-dmenu-desktop --entry-type="name" --dmenu="dmenu -i -b -y 25 -p launch: -fn SourceCodePro -nb #2C2C2C -nf #00C1FF -sb #00A0DD -sf #EEEEEE", mode "default"
# Split in horizontal orientation
bindsym s split v
# Split in vertical orientation
bindsym v split h
# Enter fullscreen mode for the focused container
bindsym m fullscreen
# Change container layout (stacked, tabbed, toggle split)
bindsym Shift+s layout stacking
bindsym Shift+t layout tabbed
bindsym Shift+c layout toggle split
bindsym Shift+d layout default
# Toggle tiling / floating
bindsym Shift+f floating toggle
# Change focus between tiling / floating windows
bindsym Shift+n focus mode_toggle
# Move window to scratchpad
bindsym y move scratchpad
# Get the scratchpad window
bindsym Shift+y scratchpad show
# Focus the parent container
bindsym p focus parent
# Focus the child container
bindsym n focus child
# Switch to workspace
bindsym 1 workspace 1
bindsym 2 workspace 2
bindsym 3 workspace 3
bindsym 4 workspace 4
bindsym 5 workspace 5
bindsym 6 workspace 6
bindsym 7 workspace 7
bindsym 8 workspace 8
bindsym 9 workspace 9
bindsym 0 workspace 10
# Move focused container to workspace
bindsym Shift+1 move container to workspace 1
bindsym Shift+2 move container to workspace 2
bindsym Shift+3 move container to workspace 3
bindsym Shift+4 move container to workspace 4
bindsym Shift+5 move container to workspace 5
bindsym Shift+6 move container to workspace 6
bindsym Shift+7 move container to workspace 7
bindsym Shift+8 move container to workspace 8
bindsym Shift+9 move container to workspace 9
bindsym Shift+0 move container to workspace 10
# Move container and focus to workspace
bindsym Control+1 move container to workspace 1, workspace 1
bindsym Control+2 move container to workspace 2, workspace 2
bindsym Control+3 move container to workspace 3, workspace 3
bindsym Control+4 move container to workspace 4, workspace 4
bindsym Control+5 move container to workspace 5, workspace 5
bindsym Control+6 move container to workspace 6, workspace 6
bindsym Control+7 move container to workspace 7, workspace 7
bindsym Control+8 move container to workspace 8, workspace 8
bindsym Control+9 move container to workspace 9, workspace 9
bindsym Control+0 move container to workspace 10, workspace 10
# Intelligent movement
# A window list to focus a window
bindsym g exec --no-startup-id ~/.i3/py-scripts/winmenu.py, mode "default"
# A window list to get a window
bindsym Shift+g exec --no-startup-id ~/.i3/py-scripts/winmenuget.py, mode "default"
# Go to next empty workspace
bindsym o exec --no-startup-id ~/.i3/py-scripts/firstfree.py
# Move window to next empty workspace
bindsym Shift+o exec --no-startup-id ~/.i3/py-scripts/wintofirstfree.py
# Go to next empty workspace with the window
bindsym Control+o exec --no-startup-id ~/.i3/py-scripts/wintofirstfree-go.py
# Append window to the next workspace
bindsym a move container to workspace next; workspace next
# Insert window to the previous workspace
bindsym i move container to workspace prev; workspace prev
# Moving to next/prev workspaces
bindsym e workspace next
bindsym b workspace prev
# Moving back and forth between the last workspace
bindsym Tab workspace back_and_forth
bindsym Control+Tab move container to workspace back_and_forth; workspace back_and_forth
bindsym Shift+Tab move container to workspace back_and_forth
# Cycle through the windows
bindsym space exec --no-startup-id ~/.i3/py-scripts/cycle.py, mode "Cycle"
# Useless but fun
bindsym Shift+a exec --no-startup-id ~/.i3/py-scripts/fibonacci.py
# Reload the configuration file
bindsym r reload, mode "default"
# Restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym Shift+r restart
# Starters
bindsym w exec qutebrowser, mode "default"
bindsym Shift+w exec ~/bin/tor-browser_de/Browser/start-tor-browser, mode "default"
bindsym Shift+u exec --no-startup-id urxvt -e tmux -2 new-session -A -s MySession, mode "default"
bindsym u exec --no-startup-id urxvt, mode "default"
bindsym t exec --no-startup-id urxvt -e tmux, mode "default"
bindsym f exec --no-startup-id urxvt -e ranger, mode "default"
bindsym c exec --no-startup-id urxvt -e cmus, mode "default"
bindsym Shift+m exec --no-startup-id mathematica, mode "default"
bindsym z exec --no-startup-id urxvt -e mutt, mode "default"
bindsym Shift+z exec --no-startup-id urxvt -e mutt -R, mode "default"
# Shutdown, reboot, lock screen ..
bindsym q mode "$system"
# Change the borders
bindsym odiaeresis mode "Borders"
# Back to normal
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym F10 mode "default"
# Make the Rest return
bindsym Shift+b mode "default"
bindsym Shift+e mode "default"
bindsym Shift+i mode "default"
bindsym Shift+p mode "default"
bindsym Shift+q mode "default"
bindsym Shift+v mode "default"
}
# Enter normal mode
bindsym F10 mode "NORMAL"
# Open dmenu
bindsym F11 exec --no-startup-id i3-dmenu-desktop --entry-type='name' --dmenu='dmenu -i -b -y 25 -p launch: -fn SourceCodePro -nb #2C2C2C -nf #00C1FF -sb #00A0DD -sf #EEEEEE'
# A system mode for shutting down, ...
set $SYSTEM System ... logout (l), reboot (r), shutdown (s), lock (o)
mode "$SYSTEM" {
# Logout
bindsym l exec --no-startup-id i3-msg exit, mode "default"
# Reboot
bindsym r exec reboot, mode "default"
# Shutdown
bindsym s exec poweroff, mode "default"
# Lock
bindsym o exec i3lock -i ~/Bilder/Hintergrund/mountain-sky.png, mode "default"
# Back to normal
bindsym Return mode "default"
bindsym Escape mode "default"
}
# A mode to change the borders and gaps
mode "Borders" {
# The different borders I use from time to time
bindsym 1 border 1pixel
bindsym 2 border pixel 2
bindsym 3 border pixel 3
bindsym 4 border pixel 4
bindsym 0 border none
bindsym asciicircum border normal
# Gaps for some eye candy (yes, although I use i3 ;D)
bindsym plus gaps inner all plus 10
bindsym minus gaps inner all minus 10
bindsym space gaps inner all set 45
bindsym Return gaps inner all set 0
bindsym Control+plus gaps outer all plus 10
bindsym Control+minus gaps outer all minus 10
bindsym Control+space gaps outer all set 45
bindsym Control+Return gaps outer all set 0
# Back to normal: Escape
bindsym Escape mode "default"
}
# A cycle mode, used with cycle.py
mode "Cycle" {
# Accept window with space, enter or escape
bindsym Return exec "killall cycle.py", mode "default"
bindsym space exec "killall cycle.py", mode "default"
bindsym Escape exec "killall cycle.py", mode "default"
}
# Start i3bar to display a workspace bar
bar {
# Height
height 20
# status_command ~/.i3/statusbar.sh
status_command ~/.i3/conkybar.sh
# Do not allow applications to use the bar as icon tray
tray_output none
colors{
background #2C2C2C
statusline #00C1FF
separator #EEEEEE
# BORDER BACKGR. TEXT
focused_workspace #2C2C2C #2C2C2C #00C1FF
active_workspace #2C2C2C #2C2C2C #EEEEEE
inactive_workspace #2C2C2C #2C2C2C #EEEEEE
urgent_workspace #2C2C2C #2C2C2C #EEEEEE
}
# Font for the bar
font pango:Source Code Pro Bold 11
}
# Don't want to see the mouse
exec_always --no-startup-id unclutter -idle 1 -root
# Conky
exec --no-startup-id conky
Offline
Although the github page says
Note: Gaps will only work correctly if you disable window titlebars entirely. Unfortunately this is necessary due to the way i3 creates such bars on windows. You can disable them via for_window [class="^.*"] border pixel 0 in your config.
I just don't have this line in my i3 config and borders work fine.
Here's my config:
# i3 config file (v4) set $mod Mod1 # Font for window titles font pango: Source Sans Pro Regular 8 # Window borders new_window 1pixel smart_borders on gaps inner 0 gaps outer 0 # Color settings client.focused #00C1FF #00C1FF #000088 #00C1FF client.focused_inactive #2C2C2C #2C2C2C #ffffff #2C2C2C client.unfocused #2C2C2C #2C2C2C #ffffff #2C2C2C client.urgent #00C1FF #00C1FF #000088 #00C1FF # Do not follow the mouse focus_follows_mouse no # Move floating windows when pressing mod floating_modifier $mod # Changing windows is done all the time, need it fast and dirty bindsym $mod+h focus left bindsym $mod+l focus right bindsym $mod+j focus down bindsym $mod+k focus up bindsym $mod+w [class="qutebrowser"] focus bindsym $mod+t [class="URxvt"] focus bindsym $mod+m focus mode_toggle bindsym $mod+Tab layout toggle all # Window stuff bindsym Control+q kill bindsym Control+m fullscreen # Enable workspace back and forth workspace_auto_back_and_forth yes # Correct handling of floating windows for_window [window_role="pop-up"] floating enable for_window [window_role="bubble"] floating enable for_window [window_role="task_dialog"] floating enable for_window [window_role="dialog"] floating enable for_window [window_role="menu"] floating enable for_window [window_role="Preferences"] floating enable for_window [class="com-wolfram-jlink-Reader"] floating enable for_window [class="Gifview"] floating enable # Function keys bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5 -time 0 -steps 1 && ~/.i3/brightness-show.sh bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5 -time 0 -steps 1 && ~/.i3/brightness-show.sh bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 5%- && ~/.i3/volnoti-set.sh bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 5%+ && ~/.i3/volnoti-set.sh bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle && ~/.i3/volnoti-set.sh bindsym XF86AudioPlay exec --no-startup-id cmus-remote -u bindsym XF86AudioStop exec --no-startup-id cmus-remote -s bindsym XF86AudioNext exec --no-startup-id cmus-remote -n bindsym XF86AudioPrev exec --no-startup-id cmus-remote -r # Screenshot bindsym --release Insert exec --no-startup-id scrot '%Y-%m-%d_%H:%M_$wx$h.png' -e 'mv $f ~/Bilder/Screenshot' bindsym --release Control+Insert exec --no-startup-id scrot '%Y-%m-%d_%H:%M_$wx$h.png' -s -e 'mv $f ~/Bilder/Screenshot' bindsym --release Print exec --no-startup-id scrot '%Y-%m-%d_%H:%M_$wx$h.png' -u -e 'mv $f ~/Bilder/Screenshot' # Everything else in a vi like normal mode mode "NORMAL" { # Window navigation bindsym h focus left bindsym l focus right bindsym j focus down bindsym k focus up # Resizing windows bindsym Shift+h resize shrink width 25 px or 5 ppt bindsym Shift+k resize grow height 25 px or 5 ppt bindsym Shift+j resize shrink height 25 px or 5 ppt bindsym Shift+l resize grow width 25 px or 5 ppt # Moving windows bindsym Control+h move left bindsym Control+j move down bindsym Control+k move up bindsym Control+l move right # Kill a window bindsym x kill # Kill all windows bindsym Shift+x exec --no-startup-id ~/.i3/py-scripts/closeall.py # dmenu bindsym d exec --no-startup-id i3-dmenu-desktop --entry-type="name" --dmenu="dmenu -i -b -y 25 -p launch: -fn SourceCodePro -nb #2C2C2C -nf #00C1FF -sb #00A0DD -sf #EEEEEE", mode "default" # Split in horizontal orientation bindsym s split v # Split in vertical orientation bindsym v split h # Enter fullscreen mode for the focused container bindsym m fullscreen # Change container layout (stacked, tabbed, toggle split) bindsym Shift+s layout stacking bindsym Shift+t layout tabbed bindsym Shift+c layout toggle split bindsym Shift+d layout default # Toggle tiling / floating bindsym Shift+f floating toggle # Change focus between tiling / floating windows bindsym Shift+n focus mode_toggle # Move window to scratchpad bindsym y move scratchpad # Get the scratchpad window bindsym Shift+y scratchpad show # Focus the parent container bindsym p focus parent # Focus the child container bindsym n focus child # Switch to workspace bindsym 1 workspace 1 bindsym 2 workspace 2 bindsym 3 workspace 3 bindsym 4 workspace 4 bindsym 5 workspace 5 bindsym 6 workspace 6 bindsym 7 workspace 7 bindsym 8 workspace 8 bindsym 9 workspace 9 bindsym 0 workspace 10 # Move focused container to workspace bindsym Shift+1 move container to workspace 1 bindsym Shift+2 move container to workspace 2 bindsym Shift+3 move container to workspace 3 bindsym Shift+4 move container to workspace 4 bindsym Shift+5 move container to workspace 5 bindsym Shift+6 move container to workspace 6 bindsym Shift+7 move container to workspace 7 bindsym Shift+8 move container to workspace 8 bindsym Shift+9 move container to workspace 9 bindsym Shift+0 move container to workspace 10 # Move container and focus to workspace bindsym Control+1 move container to workspace 1, workspace 1 bindsym Control+2 move container to workspace 2, workspace 2 bindsym Control+3 move container to workspace 3, workspace 3 bindsym Control+4 move container to workspace 4, workspace 4 bindsym Control+5 move container to workspace 5, workspace 5 bindsym Control+6 move container to workspace 6, workspace 6 bindsym Control+7 move container to workspace 7, workspace 7 bindsym Control+8 move container to workspace 8, workspace 8 bindsym Control+9 move container to workspace 9, workspace 9 bindsym Control+0 move container to workspace 10, workspace 10 # Intelligent movement # A window list to focus a window bindsym g exec --no-startup-id ~/.i3/py-scripts/winmenu.py, mode "default" # A window list to get a window bindsym Shift+g exec --no-startup-id ~/.i3/py-scripts/winmenuget.py, mode "default" # Go to next empty workspace bindsym o exec --no-startup-id ~/.i3/py-scripts/firstfree.py # Move window to next empty workspace bindsym Shift+o exec --no-startup-id ~/.i3/py-scripts/wintofirstfree.py # Go to next empty workspace with the window bindsym Control+o exec --no-startup-id ~/.i3/py-scripts/wintofirstfree-go.py # Append window to the next workspace bindsym a move container to workspace next; workspace next # Insert window to the previous workspace bindsym i move container to workspace prev; workspace prev # Moving to next/prev workspaces bindsym e workspace next bindsym b workspace prev # Moving back and forth between the last workspace bindsym Tab workspace back_and_forth bindsym Control+Tab move container to workspace back_and_forth; workspace back_and_forth bindsym Shift+Tab move container to workspace back_and_forth # Cycle through the windows bindsym space exec --no-startup-id ~/.i3/py-scripts/cycle.py, mode "Cycle" # Useless but fun bindsym Shift+a exec --no-startup-id ~/.i3/py-scripts/fibonacci.py # Reload the configuration file bindsym r reload, mode "default" # Restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym Shift+r restart # Starters bindsym w exec qutebrowser, mode "default" bindsym Shift+w exec ~/bin/tor-browser_de/Browser/start-tor-browser, mode "default" bindsym Shift+u exec --no-startup-id urxvt -e tmux -2 new-session -A -s MySession, mode "default" bindsym u exec --no-startup-id urxvt, mode "default" bindsym t exec --no-startup-id urxvt -e tmux, mode "default" bindsym f exec --no-startup-id urxvt -e ranger, mode "default" bindsym c exec --no-startup-id urxvt -e cmus, mode "default" bindsym Shift+m exec --no-startup-id mathematica, mode "default" bindsym z exec --no-startup-id urxvt -e mutt, mode "default" bindsym Shift+z exec --no-startup-id urxvt -e mutt -R, mode "default" # Shutdown, reboot, lock screen .. bindsym q mode "$system" # Change the borders bindsym odiaeresis mode "Borders" # Back to normal bindsym Return mode "default" bindsym Escape mode "default" bindsym F10 mode "default" # Make the Rest return bindsym Shift+b mode "default" bindsym Shift+e mode "default" bindsym Shift+i mode "default" bindsym Shift+p mode "default" bindsym Shift+q mode "default" bindsym Shift+v mode "default" } # Enter normal mode bindsym F10 mode "NORMAL" # Open dmenu bindsym F11 exec --no-startup-id i3-dmenu-desktop --entry-type='name' --dmenu='dmenu -i -b -y 25 -p launch: -fn SourceCodePro -nb #2C2C2C -nf #00C1FF -sb #00A0DD -sf #EEEEEE' # A system mode for shutting down, ... set $SYSTEM System ... logout (l), reboot (r), shutdown (s), lock (o) mode "$SYSTEM" { # Logout bindsym l exec --no-startup-id i3-msg exit, mode "default" # Reboot bindsym r exec reboot, mode "default" # Shutdown bindsym s exec poweroff, mode "default" # Lock bindsym o exec i3lock -i ~/Bilder/Hintergrund/mountain-sky.png, mode "default" # Back to normal bindsym Return mode "default" bindsym Escape mode "default" } # A mode to change the borders and gaps mode "Borders" { # The different borders I use from time to time bindsym 1 border 1pixel bindsym 2 border pixel 2 bindsym 3 border pixel 3 bindsym 4 border pixel 4 bindsym 0 border none bindsym asciicircum border normal # Gaps for some eye candy (yes, although I use i3 ;D) bindsym plus gaps inner all plus 10 bindsym minus gaps inner all minus 10 bindsym space gaps inner all set 45 bindsym Return gaps inner all set 0 bindsym Control+plus gaps outer all plus 10 bindsym Control+minus gaps outer all minus 10 bindsym Control+space gaps outer all set 45 bindsym Control+Return gaps outer all set 0 # Back to normal: Escape bindsym Escape mode "default" } # A cycle mode, used with cycle.py mode "Cycle" { # Accept window with space, enter or escape bindsym Return exec "killall cycle.py", mode "default" bindsym space exec "killall cycle.py", mode "default" bindsym Escape exec "killall cycle.py", mode "default" } # Start i3bar to display a workspace bar bar { # Height height 20 # status_command ~/.i3/statusbar.sh status_command ~/.i3/conkybar.sh # Do not allow applications to use the bar as icon tray tray_output none colors{ background #2C2C2C statusline #00C1FF separator #EEEEEE # BORDER BACKGR. TEXT focused_workspace #2C2C2C #2C2C2C #00C1FF active_workspace #2C2C2C #2C2C2C #EEEEEE inactive_workspace #2C2C2C #2C2C2C #EEEEEE urgent_workspace #2C2C2C #2C2C2C #EEEEEE } # Font for the bar font pango:Source Code Pro Bold 11 } # Don't want to see the mouse exec_always --no-startup-id unclutter -idle 1 -root # Conky exec --no-startup-id conky
Wow, taking that line out worked surprisingly well! After adjusting a few things the borders are working fine, thanks for the help
Offline