From d34cecb27eea2255a5755bf4a3cb9c6da89eaa8f Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sun, 29 Dec 2019 23:12:13 +0100 Subject: [PATCH 1/7] Switch to GNU stow --- .config/i3status/config | 111 - .config/papis/config | 29 - README.md | 48 +- .../.config}/alacritty/alacritty.yml | 0 .../.config}/bootstrap/install | 0 .../.config}/bootstrap/packages.csv | 0 .../.config}/fontconfig/fonts.conf | 0 {.config => gopass/.config}/gopass/config.yml | 0 .Xresources => home/.Xresources | 0 .bash_profile => home/.bash_profile | 0 .bashrc => home/.bashrc | 0 .gitlab-ci.yml => home/.gitlab-ci.yml | 0 .xinitrc => home/.xinitrc | 0 .zprofile => home/.zprofile | 0 .zshrc => home/.zshrc | 0 {.config => i3/.config}/i3/config | 0 .../i3/scripts/i3-applications-autostart | 0 .../.config}/libinput-gestures.conf | 0 nvim/.config/nvim/colo.vim | 1 + {.config => nvim/.config}/nvim/init.vim | 0 {.config => nvim/.config}/nvim/maps.vim | 0 .../modules_experimental/academia_fzf.vim | 0 .../modules_experimental/academia_pandoc.vim | 0 .../academia_unite_citation.vim | 0 .../modules_experimental/base_no_plugins.vim | 0 .../modules_experimental/coc-completion.vim | 0 .../.config}/nvim/plugin/bibcite.vim | 0 nvim/.config/nvim/plugin/compiledoc.vim | 22 + .../.config}/nvim/plugin/searchnotes.vim | 0 .../.config}/nvim/plugin/showmappings.vim | 0 .../.config}/nvim/pluglist/base.vim | 0 .../.config}/nvim/pluglist/completion.vim | 0 .../.config}/nvim/pluglist/design.vim | 0 .../.config}/nvim/pluglist/latex.vim | 0 .../.config}/nvim/pluglist/notes.vim | 0 .../.config}/nvim/pluglist/prose.vim | 0 .../.config}/nvim/pluglist/syntaxes.vim | 0 .../.config}/nvim/pluglist/vim.vim | 0 nvim/.config/nvim/watch.lua | 16 + {.config => picom/.config}/picom/picom.conf | 0 {.config => polybar/.config}/polybar/config | 0 polybar/.config/polybar/exampleconf | 403 + .../.config}/polybar/scripts/poly-archupdates | 0 .../polybar/scripts/poly-mprisdisplay | 0 .../polybar/scripts/poly-networkspeed | 0 .../.config}/qutebrowser/config.py | 0 qutebrowser/.config/qutebrowser/quickmarks | 9 + .../stylesheets/solarized-dark.css | 0 .../stylesheets/solarized-light.css | 0 .../.config}/qutebrowser/themes/base16.py | 0 .../.config}/qutebrowser/themes/nordtheme.py | 0 .../.local/share/qutebrowser/blocked-hosts | 38256 ++++++++++++++++ .../qutebrowser/userscripts/pagetopdf.sh | 0 .../qutebrowser/userscripts/shaarli_add.sh | 0 .../qutebrowser/userscripts/wallabag_add.sh | 0 .../.config}/rofi-surfraw/searchengines | 0 .../.config}/rofi-surfraw/surfraw.conf | 0 {.config => rofi/.config}/rofi/config.rasi | 0 .../.config}/rofi/modes/fontawesome | 0 rofi/.config/rofi/modes/gopass | 73 + {.config => rofi/.config}/rofi/modes/nerdfont | 0 .../.config}/rofi/modes/powermenu | 0 rofi/.config/rofi/modes/rofi-colors | 28 + rofi/.config/rofi/modes/scratch | 209 + rofi/.config/rofi/modes/test | 99 + .../.config}/rofi/rofi-bang-commands.csv | 0 .../rofi/themes/colorschemes/dmenu.rasi | 0 .../themes/colorschemes/gruvbox-dark.rasi | 0 .../.config}/rofi/themes/dmenu.rasi | 0 .../rofi/themes/layouts/list-horizontal.rasi | 0 .../options-horizontal-fullscreen.rasi | 0 .../.config}/rofi/themes/powermenu.rasi | 0 .../.config}/rofi/themes/settings.rasi | 0 {.local => scripts/.local}/bin/compile | 0 {.local => scripts/.local}/bin/dimswitch | 0 {.local => scripts/.local}/bin/dmenuprompt | 0 {.local => scripts/.local}/bin/ifinstalled | 0 {.local => scripts/.local}/bin/lockscreen | 0 {.local => scripts/.local}/bin/open-compiled | 0 .../.local}/bin/picom_toggle_inactive_opacity | 0 {.local => scripts/.local}/bin/polybar-launch | 0 {.local => scripts/.local}/bin/rofi/rofi-bang | 0 .../.local}/bin/rofi/rofi-gopass | 0 .../.local}/bin/rofi/rofi-surfraw | 0 {.local => scripts/.local}/bin/syu | 0 .../.local}/bin/test/dimswitch.bats | 0 .../.local}/bin/test/files/alacritty_conf.yml | 0 {.local => scripts/.local}/bin/test/tm.bats | 0 {.local => scripts/.local}/bin/tm | 0 {.local => scripts/.local}/bin/umpv | 0 {.local => scripts/.local}/bin/vifm/ueberzug | 0 {.local => scripts/.local}/bin/vifm/vifmimg | 0 {.local => scripts/.local}/bin/vifm/vifmrun | 0 .../.config}/shell/login.d/env-vars.sh | 0 .../.config}/shell/login.d/env-xdg.sh | 0 .../.config}/shell/login.d/go-path.sh | 0 .../.config}/shell/login.d/local-bin-path.sh | 0 .../shell/login.d/test/env-wiki-root.bats | 0 .../.config}/shell/rc.d/alias-base.sh | 0 .../shell/rc.d/alias-fuzzy-finding.sh | 0 .../.config}/shell/rc.d/alias-nvim-to-vim.sh | 0 .../.config}/shell/rc.d/alias-pywal.sh | 0 .../.config}/shell/rc.d/alias-vifm-to-vm.sh | 0 .../.config}/shell/rc.d/autostartx.sh | 0 .../rc.d/dotfiles-version-control-commands.sh | 0 .../.config}/shell/rc.d/enable-fasd-hook.sh | 0 .../.config}/shell/rc.d/enable-pywal.sh | 0 .../.config}/shell/rc.d/locale-utf-8.sh | 0 .../shell/rc.d/ssh-agent-autoconfiguration.sh | 0 .../shell/rc.d/test/locale-utf-8.bats | 0 .../.config}/shell/zshrc.d/0-history.zsh | 0 .../shell/zshrc.d/0-inline-glob-expansion.zsh | 0 .../.config}/shell/zshrc.d/0-plugins.zsh | 0 .../zshrc.d/0-screen-information-dialog.zsh | 0 .../1-enable-command-spelling-correction.zsh | 0 ...report-time-for-long-running-processes.zsh | 0 .../zshrc.d/1-set-up-powerlevel9k-theming.zsh | 0 .../zshrc.d/5-install-tmux-plugin-manager.zsh | 0 .../.config}/shell/zshrc.d/6-alias-exa.zsh | 0 .../.config}/shell/zshrc.d/6-mkcd.zsh | 0 .../.config}/shell/zshrc.d/6-newest-files.zsh | 0 .../shell/zshrc.d/6-ssht-tmux-attaching.zsh | 0 .../zshrc.d/9-configure-autocompletion.zsh | 0 .../zshrc.d/9-deduplicate-path-variable.zsh | 0 .../9-disable-enhancd-dot-dot-behavior.zsh | 0 {.config => sxhkd/.config}/sxhkd/sxhkdrc | 0 .../.config}/tmux/sessions/dot.session | 0 .../.config}/tmux/sessions/notes.session | 0 {.config => tmux/.config}/tmux/tmux.conf | 0 .../.config}/tmux/tmux.remote.conf | 0 vifm/.config/vifm/colors/Default.vifm | 80 + .../.config}/vifm/colors/cfillion.vifm | 0 {.config => vifm/.config}/vifm/vifmrc | 0 .../.config}/user-dirs.dirs | 0 xdg-user-dirs/.config/user-dirs.locale | 1 + .../.config/xresources}/nord.Xresources | 0 .../.config/xresources}/urxvt.Xresources | 0 137 files changed, 39244 insertions(+), 141 deletions(-) delete mode 100644 .config/i3status/config delete mode 100644 .config/papis/config rename {.config => alacritty/.config}/alacritty/alacritty.yml (100%) rename {.config => bootstrap/.config}/bootstrap/install (100%) rename {.config => bootstrap/.config}/bootstrap/packages.csv (100%) rename {.config => fontconfig/.config}/fontconfig/fonts.conf (100%) rename {.config => gopass/.config}/gopass/config.yml (100%) rename .Xresources => home/.Xresources (100%) rename .bash_profile => home/.bash_profile (100%) rename .bashrc => home/.bashrc (100%) rename .gitlab-ci.yml => home/.gitlab-ci.yml (100%) rename .xinitrc => home/.xinitrc (100%) rename .zprofile => home/.zprofile (100%) rename .zshrc => home/.zshrc (100%) rename {.config => i3/.config}/i3/config (100%) rename {.config => i3/.config}/i3/scripts/i3-applications-autostart (100%) rename {.config => libinput-gestures/.config}/libinput-gestures.conf (100%) create mode 100644 nvim/.config/nvim/colo.vim rename {.config => nvim/.config}/nvim/init.vim (100%) rename {.config => nvim/.config}/nvim/maps.vim (100%) rename {.config => nvim/.config}/nvim/modules_experimental/academia_fzf.vim (100%) rename {.config => nvim/.config}/nvim/modules_experimental/academia_pandoc.vim (100%) rename {.config => nvim/.config}/nvim/modules_experimental/academia_unite_citation.vim (100%) rename {.config => nvim/.config}/nvim/modules_experimental/base_no_plugins.vim (100%) rename {.config => nvim/.config}/nvim/modules_experimental/coc-completion.vim (100%) rename {.config => nvim/.config}/nvim/plugin/bibcite.vim (100%) create mode 100644 nvim/.config/nvim/plugin/compiledoc.vim rename {.config => nvim/.config}/nvim/plugin/searchnotes.vim (100%) rename {.config => nvim/.config}/nvim/plugin/showmappings.vim (100%) rename {.config => nvim/.config}/nvim/pluglist/base.vim (100%) rename {.config => nvim/.config}/nvim/pluglist/completion.vim (100%) rename {.config => nvim/.config}/nvim/pluglist/design.vim (100%) rename {.config => nvim/.config}/nvim/pluglist/latex.vim (100%) rename {.config => nvim/.config}/nvim/pluglist/notes.vim (100%) rename {.config => nvim/.config}/nvim/pluglist/prose.vim (100%) rename {.config => nvim/.config}/nvim/pluglist/syntaxes.vim (100%) rename {.config => nvim/.config}/nvim/pluglist/vim.vim (100%) create mode 100644 nvim/.config/nvim/watch.lua rename {.config => picom/.config}/picom/picom.conf (100%) rename {.config => polybar/.config}/polybar/config (100%) create mode 100644 polybar/.config/polybar/exampleconf rename {.config => polybar/.config}/polybar/scripts/poly-archupdates (100%) rename {.config => polybar/.config}/polybar/scripts/poly-mprisdisplay (100%) rename {.config => polybar/.config}/polybar/scripts/poly-networkspeed (100%) rename {.config => qutebrowser/.config}/qutebrowser/config.py (100%) create mode 100644 qutebrowser/.config/qutebrowser/quickmarks rename {.config => qutebrowser/.config}/qutebrowser/stylesheets/solarized-dark.css (100%) rename {.config => qutebrowser/.config}/qutebrowser/stylesheets/solarized-light.css (100%) rename {.config => qutebrowser/.config}/qutebrowser/themes/base16.py (100%) rename {.config => qutebrowser/.config}/qutebrowser/themes/nordtheme.py (100%) create mode 100644 qutebrowser/.local/share/qutebrowser/blocked-hosts rename {.local => qutebrowser/.local}/share/qutebrowser/userscripts/pagetopdf.sh (100%) rename {.local => qutebrowser/.local}/share/qutebrowser/userscripts/shaarli_add.sh (100%) rename {.local => qutebrowser/.local}/share/qutebrowser/userscripts/wallabag_add.sh (100%) rename {.config => rofi-surfraw/.config}/rofi-surfraw/searchengines (100%) rename {.config => rofi-surfraw/.config}/rofi-surfraw/surfraw.conf (100%) rename {.config => rofi/.config}/rofi/config.rasi (100%) rename {.config => rofi/.config}/rofi/modes/fontawesome (100%) create mode 100755 rofi/.config/rofi/modes/gopass rename {.config => rofi/.config}/rofi/modes/nerdfont (100%) rename {.config => rofi/.config}/rofi/modes/powermenu (100%) create mode 100755 rofi/.config/rofi/modes/rofi-colors create mode 100644 rofi/.config/rofi/modes/scratch create mode 100755 rofi/.config/rofi/modes/test rename {.config => rofi/.config}/rofi/rofi-bang-commands.csv (100%) rename {.config => rofi/.config}/rofi/themes/colorschemes/dmenu.rasi (100%) rename {.config => rofi/.config}/rofi/themes/colorschemes/gruvbox-dark.rasi (100%) rename {.config => rofi/.config}/rofi/themes/dmenu.rasi (100%) rename {.config => rofi/.config}/rofi/themes/layouts/list-horizontal.rasi (100%) rename {.config => rofi/.config}/rofi/themes/layouts/options-horizontal-fullscreen.rasi (100%) rename {.config => rofi/.config}/rofi/themes/powermenu.rasi (100%) rename {.config => rofi/.config}/rofi/themes/settings.rasi (100%) rename {.local => scripts/.local}/bin/compile (100%) rename {.local => scripts/.local}/bin/dimswitch (100%) rename {.local => scripts/.local}/bin/dmenuprompt (100%) rename {.local => scripts/.local}/bin/ifinstalled (100%) rename {.local => scripts/.local}/bin/lockscreen (100%) rename {.local => scripts/.local}/bin/open-compiled (100%) rename {.local => scripts/.local}/bin/picom_toggle_inactive_opacity (100%) rename {.local => scripts/.local}/bin/polybar-launch (100%) rename {.local => scripts/.local}/bin/rofi/rofi-bang (100%) rename {.local => scripts/.local}/bin/rofi/rofi-gopass (100%) rename {.local => scripts/.local}/bin/rofi/rofi-surfraw (100%) rename {.local => scripts/.local}/bin/syu (100%) rename {.local => scripts/.local}/bin/test/dimswitch.bats (100%) rename {.local => scripts/.local}/bin/test/files/alacritty_conf.yml (100%) rename {.local => scripts/.local}/bin/test/tm.bats (100%) rename {.local => scripts/.local}/bin/tm (100%) rename {.local => scripts/.local}/bin/umpv (100%) rename {.local => scripts/.local}/bin/vifm/ueberzug (100%) rename {.local => scripts/.local}/bin/vifm/vifmimg (100%) rename {.local => scripts/.local}/bin/vifm/vifmrun (100%) rename {.config => shell/.config}/shell/login.d/env-vars.sh (100%) rename {.config => shell/.config}/shell/login.d/env-xdg.sh (100%) rename {.config => shell/.config}/shell/login.d/go-path.sh (100%) rename {.config => shell/.config}/shell/login.d/local-bin-path.sh (100%) rename {.config => shell/.config}/shell/login.d/test/env-wiki-root.bats (100%) rename {.config => shell/.config}/shell/rc.d/alias-base.sh (100%) rename {.config => shell/.config}/shell/rc.d/alias-fuzzy-finding.sh (100%) rename {.config => shell/.config}/shell/rc.d/alias-nvim-to-vim.sh (100%) rename {.config => shell/.config}/shell/rc.d/alias-pywal.sh (100%) rename {.config => shell/.config}/shell/rc.d/alias-vifm-to-vm.sh (100%) rename {.config => shell/.config}/shell/rc.d/autostartx.sh (100%) rename {.config => shell/.config}/shell/rc.d/dotfiles-version-control-commands.sh (100%) rename {.config => shell/.config}/shell/rc.d/enable-fasd-hook.sh (100%) rename {.config => shell/.config}/shell/rc.d/enable-pywal.sh (100%) rename {.config => shell/.config}/shell/rc.d/locale-utf-8.sh (100%) rename {.config => shell/.config}/shell/rc.d/ssh-agent-autoconfiguration.sh (100%) rename {.config => shell/.config}/shell/rc.d/test/locale-utf-8.bats (100%) rename {.config => shell/.config}/shell/zshrc.d/0-history.zsh (100%) rename {.config => shell/.config}/shell/zshrc.d/0-inline-glob-expansion.zsh (100%) rename {.config => shell/.config}/shell/zshrc.d/0-plugins.zsh (100%) rename {.config => shell/.config}/shell/zshrc.d/0-screen-information-dialog.zsh (100%) rename {.config => shell/.config}/shell/zshrc.d/1-enable-command-spelling-correction.zsh (100%) rename {.config => shell/.config}/shell/zshrc.d/1-report-time-for-long-running-processes.zsh (100%) rename {.config => shell/.config}/shell/zshrc.d/1-set-up-powerlevel9k-theming.zsh (100%) rename {.config => shell/.config}/shell/zshrc.d/5-install-tmux-plugin-manager.zsh (100%) rename {.config => shell/.config}/shell/zshrc.d/6-alias-exa.zsh (100%) rename {.config => shell/.config}/shell/zshrc.d/6-mkcd.zsh (100%) rename {.config => shell/.config}/shell/zshrc.d/6-newest-files.zsh (100%) rename {.config => shell/.config}/shell/zshrc.d/6-ssht-tmux-attaching.zsh (100%) rename {.config => shell/.config}/shell/zshrc.d/9-configure-autocompletion.zsh (100%) rename {.config => shell/.config}/shell/zshrc.d/9-deduplicate-path-variable.zsh (100%) rename {.config => shell/.config}/shell/zshrc.d/9-disable-enhancd-dot-dot-behavior.zsh (100%) rename {.config => sxhkd/.config}/sxhkd/sxhkdrc (100%) rename {.config => tmux/.config}/tmux/sessions/dot.session (100%) rename {.config => tmux/.config}/tmux/sessions/notes.session (100%) rename {.config => tmux/.config}/tmux/tmux.conf (100%) rename {.config => tmux/.config}/tmux/tmux.remote.conf (100%) create mode 100644 vifm/.config/vifm/colors/Default.vifm rename {.config => vifm/.config}/vifm/colors/cfillion.vifm (100%) rename {.config => vifm/.config}/vifm/vifmrc (100%) rename {.config => xdg-user-dirs/.config}/user-dirs.dirs (100%) create mode 100644 xdg-user-dirs/.config/user-dirs.locale rename {.config/Xresources => xresources/.config/xresources}/nord.Xresources (100%) rename {.config/Xresources => xresources/.config/xresources}/urxvt.Xresources (100%) diff --git a/.config/i3status/config b/.config/i3status/config deleted file mode 100644 index f200efc..0000000 --- a/.config/i3status/config +++ /dev/null @@ -1,111 +0,0 @@ -############################################################################### -# ceerious i3 status config -# see "man i3status" for documentation. -# -# It is important that this file is edited as UTF-8. -# The following line should contain a sharp s: -# ß -# If the above line is not correctly displayed, fix your editor first! -############################################################################### - -general { - interval = 1 - colors = true - color_good = '#88b090' - color_degraded = '#ccdc90' - color_bad = '#e89393' -} - -order += "volume master" -order += "disk /" -#order += "disk /data" -#order += "disk /home" -#order += "run_watch DHCP" -#order += "ipv6" -#order += "run_watch VPN" -order += "wireless wlp4s0" -#order += "ethernet enp5s0" -order += "battery 0" -order += "cpu_temperature 0" -order += "cpu_usage 0" -order += "load" -order += "tztime local" - -#wireless wlp4s0 { -# format_up = "%quality  %essid %ip" -# format_down = "" -#} - -#ethernet enp5s0 { -# # if you use %speed, i3status requires root privileges -# format_up = "%ip (%speed)" -# format_down = "" -#} - -battery 0 { - format = "%status %percentage %remaining" - format_down = "" - last_full_capacity = true - integer_battery_capacity = true - low_threshold = 11 - threshold_type = percentage - hide_seconds = true - status_chr = " " - status_bat = " " - status_unk = " " - status_full = " " -} - -run_watch DHCP { - pidfile = "/var/run/dhclient*.pid" -} - -run_watch VPN { - pidfile = "/var/run/vpnc/pid" -} - -#%Y-%m-%d %H:%M:%S' -tztime local { - format = " %d/%m/%Y  %H:%M" -} - -load { - format = " %1min" -} - -cpu_usage { - format = " %usage" -} - -cpu_temperature 0 { - format = " %degrees°C" -} - -disk "/" { - format = " %avail" - prefix_type = custom - low_threshold = 20 - threshold_type = percentage_avail -} - -#disk "/data" { -# format = " %avail" -# prefix_type = custom -# low_threshold = 20 -# threshold_type = percentage_avail -#} - -#disk "/data" { -# format = " %avail" -# prefix_type = custom -# low_threshold = 20 -# threshold_type = percentage_avail -#} - -volume master { - format = "%volume  " - format_muted = " " - device = "default" - mixer = "Master" - mixer_idx = 0 -} diff --git a/.config/papis/config b/.config/papis/config deleted file mode 100644 index 23b4bab..0000000 --- a/.config/papis/config +++ /dev/null @@ -1,29 +0,0 @@ -[settings] -default-library = academia - -opentool = xdg-open -file-browser = vifm - -ref-format = {doc[author_list][0][surname]}{doc[year]} - -add-confirm = True -add-name = {doc[author]}-{doc[title]} -add-folder-name = {doc[author]}-{doc[title]} -file-name = {doc[author]}_{doc[year]}_{doc[title]} -add-file-name = {doc[author]}_{doc[year]}_{doc[title]} - -mark-header-format = {mark[value]}: {mark[name]} -mark-opener-format = zathura --page {mark[value]} - -notes-name = notes.Rmd - -[tui] -editmode = vi -options_list.selected_margin_style = bg:ansiwhite fg:ansiblack -options_list.unselected_margin_style = bg:ansiblack - -[test] -dir = ~/documents/library - -[academia] -dir = ~/Nextcloud/Library/academia diff --git a/README.md b/README.md index 82a76b7..e133ea2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,52 @@ # dotfiles Read-Me and Roadmap -__ **THE BELOW README IS OUT OF DATE DO NOT FOLLOW ITS INSTALL INSTRUCTIONS** __ + +## What's in these dotfiles +* [x] vim configuration for simple programming tasks (especially go/typescript/python/bash) and prose +* [x] academic workflow tools, to allow quick citation, pdf compilation, and preview +* [x] simple, efficient polybar with package update notification, and spotify integration +* [x] tmux session management through `tm` and `tl` tools +* [x] quick terminal-wide color management through `sd`/`sD`/`sl`/`sL` commands, allowing two light and dark color-schemes +* [x] many vim color-schemes with quick light/dark switching (`F8`) and theme switch (`+F8`) +* [x] quick directory jumping using z, with fzf integration +* [x] fzf integrations for bibtex citation, vim buffer management, most recently used switching, shell command history, and more + +## Quick-Start + +The dotfiles are based on a bare-repository residing in your home directory. To enable a faster usage of the dotfile git commands, a `dot` command is supplied which mirrors the usual `git` functionality, but solely applies it to your dotfiles. + +To install you need git on your system; to effectively use the dotfiles you should be using zsh (`chsh -s /bin/zsh` to switch your current user to the shell). + +Clone the bare repo, rename it and force a checkout with the following command - **NOTE** this WILL **OVERWRITE YOUR EXISTING FILES**, so have a look at what is contained beforehand. + +`git clone https://gitlab.com/marty-oehme/dotfiles.git df && cp -rf df/.git ~/.dotfiles && rm -rf df && cd ~ && git --git-dir=$HOME/.dotfiles/ checkout -f master` + +It will clone your dotfiles into the .dotfiles directory in your home directory and then force a checkout of the current master branch. Open a new terminal window and you should live in the dotfiles. + +## What's in these dotfiles + +* [x] vim configuration for simple programming tasks (especially go/typescript/python/bash) and prose +* [x] academic workflow tools, to allow quick citation, pdf compilation, and preview +* [x] simple, efficient polybar with package update notification, and spotify integration +* [x] tmux session management through `tm` and `tl` tools +* [x] quick terminal-wide color management through `sd`/`sD`/`sl`/`sL` commands, allowing two light and dark color-schemes +* [x] many vim color-schemes with quick light/dark switching (`F8`) and theme switch (`+F8`) +* [x] quick directory jumping using z, with fzf integration +* [x] fzf integrations for bibtex citation, vim buffer management, most recently used switching, shell command history, and more + +## Notable Folders + +* generally, most configuration for applications follows the XDG specifications, keeping configuration in .config directory and supplementary files in .local/share directory +* `.config/shell` contains all the general zsh/bash/sh configuration and environment variables usually contained in .zshrc/.zprofile/..; it is divided in login shell config (loginrc.d), general shell config (rc.d) and zsh specific (zsh.d) +* `.config/rofi` contains additional scripts and a simple theming framework for rofi and should probably be migrated into the correct directories at some point +* `.local/bin` contains most executable user scripts +* `.local/share/pandoc` contains configuration for academic latex (pandoc, really) writing and is of interest if you want to use this functionality +* `.xinitrc` is used for x initialization and program startup, customize to your needs +* `.gitlab-ci.yml` is only used for simple CI code linting and static analysis on gitlab, can be deleted on individual deployments + +NOTE: + +**THE BELOW README IS OUT OF DATE DO NOT FOLLOW ITS INSTALL INSTRUCTIONS** At some point I will get around to updating it diff --git a/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml similarity index 100% rename from .config/alacritty/alacritty.yml rename to alacritty/.config/alacritty/alacritty.yml diff --git a/.config/bootstrap/install b/bootstrap/.config/bootstrap/install similarity index 100% rename from .config/bootstrap/install rename to bootstrap/.config/bootstrap/install diff --git a/.config/bootstrap/packages.csv b/bootstrap/.config/bootstrap/packages.csv similarity index 100% rename from .config/bootstrap/packages.csv rename to bootstrap/.config/bootstrap/packages.csv diff --git a/.config/fontconfig/fonts.conf b/fontconfig/.config/fontconfig/fonts.conf similarity index 100% rename from .config/fontconfig/fonts.conf rename to fontconfig/.config/fontconfig/fonts.conf diff --git a/.config/gopass/config.yml b/gopass/.config/gopass/config.yml similarity index 100% rename from .config/gopass/config.yml rename to gopass/.config/gopass/config.yml diff --git a/.Xresources b/home/.Xresources similarity index 100% rename from .Xresources rename to home/.Xresources diff --git a/.bash_profile b/home/.bash_profile similarity index 100% rename from .bash_profile rename to home/.bash_profile diff --git a/.bashrc b/home/.bashrc similarity index 100% rename from .bashrc rename to home/.bashrc diff --git a/.gitlab-ci.yml b/home/.gitlab-ci.yml similarity index 100% rename from .gitlab-ci.yml rename to home/.gitlab-ci.yml diff --git a/.xinitrc b/home/.xinitrc similarity index 100% rename from .xinitrc rename to home/.xinitrc diff --git a/.zprofile b/home/.zprofile similarity index 100% rename from .zprofile rename to home/.zprofile diff --git a/.zshrc b/home/.zshrc similarity index 100% rename from .zshrc rename to home/.zshrc diff --git a/.config/i3/config b/i3/.config/i3/config similarity index 100% rename from .config/i3/config rename to i3/.config/i3/config diff --git a/.config/i3/scripts/i3-applications-autostart b/i3/.config/i3/scripts/i3-applications-autostart similarity index 100% rename from .config/i3/scripts/i3-applications-autostart rename to i3/.config/i3/scripts/i3-applications-autostart diff --git a/.config/libinput-gestures.conf b/libinput-gestures/.config/libinput-gestures.conf similarity index 100% rename from .config/libinput-gestures.conf rename to libinput-gestures/.config/libinput-gestures.conf diff --git a/nvim/.config/nvim/colo.vim b/nvim/.config/nvim/colo.vim new file mode 100644 index 0000000..cc9ab5a --- /dev/null +++ b/nvim/.config/nvim/colo.vim @@ -0,0 +1 @@ +colo nord diff --git a/.config/nvim/init.vim b/nvim/.config/nvim/init.vim similarity index 100% rename from .config/nvim/init.vim rename to nvim/.config/nvim/init.vim diff --git a/.config/nvim/maps.vim b/nvim/.config/nvim/maps.vim similarity index 100% rename from .config/nvim/maps.vim rename to nvim/.config/nvim/maps.vim diff --git a/.config/nvim/modules_experimental/academia_fzf.vim b/nvim/.config/nvim/modules_experimental/academia_fzf.vim similarity index 100% rename from .config/nvim/modules_experimental/academia_fzf.vim rename to nvim/.config/nvim/modules_experimental/academia_fzf.vim diff --git a/.config/nvim/modules_experimental/academia_pandoc.vim b/nvim/.config/nvim/modules_experimental/academia_pandoc.vim similarity index 100% rename from .config/nvim/modules_experimental/academia_pandoc.vim rename to nvim/.config/nvim/modules_experimental/academia_pandoc.vim diff --git a/.config/nvim/modules_experimental/academia_unite_citation.vim b/nvim/.config/nvim/modules_experimental/academia_unite_citation.vim similarity index 100% rename from .config/nvim/modules_experimental/academia_unite_citation.vim rename to nvim/.config/nvim/modules_experimental/academia_unite_citation.vim diff --git a/.config/nvim/modules_experimental/base_no_plugins.vim b/nvim/.config/nvim/modules_experimental/base_no_plugins.vim similarity index 100% rename from .config/nvim/modules_experimental/base_no_plugins.vim rename to nvim/.config/nvim/modules_experimental/base_no_plugins.vim diff --git a/.config/nvim/modules_experimental/coc-completion.vim b/nvim/.config/nvim/modules_experimental/coc-completion.vim similarity index 100% rename from .config/nvim/modules_experimental/coc-completion.vim rename to nvim/.config/nvim/modules_experimental/coc-completion.vim diff --git a/.config/nvim/plugin/bibcite.vim b/nvim/.config/nvim/plugin/bibcite.vim similarity index 100% rename from .config/nvim/plugin/bibcite.vim rename to nvim/.config/nvim/plugin/bibcite.vim diff --git a/nvim/.config/nvim/plugin/compiledoc.vim b/nvim/.config/nvim/plugin/compiledoc.vim new file mode 100644 index 0000000..5e4310f --- /dev/null +++ b/nvim/.config/nvim/plugin/compiledoc.vim @@ -0,0 +1,22 @@ +function CompileDoc() + :execute(":w!") + :execute(":!compile \"%\"") +endfunction + +function CompileDocNoOutput() + :execute(":w!") + :execute(":silent !compile \"%\"") +endfunction + +function CompiledOpen() + :execute(":silent !open-compiled \"%\"") +endfunction + +function CompileDocAndOpen() + call CompileDocNoOutput() + call CompiledOpen() +endfunction + +command CompileDoc call CompileDoc() +command CompileOpen call CompiledOpen() +command CompileDocAndOpen call CompileDocAndOpen() diff --git a/.config/nvim/plugin/searchnotes.vim b/nvim/.config/nvim/plugin/searchnotes.vim similarity index 100% rename from .config/nvim/plugin/searchnotes.vim rename to nvim/.config/nvim/plugin/searchnotes.vim diff --git a/.config/nvim/plugin/showmappings.vim b/nvim/.config/nvim/plugin/showmappings.vim similarity index 100% rename from .config/nvim/plugin/showmappings.vim rename to nvim/.config/nvim/plugin/showmappings.vim diff --git a/.config/nvim/pluglist/base.vim b/nvim/.config/nvim/pluglist/base.vim similarity index 100% rename from .config/nvim/pluglist/base.vim rename to nvim/.config/nvim/pluglist/base.vim diff --git a/.config/nvim/pluglist/completion.vim b/nvim/.config/nvim/pluglist/completion.vim similarity index 100% rename from .config/nvim/pluglist/completion.vim rename to nvim/.config/nvim/pluglist/completion.vim diff --git a/.config/nvim/pluglist/design.vim b/nvim/.config/nvim/pluglist/design.vim similarity index 100% rename from .config/nvim/pluglist/design.vim rename to nvim/.config/nvim/pluglist/design.vim diff --git a/.config/nvim/pluglist/latex.vim b/nvim/.config/nvim/pluglist/latex.vim similarity index 100% rename from .config/nvim/pluglist/latex.vim rename to nvim/.config/nvim/pluglist/latex.vim diff --git a/.config/nvim/pluglist/notes.vim b/nvim/.config/nvim/pluglist/notes.vim similarity index 100% rename from .config/nvim/pluglist/notes.vim rename to nvim/.config/nvim/pluglist/notes.vim diff --git a/.config/nvim/pluglist/prose.vim b/nvim/.config/nvim/pluglist/prose.vim similarity index 100% rename from .config/nvim/pluglist/prose.vim rename to nvim/.config/nvim/pluglist/prose.vim diff --git a/.config/nvim/pluglist/syntaxes.vim b/nvim/.config/nvim/pluglist/syntaxes.vim similarity index 100% rename from .config/nvim/pluglist/syntaxes.vim rename to nvim/.config/nvim/pluglist/syntaxes.vim diff --git a/.config/nvim/pluglist/vim.vim b/nvim/.config/nvim/pluglist/vim.vim similarity index 100% rename from .config/nvim/pluglist/vim.vim rename to nvim/.config/nvim/pluglist/vim.vim diff --git a/nvim/.config/nvim/watch.lua b/nvim/.config/nvim/watch.lua new file mode 100644 index 0000000..aec2ad2 --- /dev/null +++ b/nvim/.config/nvim/watch.lua @@ -0,0 +1,16 @@ +local w = vim.loop.new_fs_event() +local function on_change(err, fname, status) + -- Do work... + vim.api.nvim_command('checktime') + -- Debounce: stop/start. + w:stop() + watch_file(fname) +end +function watch_file(fname) + local fullpath = vim.api.nvim_call_function( + 'fnamemodify', {fname, ':p'}) + w:start(fullpath, {}, vim.schedule_wrap(function(...) + on_change(...) end)) +end +vim.api.nvim_command( + "command! -nargs=1 Watch call luaeval('watch_file(_A)', expand(''))") diff --git a/.config/picom/picom.conf b/picom/.config/picom/picom.conf similarity index 100% rename from .config/picom/picom.conf rename to picom/.config/picom/picom.conf diff --git a/.config/polybar/config b/polybar/.config/polybar/config similarity index 100% rename from .config/polybar/config rename to polybar/.config/polybar/config diff --git a/polybar/.config/polybar/exampleconf b/polybar/.config/polybar/exampleconf new file mode 100644 index 0000000..b197945 --- /dev/null +++ b/polybar/.config/polybar/exampleconf @@ -0,0 +1,403 @@ +[colors] +;background = ${xrdb:color0:#222} +background = #222 +background-alt = #444 +;foreground = ${xrdb:color7:#222} +foreground = #dfdfdf +foreground-alt = #555 +primary = #ffb52a +secondary = #e60053 +alert = #bd2c40 + +[bar/example] +;monitor = ${env:MONITOR:HDMI-1} +width = 100% +height = 27 +;offset-x = 1% +;offset-y = 1% +radius = 6.0 +fixed-center = false + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = #f00 + +border-size = 0 +border-color = #00000000 + +padding-left = 15 +padding-right = 15 + +module-margin-left = 1 +module-margin-right = 2 + +font-0 = fixed:pixelsize=10;1 +font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 +font-2 = siji:pixelsize=10;1 + +modules-left = bspwm i3 +modules-center = mpd +modules-right = filesystem xbacklight alsa pulseaudio xkeyboard memory cpu wlan eth battery temperature powermenu date + +tray-position = right +tray-padding = 2 +tray-background = #0063ff + +;wm-restack = bspwm +;wm-restack = i3 + +;override-redirect = true + +;scroll-up = bspwm-desknext +;scroll-down = bspwm-deskprev + +scroll-up = i3wm-wsnext +scroll-down = i3wm-wsprev + +cursor-click = pointer +cursor-scroll = ns-resize + +[module/xwindow] +type = internal/xwindow +label = %title:0:30:...% + +[module/xkeyboard] +type = internal/xkeyboard +blacklist-0 = num lock + +format-prefix = " " +format-prefix-foreground = ${colors.foreground-alt} +format-prefix-underline = ${colors.secondary} + +label-layout = %layout% +label-layout-underline = ${colors.secondary} + +label-indicator-padding = 2 +label-indicator-margin = 1 +label-indicator-background = ${colors.secondary} +label-indicator-underline = ${colors.secondary} + +[module/filesystem] +type = internal/fs +interval = 25 + +mount-0 = / + +label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% +label-unmounted = %mountpoint% not mounted +label-unmounted-foreground = ${colors.foreground-alt} + +[module/bspwm] +type = internal/bspwm + +label-focused = %index% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 + +label-occupied = %index% +label-occupied-padding = 2 + +label-urgent = %index%! +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +label-empty = %index% +label-empty-foreground = ${colors.foreground-alt} +label-empty-padding = 2 + +; Separator in between workspaces +; label-separator = | + +[module/i3] +type = internal/i3 +format = +index-sort = true +wrapping-scroll = false + +; Only show workspaces on the same output as the bar +;pin-workspaces = true + +label-mode-padding = 2 +label-mode-foreground = #000 +label-mode-background = ${colors.primary} + +; focused = Active workspace on focused monitor +label-focused = %index% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 + +; unfocused = Inactive workspace on any monitor +label-unfocused = %index% +label-unfocused-padding = 2 + +; visible = Active workspace on unfocused monitor +label-visible = %index% +label-visible-background = ${self.label-focused-background} +label-visible-underline = ${self.label-focused-underline} +label-visible-padding = ${self.label-focused-padding} + +; urgent = Workspace with urgency hint set +label-urgent = %index% +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +; Separator in between workspaces +; label-separator = | + + +[module/mpd] +type = internal/mpd +format-online = + +icon-prev =  +icon-stop =  +icon-play =  +icon-pause =  +icon-next =  + +label-song-maxlen = 25 +label-song-ellipsis = true + +[module/xbacklight] +type = internal/xbacklight + +format =