added picom config

This commit is contained in:
Shihaam Abdul Rahman 2023-03-26 10:42:36 +05:00
parent 23dfbf1592
commit 351c1c959f
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636
4 changed files with 33 additions and 1 deletions

View File

@ -191,6 +191,9 @@ bar {
}
# remove blue border on windows
for_window [class="^.*"] border pixel 0
#restore displays
exec --no-startup-id /home/shihaam/.scripts/office2kdisplay.sh

23
config/picom/picom.conf Normal file
View File

@ -0,0 +1,23 @@
backend = "glx";
no-dock-shadow = true;
active-opacity = 10;
frame-opacity = 10;
inactive-opacity-override = false;
blur-background = false;
corner-radius = 5;
shadow = false;
shadow-ignore-shaped = false;
no-fading-destroyed-argb = true;
no-fading-openclose = true;
no-fading-destroy = true;
fade-in-step = 1;
fade-out-step = 1;
fade-delta = 0;
daemon = true;
fading = false;
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
use-damage = true;
xrender-sync-fence = true;
vsync = false;
unredir-if-possible = false;

View File

@ -68,3 +68,9 @@ then
ln -s $PWD/local/share/fonts/* $HOME/.local/share/fonts/
fi
###################################################################
read -p "Would you like to restore picom config [Y/n]: " FONTS
if [ "$PICOM" = "Y" ] || [ "$PICOM" = "y" ] || [ "$PICOM" = "" ]
then
mkdir /home/shihaam/.config/picom/
ln -s $PWD/config/picom/picom.conf $HOME/.config/picom/picom.conf
fi

View File

@ -1,2 +1,2 @@
#!/bin/sh
xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x360 --rotate normal --output HDMI-1 --off --output DP-1 --mode 2560x1440 --pos 1920x0 --rotate normal --output HDMI-2 --off
xrandr --output eDP-1 --mode 1920x1080 --pos 0x360 --rotate normal --output HDMI-1 --off --output DP-1 --primary --mode 2560x1440 --pos 1920x0 --rotate normal --output HDMI-2 --off