From 5591e8e9502cc4321e7973a728d89edb2e19d23d Mon Sep 17 00:00:00 2001 From: meliurwen Date: Fri, 17 Sep 2021 22:27:01 +0200 Subject: [PATCH] Added a readme, apt dependencies and kernel modules for Thinkpads --- .dependencies/apt.list | 58 +++++++++++++++++++++ .dependencies/modprobe.thinkpad.list | 2 + .stow-local-ignore | 1 + README.md | 75 ++++++++++++++++++++++++++++ 4 files changed, 136 insertions(+) create mode 100644 .dependencies/apt.list create mode 100644 .dependencies/modprobe.thinkpad.list create mode 100644 .stow-local-ignore create mode 100644 README.md diff --git a/.dependencies/apt.list b/.dependencies/apt.list new file mode 100644 index 0000000..4440636 --- /dev/null +++ b/.dependencies/apt.list @@ -0,0 +1,58 @@ +# Core utilities +curl +wget +git +stow +nano +htop +iotop +nload + +# Non-essential but very useful program +zsh +tlp +iwconfig + +haveged # Useful for some programs at boot that needs a good entropy + +# Drivers +firmware-iwlwifi # Module for Intel wifi cards +firmware-misc-nonfree # Intel graphics driver + +network-manager # Automatically handle network connections + +# Audio and brightness +brightnessctl +pulseaudio +alsa-utils + +# X Server +xinit # startx and xinit +xwallpaper +xserver-xorg-video-intel + +# Desktop core apps +i3-wm +i3lock +polybar +rofi +dunst +picom +rxvt-unicode +pavucontrol +nemo +network-manager-gnome + +# Desktop core utilites +mpv +sxiv +gedit +mousepad +zathura +deepin-screenshot + +# Useful apps +chromium +gimp +inkscape +telegram-desktop diff --git a/.dependencies/modprobe.thinkpad.list b/.dependencies/modprobe.thinkpad.list new file mode 100644 index 0000000..08a275b --- /dev/null +++ b/.dependencies/modprobe.thinkpad.list @@ -0,0 +1,2 @@ +rndis_host +iwlwifi diff --git a/.stow-local-ignore b/.stow-local-ignore new file mode 100644 index 0000000..42864ae --- /dev/null +++ b/.stow-local-ignore @@ -0,0 +1 @@ +.dependencies diff --git a/README.md b/README.md new file mode 100644 index 0000000..b9d67a6 --- /dev/null +++ b/README.md @@ -0,0 +1,75 @@ +# .dotfiles + +## Dependencies + +Install from a file list: + +> **Note:** comments and trailing comments starting with `#` are ignored + +```sh +apt-get install $(grep -vE "^\s*#" | sed -e 's/#.*//' | tr "\n" " ") +``` + +## Kernel Modules + +Add modules to the Linux kernel: + +```sh +modprobe +``` + +## Shell + +Take note of the full path of your favorurite shell: + +```sh +type -a zsh +``` + +Set it as default: + +```sh +chsh -s /bin/zsh +``` + +## Fonts + +Reload locally (`~/.local/share/fonts`) installed fonts: + +```sh +fc-cache -f -v +``` + +## Gnome settings + +Dump an entire subpath of the dconf database: + +```sh +dconf dump > .dconf +``` + +Populate a subpath of the dconf database: + +```sh +cat .dconf | dconf load +``` + +## VSCode/Codium + +List all extensions into a file: + +```sh +codium --list-extensions > codium-extensions.list +``` + +Install all the extensions listed into a file (any line that starts with `#` will get ignored): + +```sh +cat codium-extensions.txt | grep -v '^#' | xargs -L1 codium --install-extension +``` + +## Stow + +```sh +stow --restow --no-folding +```