mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
Compare commits
3 Commits
d2b4e18034
...
e9e2c0cf6d
Author | SHA1 | Date | |
---|---|---|---|
e9e2c0cf6d | |||
790549e266 | |||
633196117b |
18
README.org
18
README.org
@ -7,6 +7,7 @@
|
|||||||
- [[#description][Description]]
|
- [[#description][Description]]
|
||||||
- [[#maintainers][Maintainers]]
|
- [[#maintainers][Maintainers]]
|
||||||
- [[#prerequisites][Prerequisites]]
|
- [[#prerequisites][Prerequisites]]
|
||||||
|
- [[#applications-installed-by-script][Applications installed by script]]
|
||||||
- [[#applications][Applications]]
|
- [[#applications][Applications]]
|
||||||
- [[#fonts][Fonts]]
|
- [[#fonts][Fonts]]
|
||||||
- [[#lsp-backends][LSP Backends]]
|
- [[#lsp-backends][LSP Backends]]
|
||||||
@ -37,6 +38,11 @@ A repository of my personal configuration files.
|
|||||||
+ [[https://github.com/alrayyes][@alrayyes]]
|
+ [[https://github.com/alrayyes][@alrayyes]]
|
||||||
|
|
||||||
* Prerequisites
|
* Prerequisites
|
||||||
|
- [[https://www.archlinux.org/][Arch Linux]]
|
||||||
|
- [[https://fishshell.com/][fish shell]]
|
||||||
|
- [[https://github.com/Jguer/yay][yay]]
|
||||||
|
|
||||||
|
* Applications installed by script
|
||||||
** Applications
|
** Applications
|
||||||
- [[https://github.com/sharkdp/bat][bat]]
|
- [[https://github.com/sharkdp/bat][bat]]
|
||||||
- [[https://dystroy.org/broot/][broot]]
|
- [[https://dystroy.org/broot/][broot]]
|
||||||
@ -49,7 +55,6 @@ A repository of my personal configuration files.
|
|||||||
- [[https://github.com/canonical/lightdm][LightDM]]
|
- [[https://github.com/canonical/lightdm][LightDM]]
|
||||||
- [[https://github.com/internalfx/mailcap][mailcap]]
|
- [[https://github.com/internalfx/mailcap][mailcap]]
|
||||||
- [[https://mpv.io/][mpv]]
|
- [[https://mpv.io/][mpv]]
|
||||||
- [[https://github.com/phuhl/notify-send.py][notify-send.py]]
|
|
||||||
- [[https://www.npmjs.com/get-npm][npm]]
|
- [[https://www.npmjs.com/get-npm][npm]]
|
||||||
- [[https://github.com/cdemoulins/pamixer][pamixer]]
|
- [[https://github.com/cdemoulins/pamixer][pamixer]]
|
||||||
- [[https://github.com/dylanaraps/pfetch][pfetch]]
|
- [[https://github.com/dylanaraps/pfetch][pfetch]]
|
||||||
@ -93,7 +98,6 @@ A repository of my personal configuration files.
|
|||||||
- [[https://neomutt.org/][neomutt]]
|
- [[https://neomutt.org/][neomutt]]
|
||||||
- [[https://neovim.io/][neovim]]
|
- [[https://neovim.io/][neovim]]
|
||||||
- [[https://github.com/yshui/picom][picom]]
|
- [[https://github.com/yshui/picom][picom]]
|
||||||
- [[https://github.com/doronbehar/pistol][pistol]]
|
|
||||||
- [[http://jonls.dk/redshift/][redshift]]
|
- [[http://jonls.dk/redshift/][redshift]]
|
||||||
- [[https://github.com/baskerville/sxhkd][sxhkd]]
|
- [[https://github.com/baskerville/sxhkd][sxhkd]]
|
||||||
- [[https://tmux.github.io/][tmux]]
|
- [[https://tmux.github.io/][tmux]]
|
||||||
@ -142,15 +146,23 @@ A repository of my personal configuration files.
|
|||||||
- [[https://github.com/tpope/vim-abolish][tpope/vim-abolish]]
|
- [[https://github.com/tpope/vim-abolish][tpope/vim-abolish]]
|
||||||
- [[https://github.com/tpope/vim-surround][tpope/vim-surround]]
|
- [[https://github.com/tpope/vim-surround][tpope/vim-surround]]
|
||||||
- [[https://github.com/vim-airline/vim-airline][vim-airline/vim-airline]]
|
- [[https://github.com/vim-airline/vim-airline][vim-airline/vim-airline]]
|
||||||
|
**** Navigation
|
||||||
|
- [[https://github.com/unblevable/quick-scope][unblevable/quick-scope]]
|
||||||
*** Programming
|
*** Programming
|
||||||
- [[https://github.com/autozimu/LanguageClient-neovim][autozimu/LanguageClient-neovim]]
|
- [[https://github.com/autozimu/LanguageClient-neovim][autozimu/LanguageClient-neovim]]
|
||||||
- [[https://github.com/godlygeek/tabular][godlygeek/tabular]]
|
- [[https://github.com/godlygeek/tabular][godlygeek/tabular]]
|
||||||
- [[https://github.com/majutsushi/tagbar][majutsushi/tagbar]]
|
|
||||||
- [[https://github.com/preservim/nerdcommenter][preservim/nerdcommenter]]
|
- [[https://github.com/preservim/nerdcommenter][preservim/nerdcommenter]]
|
||||||
- [[https://github.com/RRethy/vim-hexokinase][RRethy/vim-hexokinase]]
|
- [[https://github.com/RRethy/vim-hexokinase][RRethy/vim-hexokinase]]
|
||||||
- [[https://github.com/Shougo/deoplete.nvim][Shougo/deoplete.nvim]]
|
- [[https://github.com/Shougo/deoplete.nvim][Shougo/deoplete.nvim]]
|
||||||
- [[https://github.com/tpope/vim-fugitive][tpope/vim-fugitive]]
|
- [[https://github.com/tpope/vim-fugitive][tpope/vim-fugitive]]
|
||||||
- [[https://github.com/Xuyuanp/nerdtree-git-plugin][Xuyuanp/nerdtree-git-plugin]]
|
- [[https://github.com/Xuyuanp/nerdtree-git-plugin][Xuyuanp/nerdtree-git-plugin]]
|
||||||
|
**** Syntax Highlighting
|
||||||
|
- [[https://github.com/HerringtonDarkholme/yats.vim][HerringtonDarkholme/yats.vim]]
|
||||||
|
- [[https://github.com/MaxMEllon/vim-jsx-pretty][maxmellon/vim-jsx-pretty]]
|
||||||
|
- [[https://github.com/vim-pandoc/vim-pandoc-syntax][vim-pandoc/vim-pandoc-syntax]]
|
||||||
|
- [[https://github.com/yuezk/vim-js][yuezk/vim-js]]
|
||||||
|
**** Tags
|
||||||
|
- [[https://github.com/majutsushi/tagbar][majutsushi/tagbar]]
|
||||||
*** UI
|
*** UI
|
||||||
- [[https://github.com/morhetz/gruvbox][morhetz/gruvbox]]
|
- [[https://github.com/morhetz/gruvbox][morhetz/gruvbox]]
|
||||||
- [[https://github.com/ryanoasis/vim-devicons][ryanoasis/vim-devicons]]
|
- [[https://github.com/ryanoasis/vim-devicons][ryanoasis/vim-devicons]]
|
||||||
|
34
install
34
install
@ -1,5 +1,12 @@
|
|||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
|
# Prerequisite & inistalled apps
|
||||||
|
set prerequisiteApps bat broot brave caffeine-ng exa fzf go imagemagick lightdm-gtk-greeter mailcap mpv deadd-notification-center-bin npm pamixer pfetch pulseaudio pulsemixer python pywal stow sxiv tldr udisks xwallpaper zathura
|
||||||
|
set prerequisiteFonts otf-nerd-fonts-fira-code noto-fonts ttf-unifont
|
||||||
|
set prerequisiteLsp bash-language-server ccls php-language-server python-language-server typescript-language-server vscode-css-languageserver vscode-html-languageserver nodejs-intelephense
|
||||||
|
set configuredApps alacritty bspwm castero emacs firejail git gnupg gtk lf deadd-notification-center-bin mpd neomutt neovim picom redshift sxhkd tmux tuir weechat
|
||||||
|
set locales aspell-en hunspell-en_GB hunspell-en_US hunspell-nl
|
||||||
|
|
||||||
function mkdir_if_not_exist
|
function mkdir_if_not_exist
|
||||||
if [ ! -d "$argv" ]
|
if [ ! -d "$argv" ]
|
||||||
echo "Creating directory $argv"
|
echo "Creating directory $argv"
|
||||||
@ -21,6 +28,33 @@ function install_npm_package_if_not_exist
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function install_app_if_not_exist
|
||||||
|
if test (pacman -Q | grep -c "$argv") -eq 0
|
||||||
|
echo "Installing missing package $argv"
|
||||||
|
yay -S --noconfirm "$argv"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
for app in $prerequisiteApps
|
||||||
|
install_app_if_not_exist "$app"
|
||||||
|
end
|
||||||
|
|
||||||
|
for font in $prerequisiteFonts
|
||||||
|
install_app_if_not_exist "$font"
|
||||||
|
end
|
||||||
|
|
||||||
|
for lsp in $prerequisiteLsp
|
||||||
|
install_app_if_not_exist "$lsp"
|
||||||
|
end
|
||||||
|
|
||||||
|
for app in $configuredApps
|
||||||
|
install_app_if_not_exist "$app"
|
||||||
|
end
|
||||||
|
|
||||||
|
for locale in $locales
|
||||||
|
install_app_if_not_exist "$locale"
|
||||||
|
end
|
||||||
|
|
||||||
# Create directories that need to exist
|
# Create directories that need to exist
|
||||||
mkdir_if_not_exist ~/.cache/mpd
|
mkdir_if_not_exist ~/.cache/mpd
|
||||||
mkdir_if_not_exist ~/.config/alacritty
|
mkdir_if_not_exist ~/.config/alacritty
|
||||||
|
@ -13,6 +13,9 @@
|
|||||||
call plug#begin()
|
call plug#begin()
|
||||||
|
|
||||||
" General {
|
" General {
|
||||||
|
" Navigation {
|
||||||
|
Plug 'unblevable/quick-scope'
|
||||||
|
" }
|
||||||
Plug 'bling/vim-bufferline'
|
Plug 'bling/vim-bufferline'
|
||||||
Plug 'easymotion/vim-easymotion'
|
Plug 'easymotion/vim-easymotion'
|
||||||
Plug 'farmergreg/vim-lastplace'
|
Plug 'farmergreg/vim-lastplace'
|
||||||
@ -32,14 +35,23 @@
|
|||||||
" }
|
" }
|
||||||
|
|
||||||
" Programming {
|
" Programming {
|
||||||
|
" Syntax Highlighting {
|
||||||
|
Plug 'HerringtonDarkholme/yats.vim'
|
||||||
|
Plug 'maxmellon/vim-jsx-pretty'
|
||||||
|
Plug 'vim-pandoc/vim-pandoc-syntax'
|
||||||
|
Plug 'yuezk/vim-js'
|
||||||
|
" }
|
||||||
|
" Tags {
|
||||||
|
Plug 'alvan/vim-closetag'
|
||||||
|
if executable('ctags')
|
||||||
|
Plug 'majutsushi/tagbar'
|
||||||
|
endif
|
||||||
|
" }
|
||||||
Plug 'autozimu/LanguageClient-neovim', {
|
Plug 'autozimu/LanguageClient-neovim', {
|
||||||
\ 'branch': 'next',
|
\ 'branch': 'next',
|
||||||
\ 'do': 'bash install.sh',
|
\ 'do': 'bash install.sh',
|
||||||
\ }
|
\ }
|
||||||
Plug 'godlygeek/tabular'
|
Plug 'godlygeek/tabular'
|
||||||
if executable('ctags')
|
|
||||||
Plug 'majutsushi/tagbar'
|
|
||||||
endif
|
|
||||||
Plug 'preservim/nerdcommenter'
|
Plug 'preservim/nerdcommenter'
|
||||||
Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' }
|
Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' }
|
||||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
notify-send.py --replaces-process rsscount -a Newsboat -i rssowl Rss "$1" &
|
notify-send.py -a Newsboat -i rssowl Rss "$1" &
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
text/* bat --paging=never --color=always %s
|
|
||||||
text/html w3m -T text/html -dump %s
|
|
||||||
inode/directory ls -l --color=always %s
|
|
Loading…
Reference in New Issue
Block a user