From 13f2918a297734fd60df5dd6d98d1499a6fa8b7c Mon Sep 17 00:00:00 2001 From: CALIN Alexis <alexis.calin9@etu.univ-lorraine.fr> Date: Tue, 10 Jan 2023 11:56:43 +0000 Subject: [PATCH] New install file, to deploy configs --- dwm/install.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 dwm/install.sh diff --git a/dwm/install.sh b/dwm/install.sh new file mode 100644 index 0000000..7c7885b --- /dev/null +++ b/dwm/install.sh @@ -0,0 +1,30 @@ +#depedencies +sudo apt install -y build-essential libx11-dev libxft-dev libxinerama-dev libfreetype6-dev libfontconfig1-dev suckless-tools stterm + +#tear free +sudo mkdir /usr/share/X11/xorg.conf.d/ +#tee /usr/share/X11xorg.conf.d/10-intel.conf + +echo 'Section "Device" + Identifier "Intel Graphics" + Driver "intel" + Option "TearFree" "true" +EndSection' > /usr/share/X11/xorg.conf.d/10-intel.conf + +echo '#keyboard config +setxkbmap fr + +# Statusbar loop +while true; do + xsetroot -name "$( date +" %d/%m/%Y %H:%M")" + sleep 20s # Update time every 20s +done & + +# Set wallpaper +xsetroot -bg black +#feh --bg-fill ~/Images/Wallpaper/Favoris/ISS-view-4.jpg + +exec /usr/local/bin/dwm' > "$HOME/.xinitrc" + +#install dwm +sudo make clean install -- GitLab