Clone this repository in your home directory (~
). The install.sh
script checks pre- and post-conditions, links files and installs/updates programs.
cd ~
git clone https://github.com/andys8/dotfiles.git
cd dotfiles
./install.sh
Local script executed on machine startup
#!/bin/bash
[ -z "$(pgrep dropbox)" ] && dropbox start &
[ -z "$(pgrep -f duplicati)" ] && duplicati &
# ubuntu only
[ -z "$(pgrep pulseaudio)" ] && pulseaudio --daemonize
#!/bin/bash
[ -z "$(pgrep -f slack)" ] && slack --startup &
[ -z "$(pgrep -f gcal-notifier-kotlin-gtk)" ] && gcal-notifier-kotlin-gtk &
[ -z "$(pgrep -f hasmail)" ] || killall hasmail
hasmail &
click=xdg-open https://mail.google.com
[gmail]
hostname=imap.gmail.com:993
username=<email>
password=lpass show -p personal/gmail-hasmail
Local default git user configuration with an example for conditional includes.
[user]
name = andys8
email = [email protected]
[includeIf "gitdir:~/dev/repository/work/"]
path = ~/.gitconfig.work
[user]
name = andreas
email = [email protected]
[url "ssh://[email protected]/"]
insteadOf = https://[email protected]/
Contains per system environment variables (optional).
export PATH=/home/user/example-path:$PATH
export SLACK_TOKEN=example-token
bash -c 'chsh -s $(chsh -l | grep -m 1 fish)'
Open config with fish_config
and set theme to dracula
in Web-UI.
Add WINIT_HIDPI_FACTOR=1.0
to /etc/environment
sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/alacritty 80
Fork of st: andys8/st
sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/local/bin/st 80
sudo update-alternatives --config x-terminal-emulator
lightdm
is expected. /usr/share/xsessions/xmonad.desktop
will be created if not existing.
Run ibus-setup
and delete shortcut to remove conflict with keybinding.
xdg-settings set default-web-browser org.qutebrowser.qutebrowser.desktop
xdg-settings set default-web-browser chromium.desktop # or stick with chromium
xdg-mime default chromium.desktop x-scheme-handler/https
xdg-mime default chromium.desktop x-scheme-handler/http
Download dictionaries for spell checking
git clone https://github.com/qutebrowser/qutebrowser.git && cd qutebrowser
./scripts/dictcli.py install en-US
./scripts/dictcli.py install de-DE
# or with virtualenv (if wrong directory)
./.venv/bin/python3 ./scripts/dictcli.py install en-US
Might be necessary to copy to ~/.local/share/qutebrowser/qtwebengine_dictionaries
Enable time synchronization with timedatectl set-ntp true
.
Set credentials in ~/.netrc
Open sudo visudo
and add these lines to enable asterisks and silly feedback.
Defaults insults
Defaults pwfeedback
Defaults secure_path
is not set to keep$PATH
and access to user installed binaries with sudo.Defaults env_keep += "HOME"
keeps the home directory and uses configuration files.
Enable in /etc/pacman.conf
:
Color
ILoveCandy
VerbosePkgLists
Install xcursor-breeze
and Ant-Dracula
theme. Configure with lxappearance
.