Add links
This commit is contained in:
parent
ba6612b3fb
commit
0da8c1b00b
2 changed files with 95 additions and 10 deletions
59
dotfiles/picom.conf
Executable file
59
dotfiles/picom.conf
Executable file
|
@ -0,0 +1,59 @@
|
|||
## shadow
|
||||
shadow = true;
|
||||
no-dnd-shadow = true;
|
||||
no-dock-shadow = true;
|
||||
clear-shadow = true;
|
||||
shadow-radius = 12;
|
||||
shadow-offset-x = -12;
|
||||
shadow-offset-y = -12;
|
||||
shadow-opacity = 0.95;
|
||||
shadow-red = 0.18;
|
||||
shadow-green = 0.20;
|
||||
shadow-blue = 0.25;
|
||||
shadow-exclude = [
|
||||
"class_g = 'Cairo-clock'" ,
|
||||
"class_g = 'CoverGloobus'",
|
||||
"class_g = 'Tilda'",
|
||||
"class_g = 'Conky'",
|
||||
"class_g ?= 'Notify-osd'",
|
||||
"class_g = 'Firefox'",
|
||||
"class_g = 'Firefox-esr'",
|
||||
"class_g = 'Dmenu'",
|
||||
"name = 'Notification'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
|
||||
## fading
|
||||
fading = true;
|
||||
fade-delta = 0.25;
|
||||
fade-in-step = 0.02;
|
||||
fade-out-step = 0.02;
|
||||
fade-exclude = [
|
||||
];
|
||||
|
||||
## other
|
||||
backend = "xrender";
|
||||
mark-wmwin-focused = true;
|
||||
mark-ovredir-focused = true;
|
||||
detect-rounded-corners = true;
|
||||
detect-client-opacity = true;
|
||||
refresh-rate = 0;
|
||||
vsync = "none";
|
||||
dbe = false;
|
||||
paint-on-overlay = true;
|
||||
focus-exclude = [
|
||||
"class_g = 'Cairo-clock'" ,
|
||||
"class_g = 'CoverGloobus'",
|
||||
"class_g = 'Tilda'",
|
||||
"class_g = 'Firefox'",
|
||||
"class_g = 'Firefox-esr'"
|
||||
];
|
||||
detect-transient = true;
|
||||
detect-client-leader = true;
|
||||
invert-color-include = [ ];
|
||||
glx-copy-from-front = false;
|
||||
glx-swap-method = "undefined";
|
||||
wintypes:
|
||||
{
|
||||
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; };
|
||||
};
|
|
@ -11,14 +11,14 @@ fi
|
|||
|
||||
if [ "$OS" = 'arch' ]; then
|
||||
sudo pacman -S --needed i3
|
||||
sudo pacman -S --needed i3-wm dunst i3blocks i3lock i3status suckless-tools
|
||||
sudo pacman -S --needed dunst suckless-tools
|
||||
sudo pacman -S --needed picom hsetroot rofi xsettingsd lxappearance scrot viewnior
|
||||
sudo pacman -S --needed fonts-noto fonts-mplus fonts-awesome
|
||||
sudo pacman -S --needed noto-fonts
|
||||
elif [ "$OS" = 'debian' ]; then
|
||||
sudo apt install i3
|
||||
sudo apt install i3-wm dunst i3blocks i3lock i3status suckless-tools
|
||||
sudo apt install dunst suckless-tools
|
||||
sudo apt install picom hsetroot rofi xsettingsd lxappearance scrot viewnior
|
||||
sudo apt install fonts-noto fonts-mplus fonts-awesome
|
||||
sudo apt install fonts-noto
|
||||
else
|
||||
echo "${RED}The OS wasn't defined. Quitting...${NC}"
|
||||
exit 1
|
||||
|
@ -28,20 +28,46 @@ fi
|
|||
|
||||
# Add clones from GitHub {{{
|
||||
|
||||
github_dotfiles=~/github_dotfiles
|
||||
|
||||
mkdir -p ~/github_dotfiles
|
||||
if [ -e ~/github_dotfiles/i3-starterpack ]; then
|
||||
if [ -e "$github_dotfiles"/i3-starterpack ]; then
|
||||
if [ "$UPDATE" = 'true' ]; then
|
||||
cd ~/github_dotfiles/i3-starterpack && git pull
|
||||
cd "$github_dotfiles"/i3-starterpack && git pull
|
||||
fi
|
||||
else
|
||||
cd ~/github_dotfiles && git clone https://github.com/addy-dclxvi/i3-starterpack.git
|
||||
cd "$github_dotfiles" && git clone https://github.com/addy-dclxvi/i3-starterpack.git
|
||||
fi
|
||||
if [ -e ~/github_dotfiles/i3blocks-contrib ]; then
|
||||
if [ -e "$github_dotfiles"/i3blocks-contrib ]; then
|
||||
if [ "$UPDATE" = 'true' ]; then
|
||||
cd ~/github_dotfiles/i3blocks-contrib && git pull
|
||||
cd "$github_dotfiles"/i3blocks-contrib && git pull
|
||||
fi
|
||||
else
|
||||
cd ~/github_dotfiles && git clone https://github.com/vivien/i3blocks-contrib.git
|
||||
cd "$github_dotfiles" && git clone https://github.com/vivien/i3blocks-contrib.git
|
||||
fi
|
||||
|
||||
# }}}
|
||||
|
||||
# Add config links {{{
|
||||
|
||||
echo "Adding .Xresources and .xsettingsd"
|
||||
if [ ! -L ~/.Xresources ]; then
|
||||
ln -rs "$github_dotfiles"/i3-starterpack/.Xresources ~/.Xresources 2> /dev/null
|
||||
fi
|
||||
if [ ! -L ~/.xsettingsd ]; then
|
||||
ln -rs "$github_dotfiles"/i3-starterpack/.xsettingsd ~/.xsettingsd 2> /dev/null
|
||||
fi
|
||||
|
||||
echo "Adding picom.config"
|
||||
mkdir -p ~/.config
|
||||
if [ ! -L ~/.config/picom.conf ]; then
|
||||
ln -rs "$BASE_DIR"/dotfiles/picom.conf ~/.config/picom.conf 2> /dev/null
|
||||
fi
|
||||
|
||||
echo "Adding feather.ttf"
|
||||
mkdir -p ~/.fonts/icomoon
|
||||
if [ ! -L ~/.fonts/icomoon/feather.ttf ]; then
|
||||
ln -rs "$github_dotfiles"/i3-starterpack/.fonts/icomoon/feather.ttf ~/.fonts/icomoon/feather.ttf 2> /dev/null
|
||||
fi
|
||||
|
||||
# }}}
|
||||
|
|
Loading…
Add table
Reference in a new issue