resloved / i3 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from airblader/i3
🔲 — Rounded i3-gaps
License: Other
This project forked from airblader/i3
🔲 — Rounded i3-gaps
License: Other
Forgot about this bug that was posted in the Airblader/i3 pull request so hopefully an issue is a little easier to remember.
when removing window borders with something like
bindsym $mod+Shift+space floating enable, border none
it breaks window resizing with mouse or resize mode. This is not just floating windows, but tiled ones too
My response at the time:
After some quick testing its pretty easy to reproduce. The floating is unrelated, you can just bind border none and the same problem comes up. This doesn't seem to occur when you just set border none using for_window so actually changing the border styling is important. I imagine it has to do with the pixmap being updated when the borders are normal, but after the change the window still uses the rounded/masked pixmap and it doesn't get updated. I'll try to take a look at this sometime this week.
Past me was very confident about "sometime this week"
[x] Bug [ ] Feature Request [ ] Documentation Request [ ] Other (Please describe in detail)
Cannot download code when installing through AUR (blocked by GitHub).
Use git+https://
instead of git://
in this line.
[ ] Bug [x] Feature Request [ ] Documentation Request [ ] Other (Please describe in detail)
Im trying
for_window [class = "discord"] border_radius 20
But nothing happens. Is this a bug, is not implemented or I'm stupid?
Output of i3 --moreversion 2>&-
:
i3 version: 4.16.1-186-gf3fffbae
Manjaro x86_64 compton-tryone
I built and installed your fork, I added border_radius 16
to my config and it seems like it accepts it as I don't get any warning or errors, however, my window borders remain square
This is my i3 config, I believe the only relevant part is the border_radius 24
line, but I might be missing something.
Since i3 accepts this config I assume that I loaded the correct binary and built from the correct source.
I'm using picom if that matters
set $winKey Mod1
set $mod Mod4
border_radius 24
font pango:Fira Code 10
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec kitty
# kill focused window
bindsym $mod+q kill
# change focus
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l 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+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l 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+s split h
# split in vertical orientation
bindsym $mod+v split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
#full screen
bindsym $mod+Shift+f focus parent; fullscreen; focus child
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+Shift+s layout stacking
bindsym $mod+Shift+w layout tabbed
bindsym $mod+Shift+e layout toggle split
# toggle tiling / floating
bindcode $mod+Shift+65 floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
# 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 0
# 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 0
# move next/prev workspace
bindsym $mod+Tab workspace next
bindsym $mod+Shift+Tab workspace prev
#Assign apps to workspaces
assign [class="Spotify"] 4
assign [class="Steam"] 5
assign [class="steam"] 5
assign [class="Pavucontrol"] 4
assign [class="jetbrains-studio"] 3
# 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+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" {
bindsym h resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym j resize shrink height 10 px or 10 ppt
bindsym l 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"
set $bg-color #323232
set $inactive-bg-color #222222
set $text-color #f3f4f5
set $inactive-text-color #676E7D
set $urgent-bg-color #E53935
set $indicator-color #ffccff
# window colors
# border background text indicator
client.focused $bg-color $bg-color $text-color $indicator-color
client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color $indicator-color
client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color $indicator-color
client.urgent $urgent-bg-color $urgent-bg-color $text-color #ff0000
# Lock the screen
bindsym $mod+shift+x exec .config/i3/lock.sh
bindcode 150 exec .config/i3/lock.sh
#Pavucontrol
bindsym $mod+Shift+m exec pavucontrol
# start dmenu (a program launcher)
bindsym $mod+d exec rofi -show run -theme input-emph-nobar -lines 5 -eh 2 -show-icons -font "Fira Code 16"
# Firefox fix
for_window [class="Firefox" instance="Toplevel"] floating enable
#Screenshots
bindsym --release Print exec escrotum --clipboard --select --selection-delay 300
# Assign volume buttons
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #increase sound volume
# Assign brightness buttons
bindsym XF86MonBrightnessUp exec light -A 5
bindsym XF86MonBrightnessDown exec light -U 5
# Assign media buttons
bindsym XF86AudioPlay exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
bindsym XF86AudioNext exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
bindsym XF86AudioPrev exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
# Set Fn+F9 to change sound output device
bindcode 75 exec /home/tomer/.scripts/switch_output.sh
# gaps
gaps inner 16
gaps outer 4
# Hide title bar
new_window none
# Run initialization script
exec_always sh /home/tomer/.scripts/initialize
Just like smart_gaps turns off gaps when there's a single application, have a setting that does the same but for rounded corners. Currently it looks pretty ugly with smart_gaps on.
Setting border_radius 0
acts the same as setting border_radius 4
. It looks to be caused by this change.
My use case is that sometimes I don't want my corners to be rounded.
[x] Bug [ ] Feature Request [ ] Documentation Request [ ] Other (Please describe in detail)
This happens when i select workspaces or just exep polybar
=================================================================
==1751==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 34 byte(s) in 1 object(s) allocated from:
#0 0x7f4000186248 in __interceptor_malloc (/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libasan.so.5+0x10c248)
#1 0x7f3fff94175f (/lib64/libc.so.6+0x7d75f)
SUMMARY: AddressSanitizer: 34 byte(s) leaked in 1 allocation(s).
=================================================================
==1753==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 34 byte(s) in 1 object(s) allocated from:
#0 0x7f4bab1cf248 in __interceptor_malloc (/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libasan.so.5+0x10c248)
#1 0x7f4baa98a75f (/lib64/libc.so.6+0x7d75f)
SUMMARY: AddressSanitizer: 34 byte(s) leaked in 1 allocation(s).
warn: The config parameter `module/xkeyboard.label-indicator` is deprecated, use `module/xkeyboard.label-indicator-on` instead.
=================================================================
==1759==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 34 byte(s) in 1 object(s) allocated from:
#0 0x7fd49d12c248 in __interceptor_malloc (/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libasan.so.5+0x10c248)
#1 0x7fd49c8e775f (/lib64/libc.so.6+0x7d75f)
SUMMARY: AddressSanitizer: 34 byte(s) leaked in 1 allocation(s).
Select i3 module with config from polybar manual. And yes, i rebuild both polybar and i3, but error still popup. After i install normal i3-gaps, errors are gone.
Use this i3 ebuild
- Linux Distribution & Version: gentoo 17, gentoo-kernel 4.19.97 - I am using compton compositor
I installed i3-gaps a few months ago and at that time couldn't get the border_radius X
option to work, since the i3 config interpreter didn't seem to recognize the parameter. So today i had the time to recompile the project from source, but still it doesn't work.
Could you maybe tell me what I might be doing wrong ?
The error message i get
ERROR: CONFIG: Expected one of these tokens: <end>, '#', 'set ', 'set ', 'set_from_resource', 'bindsym', 'bindcode', 'bind', 'bar', 'font', 'mode', 'gaps', 'smart_borders', 'smart_gaps', 'floating_minimum_size', 'floating_maximum_size', 'floating_modifier', 'default_orientation', 'workspace_layout', 'default_border', 'new_window', 'default_floating_border', 'new_float', 'hide_edge_borders', 'for_window', 'assign', 'no_focus', 'focus_follows_mouse', 'mouse_warping', 'focus_wrapping', 'force_focus_wrapping', 'force_xinerama', 'force-xinerama', 'disable_randr15', 'disable-randr15', 'workspace_auto_back_and_forth', 'fake_outputs', 'fake-outputs', 'force_display_urgency_hint', 'focus_on_window_activation', 'title_align', 'show_marks', 'workspace', 'ipc_socket', 'ipc-socket', 'ipc_kill_timeout', 'restart_state', 'popup_during_fullscreen', 'exec_always', 'exec', 'client.background', 'client.focused_inactive', 'client.focused', 'client.unfocused', 'client.urgent', 'client.placeholder'
ERROR: CONFIG: (in file /home/darkeraser/.config/i3/config)
ERROR: CONFIG: Line 20: for_window [class=".*"] border pixel 0
ERROR: CONFIG: Line 21:
ERROR: CONFIG: Line 22: border_radius 6
ERROR: CONFIG: ^^^^^^^^^^^^^^^
Thanks !!
[x] Bug [ ] Feature Request [ ] Documentation Request [ ] Other (Please describe in detail)
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
Having rounded corners from the start, as soon as opening any new program.
Opening any program in an empty workspace
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
[ ] Bug [x] Feature Request [ ] Documentation Request [ ] Other (Please describe in detail)
If I try to modify the strength of corner rounding via bindsym, i3-gaps-rounded will throw out an error, which, from border_radius 0
, highlights only the _radius 0
part, which tells me that this is because i3 thinks that I want to change the border, which I don't. It only does this when I am running it inside a mode (like resize mode), otherwise it straight up doesn't do anything at all.
When typing something like bindsym $mod+g border_radius 0
, the rounded corners will disappear when I press it.
Type bindsym $mod+g border_radius 0
into your your config (I did in resize mode)
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 1555)
- Linux Distribution & Version: Archlinux with the AUR package 'i3-gaps-rounded' - I'm using compton kawase blur
Currently don't have much motivation to continue working on a fork that I barely use and won't be merged anytime soon (i3-gaps pull requests are mostly frozen for the time being). In the meantime I would suggest either:
I won't be looking at issues myself, but if you feel motivated enough to make a pull request I'd love to review and merge it. Feel free to leave any questions, unrelated to installation/troubleshooting/bugs, in this issue.
[x] Bug [ ] Feature Request [ ] Documentation Request [ ] Other (Please describe in detail)
wont compile
to compile
Downloading the original i3 repo compiles without issues.
Spews out a pages of this
...
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_NET_SUPPORTED.xmacro:31: multiple definition of `A__NET_DESKTOP_NAMES'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_NET_SUPPORTED.xmacro:31: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_NET_SUPPORTED.xmacro:32: multiple definition of `A__NET_DESKTOP_VIEWPORT'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_NET_SUPPORTED.xmacro:32: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_NET_SUPPORTED.xmacro:33: multiple definition of `A__NET_ACTIVE_WINDOW'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_NET_SUPPORTED.xmacro:33: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_NET_SUPPORTED.xmacro:34: multiple definition of `A__NET_CLOSE_WINDOW'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_NET_SUPPORTED.xmacro:34: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_NET_SUPPORTED.xmacro:35: multiple definition of `A__NET_MOVERESIZE_WINDOW'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_NET_SUPPORTED.xmacro:35: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:1: multiple definition of `A__NET_WM_USER_TIME'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:1: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:2: multiple definition of `A__NET_STARTUP_ID'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:2: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:3: multiple definition of `A__NET_WORKAREA'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:3: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:4: multiple definition of `A_WM_PROTOCOLS'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:4: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:5: multiple definition of `A_WM_DELETE_WINDOW'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:5: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:6: multiple definition of `A_UTF8_STRING'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:6: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:7: multiple definition of `A_WM_STATE'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:7: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:8: multiple definition of `A_WM_CLIENT_LEADER'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:8: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:9: multiple definition of `A_WM_TAKE_FOCUS'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:9: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:10: multiple definition of `A_WM_WINDOW_ROLE'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:10: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:11: multiple definition of `A_I3_SOCKET_PATH'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:11: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:12: multiple definition of `A_I3_CONFIG_PATH'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:12: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:13: multiple definition of `A_I3_SYNC'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:13: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:14: multiple definition of `A_I3_SHMLOG_PATH'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:14: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:15: multiple definition of `A_I3_PID'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:15: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:16: multiple definition of `A_I3_FLOATING_WINDOW'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:16: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:17: multiple definition of `A__NET_REQUEST_FRAME_EXTENTS'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:17: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:18: multiple definition of `A__NET_FRAME_EXTENTS'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:18: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:19: multiple definition of `A__MOTIF_WM_HINTS'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:19: first defined here
/usr/bin/ld: src/i3-xinerama.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:20: multiple definition of `A_WM_CHANGE_STATE'; src/i3-assignments.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/include/atoms_rest.xmacro:20: first defined here
/usr/bin/ld: ./libi3.a(a-draw_util.o):/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/libi3/draw_util.c:19: multiple definition of `visual_type'; src/i3-main.o:/home/champ/downloads/i3/x86_64-pc-linux-gnu/../../i3/src/main.c:63: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:1587: i3] Error 1
make[1]: Leaving directory '/home/champ/downloads/i3/x86_64-pc-linux-gnu'
make: *** [Makefile:1332: all] Error 2
- Linux Distribution & Version: Fedora 32
[x] Bug [ ] Feature Request [ ] Documentation Request [ ] Other (Please describe in detail)
../configure --prefix=/usr --disable-sanitizers
make
or make -j8
Output of i3 --moreversion 2>&-
:
i3 version:
ERROR: rest.xmacro:3: first defined here
/usr/bin/ld: ./libi3.a(a-draw_util.o):/home/anderson/workspace/i3-gaps/build/../../i3-gaps/libi3/draw_util.c:19: multiple definition of `visual_type'; src/i3-main.o:/home/anderson/workspace/i3-gaps/build/../../i3-gaps/src/main.c:63: first defined here
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Makefile:1587: i3] Error 1
make[1]: Leaving directory '/home/anderson/workspace/i3-gaps/build'
make: *** [Makefile:1332: all] Error 2
Logfile URL:
- Linux Distribution & Version: ArchLinx - Are you using a compositor (e.g., xcompmgr or compton):
[ ] Bug [x] Feature Request [ ] Documentation Request [ ] Other (Please describe in detail)
The rounded edges are ugly and sharp.
I'd like to have a setting that makes the rounded corners nicely antialiased, similar to what polybar offers.
Output of i3 --moreversion 2>&-
:
Binary i3 version: 4.17.1 (2019-08-30) © 2009 Michael Stapelberg and contributors Running i3 version: 4.17.1 (2019-08-30) (pid 1182)abort…) Loaded i3 config: /home/daknus/.config/i3/config (Last modified: Thu 12 Dec 2019 08:56:21 PM CET, 198 seconds ago) The i3 binary you just called: /usr/bin/i3 The i3 binary you are running: i3
- Linux Distribution & Version: Manjaro - Are you using a compositor (e.g., xcompmgr or compton): tryone144/compton
[ ] Bug [ ] Feature Request [ ] Documentation Request [x] Other (Please describe in detail) I'm unsure whether this is a bug or simply a missing feature, which is why I have ticked Other, and why I have not specified a log file.
Setting a border pixel
size of 1
currently outlines the border, as expected, but has issues when outlining the rounded edge; it usually cuts off as seen here:
The expected behavior is that the rounded edges get outlined the way the non-rounded sides get handled, like this:
(basically just a black line going smoothly around the edge, instead of cutting off).
for_window [class=".*"] border pixel 1
border_radius 8
Just add these two lines to your i3 config and reload/restart.
Output of i3 --moreversion 2>&-
:
i3 version: 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 1020) Loaded i3 config: /home/sam/.config/i3/config (Last modified: Fri 30 Aug 2019 20:29:53 BST, 4377542 seconds ago) The i3 binary you just called: /usr/bin/i3 The i3 binary you are running: i3
i3 configuration file is here.
- Linux Distribution & Version: Manjaro Linux 18.0 (Linux Kernel is `5.4.0-1-MANJARO`) - Are you using a compositor (e.g., xcompmgr or compton): compton - This issue persists on older kernels too.
It would be great to be able to selectively disable/enable rounded corners. (I don't think this is possible currently, but I would love to be corrected.)
My particular use-case would be to disable rounded corners on Polybar, but I expect that there might be other reasons people would want more fine-tuned customization, as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.