Skip to content

Ignoring round borders when creating new window #6

@luislve17

Description

@luislve17

I'm submitting a…

[x] Bug
[ ] Feature Request
[ ] Documentation Request
[ ] Other (Please describe in detail)

Current Behavior

When opening a new single window in an empty workspace, the borders are straight and not rounded, making me going floating mode and back to tiled to see the expected effect

Expected Behavior

Having rounded corners from the start, as soon as opening any new program.

Reproduction Instructions

Opening any program in an empty workspace

Environment

Output of i3 --moreversion 2>&-:

Binary i3 version:  4.16.1-184-g00181678 (2019-07-03, branch "makepkg") © 2009 Michael Stapelberg and contributors
Running i3 version: 4.16.1-184-g00181678 (2019-07-03, branch "makepkg") (pid 4907)
# 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 https://i3wm.org/docs/userguide.html for a complete reference!
for_window [class="^.*"] border pixel 0

exec_always --no-startup-id bash ~/Documentos/Programación/shell/startup_scripts.sh &

set $mod Mod4

# Font for window titles. Will also be used by the bar unless a different fegular 11
# is used in the bar {} block below.
font pango:Inconsolata 10
#font pango:Monospace 10
#font pango:Tamzen Regular 10


# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod

# start a terminal
bindsym $mod+Shift+Return exec i3-sensible-terminal

# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"

# Exclusive worspaces rules
assign [class="firefox"] $ws1
assign [class="pamac-manager"] $ws10

# class                 border  bground text    indicator child_border
client.focused          #121212 #121212 #FFFFFF #121212   #5F676A
client.focused_inactive #333333 #5F676A #FFFFFF #484E50   #121212
client.unfocused        #333333 #222222 #888888 #292D2E   #121212
client.urgent           #2F343A #655D9B #FFFFFF #655D9B   #494370
client.placeholder      #000000 #0C0C0C #FFFFFF #000000   #0C0C0C

client.background       #FFFFFF

bar {
	mode invisible
  colors {
    background #000000
    statusline #FFFFFF
    separator  #666666

    focused_workspace  #4C7899 #285577 #FFFFFF
    active_workspace   #333333 #222222 #FFFFFF
    inactive_workspace #333333 #222222 #888888
    urgent_workspace   #2F343A #900000 #FFFFFF
    binding_mode       #2F343A #900000 #FFFFFF
  }
}

# Dropdowns
for_window [instance="calendar"] floating enable
for_window [instance="calendar"] sticky enable

# Thunar windows config
for_window [class="Thunar"] floating enable
for_window [class="Thunar"] resize set width 820 px
for_window [class="Thunar"] resize set height 480 px
for_window [class="Thunar"] move absolute position center

for_window [class="Engrampa"] floating enable
for_window [class="Engrampa"] resize set width 720 px
for_window [class="Engrampa"] resize set height 380 px
for_window [class="Engrampa"] move absolute position center

border_radius 10
# ==============================
# i3-gaps stuff :)
# ==============================

gaps inner 10
gaps outer 10
smart_borders on
new_window none

bindsym $mod+g exec ~/dotfiles/scripts/toggle_gaps.sh
#edit gaps mode
#########################################################################
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"
}
Logfile URL:
 
- Linux Distribution & Version: Manjaro Linux 18.1.3
- Are you using a compositor (e.g., xcompmgr or compton): Compton

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions