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]]
|
||||
- [[#maintainers][Maintainers]]
|
||||
- [[#prerequisites][Prerequisites]]
|
||||
- [[#applications-installed-by-script][Applications installed by script]]
|
||||
- [[#applications][Applications]]
|
||||
- [[#fonts][Fonts]]
|
||||
- [[#lsp-backends][LSP Backends]]
|
||||
@ -37,6 +38,11 @@ A repository of my personal configuration files.
|
||||
+ [[https://github.com/alrayyes][@alrayyes]]
|
||||
|
||||
* Prerequisites
|
||||
- [[https://www.archlinux.org/][Arch Linux]]
|
||||
- [[https://fishshell.com/][fish shell]]
|
||||
- [[https://github.com/Jguer/yay][yay]]
|
||||
|
||||
* Applications installed by script
|
||||
** Applications
|
||||
- [[https://github.com/sharkdp/bat][bat]]
|
||||
- [[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/internalfx/mailcap][mailcap]]
|
||||
- [[https://mpv.io/][mpv]]
|
||||
- [[https://github.com/phuhl/notify-send.py][notify-send.py]]
|
||||
- [[https://www.npmjs.com/get-npm][npm]]
|
||||
- [[https://github.com/cdemoulins/pamixer][pamixer]]
|
||||
- [[https://github.com/dylanaraps/pfetch][pfetch]]
|
||||
@ -93,7 +98,6 @@ A repository of my personal configuration files.
|
||||
- [[https://neomutt.org/][neomutt]]
|
||||
- [[https://neovim.io/][neovim]]
|
||||
- [[https://github.com/yshui/picom][picom]]
|
||||
- [[https://github.com/doronbehar/pistol][pistol]]
|
||||
- [[http://jonls.dk/redshift/][redshift]]
|
||||
- [[https://github.com/baskerville/sxhkd][sxhkd]]
|
||||
- [[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-surround][tpope/vim-surround]]
|
||||
- [[https://github.com/vim-airline/vim-airline][vim-airline/vim-airline]]
|
||||
**** Navigation
|
||||
- [[https://github.com/unblevable/quick-scope][unblevable/quick-scope]]
|
||||
*** Programming
|
||||
- [[https://github.com/autozimu/LanguageClient-neovim][autozimu/LanguageClient-neovim]]
|
||||
- [[https://github.com/godlygeek/tabular][godlygeek/tabular]]
|
||||
- [[https://github.com/majutsushi/tagbar][majutsushi/tagbar]]
|
||||
- [[https://github.com/preservim/nerdcommenter][preservim/nerdcommenter]]
|
||||
- [[https://github.com/RRethy/vim-hexokinase][RRethy/vim-hexokinase]]
|
||||
- [[https://github.com/Shougo/deoplete.nvim][Shougo/deoplete.nvim]]
|
||||
- [[https://github.com/tpope/vim-fugitive][tpope/vim-fugitive]]
|
||||
- [[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
|
||||
- [[https://github.com/morhetz/gruvbox][morhetz/gruvbox]]
|
||||
- [[https://github.com/ryanoasis/vim-devicons][ryanoasis/vim-devicons]]
|
||||
|
34
install
34
install
@ -1,5 +1,12 @@
|
||||
#!/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
|
||||
if [ ! -d "$argv" ]
|
||||
echo "Creating directory $argv"
|
||||
@ -21,6 +28,33 @@ function install_npm_package_if_not_exist
|
||||
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
|
||||
mkdir_if_not_exist ~/.cache/mpd
|
||||
mkdir_if_not_exist ~/.config/alacritty
|
||||
|
@ -13,6 +13,9 @@
|
||||
call plug#begin()
|
||||
|
||||
" General {
|
||||
" Navigation {
|
||||
Plug 'unblevable/quick-scope'
|
||||
" }
|
||||
Plug 'bling/vim-bufferline'
|
||||
Plug 'easymotion/vim-easymotion'
|
||||
Plug 'farmergreg/vim-lastplace'
|
||||
@ -30,23 +33,32 @@
|
||||
Plug 'tpope/vim-surround'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
" }
|
||||
|
||||
|
||||
" 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', {
|
||||
\ 'branch': 'next',
|
||||
\ 'do': 'bash install.sh',
|
||||
\ }
|
||||
Plug 'godlygeek/tabular'
|
||||
if executable('ctags')
|
||||
Plug 'majutsushi/tagbar'
|
||||
endif
|
||||
Plug 'preservim/nerdcommenter'
|
||||
Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' }
|
||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'Xuyuanp/nerdtree-git-plugin'
|
||||
" }
|
||||
|
||||
|
||||
" UI {
|
||||
Plug 'morhetz/gruvbox'
|
||||
" This has to be loaded last to work
|
||||
@ -147,7 +159,7 @@
|
||||
map <Leader>tt :TagbarToggle<CR>
|
||||
endif
|
||||
" }
|
||||
|
||||
|
||||
" NerdCommenter {
|
||||
" Add spaces after comment delimiters by default
|
||||
let g:NERDSpaceDelims = 1
|
||||
@ -162,7 +174,7 @@
|
||||
" Load deoplete on startup
|
||||
let g:deoplete#enable_at_startup = 1
|
||||
" }
|
||||
|
||||
|
||||
" LanguageClient-neovim {
|
||||
" Required for operations modifying multiple buffers like rename.
|
||||
set hidden
|
||||
@ -186,7 +198,7 @@
|
||||
\ 'html': ['/usr/bin/html-languageserver', '--stdio']
|
||||
\ }
|
||||
" }
|
||||
|
||||
|
||||
" hexokinase {
|
||||
set termguicolors
|
||||
" }
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/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