Code Monkey home page Code Monkey logo

dotfiles's Introduction

dotfiles

My dotfiles managed using GNU Stow.

Personal installation notes

Things that I might want to backup manually

  • ~/.local/share/fish/fish_history
  • uBlock Origin filters & settings
  • Twitch FFZ & Previews settings
  • ViolentMonkey userscripts & options
  • YouTube Enhancer & SponsorBlock config
  • Tabs and windows using Session Buddy
  • Remote Torrent Adder config
  • AniList Automail userscript config
  • Flatpak apps (~/.var/app/ or flatpak list --columns=application --app)
  • gpg keys (~/.gnupg/)

Manual actions to perform

  • Disable HoverZoom+ on
qbittorrent.bas.sh
twitch.tv
kick.com
trash-guides.info
kemono.su
coomer.su
pixeldrain.com
drive.google.com
bas.eos.usbx.me
eos.usbx.me
scrutiny.bas.sh
youtube.com
store.steampowered.com

//TODO: properly automate everything below

Clone dotfiles

git clone [email protected]:brw/dotfiles.git

Disable Intel pstate driver

Add intel_pstate=disable to the options in /boot/entries/linux.conf

Copy system files

sudo cp sysctl/etc/sysctld.d/* /etc/sysctl.d/
sudo cp zram/etc/systemd/zram-generator.conf /etc/systemd/

Install yay

git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
yay -Y --gendb

Import tor gpg key

gpg --auto-key-locate nodefault,wkd --locate-keys [email protected]

Install packages

yay -Syu --needed $(cat arch-*-packages)

Install dotfiles

rm -rf ~/.config/fish
stow -d dotfiles bin cpupower direnv fish git gtk neofetch nvim pacman ripgrep mise starship stow terminator wayland yay

Update pkgfile database

sudo pkgfile -u

Enable timers

sudo systemctl enable --now yaycache.timer paccache.timer plocate-updatedb.timer

Enable printer service

sudo systemctl enable --now cups

Enable en_NL locale

sudo sed -i '/^#en_NL.UTF-8 UTF-8/s/^#//' /etc/locale.gen
sudo locale-gen

Fix fish universal variables in Gnome Wayland session

modify /usr/bin/gnome-session, changing (hardcoding) $SHELL to shell on line 10.

temporary fix for fish-shell/fish-shell#7995 (probably bad but /shrug, universal variables are sort of maybe being removed in the near future anyway, at which point I'll change this)

Fix scaling issues on Gnome Wayland

gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"

Unbind XF86Tools (F13) on Gnome

for some reason the button I have bound to F13 on my mouse opens the Gnome control center/settings by default, with no way to change it outside of dconf/gsettings. quite annoying

gsettings set org.gnome.settings-daemon.plugins.media-keys control-center-static "['']"

Get latest plex-rich-presence

curl -s https://api.github.com/repos/Arno500/plex-richpresence/releases/latest \
    | jq -r '.assets[] | select(.name | contains("linux_amd64")).browser_download_url' \
    | wget -q -P $HOME -i - \
    && chmod +x $HOME/plex-rich-presence_linux_amd64-*

Install systemd services

sudo cp systemd/etc/systemd/system/reload-cpu-modules.service /etc/systemd/system/
sudo systemctl enable --now reload-cpu-modules
cp systemd/.config/systemd/user/plex-rich-presence.service ~/.config/systemd/user/
#cp systemd/.config/systemd/user/imwheel.service ~/.config/systemd/user/
systemctl --user enable --now plex-rich-presence

dotfiles's People

Contributors

brw avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.