Skip to content

mohkale/dotfiles

Repository files navigation

header

My dotfile repository, happily brought to you by dotty 📖.

./.github/main.png

Installation

git clone https://github.com/mohkale/dotfiles ~/.config/dotfiles && cd ~/.config/dotfiles && ./manage install.

For a list of available subconfigurations that can be instaled, run ./manage list-bots. Install a config by running ./manage install -b prog1,prog2,....

Directory Layout

pathpurpose
corecore files which’re installed regardless of environment.
binscripts, executables, commands. you get the idea 😎.
distconfigurations for specific distros or environments.
progsets up various programs, eg. zathura or konsole.
prog/desktopconfigs for desktop environments, window managers, etc.
prog/editorsvim, emacs… what more do you need.
prog/langssetup multiple programming languages & environments.
setupscripts and binaries related to managing dotfiles.

It’s worth noting several programs also have scripts and auto-loads that could be placed in bin/ but are instead placed in a cmds/ sub-directory of their program configuration, just to make maintenance easier. For example tmux has several commands in prog/tmux/cmds, instead of bin/.

Notes

Windows

Linux

High DPI

Has issues with high DPI screens such as on a macbook. To get this fixed you can set Xft.dpi to a value greater than 100 in ~/.Xresources. This will work for most low level window managers or desktop environments but some more advanced ones (such as KDE) will ignore this setting and instead rely on custom configurations. In this case you should use xrandr to trick X into thinking the screen is larger than it is and then zoom-in in the settings for your desktop environment until you reach a level of resolution that works.

xrandr --output eDP1 --fb 3200x1800 --panning 3200x1800 --scale 1.25x1.25

Bluetooth Headsets

Might have issues with bluetooth headsets cutting in and out during usage. In my case this is often fixed by changing the controller mode for your bluetooth driver. Simply open sudoedit /etc/bluetooth/main.conf and ControllerMode = bredr.

GTK Sort Directories First

gsettings set org.gtk.Settings.FileChooser sort-directories-first true

Screenshots

.github/gotop.png

.github/lf.png

.github/emacs.png

.github/mpd+ncmpcpp.png