forked from Snoweuph/Dotfiles
27 lines
810 B
Bash
Executable file
27 lines
810 B
Bash
Executable file
#!/bin/bash
|
|
|
|
RICE_PICOM_PATH=$RICE_DIR_CONFIG/picom
|
|
mkdir -p $RICE_PICOM_PATH
|
|
|
|
# Generate picom.conf
|
|
echo "# $RICE_GENERATED_HEADER" > $RICE_PICOM_PATH/picom.nogit.conf
|
|
cat $RICE_PICOM_PATH/picom.conf >> $RICE_PICOM_PATH/picom.nogit.conf
|
|
echo "
|
|
|
|
|
|
#################################
|
|
# Generated Part #
|
|
#################################
|
|
|
|
round-borders-rule = [
|
|
\"$RICE_BORDER_THICKNESS:window_type = 'unknown'\",
|
|
\"$RICE_BORDER_THICKNESS:window_type = 'toolbar'\",
|
|
\"$RICE_BORDER_THICKNESS:window_type = 'utility'\",
|
|
\"$RICE_BORDER_THICKNESS:window_type = 'splash'\",
|
|
\"$RICE_BORDER_THICKNESS:window_type = 'dialog'\",
|
|
\"$RICE_BORDER_THICKNESS:window_type = 'normal'\"
|
|
];
|
|
|
|
corner-radius = $RICE_BORDER_RADIUS;
|
|
round-borders = $RICE_BORDER_RADIUS;
|
|
" >> $RICE_PICOM_PATH/picom.nogit.conf
|