Add flake.nix #1
2 changed files with 49 additions and 6 deletions
46
README.md
46
README.md
|
@ -1,2 +1,48 @@
|
||||||
# dotfiles
|
# dotfiles
|
||||||
This repo will hold a copy of most of my dotfiles.
|
This repo will hold a copy of most of my dotfiles.
|
||||||
|
|
||||||
|
## flake.nix
|
||||||
|
|
||||||
|
You can use these dotfiles ad-hoc under nixos using:
|
||||||
|
```bash
|
||||||
|
nix run nixpkgs#home-manager -- switch --impure --flake .
|
||||||
|
```
|
||||||
|
|
||||||
|
## Self build dependencies
|
||||||
|
|
||||||
|
- dwm
|
||||||
|
- st
|
||||||
|
- slstatus
|
||||||
|
|
||||||
|
## Dependencies
|
||||||
|
|
||||||
|
- aur/zsh-manydots-magic
|
||||||
|
- aur/breeze-red-cursor-theme
|
||||||
|
- aur/hyprland-git
|
||||||
|
- aur/hyprsome-git
|
||||||
|
- aur/mimi-git
|
||||||
|
- aur/picom-animations-git
|
||||||
|
- aur/shellgpt-git
|
||||||
|
- aur/vifmimg-git
|
||||||
|
- aur/waybar-hyprland-git 0.9.17.r159.ga9a22234-1
|
||||||
|
- aur/xdg-desktop-portal-hyprland-git 1:r272.04f5793-1
|
||||||
|
- dunst
|
||||||
|
- feh
|
||||||
|
- ffmpeg-python
|
||||||
|
- ffmpegthumbnailer
|
||||||
|
- gallery-dl
|
||||||
|
- i3lock
|
||||||
|
- jq
|
||||||
|
- mpv
|
||||||
|
- nvim
|
||||||
|
- python-eyed3
|
||||||
|
- python-pynvim
|
||||||
|
- qutebrowser
|
||||||
|
- sxiv
|
||||||
|
- ueberzug
|
||||||
|
- unclutter
|
||||||
|
- vifm
|
||||||
|
- youtube-dl
|
||||||
|
- zathura
|
||||||
|
- zsh-completions
|
||||||
|
- zsh-syntax-highlighting
|
||||||
|
|
9
_zshrc
9
_zshrc
|
@ -1,25 +1,21 @@
|
||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
|
|
||||||
# The following lines were added by compinstall
|
|
||||||
zstyle ':completion:*' completer _expand _complete _ignored
|
zstyle ':completion:*' completer _expand _complete _ignored
|
||||||
zstyle ':completion:*' list-colors ''
|
zstyle ':completion:*' list-colors ''
|
||||||
zstyle ':completion:*' menu select=0
|
zstyle ':completion:*' menu select=0
|
||||||
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
|
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
|
||||||
zstyle :compinstall filename '/home/osh/.zshrc'
|
zstyle :compinstall filename '/home/osh/.zshrc'
|
||||||
|
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit manydots-magic
|
||||||
compinit
|
compinit
|
||||||
# End of lines added by compinstall
|
manydots-magic
|
||||||
|
|
||||||
# Lines configured by zsh-newuser-install
|
|
||||||
HISTFILE=~/.histfile
|
HISTFILE=~/.histfile
|
||||||
HISTSIZE=1000
|
HISTSIZE=1000
|
||||||
SAVEHIST=100000
|
SAVEHIST=100000
|
||||||
setopt appendhistory nomatch notify extendedglob
|
setopt appendhistory nomatch notify extendedglob
|
||||||
bindkey -v
|
bindkey -v
|
||||||
# End of lines configured by zsh-newuser-install
|
|
||||||
|
|
||||||
# Change cursor shape for different vi modes.
|
|
||||||
function zle-keymap-select {
|
function zle-keymap-select {
|
||||||
if [[ ${KEYMAP} == vicmd ]] ||
|
if [[ ${KEYMAP} == vicmd ]] ||
|
||||||
[[ $1 = 'block' ]]; then
|
[[ $1 = 'block' ]]; then
|
||||||
|
@ -37,6 +33,7 @@ zle -N zle-keymap-select
|
||||||
[ -f "$HOME/.bashrc" ] && emulate sh -c "source $HOME/.bashrc"
|
[ -f "$HOME/.bashrc" ] && emulate sh -c "source $HOME/.bashrc"
|
||||||
|
|
||||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
|
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||||
source /usr/share/fzf/key-bindings.zsh
|
source /usr/share/fzf/key-bindings.zsh
|
||||||
source /usr/share/fzf/completion.zsh
|
source /usr/share/fzf/completion.zsh
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue