[feature] rounded corner
This commit is contained in:
parent
d6eabdef2b
commit
0d6ffc3e03
|
@ -25,7 +25,8 @@ esac
|
||||||
|
|
||||||
# build and install picom
|
# build and install picom
|
||||||
#intorepo https://github.com/klesh/picom.git "$DIR/repos/picom"
|
#intorepo https://github.com/klesh/picom.git "$DIR/repos/picom"
|
||||||
intorepo https://github.com/yshui/picom.git "$DIR/repos/picom"
|
#intorepo https://github.com/yshui/picom.git "$DIR/repos/picom"
|
||||||
|
intorepo https://github.com/ibhagwan/picom.git "$DIR/repos/picom"
|
||||||
meson --buildtype=release . build
|
meson --buildtype=release . build
|
||||||
sudo ninja -C build install
|
sudo ninja -C build install
|
||||||
exitrepo
|
exitrepo
|
||||||
|
|
|
@ -1,4 +1,39 @@
|
||||||
#################################
|
#################################
|
||||||
|
# Corners #
|
||||||
|
#################################
|
||||||
|
# requires: https://github.com/sdhand/compton
|
||||||
|
corner-radius = 7.0;
|
||||||
|
rounded-corners-exclude = [
|
||||||
|
#"window_type = 'normal'",
|
||||||
|
"class_g = 'awesome'",
|
||||||
|
"class_g = 'URxvt'",
|
||||||
|
"class_g = 'XTerm'",
|
||||||
|
"class_g = 'kitty'",
|
||||||
|
"class_g = 'Alacritty'",
|
||||||
|
#"class_g = 'Polybar'",
|
||||||
|
"class_g = 'code-oss'",
|
||||||
|
"class_g = 'firefox'",
|
||||||
|
"class_g = 'Thunderbird'"
|
||||||
|
];
|
||||||
|
round-borders = 3;
|
||||||
|
round-borders-exclude = [
|
||||||
|
#"class_g = 'TelegramDesktop'",
|
||||||
|
];
|
||||||
|
|
||||||
|
# Specify a list of border width rules, in the format `PIXELS:PATTERN`,
|
||||||
|
# Note we don't make any guarantee about possible conflicts with the
|
||||||
|
# border_width set by the window manager.
|
||||||
|
#
|
||||||
|
# example:
|
||||||
|
# round-borders-rule = [ "2:class_g = 'URxvt'" ];
|
||||||
|
#
|
||||||
|
round-borders-rule = [
|
||||||
|
"3:class_g = 'XTerm'",
|
||||||
|
"3:class_g = 'URxvt'",
|
||||||
|
"10:class_g = 'Alacritty'",
|
||||||
|
"15:class_g = 'Signal'"
|
||||||
|
];
|
||||||
|
#################################
|
||||||
# Shadows #
|
# Shadows #
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ stop() {
|
||||||
start() {
|
start() {
|
||||||
echo start
|
echo start
|
||||||
picom -b --experimental-backends \
|
picom -b --experimental-backends \
|
||||||
--blur-method dual_kawase --blur-strength 6 \
|
--blur-method dual_kawase --blur-strength 7 --blur-size 15 \
|
||||||
--no-fading-openclose
|
--no-fading-openclose
|
||||||
sleep 1
|
sleep 1
|
||||||
! pgrep -x picom >/dev/null && echo 'fallback' && picom -b --no-fading-openclose
|
! pgrep -x picom >/dev/null && echo 'fallback' && picom -b --no-fading-openclose
|
||||||
|
|
Loading…
Reference in New Issue
Block a user