Skip to content

Instantly share code, notes, and snippets.

@lukeawyatt
Last active October 22, 2023 11:50
Show Gist options
  • Save lukeawyatt/870c6af8e2f546164cdb1b1b4804fad1 to your computer and use it in GitHub Desktop.
Save lukeawyatt/870c6af8e2f546164cdb1b1b4804fad1 to your computer and use it in GitHub Desktop.
System: Ubuntu
decoratio, window, window.background, window.titlebar,* {
border-radius: 0px;
}
.default-decoration {
min-height: 0px;
padding: 0px;
}
.default-decoration .titlebutton {
min-height: 0px;
min-width: 0px;
}
headerbar entry,
headerbar spinbutton,
headerbar button,
headerbar separator {
margin-top: 0px;
margin-bottom: 0px;
}
headerbar {
min-height: 16px;
padding-left: 2px;
padding-right: 2px;
margin: 0px;
padding: 0px;
}
window.ssd headerbar.titlebar {
padding-top: 3px;
padding-bottom: 3px;
min-height: 0px;
}
window.ssd headerbar.titlebar button.titlebuton {
padding-top: 3px;
padding-bottom: 3px;
min-height: 0px;
}
#!/bin/bash
# ENVIRONMENT SETUP, CURRENT UBUNTU 20.04
cd ~
mkdir Packages
cd Packages
# GNOME STYLING
wget -L -O gtk.css https://gist.githubusercontent.com/lukeawyatt/870c6af8e2f546164cdb1b1b4804fad1/raw/gtk.css
cp ./gtk.css ~/.config/gtk-3.0/gtk.css
rm -f gtk.css
# MOTD
wget -L -O motd https://gist.githubusercontent.com/lukeawyatt/95b5fb102d4abee71aee465776129b63/raw/ASCII.Skull.motd
cp ./motd /etc/motd
rm -f motd
# GESTURES AGENT
sudo apt install python3 python3-gi python-gobject meson xdotool libinput-tools gettext
sudo gpasswd -a $USER input
git clone https://github.com/bulletmark/libinput-gestures.git
cd libinput-gestures
sudo make install
sudo ./libinput-gestures-setup install
libinput-gestures-setup start
libinput-gestures-setup autostart
cd ~/Packages
# GESTURES UI
git clone https://gitlab.com/cunidev/gestures
cd gestures
meson build --prefix=/usr
# TROUBLESHOOT DEPENDENCIES HERE
ninja -C build
sudo ninja -C build install
cd ~/Packages
# GNOME EXTENTIONS
sudo apt-get install chrome-gnome-shell
# POP SHELL
sudo apt install git node-typescript make
git clone https://github.com/pop-os/shell.git
cd shell
make local-install
cd ~/Packages
# PERFORMANCE
add-apt-repository ppa:linrunner/tlp
apt-get update
apt-get install tlp tlp-rdw indicator-cpufreq
tlp start
# RESTART
shutdown -r now
#!/bin/bash
# RUN AS SUPERUSER
# GNOME STYLING
wget -L -O gtk.css https://gist.githubusercontent.com/lukeawyatt/870c6af8e2f546164cdb1b1b4804fad1/raw/gtk.css
cp ./gtk.css ~/.config/gtk-3.0/gtk.css
rm -f gtk.css
# MOTD
wget -L -O motd https://gist.githubusercontent.com/lukeawyatt/95b5fb102d4abee71aee465776129b63/raw/ASCII.Skull.motd
cp ./motd /etc/motd
rm -f motd
# PACKAGING AND SYSTEM UPGRADES
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get clean
apt-get autoclean
apt-get autoremove
shutdown -r now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment