You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
4.4 KiB

# dotfiles
![vim-example](vim-example.jpg)
My arch compatible user dotfiles.
They were originally based on the dotfiles of [lukesmithxyz](https://github.com/lukesmithxyz/voidrice).
This being some time, hundreds of commits and my personalized version of [larbs](https://github.com/TiynGER/larbs) ago, they are now quite different.
## Required and Recommended Software
All requirements and recommendations get installed by my version of LARBS.
To take a look at all the software it installs look at the [progs.csv](https://github.com/TiynGER/larbs/blob/master/progs.csv) in my LARBS repository.
## Migration of my dotfiles to other system
- set alias in .bashrc: `alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'`
- clone this repository: `git clone --bare https://github.com/Tiyn/dotfiles $HOME/.dotfiles`
- optional: backup old files:
```
mkdir -p .config-backup && \
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
xargs -I{} mv {} .config-backup/{}
```
- checkout changes: `config checkout`
- ignore untracked files: `config config --local status.showUntrackedFiles no`
- pull current setup: `config pull`
- finish setup for vim:
- open vim
- `:PlugInstall`
## Ignore local changes to config files
If you need to make local changes to config files that are not to be pushed
run `config update-index --skip-worktree <file>` to stop git from showing them
having changes.
## Hotkeys
There are various shortcuts and hotkeys used in this version. Included in my build are the following.
[Dwm](https://github.com/tiyn/dwm)s and [st](https://github.com/tiyn/st)s hotkeys can be found in their repositories.
### SXHKD
| ModKey | Shift | Key | Function |
| ------ | ----- | ----------------- | --------------------------------------------------------- |
| Super | | Return | Spawn terminal |
| Super | | b | Spawn browser |
| Super | Shift | b | Toggle dwmbar |
| Super | | f | Spawn filemanager |
| Super | | i | Spawn intellij-idea-ultimate-edition |
| Super | | m | Spawn thunderbird |
| Super | | p | Spawn ncmpcpp in st |
| Super | Shift | r | (dmenu) dmenu\_run |
| Super | Shift | r | Restart sxkd |
| Super | | s | (dmenu) Startpagesearch |
| Super | | F5 | Enable 2 Screen Monitor |
| Super | | F6 | Toggle touchpad |
| Super | | F7 | (dmenu) Mounting drives |
| Super | | F8 | (dmenu) Unmounting drives |
| Super | | F9 | Restart NetworkManager |
| Super | | F10 | (dmenu) Prompt, if yes: slock |
| Super | | F11 | (dmenu) Prompt, if yes: reboot |
| Super | | F12 | (dmenu) Prompt, if yes: shutdown |
| Super | | Print | (dmenu) Prompt to take a screenshot |
| | | AudioMute | Volume mute |
| | | AudioMicMute | Mic Mute |
| | | AudioLowerVolume | Volume lower |
| | | AudioRaiseVolume | Volume raise |
| | | MonBrightnessDown | Brightness decrease |
| | | MonBrightnessUp | Brightness increase |
## Additional configs
Additional configs (and for example firefox plugins) can be found in my [wiki](https://github.com/tiyn/wiki).