1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-18 18:07:45 +01:00
dotfiles/README.md

131 lines
6.8 KiB
Markdown
Raw Normal View History

# Dotfiles
2022-08-08 22:29:03 +02:00
2023-09-10 04:39:16 +02:00
![vim-example](vim-example.png)
2020-05-10 00:19:47 +02:00
2024-05-15 07:20:37 +02:00
My Arch Linux 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
2024-05-15 07:20:37 +02:00
[larbs](https://github.com/Tiyn/larbs) ago, they are now quite different.
2019-07-06 22:57:48 +02:00
2025-02-22 07:04:37 +01:00
## Default Programs
The following are some of the main programs that are installed by using this install script.
- Operating System: `Arch Linux`
- Window Manager: `dwm`
- Audio Server: `pipewire`
- Shell: `zsh`
- Terminal Emulator: `st`
- File Manager: `vifm`
- Application Launcher: `dmenu(_run)`
- Status Bar: `dwmblocks`
- Notification Service: `dunst`
- Text Editor: `neovim`
- Reader: `zathura`
- Browser: `zen-browser`
- Lockscreen: `slock`
2025-02-22 07:07:42 +01:00
- Hotkey Service: `sxhkd`
2020-05-10 00:19:47 +02:00
2020-03-17 09:12:34 +01:00
All requirements and recommendations get installed by my version of LARBS.
To take a look at all the software it installs look at the
2024-05-15 07:20:37 +02:00
[progs.csv](https://github.com/Tiyn/larbs/blob/master/progs.csv) in my LARBS repository.
2020-03-17 09:10:19 +01:00
## Migration of my Dotfiles to Other System
2020-05-10 00:19:47 +02:00
2020-11-29 14:28:37 +01:00
- 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:
2023-01-13 05:38:22 +01:00
```sh
2020-05-10 00:19:47 +02:00
mkdir -p .config-backup && \
2019-07-06 22:57:48 +02:00
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
xargs -I{} mv {} .config-backup/{}
```
2023-01-13 05:38:22 +01:00
2020-11-29 14:28:37 +01:00
- checkout changes: `config checkout`
- ignore untracked files: `config config --local status.showUntrackedFiles no`
- pull current setup: `config pull`
- finish setup for vim:
2024-04-06 00:53:19 +02:00
- open vim
2023-01-13 05:38:22 +01:00
The step containing commenting out is needed because the colorscheme has
problems being not available and disrupts the further process of the plugin
installation.
2022-09-08 02:56:27 +02:00
## Ignore Local Changes to Config Files
2022-09-08 02:56:27 +02:00
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.
2020-05-10 00:19:47 +02:00
## Hotkeys
There are various shortcuts and hotkeys used in this version. Included in my build are the following.
2020-05-14 19:46:38 +00:00
[Dwm](https://github.com/tiyn/dwm)s and [st](https://github.com/tiyn/st)s hotkeys can be found in their repositories.
2020-05-10 00:29:23 +02:00
2020-05-14 19:46:38 +00:00
### SXHKD
2020-05-10 00:19:47 +02:00
| ModKey | Shift | Key | Function |
| ------ | ----- | ----------------- | --------------------------------------------------------- |
2024-04-06 00:50:26 +02:00
| Super | | a | (sounds) Previous song |
| Super | | b | (program) Spawn browser |
| Super | | c | (sounds) Toggle looping of songs |
| Super | | d | (sounds) Next song |
| Super | | f | (program) Spawn filemanager |
| Super | | i | (display) Stop recording |
| Super | | m | (program) Spawn thunderbird |
| Super | | o | (display) Start replay window |
| Super | | p | (display) Save replay window |
| Super | | u | (display) Start recording window |
| Super | | r | (program) Spawn dmenu\_run |
| Super | | s | (sounds) Pause song |
| Super | | x | (sounds) Toggle shuffling of songs |
| Super | Shift | l | (keyboard) Toggle keymap |
| Super | Shift | r | (sxhkd) Restart sxkd |
| Super | Shift | Space | (notifications) Close all notifications |
| Super | | [ | (notifications) Toggle dunst dnd |
| Super | | ] | (sounds) Toggle mute |
| Super | | \ | (sounds) Toggle deaf |
| Super | | F5 | (display) Enable 2 Screen Monitor |
| Super | | F6 | (keyboard) Toggle touchpad |
| Super | | F7 | (mounting) Mounting drives |
| Super | | F8 | (mounting) Unmounting drives |
| Super | | F9 | (network) Restart NetworkManager |
| Super | | F10 | (display) slock |
| Super | | F11 | (shutdown) reboot |
| Super | | F12 | (shutdown) shutdown |
| Super | | Return | (program) Spawn terminal |
| | | Print | (program) Prompt to take a screenshot |
| | | AudioMute | (sound) Volume mute |
| | | AudioMicMute | (sound) Mic Mute |
| | | AudioLowerVolume | (sound) Volume lower |
| | | AudioRaiseVolume | (sound) Volume raise |
| | | MonBrightnessDown | (display) Brightness decrease |
| | | MonBrightnessUp | (display) Brightness increase |
2020-05-30 21:14:08 +00:00
2023-01-11 01:27:54 +01:00
## Additional Configs
2020-05-30 21:14:08 +00:00
Additional configs (and for example firefox plugins) can be found in my
[wiki](https://github.com/tiyn/wiki).
## Additional Information
This section contains information regarding special configurations that will be enabled or
available by using these dotfiles.
### Audio Setup
This configuration features settings and profiles for
[easyeffects](https://github.com/tiyn/wiki/blob/master/wiki/linux/easyeffects.md).
Additionally to the flat profile there are also various profiles for headphones.
They mostly target to achieve curve similar to the
[harman curve](https://github.com/tiyn/wiki/blob/master/wiki/linux/audio.md#headphone-audio-profiles).
The following list matches the headphones and in-ear monitors to the base equalizer used.
- Beyerdynamic DT 1770 (Velour): [AutoEQ](https://github.com/tiyn/wiki/blob/master/wiki/linux/audio.md#sound-server)
- TANGZU Wan'er S.G: [AutoEQ](https://github.com/tiyn/wiki/blob/master/wiki/linux/audio.md#sound-server)
- Tin HiFi T2 Plus: [AutoEQ](https://github.com/tiyn/wiki/blob/master/wiki/linux/audio.md#sound-server)