Add kitty and picom scripts

Signed-off-by: AKU <tom@tdpain.net>
This commit is contained in:
akp 2022-02-20 14:19:09 +00:00
parent 52fdcfa031
commit 4f1713fc34
No known key found for this signature in database
GPG key ID: AA5726202C8879B7
3 changed files with 33 additions and 0 deletions

View file

@ -23,6 +23,8 @@ Markdown docs and shell scripts for automating installation of things and docume
* [`fuck.md`](fuck.md) for installing https://github.com/nvbn/thefuck
* [`gpaste.md`](gpaste.md) for installing the GPaste clipboard manager
* [`i3-move-monitor.md`](i3-move-monitor.md) for moving virtual monitor positions when using i3
* [`kitty.sh`](kitty.sh) for installing the Kitty terminal emulator
* [`picom.sh`](picom.sh) for compiling and installing the Picom compositor
* [`rclone.sh`](rclone.sh)
* [`restic.sh`](restic.sh) for installing the Restic backup tool
* [`rootcert.md`](rootcert.md) for installing other root certificates

17
kitty.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/bash
set -ex
TEMP_DIR="/tmp/kittyInstall"
mkdir -p $TEMP_DIR
(
cd $TEMP_DIR
wget https://github.com/kovidgoyal/kitty/releases/download/v0.24.2/kitty-0.24.2-x86_64.txz
tar xvf kitty-0.24.2-x86_64.txz
sudo cp bin/kitty /usr/local/bin
)
rm -rf $TEMP_DIR

14
picom.sh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash
set -ex
sudo apt install -y libxext-dev libxcb1-dev libxcb-damage0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-render-util0-dev libxcb-render0-dev libxcb-randr0-dev libxcb-composite0-dev libxcb-image0-dev libxcb-present-dev libxcb-xinerama0-dev libxcb-glx0-dev libpixman-1-dev libdbus-1-dev libconfig-dev libgl1-mesa-dev libpcre2-dev libpcre3-dev libevdev-dev uthash-dev libev-dev libx11-xcb-dev meson
git clone git@github.com:yshui/picom.git ~/picom
(
cd ~/picom
git submodule update --init --recursive
meson --buildtype=release . build
ninja -C build
sudo cp build/src/picom /usr/local/bin
)