Skip to content

BPHarris/.dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.dotfiles

My dotfiles.

Install

Prerequisites

Core:

sudo pacman -S git ttf-firacode-nerd ttf-font-awesome terminus-font noto-fonts-emoji

PulseAudio scripts:

sudo pacman -S pamixer

Required

git clone --bare https://github.com/bpharris/.dotfiles $HOME/.dotfiles
git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME checkout

Thereafter one may use config as though it were git, with tab-completeion! (Provided you follow the related optional step).

Optional

Nota Bene: Be sure to use absolute paths in symblolic links to avoid any gotchas (i.e. via $HOME).

Mouse config:

sudo ln -s $HOME/.config/X11/* /etc/X11/xorg.conf.d/

Bash completions (including the config alias):

sudo ln -s $HOME/.config/bash-completion/completions/* /usr/share/bash-completion/completions/

Pacman hooks:

# Update init ram fs on kernal and/or nvidia driver update:
sudo ln -s $HOME/.local/pacman-hooks/nvidia.hook /etc/pacman.d/hooks/nvidia.hook

# Reset user xkbmap on updating X11:
sudo ln -s $HOME/.local/pacman-hooks/xorg-set-user-xkbmap.hook /etc/pacman.d/hooks/xorg-set-user-xkbmap.hook

Apply Theme to Flatpak

The easiest way is via flatseal, in the settings for All Applications expose the folders:

  1. ~/.icons
  2. ~/.themes

then set the GTK environment variables:

ICON_THEME=bpharris
GTK_THEME=bpharris

For more info see the itsfoss article.

Extensions

Some optional additional configuration.

Emoji Picker

Install via:

sudo pacman -S rofi-emoji

Use via:

# equivalent to `--action print type`
rofimoji

# print selected emoji to stdout
rofimoji -a print

# type the selected emoji for you
rofimoji -a type

# copy the selected emoji to the clipboard
rofimoji -a copy

# copy to the clipboard and print to stdout
rofimoji -a clipboard
rofimoji -a copy print

# lazy
rofimoji -a print copy type

Unhandled Additions

Some related things I like to do that aren't covered yet.

  • gtk / qt themes
  • grub config
  • plymouth config
  • ufw config

Todo

  • refactor config files
  • personal gtk/qt themes
  • auto install script
  • move to pipewire / pipewire-jack