mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-21 01:25:42 +02:00
i3: use a variable for border pixel
This commit is contained in:
parent
dbb91c3aa0
commit
a22d76b76a
1 changed files with 5 additions and 4 deletions
9
config
9
config
|
@ -7,12 +7,13 @@ set $left j
|
||||||
set $right semicolon
|
set $right semicolon
|
||||||
set $term vbeterm
|
set $term vbeterm
|
||||||
set $mediaplayer spotify
|
set $mediaplayer spotify
|
||||||
|
set $borderpx 3
|
||||||
|
|
||||||
font pango:Iosevka Aile 9
|
font pango:Iosevka Aile 9
|
||||||
|
|
||||||
# style and colors
|
# style and colors
|
||||||
default_border pixel 3
|
default_border pixel $borderpx
|
||||||
default_floating_border pixel 3
|
default_floating_border pixel $borderpx
|
||||||
# class border backgr. text indicator child_border
|
# class border backgr. text indicator child_border
|
||||||
client.focused #ffaf00 #cc5c00 #ffffff #ffdf11 #cc5c00
|
client.focused #ffaf00 #cc5c00 #ffffff #ffdf11 #cc5c00
|
||||||
client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
|
client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
|
||||||
|
@ -144,14 +145,14 @@ bindsym $mod+Shift+i nop "workspace-info"
|
||||||
|
|
||||||
# random rules
|
# random rules
|
||||||
no_focus [window_type="splash"]
|
no_focus [window_type="splash"]
|
||||||
for_window [tiling] border pixel 3
|
for_window [tiling] border pixel $borderpx
|
||||||
for_window [class="Nm-connection-editor"] floating enable
|
for_window [class="Nm-connection-editor"] floating enable
|
||||||
for_window [class="Shadow"] fullscreen enable
|
for_window [class="Shadow"] fullscreen enable
|
||||||
for_window [window_role="PictureInPicture"] floating enable
|
for_window [window_role="PictureInPicture"] floating enable
|
||||||
for_window [class="Pavucontrol"] floating enable
|
for_window [class="Pavucontrol"] floating enable
|
||||||
for_window [title="Firefox — Sharing Indicator"] border pixel 1, sticky enable, move position 20 ppt -5 px
|
for_window [title="Firefox — Sharing Indicator"] border pixel 1, sticky enable, move position 20 ppt -5 px
|
||||||
no_focus [title="Firefox — Sharing Indicator"]
|
no_focus [title="Firefox — Sharing Indicator"]
|
||||||
for_window [class="zoom" instance="zoom" title="^Zoom"] floating disable, border pixel 3
|
for_window [class="zoom" instance="zoom" title="^Zoom"] floating disable, border pixel $borderpx
|
||||||
for_window [class="zoom" instance="zoom" title="^zoom$"] floating enable, border pixel 0
|
for_window [class="zoom" instance="zoom" title="^zoom$"] floating enable, border pixel 0
|
||||||
no_focus [class="zoom" instance="zoom" title="^zoom$"]
|
no_focus [class="zoom" instance="zoom" title="^zoom$"]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue