diff --git a/.alacritty-install.sh.swp b/.alacritty-install.sh.swp new file mode 100644 index 0000000..623019d Binary files /dev/null and b/.alacritty-install.sh.swp differ diff --git a/.config/compton/compton.conf b/.config/compton/compton.conf index 5c9ff2f..decb4a3 100644 --- a/.config/compton/compton.conf +++ b/.config/compton/compton.conf @@ -6,7 +6,7 @@ # Backend to use: "xrender" or "glx". # GLX backend is typically much faster but depends on a sane driver. -backend = "xrender"; +backend = "glx"; ################################# # diff --git a/.config/i3/config b/.config/i3/config index 262f178..073df03 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -44,7 +44,10 @@ exec --no-startup-id ~/.config/i3/startxrandr.sh & exec --no-startup-id "sleep 15 && picom &" # Configure wallpaper -exec --no-startup-id nitrogen --set-centered ~/wallpapers/abstract.png +exec --no-startup-id "sleep 3 && nitrogen --set-centered ~/wallpapers/abstract.png" + +# Configure xscreensaver +exec --no-startup-id "sleep 5 && xscreensaver &" # Use pactl to adjust volume in PulseAudio. set $refresh_i3status killall -SIGUSR1 i3status @@ -168,8 +171,8 @@ bindsym $mod+a focus parent #bindsym $mod+d focus child # i3-gaps config -#gaps inner 10 -#gaps outer 10 +#gaps inner 6 +#gaps outer 2 # Define names for default workspaces for which we configure key bindings later on. # We use variables to avoid repeating the names in multiple places. diff --git a/alacritty-install.sh b/alacritty-install.sh new file mode 100755 index 0000000..9c10183 --- /dev/null +++ b/alacritty-install.sh @@ -0,0 +1,53 @@ +#!/bin/bash + +################################################### +# Script to build and install alacritty on Debian # +# Author: q3aql (q3aql@duck.com # +# Last update: 14-11-2021 # +# ################################################ + +# Variables +URL_Repo="https://github.com/alacritty/alacritty" +dir_build="alacritty" + +# Check if you are root +mkdir -p /etc/root &> /dev/null +administrador=$? +if [ ${administrador} -eq 0 ] ; then + rm -rf /etc/root +else + echo "" + echo "* alacritty install" + echo "" + echo "* Administrator permissions are required" + echo "" + exit +fi + +# Install dependencies +apt update +apt upgrade -y +apt install make gcc autoconf cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3 cargo -y + +#Build and install i3-gaps +cd /tmp +git clone ${URL_Repo} ${dir_build} +cd ${dir_build} +cargo build --release +cd target/release/ +strip --strip-all alacritty +cp -rfv alacritty /usr/bin/ +chmod +x /usr/bin/alacritty + +# Show message to restart +echo "" +echo "* alacritty process finished!" +echo "" +echo "* Exec 'alacritty' for load app" +echo "" + +# Clean files +rm -rf /tmp/${dir_build} + + + diff --git a/i3-gaps-install.sh b/i3-gaps-install.sh new file mode 100755 index 0000000..c7b4410 --- /dev/null +++ b/i3-gaps-install.sh @@ -0,0 +1,60 @@ +#!/bin/bash + +################################################# +# Script to build and install i3-gaps on Debian # +# Author: q3aql (q3aql@duck.com # +# Last update: 14-11-2021 # +# ############################################### + +# Variables +URL_Repo="https://www.github.com/Airblader/i3" +dir_build="i3-gaps" + +# Check if you are root +mkdir -p /etc/root &> /dev/null +administrador=$? +if [ ${administrador} -eq 0 ] ; then + rm -rf /etc/root +else + echo "" + echo "* i3-gaps install" + echo "" + echo "* Administrator permissions are required" + echo "" + exit +fi + +# Install dependencies +apt update +apt upgrade -y +apt install dh-autoreconf libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev xcb libxcb1-dev libxcb-icccm4-dev libyajl-dev libev-dev libxcb-xkb-dev libxcb-cursor-dev libxkbcommon-dev libxcb-xinerama0-dev libxkbcommon-x11-dev libstartup-notification0-dev libxcb-randr0-dev libxcb-xrm0 libxcb-xrm-dev libxcb-shape0 libxcb-shape0-dev -y +apt install libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev \ +libxcb-util0-dev libxcb-icccm4-dev libyajl-dev \ +libstartup-notification0-dev libxcb-randr0-dev \ +libev-dev libxcb-cursor-dev libxcb-xinerama0-dev \ +libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev \ +autoconf libxcb-xrm-dev -y +apt install cmake make gcc meson ninja-build git -y + +#Build and install i3-gaps +cd /tmp +git clone ${URL_Repo} ${dir_build} +cd ${dir_build} +mkdir -p build && cd build +meson .. +ninja +ninja install +cp -rfv /usr/local/bin/i3* /usr/bin/ + +# Show message to restart +echo "" +echo "* i3-gaps process finished!" +echo "" +echo "* Restart to load i3-gaps" +echo "" + +# Clean files +rm -rf /tmp/${dir_build} + + + diff --git a/i3-tiling.txt b/i3-tiling.txt index b04e56f..114a1d9 100644 --- a/i3-tiling.txt +++ b/i3-tiling.txt @@ -30,4 +30,4 @@ sudo apt-get install git nodejs node-base python3 npm OTHER: -sudo apt-get install make cmake gcc cargo neofetch screenfetch lm-sensors xfce4-screenshooter +sudo apt-get install make cmake gcc cargo neofetch screenfetch lm-sensors xfce4-screenshooter xscreensaver