mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-21 01:25:42 +02:00
picom: remove rounded corners altogether
This commit is contained in:
parent
a8b6085707
commit
f051c5b1ed
2 changed files with 0 additions and 8 deletions
|
@ -5,7 +5,6 @@ dpi=$(xrdb -query | sed -nE 's/^Xft\.dpi:\s*//p')
|
||||||
POLYBAR_HEIGHT=$((20 * dpi / 96))
|
POLYBAR_HEIGHT=$((20 * dpi / 96))
|
||||||
SHADOW_RADIUS=$((12 * dpi / 96))
|
SHADOW_RADIUS=$((12 * dpi / 96))
|
||||||
SHADOW_OFFSET=$((SHADOW_RADIUS*2/3))
|
SHADOW_OFFSET=$((SHADOW_RADIUS*2/3))
|
||||||
CORNER_RADIUS=$((4 * dpi / 96))
|
|
||||||
|
|
||||||
# Configure picom
|
# Configure picom
|
||||||
mkdir -p $XDG_RUNTIME_DIR/i3
|
mkdir -p $XDG_RUNTIME_DIR/i3
|
||||||
|
@ -13,7 +12,6 @@ cat ~/.config/i3/dotfiles/picom.conf \
|
||||||
| sed -e "s/@POLYBAR_HEIGHT@/$POLYBAR_HEIGHT/" \
|
| sed -e "s/@POLYBAR_HEIGHT@/$POLYBAR_HEIGHT/" \
|
||||||
| sed -e "s/@SHADOW_RADIUS@/$SHADOW_RADIUS/" \
|
| sed -e "s/@SHADOW_RADIUS@/$SHADOW_RADIUS/" \
|
||||||
| sed -e "s/@SHADOW_OFFSET@/$SHADOW_OFFSET/" \
|
| sed -e "s/@SHADOW_OFFSET@/$SHADOW_OFFSET/" \
|
||||||
| sed -e "s/@CORNER_RADIUS@/$CORNER_RADIUS/" \
|
|
||||||
> $XDG_RUNTIME_DIR/i3/picom.conf.new
|
> $XDG_RUNTIME_DIR/i3/picom.conf.new
|
||||||
|
|
||||||
# Put new configuration file in place
|
# Put new configuration file in place
|
||||||
|
|
|
@ -68,9 +68,3 @@ shadow-exclude = [
|
||||||
];
|
];
|
||||||
crop-shadow-to-monitor = true;
|
crop-shadow-to-monitor = true;
|
||||||
fade-exclude = [ ];
|
fade-exclude = [ ];
|
||||||
|
|
||||||
corner-radius = @CORNER_RADIUS@
|
|
||||||
rounded-corners-exclude = [
|
|
||||||
"class_i = 'polybar'",
|
|
||||||
"class_i = 'i3-frame'"
|
|
||||||
]
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue