From 48fdc8c36a703b47c8fad732a112ede71d6caa8b Mon Sep 17 00:00:00 2001 From: Jeffrey Serio <23226432+hyperreal64@users.noreply.github.com> Date: Thu, 7 Jul 2022 11:32:27 -0500 Subject: [PATCH] Big changes --- {dot_config => .config}/amfora/config.toml | 120 ++-- .config/amfora/newtab.gmi | 10 + .config/fish/config.fish | 44 ++ .config/fish/functions/batfun.fish | 7 + .config/fish/functions/cd.fish | 3 + .config/fish/functions/dnfgl.fish | 3 + .config/fish/functions/dnfi.fish | 3 + .config/fish/functions/dnfl.fish | 3 + .config/fish/functions/dnfli.fish | 4 + .config/fish/functions/dnfp.fish | 3 + .config/fish/functions/dnfr.fish | 3 + .config/fish/functions/dnfs.fish | 3 + .config/fish/functions/dnfu.fish | 3 + .config/fish/functions/dud.fish | 7 + .config/fish/functions/extract.fish | 25 + .config/fish/functions/fw.fish | 3 + .config/fish/functions/fwr.fish | 3 + .config/fish/functions/ga.fish | 3 + .config/fish/functions/gcmsg.fish | 3 + .config/fish/functions/gp.fish | 3 + .config/fish/functions/grm.fish | 3 + .config/fish/functions/gst.fish | 3 + .config/fish/functions/la.fish | 7 + .config/fish/functions/lal.fish | 7 + .config/fish/functions/ll.fish | 7 + .config/fish/functions/ls.fish | 7 + .config/fish/functions/lse.fish | 3 + .config/fish/functions/lsock.fish | 3 + .config/fish/functions/lsockT.fish | 3 + .config/fish/functions/lsockU.fish | 3 + .config/fish/functions/man.fish | 41 ++ .config/fish/functions/mkd.fish | 3 + .config/fish/functions/netcons.fish | 3 + .config/fish/functions/openports.fish | 3 + .config/fish/functions/pbcopy.fish | 9 + .config/fish/functions/pids.fish | 3 + .config/fish/functions/pong.fish | 3 + .config/fish/functions/pubip.fish | 7 + .config/fish/functions/pubkey.fish | 11 + .config/fish/functions/rsrc.fish | 4 + .config/fish/functions/sc-daemon-reload.fish | 3 + .config/fish/functions/sc-disable-now.fish | 3 + .config/fish/functions/sc-disable.fish | 3 + .config/fish/functions/sc-enable-now.fish | 3 + .config/fish/functions/sc-enable.fish | 3 + .config/fish/functions/sc-list-socks.fish | 3 + .config/fish/functions/sc-list-srvs.fish | 3 + .config/fish/functions/sc-list-timers.fish | 3 + .config/fish/functions/sc-reboot.fish | 3 + .config/fish/functions/sc-restart.fish | 3 + .config/fish/functions/sc-show.fish | 3 + .config/fish/functions/sc-start.fish | 3 + .config/fish/functions/sc-status.fish | 3 + .config/fish/functions/sc-stop.fish | 3 + .config/fish/functions/scu-daemon-reload.fish | 3 + .config/fish/functions/scu-disable-now.fish | 3 + .config/fish/functions/scu-disable.fish | 3 + .config/fish/functions/scu-enable-now.fish | 3 + .config/fish/functions/scu-enable.fish | 3 + .config/fish/functions/scu-restart.fish | 3 + .config/fish/functions/scu-show.fish | 3 + .config/fish/functions/scu-start.fish | 3 + .config/fish/functions/scu-status.fish | 3 + .config/fish/functions/scu-stop.fish | 3 + .config/fish/functions/tulp.fish | 3 + .config/nvim/init.lua | 523 +++++++++++++++ .config/rofi/config.rasi | 105 +++ {dot_config => .config}/starship.toml | 21 +- .config/zathura/.github/issue_template.md | 1 + .../zathura/.github/pull_request_template.md | 1 + .config/zathura/catppuccin | 37 ++ .config/zathura/zathurarc | 5 + .config/zellij/config.yaml | 604 ++++++++++++++++++ dot_editorconfig => .editorconfig | 0 dot_gitconfig => .gitconfig | 3 +- {private_dot_gnupg => .gnupg}/gpg-agent.conf | 0 {private_dot_gnupg => .gnupg}/gpg.conf | 0 .local/share/rofi/themes/catppuccin.rasi | 12 + .lscolors.sh | 1 + dot_config/oh-my-tmux/themes/dracula.conf | 79 --- dot_config/oh-my-tmux/themes/embark.conf | 80 --- dot_config/rofi/config.rasi | 144 ----- dot_config/tmuxinator/azura.yml | 51 -- dot_config/tmuxinator/nocturnal.yml | 53 -- dot_config/tmuxinator/unixcat.yml | 49 -- dot_config/zathura/zathurarc | 56 -- dot_fzf-marks | 7 - dot_ssh/config | 11 - dot_tmux.conf.local | 418 ------------ dot_zsh/aliases.zsh | 76 --- dot_zsh/embark-zsh-syntax-highlighting.zsh | 74 --- dot_zsh/functions.zsh | 48 -- dot_zsh/fzf.zsh | 29 - dot_zsh/input.zsh | 42 -- dot_zshenv | 99 --- dot_zshrc | 68 -- private_dot_gnupg/scdaemon.conf | 1 - 97 files changed, 1709 insertions(+), 1453 deletions(-) rename {dot_config => .config}/amfora/config.toml (84%) create mode 100644 .config/amfora/newtab.gmi create mode 100644 .config/fish/config.fish create mode 100644 .config/fish/functions/batfun.fish create mode 100644 .config/fish/functions/cd.fish create mode 100644 .config/fish/functions/dnfgl.fish create mode 100644 .config/fish/functions/dnfi.fish create mode 100644 .config/fish/functions/dnfl.fish create mode 100644 .config/fish/functions/dnfli.fish create mode 100644 .config/fish/functions/dnfp.fish create mode 100644 .config/fish/functions/dnfr.fish create mode 100644 .config/fish/functions/dnfs.fish create mode 100644 .config/fish/functions/dnfu.fish create mode 100644 .config/fish/functions/dud.fish create mode 100644 .config/fish/functions/extract.fish create mode 100644 .config/fish/functions/fw.fish create mode 100644 .config/fish/functions/fwr.fish create mode 100644 .config/fish/functions/ga.fish create mode 100644 .config/fish/functions/gcmsg.fish create mode 100644 .config/fish/functions/gp.fish create mode 100644 .config/fish/functions/grm.fish create mode 100644 .config/fish/functions/gst.fish create mode 100644 .config/fish/functions/la.fish create mode 100644 .config/fish/functions/lal.fish create mode 100644 .config/fish/functions/ll.fish create mode 100644 .config/fish/functions/ls.fish create mode 100644 .config/fish/functions/lse.fish create mode 100644 .config/fish/functions/lsock.fish create mode 100644 .config/fish/functions/lsockT.fish create mode 100644 .config/fish/functions/lsockU.fish create mode 100644 .config/fish/functions/man.fish create mode 100644 .config/fish/functions/mkd.fish create mode 100644 .config/fish/functions/netcons.fish create mode 100644 .config/fish/functions/openports.fish create mode 100644 .config/fish/functions/pbcopy.fish create mode 100644 .config/fish/functions/pids.fish create mode 100644 .config/fish/functions/pong.fish create mode 100644 .config/fish/functions/pubip.fish create mode 100644 .config/fish/functions/pubkey.fish create mode 100644 .config/fish/functions/rsrc.fish create mode 100644 .config/fish/functions/sc-daemon-reload.fish create mode 100644 .config/fish/functions/sc-disable-now.fish create mode 100644 .config/fish/functions/sc-disable.fish create mode 100644 .config/fish/functions/sc-enable-now.fish create mode 100644 .config/fish/functions/sc-enable.fish create mode 100644 .config/fish/functions/sc-list-socks.fish create mode 100644 .config/fish/functions/sc-list-srvs.fish create mode 100644 .config/fish/functions/sc-list-timers.fish create mode 100644 .config/fish/functions/sc-reboot.fish create mode 100644 .config/fish/functions/sc-restart.fish create mode 100644 .config/fish/functions/sc-show.fish create mode 100644 .config/fish/functions/sc-start.fish create mode 100644 .config/fish/functions/sc-status.fish create mode 100644 .config/fish/functions/sc-stop.fish create mode 100644 .config/fish/functions/scu-daemon-reload.fish create mode 100644 .config/fish/functions/scu-disable-now.fish create mode 100644 .config/fish/functions/scu-disable.fish create mode 100644 .config/fish/functions/scu-enable-now.fish create mode 100644 .config/fish/functions/scu-enable.fish create mode 100644 .config/fish/functions/scu-restart.fish create mode 100644 .config/fish/functions/scu-show.fish create mode 100644 .config/fish/functions/scu-start.fish create mode 100644 .config/fish/functions/scu-status.fish create mode 100644 .config/fish/functions/scu-stop.fish create mode 100644 .config/fish/functions/tulp.fish create mode 100644 .config/nvim/init.lua create mode 100644 .config/rofi/config.rasi rename {dot_config => .config}/starship.toml (78%) create mode 100644 .config/zathura/.github/issue_template.md create mode 100644 .config/zathura/.github/pull_request_template.md create mode 100644 .config/zathura/catppuccin create mode 100644 .config/zathura/zathurarc create mode 100644 .config/zellij/config.yaml rename dot_editorconfig => .editorconfig (100%) rename dot_gitconfig => .gitconfig (55%) rename {private_dot_gnupg => .gnupg}/gpg-agent.conf (100%) rename {private_dot_gnupg => .gnupg}/gpg.conf (100%) create mode 100644 .local/share/rofi/themes/catppuccin.rasi create mode 100644 .lscolors.sh delete mode 100644 dot_config/oh-my-tmux/themes/dracula.conf delete mode 100644 dot_config/oh-my-tmux/themes/embark.conf delete mode 100644 dot_config/rofi/config.rasi delete mode 100644 dot_config/tmuxinator/azura.yml delete mode 100644 dot_config/tmuxinator/nocturnal.yml delete mode 100644 dot_config/tmuxinator/unixcat.yml delete mode 100644 dot_config/zathura/zathurarc delete mode 100644 dot_fzf-marks delete mode 100644 dot_ssh/config delete mode 100644 dot_tmux.conf.local delete mode 100644 dot_zsh/aliases.zsh delete mode 100644 dot_zsh/embark-zsh-syntax-highlighting.zsh delete mode 100644 dot_zsh/functions.zsh delete mode 100644 dot_zsh/fzf.zsh delete mode 100644 dot_zsh/input.zsh delete mode 100644 dot_zshenv delete mode 100644 dot_zshrc delete mode 100644 private_dot_gnupg/scdaemon.conf diff --git a/dot_config/amfora/config.toml b/.config/amfora/config.toml similarity index 84% rename from dot_config/amfora/config.toml rename to .config/amfora/config.toml index dfcaca8..9365eff 100644 --- a/dot_config/amfora/config.toml +++ b/.config/amfora/config.toml @@ -11,7 +11,7 @@ [a-general] # Press Ctrl-H to access it -home = "gemini://gemini.circumlunar.space" +home = "gemini://hyperreal.coffee" # Follow up to 5 Gemini redirects without prompting. # A prompt is always shown after the 5th redirect and for redirects to protocols other than Gemini. @@ -25,7 +25,7 @@ auto_redirect = false # # The best to define a command is using a string array. # Examples: -# http = ['firefox'] +http = ['firefox'] # http = ['custom-browser', '--flag', '--option=2'] # http = ['/path/with spaces/in it/firefox'] # @@ -33,8 +33,6 @@ auto_redirect = false # Using just a string will also work, but it is deprecated, and will degrade if # you use paths with spaces. -http = 'default' - # Any URL that will accept a query string can be put here search = "gemini://gus.guru/search" @@ -44,6 +42,12 @@ color = true # Whether ANSI color codes from the page content should be rendered ansi = true +# Whether or not to support source code highlighting in preformatted blocks based on alt text +highlight_code = true + +# Which highlighting style to use (see https://xyproto.github.io/splash/docs/) +highlight_style = "dracula" + # Whether to replace list asterisks with unicode bullets bullets = true @@ -60,7 +64,7 @@ max_width = 100 # An empty value means the code will find the default downloads folder for your system. # If the path does not exist it will be created. # Note the use of single quotes, so that backslashes will not be escaped. -downloads = '' +downloads = '/var/home/jas/downloads' # Max size for displayable content in bytes - after that size a download window pops up page_max_size = 2097152 # 2 MiB @@ -68,7 +72,7 @@ page_max_size = 2097152 # 2 MiB page_max_time = 10 # Whether to replace tab numbers with emoji favicons, which are cached. -emoji_favicons = false +emoji_favicons = true # When a scrollbar appears. "never", "auto", and "always" are the only valid values. # "auto" means the scrollbar only appears when the page is longer than the window. @@ -83,12 +87,13 @@ scrollbar = "auto" # Client certificates # Set domain name equal to path to client cert # "example.com" = 'mycert.crt' +"astrobotany.mozz.us" = "~/.local/share/amfora/astrobotany-cert.pem" [auth.keys] # Client certificate keys # Set domain name equal to path to key for the client cert above # "example.com" = 'mycert.key' - +"astrobotany.mozz.us" = "~/.local/share/amfora/astrobotany-key.pem" [keybindings] # If you have a non-US keyboard, use bind_tab1 through bind_tab0 to @@ -190,10 +195,6 @@ other = 'off' # # To open jpeg files with the feh command: # -# [[mediatype-handlers]] -# cmd = ['feh'] -# types = ["image/jpeg"] -# # Each command that you specify must come under its own [[mediatype-handlers]]. You may # specify as many [[mediatype-handlers]] as you want to setup multiple commands. # @@ -232,10 +233,14 @@ other = 'off' # If you want to always open a type in its viewer without the download or open # prompt appearing, you can add no_prompt = true # -# [[mediatype-handlers]] -# cmd = ['feh'] -# types = ["image"] -# no_prompt = true +[[mediatype-handlers]] +cmd = ['ristretto'] +types = ["image"] +no_prompt = true + +[[mediatype-handlers]] +cmd = ['zathura'] +types = ["application/pdf"] # # Note: Multiple handlers cannot be defined for the same full media type, but # still there needs to be an order for which handlers are used. The following @@ -292,52 +297,51 @@ workers = 3 # The number of subscription updates displayed per page. entries_per_page = 20 +# Catppuccin Mocha [theme] -bg = "#282a36" -tab_num = "#bd93f9" -tab_divider = "#f8f8f2" -bottombar_label = "#bd93f9" -bottombar_text = "#8be9fd" -bottombar_bg = "#44475a" -scrollbar = "#44475a" +bg = "#1E1E2E" +tab_num = "#cba6f7" +tab_divider = "#a6adc8" +bottombar_text = "#94e2d5" +bottombar_bg = "#45475a" +scrollbar = "#45475a" -hdg_1 = "#bd93f9" -hdg_2 = "#bd93f9" -hdg_3 = "#bd93f9" -amfora_link = "#ff79c6" -foreign_link = "#ffb86c" -link_number = "#8be9fd" -regular_text = "#f8f8f2" -quote_text = "#f1fa8c" -preformatted_text = "#ffb86c" -list_text = "#f8f8f2" +hdg_1 = "#cba6f7" +hdg_2 = "#cba6f7" +hdg_3 = "#cba6f7" +amfora_link = "#f38ba8" +foreign_link = "#fab387" +link_number = "#94e2d5" +regular_text = "#cdd6f4" +quote_text = "#f9e2af" +preformatted_text = "#fab387" +list_text = "#cdd6f4" -btn_bg = "#44475a" -btn_text = "#f8f8f2" +btn_bg = "#45475a" +btn_text = "#cdd6f4" -dl_choice_modal_bg = "#6272a4" -dl_choice_modal_text = "#f8f8f2" -dl_modal_bg = "#6272a4" -dl_modal_text = "#f8f8f2" -info_modal_bg = "#6272a4" -info_modal_text = "#f8f8f2" -error_modal_bg = "#ff5555" -error_modal_text = "#f8f8f2" -yesno_modal_bg = "#6272a4" -yesno_modal_text = "#f8f8f2" -tofu_modal_bg = "#6272a4" -tofu_modal_text = "#f8f8f2" -subscription_modal_bg = "#6272a4" -subscription_modal_text = "#f8f8f2" +dl_choice_modal_bg = "#45475a" +dl_choice_modal_text = "#cdd6f4" +dl_modal_bg = "#45475a" +dl_modal_text = "#cdd6f4" +info_modal_bg = "#45475a" +info_modal_text = "#cdd6f4" +error_modal_bg = "#f38ba8" +error_modal_text = "#181825" +yesno_modal_bg = "#45475a" +yesno_modal_text = "#cdd6f4" +tofu_modal_bg = "#45475a" +tofu_modal_text = "#cdd6f4" +subscription_modal_bg = "#45475a" +subscription_modal_text = "#cdd6f4" -input_modal_bg = "#6272a4" -input_modal_text = "#f8f8f2" -input_modal_field_bg = "#44475a" -input_modal_field_text = "#f8f8f2" - -bkmk_modal_bg = "#6272a4" -bkmk_modal_text = "#f8f8f2" -bkmk_modal_label = "#f8f8f2" -bkmk_modal_field_bg = "#44475a" -bkmk_modal_field_text = "#f8f8f2" +input_modal_bg = "#45475a" +input_modal_text = "#cdd6f4" +input_modal_field_bg = "#313244" +input_modal_field_text = "#cdd6f4" +bkmk_modal_bg = "#45475a" +bkmk_modal_text = "#cdd6f4" +bkmk_modal_label = "#cdd6f4" +bkmk_modal_field_bg = "#313244" +bkmk_modal_field_text = "#cdd6f4" diff --git a/.config/amfora/newtab.gmi b/.config/amfora/newtab.gmi new file mode 100644 index 0000000..845657b --- /dev/null +++ b/.config/amfora/newtab.gmi @@ -0,0 +1,10 @@ +# Welcome to Gemini! + +## Internal pages +=> about:bookmarks Bookmarks +=> about:subscriptions Subscriptions + +## Geminispace +=> gemini://hyperreal.coffee hyperreal.coffee +=> gemini://makeworld.space/amfora-wiki/ Amfora Wiki +=> gemini://gemini.circumlunar.space/ Project Gemini diff --git a/.config/fish/config.fish b/.config/fish/config.fish new file mode 100644 index 0000000..9cbacc9 --- /dev/null +++ b/.config/fish/config.fish @@ -0,0 +1,44 @@ +#!/usr/bin/env fish +# vim:set ft=fish ai et sw=4 ts=4:# fzf keybindings +fzf_configure_bindings --directory=\cf --git_log=\cg --git_status=\cs --processes=\cp + +# environment vars +set -gx BAT_THEME "Catppuccin" +set -gx PAGER "less -X" +set -gx MANPAGER "less -X" +set -gx LS_COLORS (cat ~/.lscolors.sh) +set -gx GOPATH "$HOME/go" +set -gx LANG en_US.UTF-8 +set -gx EDITOR nvim +set -gx XDG_DATA_DIRS "$XDG_DATA_DIRS:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share" +set -gx MANPATH "/usr/share/man:/usr/local/share/man:/var/home/jas/.fzf/man" + +# set FZF colors +set -Ux FZF_DEFAULT_OPTS "--color=bg+:#302D41,bg:#1E1E2E,spinner:#F8BD96,hl:#F28FAD --color=fg:#D9E0EE,header:#F28FAD,info:#DDB6F2,pointer:#F8BD96 --color=marker:#F8BD96,fg+:#F2CDCD,prompt:#DDB6F2,hl+:#F28FAD" + +# keybinding for fzf-marks +bind \eg "fzm" + +# set TERM +set -Ux TERM screen-256color + +# set PATH +set -ga fish_user_paths "$GOPATH/bin" +set -ga fish_user_paths "$HOME/.cargo/bin" +set -ga fish_user_paths "/usr/local/bin" +set -ga fish_user_paths "/usr/local/sbin" +set -ga fish_user_paths "/usr/bin" +set -ga fish_user_paths "/usr/sbin" +set -ga fish_user_paths "/bin" +set -ga fish_user_paths "/sbin" +set -ga fish_user_paths "$HOME/.local/bin" +set -ga fish_user_paths "$HOME/bin" +set -ga fish_user_paths "$HOME/.nimble/bin" + +# colored-man settings +set -g man_blink -o red +set -g man_bold -o FF80BF +set -g man_standout -b cyan black +set -g man_underline -u 8AFF80 + +starship init fish | source diff --git a/.config/fish/functions/batfun.fish b/.config/fish/functions/batfun.fish new file mode 100644 index 0000000..8563026 --- /dev/null +++ b/.config/fish/functions/batfun.fish @@ -0,0 +1,7 @@ +function batfun -d "Display function definition with bat" + if type -q bat + command bat (functions -D $argv[1]) + else + command echo "bat program not installed!" + end +end diff --git a/.config/fish/functions/cd.fish b/.config/fish/functions/cd.fish new file mode 100644 index 0000000..a303022 --- /dev/null +++ b/.config/fish/functions/cd.fish @@ -0,0 +1,3 @@ +function cd -d "Do an ls after cd" + builtin cd $argv; ls +end diff --git a/.config/fish/functions/dnfgl.fish b/.config/fish/functions/dnfgl.fish new file mode 100644 index 0000000..dcb1144 --- /dev/null +++ b/.config/fish/functions/dnfgl.fish @@ -0,0 +1,3 @@ +function dnfgl -d "List package groups" + dnf grouplist +end diff --git a/.config/fish/functions/dnfi.fish b/.config/fish/functions/dnfi.fish new file mode 100644 index 0000000..9f37663 --- /dev/null +++ b/.config/fish/functions/dnfi.fish @@ -0,0 +1,3 @@ +function dnfi -d "install packages" + sudo dnf install $argv +end diff --git a/.config/fish/functions/dnfl.fish b/.config/fish/functions/dnfl.fish new file mode 100644 index 0000000..7f5e312 --- /dev/null +++ b/.config/fish/functions/dnfl.fish @@ -0,0 +1,3 @@ +function dnfl -d "list packages" + dnf list +end diff --git a/.config/fish/functions/dnfli.fish b/.config/fish/functions/dnfli.fish new file mode 100644 index 0000000..232afe1 --- /dev/null +++ b/.config/fish/functions/dnfli.fish @@ -0,0 +1,4 @@ +function dnfli -d "list installed packages" + dnf list installed +end + diff --git a/.config/fish/functions/dnfp.fish b/.config/fish/functions/dnfp.fish new file mode 100644 index 0000000..e6a68d7 --- /dev/null +++ b/.config/fish/functions/dnfp.fish @@ -0,0 +1,3 @@ +function dnfp -d "Show package info" + dnf info $argv +end diff --git a/.config/fish/functions/dnfr.fish b/.config/fish/functions/dnfr.fish new file mode 100644 index 0000000..3b7fcff --- /dev/null +++ b/.config/fish/functions/dnfr.fish @@ -0,0 +1,3 @@ +function dnfr -d "remove packages" + sudo dnf remove $argv +end diff --git a/.config/fish/functions/dnfs.fish b/.config/fish/functions/dnfs.fish new file mode 100644 index 0000000..d720191 --- /dev/null +++ b/.config/fish/functions/dnfs.fish @@ -0,0 +1,3 @@ +function dnfs -d "Search package" + dnf search $argv +end diff --git a/.config/fish/functions/dnfu.fish b/.config/fish/functions/dnfu.fish new file mode 100644 index 0000000..a56516e --- /dev/null +++ b/.config/fish/functions/dnfu.fish @@ -0,0 +1,3 @@ +function dnfu -d "Update packages" + sudo dnf update -y +end diff --git a/.config/fish/functions/dud.fish b/.config/fish/functions/dud.fish new file mode 100644 index 0000000..ba2e74a --- /dev/null +++ b/.config/fish/functions/dud.fish @@ -0,0 +1,7 @@ +function dud -d "Display disk usage with dust" + if type -q dust + command dust --depth 1 -w 88 $argv + else + command echo "dust program not installed!" + end +end diff --git a/.config/fish/functions/extract.fish b/.config/fish/functions/extract.fish new file mode 100644 index 0000000..a775ab8 --- /dev/null +++ b/.config/fish/functions/extract.fish @@ -0,0 +1,25 @@ +# Taken from: https://github.com/dideler/dotfiles/blob/master/functions/extract.fish + +function extract --description "Expand or extract bundled & compressed files" + set --local ext (echo $argv[1] | awk -F. '{print $NF}') + switch $ext + case tar # non-compressed, just bundled + tar -xvf $argv[1] + case gz + if test (echo $argv[1] | awk -F. '{print $(NF-1)}') = tar # tar bundle compressed with gzip + tar -zxvf $argv[1] + else # single gzip + gunzip $argv[1] + end + case tgz # same as tar.gz + tar -zxvf $argv[1] + case bz2 # tar compressed with bzip2 + tar -jxvf $argv[1] + case rar + unrar x $argv[1] + case zip + unzip $argv[1] + case '*' + echo "unknown extension" + end +end diff --git a/.config/fish/functions/fw.fish b/.config/fish/functions/fw.fish new file mode 100644 index 0000000..d8018da --- /dev/null +++ b/.config/fish/functions/fw.fish @@ -0,0 +1,3 @@ +function fw -d "firewall-cmd alias" + sudo firewall-cmd $argv +end diff --git a/.config/fish/functions/fwr.fish b/.config/fish/functions/fwr.fish new file mode 100644 index 0000000..13ec7e9 --- /dev/null +++ b/.config/fish/functions/fwr.fish @@ -0,0 +1,3 @@ +function fwr -d "firewall-cmd --reload alias" + sudo firewall-cmd --reload +end diff --git a/.config/fish/functions/ga.fish b/.config/fish/functions/ga.fish new file mode 100644 index 0000000..b53294c --- /dev/null +++ b/.config/fish/functions/ga.fish @@ -0,0 +1,3 @@ +function ga -d "git add" + git add $argv +end diff --git a/.config/fish/functions/gcmsg.fish b/.config/fish/functions/gcmsg.fish new file mode 100644 index 0000000..c27013f --- /dev/null +++ b/.config/fish/functions/gcmsg.fish @@ -0,0 +1,3 @@ +function gcmsg -d "git commit -m" + git commit -m $argv +end diff --git a/.config/fish/functions/gp.fish b/.config/fish/functions/gp.fish new file mode 100644 index 0000000..97dcb2c --- /dev/null +++ b/.config/fish/functions/gp.fish @@ -0,0 +1,3 @@ +function gp -d "git push" + git push $argv +end diff --git a/.config/fish/functions/grm.fish b/.config/fish/functions/grm.fish new file mode 100644 index 0000000..905dc51 --- /dev/null +++ b/.config/fish/functions/grm.fish @@ -0,0 +1,3 @@ +function grm -d "git rm" + git rm $argv +end diff --git a/.config/fish/functions/gst.fish b/.config/fish/functions/gst.fish new file mode 100644 index 0000000..e111fc7 --- /dev/null +++ b/.config/fish/functions/gst.fish @@ -0,0 +1,3 @@ +function gst -d "git status" + git status +end diff --git a/.config/fish/functions/la.fish b/.config/fish/functions/la.fish new file mode 100644 index 0000000..68e71ac --- /dev/null +++ b/.config/fish/functions/la.fish @@ -0,0 +1,7 @@ +function la + if type -q exa + command exa -a --icons $argv + else + command ls -a --color=auto $argv + end +end diff --git a/.config/fish/functions/lal.fish b/.config/fish/functions/lal.fish new file mode 100644 index 0000000..ca90254 --- /dev/null +++ b/.config/fish/functions/lal.fish @@ -0,0 +1,7 @@ +function lal + if type -q exa + command exa -l -a --icons $argv + else + command ls -al --color=auto $argv + end +end diff --git a/.config/fish/functions/ll.fish b/.config/fish/functions/ll.fish new file mode 100644 index 0000000..2d24f28 --- /dev/null +++ b/.config/fish/functions/ll.fish @@ -0,0 +1,7 @@ +function ll + if type -q exa + command exa -l --icons --git $argv + else + command ls -l --color=auto $argv + end +end diff --git a/.config/fish/functions/ls.fish b/.config/fish/functions/ls.fish new file mode 100644 index 0000000..3bf1621 --- /dev/null +++ b/.config/fish/functions/ls.fish @@ -0,0 +1,7 @@ +function ls + if type -q exa + command exa --icons $argv + else + command ls --color=auto $argv + end +end diff --git a/.config/fish/functions/lse.fish b/.config/fish/functions/lse.fish new file mode 100644 index 0000000..268c47b --- /dev/null +++ b/.config/fish/functions/lse.fish @@ -0,0 +1,3 @@ +function lse + command ls -lZ --color=auto $argv +end diff --git a/.config/fish/functions/lsock.fish b/.config/fish/functions/lsock.fish new file mode 100644 index 0000000..a1c94bd --- /dev/null +++ b/.config/fish/functions/lsock.fish @@ -0,0 +1,3 @@ +function lsock -d "List sockets in use" + command sudo lsof -i -P +end diff --git a/.config/fish/functions/lsockT.fish b/.config/fish/functions/lsockT.fish new file mode 100644 index 0000000..09a8477 --- /dev/null +++ b/.config/fish/functions/lsockT.fish @@ -0,0 +1,3 @@ +function lsockT -d "List TCP sockets in use" + command sudo lsof -nP | grep TCP +end diff --git a/.config/fish/functions/lsockU.fish b/.config/fish/functions/lsockU.fish new file mode 100644 index 0000000..979923b --- /dev/null +++ b/.config/fish/functions/lsockU.fish @@ -0,0 +1,3 @@ +function lsockU -d "List UDP sockets in use" + command sudo lsof -nP | grep UDP +end diff --git a/.config/fish/functions/man.fish b/.config/fish/functions/man.fish new file mode 100644 index 0000000..3fbfa69 --- /dev/null +++ b/.config/fish/functions/man.fish @@ -0,0 +1,41 @@ +function man --wraps man --description 'Format and display manual pages' + set -q man_blink; and set -l blink (set_color $man_blink); or set -l blink (set_color -o red) + set -q man_bold; and set -l bold (set_color $man_bold); or set -l bold (set_color -o 5fafd7) + set -q man_standout; and set -l standout (set_color $man_standout); or set -l standout (set_color 949494) + set -q man_underline; and set -l underline (set_color $man_underline); or set -l underline (set_color -u afafd7) + + set -l end (printf "\e[0m") + + set -lx LESS_TERMCAP_mb $blink + set -lx LESS_TERMCAP_md $bold + set -lx LESS_TERMCAP_me $end + set -lx LESS_TERMCAP_so $standout + set -lx LESS_TERMCAP_se $end + set -lx LESS_TERMCAP_us $underline + set -lx LESS_TERMCAP_ue $end + set -lx LESS '-R -s' + + set -lx GROFF_NO_SGR yes # fedora + + set -lx MANPATH (string join : $MANPATH) + if test -z "$MANPATH" + type -q manpath + and set MANPATH (command manpath) + end + + # Check data dir for Fish 2.x compatibility + set -l fish_data_dir + if set -q __fish_data_dir + set fish_data_dir $__fish_data_dir + else + set fish_data_dir $__fish_datadir + end + + set -l fish_manpath (dirname $fish_data_dir)/fish/man + if test -d "$fish_manpath" -a -n "$MANPATH" + set MANPATH "$fish_manpath":$MANPATH + command man $argv + return + end + command man $argv +end diff --git a/.config/fish/functions/mkd.fish b/.config/fish/functions/mkd.fish new file mode 100644 index 0000000..87d807f --- /dev/null +++ b/.config/fish/functions/mkd.fish @@ -0,0 +1,3 @@ +function mkd -d "Create new directory and enter it" + mkdir -p $argv[1]; cd $argv[1] +end diff --git a/.config/fish/functions/netcons.fish b/.config/fish/functions/netcons.fish new file mode 100644 index 0000000..b704220 --- /dev/null +++ b/.config/fish/functions/netcons.fish @@ -0,0 +1,3 @@ +function netcons -d "Network connections" + lsof -i $argv +end diff --git a/.config/fish/functions/openports.fish b/.config/fish/functions/openports.fish new file mode 100644 index 0000000..2749b75 --- /dev/null +++ b/.config/fish/functions/openports.fish @@ -0,0 +1,3 @@ +function openports -d "Open ports" + sudo lsof -i | grep LISTEN +end diff --git a/.config/fish/functions/pbcopy.fish b/.config/fish/functions/pbcopy.fish new file mode 100644 index 0000000..f301917 --- /dev/null +++ b/.config/fish/functions/pbcopy.fish @@ -0,0 +1,9 @@ +function pbcopy -d "Copy data from STDIN to the clipboard" + if type -q xclip + command xclip -selection clipboard + else if type -q xsel + command xsel --clipboard --input + else + command echo "ERROR: xclip or xsel not found" + end +end diff --git a/.config/fish/functions/pids.fish b/.config/fish/functions/pids.fish new file mode 100644 index 0000000..c127eb1 --- /dev/null +++ b/.config/fish/functions/pids.fish @@ -0,0 +1,3 @@ +function pids -d "List pids" + command pgrep -a $argv[1] +end diff --git a/.config/fish/functions/pong.fish b/.config/fish/functions/pong.fish new file mode 100644 index 0000000..565dfa3 --- /dev/null +++ b/.config/fish/functions/pong.fish @@ -0,0 +1,3 @@ +function pong -d "Ping google" + ping -c 3 www.google.com +end diff --git a/.config/fish/functions/pubip.fish b/.config/fish/functions/pubip.fish new file mode 100644 index 0000000..0fe14a0 --- /dev/null +++ b/.config/fish/functions/pubip.fish @@ -0,0 +1,7 @@ +function pubip + if type -q jq + command curl -s ipinfo.io | command jq + else + command curl -s ipinfo.io + end +end diff --git a/.config/fish/functions/pubkey.fish b/.config/fish/functions/pubkey.fish new file mode 100644 index 0000000..3d428f1 --- /dev/null +++ b/.config/fish/functions/pubkey.fish @@ -0,0 +1,11 @@ +function pubkey -d "Copy SSH pubkey to clipboard" + if type -q xclip + command cat "$HOME/.ssh/id_ed25519.pub" | command xclip -selection clipboard + command echo "==> SSH public key copied" + else if type -q xsel + command cat "$HOME/.ssh/id_ed25519.pub" | command xsel -ib + command echo "==> SSH public key copied" + else + command echo "ERROR: xclip or xsel not found" + end +end diff --git a/.config/fish/functions/rsrc.fish b/.config/fish/functions/rsrc.fish new file mode 100644 index 0000000..6f6efe6 --- /dev/null +++ b/.config/fish/functions/rsrc.fish @@ -0,0 +1,4 @@ +function rsrc -d "Refresh and re-source shell" + cd ~/ + clear +end diff --git a/.config/fish/functions/sc-daemon-reload.fish b/.config/fish/functions/sc-daemon-reload.fish new file mode 100644 index 0000000..da7f50f --- /dev/null +++ b/.config/fish/functions/sc-daemon-reload.fish @@ -0,0 +1,3 @@ +function sc-daemon-reload -d "Reload systemd daemons" + sudo systemctl daemon-reload +end diff --git a/.config/fish/functions/sc-disable-now.fish b/.config/fish/functions/sc-disable-now.fish new file mode 100644 index 0000000..4f23dca --- /dev/null +++ b/.config/fish/functions/sc-disable-now.fish @@ -0,0 +1,3 @@ +function sc-disable-now -d "Disable and stop systemd service" + sudo systemctl disable --now $argv +end diff --git a/.config/fish/functions/sc-disable.fish b/.config/fish/functions/sc-disable.fish new file mode 100644 index 0000000..f4829c2 --- /dev/null +++ b/.config/fish/functions/sc-disable.fish @@ -0,0 +1,3 @@ +function sc-disable -d "Disable systemd service" + sudo systemctl disable $argv +end diff --git a/.config/fish/functions/sc-enable-now.fish b/.config/fish/functions/sc-enable-now.fish new file mode 100644 index 0000000..a83ab1d --- /dev/null +++ b/.config/fish/functions/sc-enable-now.fish @@ -0,0 +1,3 @@ +function sc-enable-now -d "Enable and start systemd service" + sudo systemctl enable --now $argv +end diff --git a/.config/fish/functions/sc-enable.fish b/.config/fish/functions/sc-enable.fish new file mode 100644 index 0000000..7aebcd3 --- /dev/null +++ b/.config/fish/functions/sc-enable.fish @@ -0,0 +1,3 @@ +function sc-enable -d "Enable systemd service" + sudo systemctl enable $argv +end diff --git a/.config/fish/functions/sc-list-socks.fish b/.config/fish/functions/sc-list-socks.fish new file mode 100644 index 0000000..4bb79e2 --- /dev/null +++ b/.config/fish/functions/sc-list-socks.fish @@ -0,0 +1,3 @@ +function sc-list-socks -d "List used systemd sockets" + sudo systemctl list-sockets +end diff --git a/.config/fish/functions/sc-list-srvs.fish b/.config/fish/functions/sc-list-srvs.fish new file mode 100644 index 0000000..3822534 --- /dev/null +++ b/.config/fish/functions/sc-list-srvs.fish @@ -0,0 +1,3 @@ +function sc-list-srvs -d "List systemd services" + sudo systemctl list-units --type=service +end diff --git a/.config/fish/functions/sc-list-timers.fish b/.config/fish/functions/sc-list-timers.fish new file mode 100644 index 0000000..9a0e344 --- /dev/null +++ b/.config/fish/functions/sc-list-timers.fish @@ -0,0 +1,3 @@ +function sc-list-timers -d "List systemd timers" + sudo systemctl list-timers +end diff --git a/.config/fish/functions/sc-reboot.fish b/.config/fish/functions/sc-reboot.fish new file mode 100644 index 0000000..8a5e9bc --- /dev/null +++ b/.config/fish/functions/sc-reboot.fish @@ -0,0 +1,3 @@ +function rbt -d "Reboot system" + sudo systemctl reboot +end diff --git a/.config/fish/functions/sc-restart.fish b/.config/fish/functions/sc-restart.fish new file mode 100644 index 0000000..9588ad6 --- /dev/null +++ b/.config/fish/functions/sc-restart.fish @@ -0,0 +1,3 @@ +function sc-restart -d "Restart systemd service" + sudo systemctl restart $argv +end diff --git a/.config/fish/functions/sc-show.fish b/.config/fish/functions/sc-show.fish new file mode 100644 index 0000000..03624c2 --- /dev/null +++ b/.config/fish/functions/sc-show.fish @@ -0,0 +1,3 @@ +function sc-show -d "Show systemd units" + sudo systemctl show +end diff --git a/.config/fish/functions/sc-start.fish b/.config/fish/functions/sc-start.fish new file mode 100644 index 0000000..ca76db8 --- /dev/null +++ b/.config/fish/functions/sc-start.fish @@ -0,0 +1,3 @@ +function sc-start -d "Start systemd service" + sudo systemctl start $argv +end diff --git a/.config/fish/functions/sc-status.fish b/.config/fish/functions/sc-status.fish new file mode 100644 index 0000000..97c4d24 --- /dev/null +++ b/.config/fish/functions/sc-status.fish @@ -0,0 +1,3 @@ +function sc-status -d "Show status of systemd service" + sudo systemctl status $argv +end diff --git a/.config/fish/functions/sc-stop.fish b/.config/fish/functions/sc-stop.fish new file mode 100644 index 0000000..da2d7af --- /dev/null +++ b/.config/fish/functions/sc-stop.fish @@ -0,0 +1,3 @@ +function sc-stop -d "Stop systemd service" + sudo systemctl stop $argv +end diff --git a/.config/fish/functions/scu-daemon-reload.fish b/.config/fish/functions/scu-daemon-reload.fish new file mode 100644 index 0000000..7c8aa81 --- /dev/null +++ b/.config/fish/functions/scu-daemon-reload.fish @@ -0,0 +1,3 @@ +function scu-daemon-reload -d "Reload systemd user daemons" + systemctl --user daemon-reload +end diff --git a/.config/fish/functions/scu-disable-now.fish b/.config/fish/functions/scu-disable-now.fish new file mode 100644 index 0000000..dd3cfb9 --- /dev/null +++ b/.config/fish/functions/scu-disable-now.fish @@ -0,0 +1,3 @@ +function scu-disable-now -d "Disable and stop systemd user service" + systemctl --user disable --now $argv +end diff --git a/.config/fish/functions/scu-disable.fish b/.config/fish/functions/scu-disable.fish new file mode 100644 index 0000000..0b4df97 --- /dev/null +++ b/.config/fish/functions/scu-disable.fish @@ -0,0 +1,3 @@ +function scu-disable -d "Disable systemd user service" + systemctl --user disable $argv +end diff --git a/.config/fish/functions/scu-enable-now.fish b/.config/fish/functions/scu-enable-now.fish new file mode 100644 index 0000000..200c247 --- /dev/null +++ b/.config/fish/functions/scu-enable-now.fish @@ -0,0 +1,3 @@ +function scu-enable-now -d "Enable and start systemd user service" + systemctl --user enable --now $argv +end diff --git a/.config/fish/functions/scu-enable.fish b/.config/fish/functions/scu-enable.fish new file mode 100644 index 0000000..65f5ab9 --- /dev/null +++ b/.config/fish/functions/scu-enable.fish @@ -0,0 +1,3 @@ +function scu-enable -d "Enable systemd user service" + systemctl --user enable $argv +end diff --git a/.config/fish/functions/scu-restart.fish b/.config/fish/functions/scu-restart.fish new file mode 100644 index 0000000..b737fb4 --- /dev/null +++ b/.config/fish/functions/scu-restart.fish @@ -0,0 +1,3 @@ +function scu-restart -d "Restart systemd user service" + systemctl --user restart $argv +end diff --git a/.config/fish/functions/scu-show.fish b/.config/fish/functions/scu-show.fish new file mode 100644 index 0000000..5a0bfca --- /dev/null +++ b/.config/fish/functions/scu-show.fish @@ -0,0 +1,3 @@ +function scu-show -d "Show systemd user units" + systemctl --user show +end diff --git a/.config/fish/functions/scu-start.fish b/.config/fish/functions/scu-start.fish new file mode 100644 index 0000000..37e3ada --- /dev/null +++ b/.config/fish/functions/scu-start.fish @@ -0,0 +1,3 @@ +function scu-start -d "Start systemd user service" + systemctl --user start $argv +end diff --git a/.config/fish/functions/scu-status.fish b/.config/fish/functions/scu-status.fish new file mode 100644 index 0000000..245475e --- /dev/null +++ b/.config/fish/functions/scu-status.fish @@ -0,0 +1,3 @@ +function scu-status -d "Show status of systemd user service" + systemctl --user status $argv +end diff --git a/.config/fish/functions/scu-stop.fish b/.config/fish/functions/scu-stop.fish new file mode 100644 index 0000000..52b9cfe --- /dev/null +++ b/.config/fish/functions/scu-stop.fish @@ -0,0 +1,3 @@ +function scu-stop -d "Stop systemd user service" + systemctl --user stop $argv +end diff --git a/.config/fish/functions/tulp.fish b/.config/fish/functions/tulp.fish new file mode 100644 index 0000000..4bf3c07 --- /dev/null +++ b/.config/fish/functions/tulp.fish @@ -0,0 +1,3 @@ +function tulp -d "Open ports" + ss -tulp +end diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua new file mode 100644 index 0000000..339011b --- /dev/null +++ b/.config/nvim/init.lua @@ -0,0 +1,523 @@ +-- Install packer +local install_path = vim.fn.stdpath 'data' .. '/site/pack/packer/start/packer.nvim' + +if vim.fn.empty(vim.fn.glob(install_path)) > 0 then + vim.fn.execute('!git clone https://github.com/wbthomason/packer.nvim ' .. install_path) +end + +vim.api.nvim_exec( +[[ +augroup Packer +autocmd! +autocmd BufWritePost init.lua PackerCompile +augroup end +]], +false +) + +local use = require('packer').use +require('packer').startup(function() + -- Package manager + use 'wbthomason/packer.nvim' + + -- UI to select things (files, grep results, open buffers...) + use { + 'nvim-telescope/telescope.nvim', + requires = { + { 'nvim-lua/popup.nvim' }, + { 'nvim-lua/plenary.nvim' }, + { 'nvim-telescope/telescope-fzf-native.nvim', run = "make" }, + { 'nvim-telescope/telescope-media-files.nvim' } + } + } + + -- Add indentation guides even on blank lines + use 'lukas-reineke/indent-blankline.nvim' + + -- Add git related info in the signs columns and popups + use { + 'lewis6991/gitsigns.nvim', + requires = { 'nvim-lua/plenary.nvim' } + } + + -- Highlight, edit, and navigate code using a fast incremental parsing library + use 'nvim-treesitter/nvim-treesitter' + + -- LSP + use 'neovim/nvim-lspconfig' + + -- Autocompletion + use 'hrsh7th/nvim-compe' + + -- Snippets + use 'L3MON4D3/LuaSnip' + + -- Bufferline for tabs + use { 'akinsho/nvim-bufferline.lua', requires = 'kyazdani42/nvim-web-devicons'} + + -- Remember last edit location in file + use 'ethanholz/nvim-lastplace' + + -- Colorize hex color codes + use 'norcalli/nvim-colorizer.lua' + + -- File manager + use { + 'kyazdani42/nvim-tree.lua', + requires = { + 'kyazdani42/nvim-web-devicons', + }, + config = function() require'nvim-tree'.setup{} end + } + + -- dhall syntax + use 'vmchale/dhall-vim' + + -- lualine + use { + 'nvim-lualine/lualine.nvim', + requires = { 'kyazdan42/nvim-web-devicons', opt = true } + } + + -- Embark color theme + -- use 'embark-theme/vim' + + -- Editorconfig + use 'editorconfig/editorconfig-vim' + + -- nvim-commenter + use 'terrortylor/nvim-comment' + + -- sloum/gemini-vim-syntax + use 'https://tildegit.org/sloum/gemini-vim-syntax' + + -- dracula-pro/vim + -- use '~/.config/nvim/draculapro' + + -- catppuccin theme + use { + 'catppuccin/nvim', + as = 'catppuccin' + } + + -- go.nvim + use 'ray-x/go.nvim' + + -- fish syntax + use 'khaveesh/vim-fish-syntax' + + -- Nim syntax + use 'alaviss/nim.nvim' + +end) + +-- Local map function +local function map(mode, lhs, rhs, opts) + local options = { noremap = true, silent = true } + if opts then + options = vim.tbl_extend("force", options, opts) + end + vim.api.nvim_set_keymap(mode, lhs, rhs, options) +end + +local opt = {} + +--Remap space as leader key +map('', '', '', { noremap = true, silent = true }) +vim.g.mapleader = ' ' +vim.g.maplocalleader = ' ' + +--Incremental live completion +vim.o.inccommand = 'split' + +--Set highlight on search +vim.o.hlsearch = true + +--Make line numbers default +vim.wo.number = true + +-- Relative line numbers +vim.wo.relativenumber = true + +--Do not save when switching buffers +vim.o.hidden = true + +--Enable mouse mode +vim.o.mouse = 'a' + +--Enable break indent +vim.o.breakindent = true + +--Save undo history +vim.cmd [[set undofile]] + +--Case insensitive searching UNLESS /C or capital in search +vim.o.ignorecase = true +vim.o.smartcase = true + +--Decrease update time +vim.o.updatetime = 250 +vim.wo.signcolumn = 'yes' + +--Set colorscheme (order is important here) +vim.o.termguicolors = true +vim.g.catppuccin_flavor = "mocha" +vim.cmd [[colorscheme catppuccin]] + +--Highlight column 88 +vim.cmd [[set colorcolumn=88]] + +--Set splits +vim.o.splitbelow = true +vim.o.splitright = true + +--Clipboard +vim.o.clipboard = "unnamedplus" + +-- Press ESC to turn off search highlight +map("n", "", ":noh", opt) + +--Tabs and indents +vim.o.shiftwidth = 4 +vim.o.smartindent = true +vim.o.softtabstop = 4 +vim.o.tabstop = 4 +vim.o.autoindent = true + +-- Lualine +require('lualine').setup{ + options = { + theme = "catppuccin" + } +} + +-- Sometimes I don't let go of the shift key in time +vim.cmd [[command! WQ wq]] +vim.cmd [[command! Wq wq]] +vim.cmd [[command! Wqa wqa]] +vim.cmd [[command! WQa wqa]] +vim.cmd [[command! W w]] +vim.cmd [[command! Q q]] + +-- Sometimes I accidentally undo a change when trying to enter INSERT mode +map("n", "u", "", opt) + +-- Don't copy deleted text +map("n", "dd", [=[ "_dd ]=], opt) +map("v", "dd", [=[ "_dd ]=], opt) +map("v", "x", [=[ "_x ]=], opt) + +-- Copy whole file content +map("n", "", [[ %y+]], opt) + +-- Commenter keybinding +require('nvim_comment').setup() +map("n", "/", ":CommentToggle", opt) +map("v", "/", ":CommentToggle", opt) + +--Remap for dealing with word wrap +map('n', 'k', "v:count == 0 ? 'gk' : 'k'", { noremap = true, expr = true, silent = true }) +map('n', 'j', "v:count == 0 ? 'gj' : 'j'", { noremap = true, expr = true, silent = true }) + +--Map blankline +vim.g.indent_blankline_char = '┊' +vim.g.indent_blankline_filetype_exclude = { 'help', 'packer' } +vim.g.indent_blankline_buftype_exclude = { 'terminal', 'nofile' } +vim.g.indent_blankline_char_highlight = 'LineNr' +vim.g.indent_blankline_show_trailing_blankline_indent = false + +-- Ansible-flavorited YAML +vim.g.ansible_unindent_after_newline = true + +-- nvim-lastplace +require'nvim-lastplace'.setup{} + +-- nvim-bufferline.lua +require("bufferline").setup{ + options = { + separator_style = "slant" + } +} + +map("n", "", ":enew", opt) -- new buffer +map("n", "b", ":tabnew", opt) -- new tab +map("n", "", ":bd!", opt) -- close tab +map("n", "", ":BufferLineCycleNext", opt) +map("n", "", ":BufferLineCyclePrev", opt) + +-- Gitsigns +require('gitsigns').setup { + signs = { + add = { hl = 'GitGutterAdd', text = '+' }, + change = { hl = 'GitGutterChange', text = '~' }, + delete = { hl = 'GitGutterDelete', text = '_' }, + topdelete = { hl = 'GitGutterDelete', text = '‾' }, + changedelete = { hl = 'GitGutterChange', text = '~' }, + }, +} + +-- Telescope +require('telescope').setup { + defaults = { + mappings = { + i = { + [''] = false, + [''] = false, + }, + }, + }, +} +--Add leader shortcuts +map('n', '', [[lua require('telescope.builtin').buffers()]], { noremap = true, silent = true }) +map('n', 'sf', [[lua require('telescope.builtin').find_files({previewer = false})]], { noremap = true, silent = true }) +map('n', 'sb', [[lua require('telescope.builtin').current_buffer_fuzzy_find()]], { noremap = true, silent = true }) +map('n', 'sh', [[lua require('telescope.builtin').help_tags()]], { noremap = true, silent = true }) +map('n', 'st', [[lua require('telescope.builtin').tags()]], { noremap = true, silent = true }) +map('n', 'sd', [[lua require('telescope.builtin').grep_string()]], { noremap = true, silent = true }) +map('n', 'sp', [[lua require('telescope.builtin').live_grep()]], { noremap = true, silent = true }) +map('n', 'so', [[lua require('telescope.builtin').tags{ only_current_buffer = true }]], { noremap = true, silent = true }) +map('n', '?', [[lua require('telescope.builtin').oldfiles()]], { noremap = true, silent = true }) + +-- Highlight on yank +vim.api.nvim_exec( +[[ +augroup YankHighlight +autocmd! +autocmd TextYankPost * silent! lua vim.highlight.on_yank() +augroup end +]], +false +) + +-- Y yank until the end of line +map('n', 'Y', 'y$', { noremap = true }) + +-- Nvim Tree +map('n', '', ':NvimTreeToggle', opt) +map('n', 'r', ':NvimTreeRefresh', opt) +map('n', 'n', ':NvimTreeFindFile', opt) + +-- go.nvim settings +vim.api.nvim_exec( +[[ +autocmd BufWritePre *.go :silent! lua require('go.format').goimport() +]], +false +) +require('go').setup() + +-- LSP settings +local nvim_lsp = require 'lspconfig' +local on_attach = function(_, bufnr) + vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc') + + local opts = { noremap = true, silent = true } + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gD', 'lua vim.lsp.buf.declaration()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gd', 'lua vim.lsp.buf.definition()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'K', 'lua vim.lsp.buf.hover()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gi', 'lua vim.lsp.buf.implementation()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', '', 'lua vim.lsp.buf.signature_help()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'wa', 'lua vim.lsp.buf.add_workspace_folder()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'wr', 'lua vim.lsp.buf.remove_workspace_folder()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'wl', 'lua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'D', 'lua vim.lsp.buf.type_definition()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'rn', 'lua vim.lsp.buf.rename()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gr', 'lua vim.lsp.buf.references()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'ca', 'lua vim.lsp.buf.code_action()', opts) + -- vim.api.nvim_buf_set_keymap(bufnr, 'v', 'ca', 'lua vim.lsp.buf.range_code_action()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'e', 'lua vim.lsp.diagnostic.show_line_diagnostics()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', '[d', 'lua vim.lsp.diagnostic.goto_prev()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', ']d', 'lua vim.lsp.diagnostic.goto_next()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'q', 'lua vim.lsp.diagnostic.set_loclist()', opts) + vim.api.nvim_buf_set_keymap(bufnr, 'n', 'so', [[lua require('telescope.builtin').lsp_document_symbols()]], opts) + vim.cmd [[ command! Format execute 'lua vim.lsp.buf.formatting()' ]] +end + +local capabilities = vim.lsp.protocol.make_client_capabilities() +capabilities.textDocument.completion.completionItem.snippetSupport = true + +-- Enable the following language servers +local servers = { 'bashls', 'dockerls', 'gopls', 'pyright', 'yamlls' } +for _, lsp in ipairs(servers) do + nvim_lsp[lsp].setup { + on_attach = on_attach, + capabilities = capabilities, + } +end + +-- Sumneko Lua Language Server +local sumneko_root_path +local sumneko_binary +sumneko_root_path = vim.fn.getenv("HOME").."/.local/share/lua-language-server" +sumneko_binary = sumneko_root_path .. "/bin/lua-language-server" + +-- Make runtime files discoverable to the server +local runtime_path = vim.split(package.path, ';') +table.insert(runtime_path, 'lua/?.lua') +table.insert(runtime_path, 'lua/?/init.lua') + +require('lspconfig').sumneko_lua.setup { + cmd = { sumneko_binary, '-E', sumneko_root_path .. '/main.lua' }, + on_attach = on_attach, + capabilities = capabilities, + settings = { + Lua = { + runtime = { + -- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim) + version = 'LuaJIT', + -- Setup your lua path + path = runtime_path, + }, + diagnostics = { + -- Get the language server to recognize the `vim` global + globals = { 'vim' }, + }, + workspace = { + -- Make the server aware of Neovim runtime files + library = vim.api.nvim_get_runtime_file('', true), + preloadFileSize = 1000, + }, + -- Do not send telemetry data containing a randomized but unique identifier + telemetry = { + enable = false, + }, + }, + }, +} + +-- Bash LSP +require('lspconfig').bashls.setup{} + +-- Docker LSP +require('lspconfig').dockerls.setup{} + +-- JSON LSP +require('lspconfig').jsonls.setup{} + +-- Nim LSP +require('lspconfig').nimls.setup{} + +-- Pyright (Python) LSP +require('lspconfig').pyright.setup{} + +-- Treesitter configuration +-- Parsers must be installed manually via :TSInstall +require('nvim-treesitter.configs').setup { + highlight = { + enable = true, -- false will disable the whole extension + }, + incremental_selection = { + enable = true, + keymaps = { + init_selection = 'gnn', + node_incremental = 'grn', + scope_incremental = 'grc', + node_decremental = 'grm', + }, + }, + indent = { + enable = true, + }, + textobjects = { + select = { + enable = true, + lookahead = true, -- Automatically jump forward to textobj, similar to targets.vim + keymaps = { + -- You can use the capture groups defined in textobjects.scm + ['af'] = '@function.outer', + ['if'] = '@function.inner', + ['ac'] = '@class.outer', + ['ic'] = '@class.inner', + }, + }, + move = { + enable = true, + set_jumps = true, -- whether to set jumps in the jumplist + goto_next_start = { + [']m'] = '@function.outer', + [']]'] = '@class.outer', + }, + goto_next_end = { + [']M'] = '@function.outer', + [']['] = '@class.outer', + }, + goto_previous_start = { + ['[m'] = '@function.outer', + ['[['] = '@class.outer', + }, + goto_previous_end = { + ['[M'] = '@function.outer', + ['[]'] = '@class.outer', + }, + }, + }, +} + +-- Set completeopt to have a better completion experience +vim.o.completeopt = 'menuone,noinsert' + +-- Compe setup +require('compe').setup { + source = { + path = true, + nvim_lsp = true, + luasnip = true, + buffer = false, + calc = false, + nvim_lua = false, + vsnip = false, + ultisnips = false, + }, +} + +-- Utility functions for compe and luasnip +local t = function(str) + return vim.api.nvim_replace_termcodes(str, true, true, true) +end + +local check_back_space = function() + local col = vim.fn.col '.' - 1 + if col == 0 or vim.fn.getline('.'):sub(col, col):match '%s' then + return true + else + return false + end +end + +-- Use (s-)tab to: +--- move to prev/next item in completion menuone +--- jump to prev/next snippet's placeholder +local luasnip = require 'luasnip' + +_G.tab_complete = function() + if vim.fn.pumvisible() == 1 then + return t '' + elseif luasnip.expand_or_jumpable() then + return t 'luasnip-expand-or-jump' + elseif check_back_space() then + return t '' + else + return vim.fn['compe#complete']() + end +end + +_G.s_tab_complete = function() + if vim.fn.pumvisible() == 1 then + return t '' + elseif luasnip.jumpable(-1) then + return t 'luasnip-jump-prev' + else + return t '' + end +end + +-- Map tab to the above tab complete functiones +map('i', '', 'v:lua.tab_complete()', { expr = true }) +map('s', '', 'v:lua.tab_complete()', { expr = true }) +map('i', '', 'v:lua.s_tab_complete()', { expr = true }) +map('s', '', 'v:lua.s_tab_complete()', { expr = true }) + +-- Map compe confirm and complete functions +map('i', '', 'compe#confirm("")', { expr = true }) +map('i', '', 'compe#complete()', { expr = true }) + diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi new file mode 100644 index 0000000..193620b --- /dev/null +++ b/.config/rofi/config.rasi @@ -0,0 +1,105 @@ +configuration{ + modi: "drun,Emoji:/usr/bin/rofimoji -a copy"; + lines: 5; + font: "CaskaydiaCove Nerd Font Mono 22"; + show-icons: true; + icon-theme: "Papirus-Dark"; + terminal: "xfce4-terminal"; + drun-display-format: "{icon} {name}"; + location: 0; + disable-history: false; + hide-scrollbar: true; + display-drun: "  Apps "; + display-run: "  Run "; + display-window: " 﩯 window"; + display-Network: " 󰤨 Network"; + display-Bookmarks: "  Bookmarks"; + display-Emoji: " 😀 Emoji"; + sidebar-mode: true; +} + +@theme "catppuccin" + +element-text, element-icon , mode-switcher { + background-color: inherit; + text-color: inherit; +} + +window { + height: 1200px; + width: 1500px; + border: 3px; + border-color: @border-col; + background-color: @bg-col; +} + +mainbox { + background-color: @bg-col; +} + +inputbar { + children: [prompt,entry]; + background-color: @bg-col; + border-radius: 5px; + padding: 2px; +} + +prompt { + background-color: @blue; + padding: 6px; + text-color: @bg-col; + border-radius: 3px; + margin: 20px 0px 0px 20px; +} + +textbox-prompt-colon { + expand: false; + str: ":"; +} + +entry { + padding: 6px; + margin: 20px 0px 0px 10px; + text-color: @fg-col; + background-color: @bg-col; +} + +listview { + border: 0px 0px 0px; + padding: 6px 0px 0px; + margin: 10px 0px 0px 20px; + columns: 2; + background-color: @bg-col; +} + +element { + padding: 5px; + background-color: @bg-col; + text-color: @fg-col ; +} + +element-icon { + size: 25px; +} + +element selected { + background-color: @selected-col ; + text-color: @fg-col2 ; +} + +mode-switcher { + spacing: 0; + } + +button { + padding: 10px; + background-color: @bg-col-light; + text-color: @grey; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +button selected { + background-color: @bg-col; + text-color: @blue; +} diff --git a/dot_config/starship.toml b/.config/starship.toml similarity index 78% rename from dot_config/starship.toml rename to .config/starship.toml index 99d2952..21774fe 100644 --- a/dot_config/starship.toml +++ b/.config/starship.toml @@ -1,44 +1,49 @@ ## FIRST LINE/ROW: Info & Status [username] format = " [$user]($style)@" -style_user = "#F48FB1" +style_user = "#f38ba8" style_root = "bold red" show_always = true # Second param [hostname] format = "[$hostname]($style):" -style = "bright white" -trim_at = "-" +style = "#b4befe" +trim_at = "." ssh_only = false disabled = false # Third param [directory] -style = "#F2B482" +style = "#fab387" truncation_length = 0 truncate_to_repo = true truncation_symbol = "repo: " # Before all the version info (python, nodejs, php, etc.) [git_status] -style = "white" +style = "#cdd6f4" ahead = "⇡${count}" diverged = "⇕⇡${ahead_count}⇣${behind_count}" behind = "⇣${count}" deleted = "x" +[container] +format = "[$symbol \\[$name\\]]($style)" + # Last param in the first line/row [cmd_duration] min_time = 1 -style = "#FFE6B3" +style = "#f9e2af" format = "[$duration]($style)" disabled = false # Prompt: param 2 [character] -success_symbol = " [%%](#63F2F1)" -error_symbol = " [﬋](#ff0000)" +format = "$symbol " +success_symbol = " [%](#94e2d5)" +error_symbol = " [%](#d20f39)" +vicmd_symbol = " [<](#94e2d5)" # SYMBOLS [status] diff --git a/.config/zathura/.github/issue_template.md b/.config/zathura/.github/issue_template.md new file mode 100644 index 0000000..45a7be3 --- /dev/null +++ b/.config/zathura/.github/issue_template.md @@ -0,0 +1 @@ +> If you're reporting an UI issue, make sure you take a screenshot that shows the actual bug. \ No newline at end of file diff --git a/.config/zathura/.github/pull_request_template.md b/.config/zathura/.github/pull_request_template.md new file mode 100644 index 0000000..622089f --- /dev/null +++ b/.config/zathura/.github/pull_request_template.md @@ -0,0 +1 @@ +> If you're fixing a UI issue, make sure you take two screenshots. One that shows the actual bug and another that shows how you fixed it. \ No newline at end of file diff --git a/.config/zathura/catppuccin b/.config/zathura/catppuccin new file mode 100644 index 0000000..0ee2513 --- /dev/null +++ b/.config/zathura/catppuccin @@ -0,0 +1,37 @@ +set default-fg "#d9e0ee" +set default-bg "#1e1d2f" + +set completion-bg "#302d41" +set completion-fg "#d9e0ee" +set completion-highlight-bg "#575268" +set completion-highlight-fg "#d9e0ee" +set completion-group-bg "#302d41" +set completion-group-fg "#96cdfb" + +set statusbar-fg "#d9e0ee" +set statusbar-bg "#302d41" + +set notification-bg "#302d41" +set notification-fg "#d9e0ee" +set notification-error-bg "#302d41" +set notification-error-fg "#f28fad" +set notification-warning-bg "#302d41" +set notification-warning-fg "#fae3b0" + +set inputbar-fg "#d9e0ee" +set inputbar-bg "#302d41" + +set recolor-lightcolor "#1e1d2f" +set recolor-darkcolor "#d9e0ee" + +set index-fg "#d9e0ee" +set index-bg "#1e1d2f" +set index-active-fg "#d9e0ee" +set index-active-bg "#302d41" + +set render-loading-bg "#1e1d2f" +set render-loading-fg "#d9e0ee" + +set highlight-color "#575268" +set highlight-fg "#f5c2e7" +set highlight-active-color "#f5c2e7" diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc new file mode 100644 index 0000000..ebcf759 --- /dev/null +++ b/.config/zathura/zathurarc @@ -0,0 +1,5 @@ +set window-title-basename "true" +set selection-clipboard "clipboard" +set adjust-open width +set recolor true +include catppuccin diff --git a/.config/zellij/config.yaml b/.config/zellij/config.yaml new file mode 100644 index 0000000..95f18d3 --- /dev/null +++ b/.config/zellij/config.yaml @@ -0,0 +1,604 @@ +--- +# Configuration for zellij. + +# In order to troubleshoot your configuration try using the following command: +# `zellij setup --check` +# It should show current config locations and features that are enabled. + +keybinds: + unbind: true + normal: + - action: [SwitchToMode: Locked,] + key: [Ctrl: 'g',] + - action: [SwitchToMode: Pane,] + key: [Ctrl: 'p',] + - action: [SwitchToMode: Resize,] + key: [Ctrl: 'n',] + - action: [SwitchToMode: Tab,] + key: [Ctrl: 't',] + - action: [SwitchToMode: Scroll,] + key: [Ctrl: 's',] + - action: [SwitchToMode: Session,] + key: [Ctrl: 'o',] + - action: [SwitchToMode: Move,] + key: [Ctrl: 'h',] + - action: [SwitchToMode: Tmux,] + key: [Ctrl: 'b',] + - action: [MoveFocusOrTab: Left,] + key: [ Alt: 'h',] + - action: [MoveFocusOrTab: Right,] + key: [ Alt: 'l',] + - action: [MoveFocus: Down,] + key: [ Alt: 'j',] + - action: [MoveFocus: Up,] + key: [ Alt: 'k',] + - action: [FocusPreviousPane,] + key: [ Alt: '[',] + - action: [FocusNextPane,] + key: [ Alt: ']',] + - action: [Resize: Increase,] + key: [ Alt: '='] + - action: [Resize: Increase,] + key: [ Alt: '+'] + - action: [Resize: Decrease,] + key: [ Alt: '-'] + locked: + - action: [SwitchToMode: Normal,] + key: [Ctrl: 'g',] + resize: + - action: [SwitchToMode: Locked,] + key: [Ctrl: 'g'] + - action: [SwitchToMode: Pane,] + key: [Ctrl: 'p',] + - action: [SwitchToMode: Tab,] + key: [Ctrl: 't',] + - action: [SwitchToMode: Normal,] + key: [Ctrl: 'n', Char: "\n", Char: ' ', Esc] + - action: [SwitchToMode: Scroll,] + key: [Ctrl: 's'] + - action: [SwitchToMode: Session,] + key: [Ctrl: 'o',] + - action: [SwitchToMode: Move,] + key: [Ctrl: 'h',] + - action: [SwitchToMode: Tmux,] + key: [Ctrl: 'b',] + - action: [Resize: Left,] + key: [Char: 'h', Left,] + - action: [Resize: Down,] + key: [Char: 'j', Down,] + - action: [Resize: Up,] + key: [Char: 'k', Up, ] + - action: [Resize: Right,] + key: [Char: 'l', Right,] + - action: [Resize: Increase,] + key: [Char: '='] + - action: [Resize: Increase,] + key: [ Char: '+'] + - action: [Resize: Decrease,] + key: [Char: '-'] + - action: [MoveFocus: Left,] + key: [ Alt: 'h',] + - action: [MoveFocus: Right,] + key: [ Alt: 'l',] + - action: [MoveFocus: Down,] + key: [ Alt: 'j',] + - action: [MoveFocus: Up,] + key: [ Alt: 'k',] + - action: [FocusPreviousPane,] + key: [ Alt: '[',] + - action: [FocusNextPane,] + key: [ Alt: ']',] + - action: [Resize: Increase,] + key: [ Alt: '='] + - action: [Resize: Increase,] + key: [ Alt: '+'] + - action: [Resize: Decrease,] + key: [ Alt: '-'] + pane: + - action: [SwitchToMode: Locked,] + key: [Ctrl: 'g'] + - action: [SwitchToMode: Resize,] + key: [Ctrl: 'n',] + - action: [SwitchToMode: Tab,] + key: [Ctrl: 't',] + - action: [SwitchToMode: Normal,] + key: [Ctrl: 'p', Char: "\n", Char: ' ', Esc] + - action: [SwitchToMode: Scroll,] + key: [Ctrl: 's'] + - action: [SwitchToMode: Session,] + key: [Ctrl: 'o',] + - action: [SwitchToMode: Move,] + key: [Ctrl: 'h',] + - action: [SwitchToMode: Tmux,] + key: [Ctrl: 'b',] + - action: [MoveFocus: Left,] + key: [ Char: 'h', Left,] + - action: [MoveFocus: Right,] + key: [ Char: 'l', Right,] + - action: [MoveFocus: Down,] + key: [ Char: 'j', Down,] + - action: [MoveFocus: Up,] + key: [ Char: 'k', Up,] + - action: [SwitchFocus,] + key: [Char: 'p'] + - action: [NewPane: , SwitchToMode: Normal,] + key: [Char: 'n',] + - action: [NewPane: Down, SwitchToMode: Normal,] + key: [Char: 'd',] + - action: [NewPane: Right, SwitchToMode: Normal,] + key: [Char: 'r',] + - action: [CloseFocus, SwitchToMode: Normal,] + key: [Char: 'x',] + - action: [ToggleFocusFullscreen, SwitchToMode: Normal,] + key: [Char: 'f',] + - action: [TogglePaneFrames, SwitchToMode: Normal,] + key: [Char: 'z',] + - action: [ToggleFloatingPanes, SwitchToMode: Normal,] + key: [Char: 'w'] + - action: [TogglePaneEmbedOrFloating, SwitchToMode: Normal,] + key: [Char: 'e'] + - action: [MoveFocus: Left,] + key: [ Alt: 'h',] + - action: [MoveFocus: Right,] + key: [ Alt: 'l',] + - action: [MoveFocus: Down,] + key: [ Alt: 'j',] + - action: [MoveFocus: Up,] + key: [ Alt: 'k',] + - action: [FocusPreviousPane,] + key: [ Alt: '[',] + - action: [FocusNextPane,] + key: [ Alt: ']',] + - action: [Resize: Increase,] + key: [ Alt: '='] + - action: [Resize: Increase,] + key: [ Alt: '+'] + - action: [Resize: Decrease,] + key: [ Alt: '-'] + - action: [SwitchToMode: RenamePane, PaneNameInput: [0],] + key: [Char: 'c'] + move: + - action: [SwitchToMode: Locked,] + key: [Ctrl: 'g'] + - action: [SwitchToMode: Pane,] + key: [Ctrl: 'p',] + - action: [SwitchToMode: Tab,] + key: [Ctrl: 't',] + - action: [SwitchToMode: Resize,] + key: [Ctrl: 'n',] + - action: [SwitchToMode: Normal,] + key: [Ctrl: 'h', Char: "\n", Char: ' ', Esc] + - action: [SwitchToMode: Scroll,] + key: [Ctrl: 's'] + - action: [SwitchToMode: Session,] + key: [Ctrl: 'o',] + - action: [MovePane: ,] + key: [Char: 'n', Char: "\t",] + - action: [MovePane: Left,] + key: [Char: 'h', Left,] + - action: [MovePane: Down,] + key: [Char: 'j', Down,] + - action: [MovePane: Up,] + key: [Char: 'k', Up, ] + - action: [MovePane: Right,] + key: [Char: 'l', Right,] + - action: [MoveFocus: Left,] + key: [ Alt: 'h',] + - action: [MoveFocus: Right,] + key: [ Alt: 'l',] + - action: [MoveFocus: Down,] + key: [ Alt: 'j',] + - action: [MoveFocus: Up,] + key: [ Alt: 'k',] + - action: [FocusPreviousPane,] + key: [ Alt: '[',] + - action: [FocusNextPane,] + key: [ Alt: ']',] + - action: [Resize: Increase,] + key: [ Alt: '='] + - action: [Resize: Increase,] + key: [ Alt: '+'] + - action: [Resize: Decrease,] + key: [ Alt: '-'] + tab: + - action: [SwitchToMode: Locked,] + key: [Ctrl: 'g'] + - action: [SwitchToMode: Pane,] + key: [Ctrl: 'p',] + - action: [SwitchToMode: Resize,] + key: [Ctrl: 'n',] + - action: [SwitchToMode: Normal,] + key: [Ctrl: 't', Char: "\n", Char: ' ', Esc] + - action: [SwitchToMode: Scroll,] + key: [Ctrl: 's'] + - action: [SwitchToMode: Move,] + key: [Ctrl: 'h',] + - action: [SwitchToMode: Tmux,] + key: [Ctrl: 'b',] + - action: [SwitchToMode: Session,] + key: [Ctrl: 'o',] + - action: [SwitchToMode: RenameTab, TabNameInput: [0],] + key: [Char: 'r'] + - action: [GoToPreviousTab,] + key: [ Char: 'h', Left, Up, Char: 'k',] + - action: [GoToNextTab,] + key: [ Char: 'l', Right,Down, Char: 'j'] + - action: [NewTab: , SwitchToMode: Normal,] + key: [ Char: 'n',] + - action: [CloseTab, SwitchToMode: Normal,] + key: [ Char: 'x',] + - action: [ToggleActiveSyncTab, SwitchToMode: Normal,] + key: [Char: 's'] + - action: [GoToTab: 1, SwitchToMode: Normal,] + key: [ Char: '1',] + - action: [GoToTab: 2, SwitchToMode: Normal,] + key: [ Char: '2',] + - action: [GoToTab: 3, SwitchToMode: Normal,] + key: [ Char: '3',] + - action: [GoToTab: 4, SwitchToMode: Normal,] + key: [ Char: '4',] + - action: [GoToTab: 5, SwitchToMode: Normal,] + key: [ Char: '5',] + - action: [GoToTab: 6, SwitchToMode: Normal,] + key: [ Char: '6',] + - action: [GoToTab: 7, SwitchToMode: Normal,] + key: [ Char: '7',] + - action: [GoToTab: 8, SwitchToMode: Normal,] + key: [ Char: '8',] + - action: [GoToTab: 9, SwitchToMode: Normal,] + key: [ Char: '9',] + - action: [ToggleTab] + key: [ Char: "\t" ] + - action: [MoveFocus: Left,] + key: [ Alt: 'h',] + - action: [MoveFocus: Right,] + key: [ Alt: 'l',] + - action: [MoveFocus: Down,] + key: [ Alt: 'j',] + - action: [MoveFocus: Up,] + key: [ Alt: 'k',] + - action: [FocusPreviousPane,] + key: [ Alt: '[',] + - action: [FocusNextPane,] + key: [ Alt: ']',] + - action: [Resize: Increase,] + key: [ Alt: '='] + - action: [Resize: Increase,] + key: [ Alt: '+'] + - action: [Resize: Decrease,] + key: [ Alt: '-'] + scroll: + - action: [SwitchToMode: Normal,] + key: [Ctrl: 's', Char: ' ', Char: "\n", Esc] + - action: [SwitchToMode: Tab,] + key: [Ctrl: 't',] + - action: [SwitchToMode: Locked,] + key: [Ctrl: 'g',] + - action: [SwitchToMode: Pane,] + key: [Ctrl: 'p',] + - action: [SwitchToMode: Move,] + key: [Ctrl: 'h',] + - action: [SwitchToMode: Tmux,] + key: [Ctrl: 'b',] + - action: [SwitchToMode: Session,] + key: [Ctrl: 'o',] + - action: [SwitchToMode: Resize,] + key: [Ctrl: 'n',] + - action: [ScrollToBottom, SwitchToMode: Normal,] + key: [Ctrl: 'c',] + - action: [ScrollDown,] + key: [Char: 'j', Down,] + - action: [ScrollUp,] + key: [Char: 'k', Up,] + - action: [PageScrollDown,] + key: [Ctrl: 'f', PageDown, Right, Char: 'l',] + - action: [PageScrollUp,] + key: [Ctrl: 'b', PageUp, Left, Char: 'h',] + - action: [HalfPageScrollDown,] + key: [Char: 'd',] + - action: [HalfPageScrollUp,] + key: [Char: 'u',] + - action: [MoveFocus: Left,] + key: [ Alt: 'h',] + - action: [MoveFocus: Right,] + key: [ Alt: 'l',] + - action: [MoveFocus: Down,] + key: [ Alt: 'j',] + - action: [MoveFocus: Up,] + key: [ Alt: 'k',] + - action: [FocusPreviousPane,] + key: [ Alt: '[',] + - action: [FocusNextPane,] + key: [ Alt: ']',] + - action: [Resize: Increase,] + key: [ Alt: '='] + - action: [Resize: Increase,] + key: [ Alt: '+'] + - action: [Resize: Decrease,] + key: [ Alt: '-'] + renametab: + - action: [SwitchToMode: Normal,] + key: [Char: "\n", Ctrl: 'c', Esc] + - action: [TabNameInput: [27] , SwitchToMode: Tab,] + key: [Esc,] + - action: [MoveFocus: Left,] + key: [ Alt: 'h',] + - action: [MoveFocus: Right,] + key: [ Alt: 'l',] + - action: [MoveFocus: Down,] + key: [ Alt: 'j',] + - action: [MoveFocus: Up,] + key: [ Alt: 'k',] + - action: [FocusPreviousPane,] + key: [ Alt: '[',] + - action: [FocusNextPane,] + key: [ Alt: ']',] + - action: [Resize: Increase,] + key: [ Alt: '='] + - action: [Resize: Increase,] + key: [ Alt: '+'] + - action: [Resize: Decrease,] + key: [ Alt: '-'] + renamepane: + - action: [SwitchToMode: Normal,] + key: [Char: "\n", Ctrl: 'c', Esc] + - action: [PaneNameInput: [27] , SwitchToMode: Pane,] + key: [Esc,] + - action: [MoveFocus: Left,] + key: [ Alt: 'h',] + - action: [MoveFocus: Right,] + key: [ Alt: 'l',] + - action: [MoveFocus: Down,] + key: [ Alt: 'j',] + - action: [MoveFocus: Up,] + key: [ Alt: 'k',] + - action: [FocusPreviousPane,] + key: [ Alt: '[',] + - action: [FocusNextPane,] + key: [ Alt: ']',] + - action: [Resize: Increase,] + key: [ Alt: '='] + - action: [Resize: Increase,] + key: [ Alt: '+'] + - action: [Resize: Decrease,] + key: [ Alt: '-'] + session: + - action: [SwitchToMode: Locked,] + key: [Ctrl: 'g'] + - action: [SwitchToMode: Resize,] + key: [Ctrl: 'n',] + - action: [SwitchToMode: Pane,] + key: [Ctrl: 'p',] + - action: [SwitchToMode: Move,] + key: [Ctrl: 'h',] + - action: [SwitchToMode: Tmux,] + key: [Ctrl: 'b',] + - action: [SwitchToMode: Tab,] + key: [Ctrl: 't',] + - action: [SwitchToMode: Normal,] + key: [Ctrl: 'o', Char: "\n", Char: ' ', Esc] + - action: [SwitchToMode: Scroll,] + key: [Ctrl: 's'] + - action: [Detach,] + key: [Char: 'd',] + - action: [MoveFocus: Left,] + key: [ Alt: 'h',] + - action: [MoveFocus: Right,] + key: [ Alt: 'l',] + - action: [MoveFocus: Down,] + key: [ Alt: 'j',] + - action: [MoveFocus: Up,] + key: [ Alt: 'k',] + - action: [FocusPreviousPane,] + key: [ Alt: '[',] + - action: [FocusNextPane,] + key: [ Alt: ']',] + - action: [Resize: Increase,] + key: [ Alt: '='] + - action: [Resize: Increase,] + key: [ Alt: '+'] + - action: [Resize: Decrease,] + key: [ Alt: '-'] + tmux: + - action: [SwitchToMode: Locked,] + key: [Ctrl: 'g'] + - action: [SwitchToMode: Resize,] + key: [Ctrl: 'n',] + - action: [SwitchToMode: Pane,] + key: [Ctrl: 'p',] + - action: [SwitchToMode: Move,] + key: [Ctrl: 'h',] + - action: [SwitchToMode: Tab,] + key: [Ctrl: 't',] + - action: [SwitchToMode: Normal,] + key: [Ctrl: 'o', Char: "\n", Char: ' ', Esc] + - action: [SwitchToMode: Scroll,] + key: [Ctrl: 's'] + - action: [SwitchToMode: Scroll,] + key: [ Char: '['] + - action: [Write: [2,], SwitchToMode: Normal] + key: [Ctrl: 'b'] + - action: [NewPane: Down, SwitchToMode: Normal,] + key: [Char: "\"",] + - action: [NewPane: Right, SwitchToMode: Normal,] + key: [Char: '%',] + - action: [ToggleFocusFullscreen, SwitchToMode: Normal,] + key: [Char: 'z',] + - action: [NewTab: , SwitchToMode: Normal,] + key: [ Char: 'c',] + - action: [SwitchToMode: RenameTab, TabNameInput: [0],] + key: [Char: ','] + - action: [GoToPreviousTab, SwitchToMode: Normal,] + key: [ Char: 'p'] + - action: [GoToNextTab, SwitchToMode: Normal,] + key: [ Char: 'n'] + - action: [MoveFocus: Left, SwitchToMode: Normal,] + key: [ Left,] + - action: [MoveFocus: Right, SwitchToMode: Normal,] + key: [ Right,] + - action: [MoveFocus: Down, SwitchToMode: Normal,] + key: [ Down,] + - action: [MoveFocus: Up, SwitchToMode: Normal,] + key: [ Up,] + - action: [MoveFocus: Left, SwitchToMode: Normal,] + key: [ Char: 'h'] + - action: [MoveFocus: Right, SwitchToMode: Normal,] + key: [ Char: 'l'] + - action: [MoveFocus: Down, SwitchToMode: Normal,] + key: [ Char: 'j'] + - action: [MoveFocus: Up, SwitchToMode: Normal,] + key: [ Char: 'k'] + - action: [MoveFocus: Left,] + key: [ Alt: 'h',] + - action: [MoveFocus: Right,] + key: [ Alt: 'l',] + - action: [MoveFocus: Down,] + key: [ Alt: 'j',] + - action: [MoveFocus: Up,] + key: [ Alt: 'k',] + - action: [FocusPreviousPane,] + key: [ Alt: '[',] + - action: [FocusNextPane,] + key: [ Alt: ']',] + - action: [FocusNextPane,] + key: [ Char: 'o'] + - action: [Resize: Increase,] + key: [ Alt: '='] + - action: [Resize: Increase,] + key: [ Alt: '+'] + - action: [Resize: Decrease,] + key: [ Alt: '-'] + - action: [Detach,] + key: [Char: 'd',] +plugins: + - path: tab-bar + tag: tab-bar + - path: status-bar + tag: status-bar + - path: strider + tag: strider +themes: + dracula: + fg: [248, 248, 242] + bg: [40, 42, 54] + black: [0, 0, 0] + gray: [68, 71, 90] + red: [255, 85, 85] + green: [80, 250, 123] + yellow: [241, 250, 140] + blue: [98, 114, 164] + magenta: [255, 121, 198] + cyan: [139, 233, 253] + white: [255, 255, 255] + orange: [255, 184, 108] + + catppuccin: + bg: + - 48 + - 45 + - 65 + black: + - 22 + - 19 + - 32 + blue: + - 150 + - 205 + - 251 + cyan: + - 26 + - 24 + - 38 + fg: + - 217 + - 224 + - 238 + gray: + - 87 + - 82 + - 104 + green: + - 171 + - 233 + - 179 + magenta: + - 245 + - 194 + - 231 + orange: + - 248 + - 189 + - 150 + red: + - 242 + - 143 + - 173 + white: + - 217 + - 224 + - 238 + yellow: + - 250 + - 227 + - 176 +# Choose what to do when zellij receives SIGTERM, SIGINT, SIGQUIT or SIGHUP +# eg. when terminal window with an active zellij session is closed +# Options: +# - detach (Default) +# - quit +#on_force_close: quit + +# Send a request for a simplified ui (without arrow fonts) to plugins +# Options: +# - true +# - false (Default) +#simplified_ui: true + +# Choose the path to the default shell that zellij will use for opening new panes +# Default: $SHELL + +# Toggle between having pane frames around the panes +# Options: +# - true (default) +# - false +#pane_frames: true + +# Choose the theme that is specified in the themes section. +# Default: default +theme: catppuccin + +# Choose the mode that zellij uses when starting up. +# Default: normal +#default_mode: locked + +# Toggle enabling the mouse mode. +# On certain configurations, or terminals this could +# potentially interfere with copying text. +# Options: +# - true (default) +# - false +#mouse_mode: false + +# Configure the scroll back buffer size +# This is the number of lines zellij stores for each pane in the scroll back +# buffer. Excess number of lines are discarded in a FIFO fashion. +# Valid values: positive integers +# Default value: 10000 +#scroll_buffer_size: 10000 + +# Provide a command to execute when copying text. The text will be piped to +# the stdin of the program to perform the copy. This can be used with +# terminal emulators which do not support the OSC 52 ANSI control sequence +# that will be used by default if this option is not set. +# Examples: +copy_command: "xclip -selection clipboard" # x11 +#copy_command: "wl-copy" # wayland +#copy_command: "pbcopy" # osx + +# Choose the destination for copied text +# Allows using the primary selection buffer (on x11/wayland) instead of the system clipboard. +# Does not apply when using copy_command. +# Options: +# - system (default) +# - primary +# copy_clipboard: system diff --git a/dot_editorconfig b/.editorconfig similarity index 100% rename from dot_editorconfig rename to .editorconfig diff --git a/dot_gitconfig b/.gitconfig similarity index 55% rename from dot_gitconfig rename to .gitconfig index 5aec70f..aeb6228 100644 --- a/dot_gitconfig +++ b/.gitconfig @@ -1,13 +1,12 @@ [commit] [core] editor = nvim - pager = "git diff --name-only --diff-filter=d | xargs bat --diff" [init] defaultBranch = main [pull] rebase = true [user] - email = hyperreal@unixcat.coffee + email = 23226432+hyperreal64@users.noreply.github.com name = Jeffrey Serio [global] diff --git a/private_dot_gnupg/gpg-agent.conf b/.gnupg/gpg-agent.conf similarity index 100% rename from private_dot_gnupg/gpg-agent.conf rename to .gnupg/gpg-agent.conf diff --git a/private_dot_gnupg/gpg.conf b/.gnupg/gpg.conf similarity index 100% rename from private_dot_gnupg/gpg.conf rename to .gnupg/gpg.conf diff --git a/.local/share/rofi/themes/catppuccin.rasi b/.local/share/rofi/themes/catppuccin.rasi new file mode 100644 index 0000000..778ae54 --- /dev/null +++ b/.local/share/rofi/themes/catppuccin.rasi @@ -0,0 +1,12 @@ +* { + bg-col: #1e1e2e; + bg-col-light: #313244; + border-col: #43465a; + selected-col: #181825; + blue: #f38ba8; + fg-col: #c6d0f5; + fg-col2: #cba6f7; + grey: #696d86; + width: 600; +} + diff --git a/.lscolors.sh b/.lscolors.sh new file mode 100644 index 0000000..978b84c --- /dev/null +++ b/.lscolors.sh @@ -0,0 +1 @@ +pi=1;38;2;241;250;140;48;2;40;42;54:mh=0:ow=0;38;2;139;233;253;48;2;40;42;54:ln=0;38;2;139;233;253:sg=0;38;2;241;250;140;48;2;255;121;198:fi=0;38;2;248;248;242:st=0;38;2;241;250;140;48;2;139;233;253:cd=1;38;2;255;184;108;48;2;40;42;54:su=0;38;2;241;250;140;48;2;255;121;198:mi=0;38;2;255;85;85;48;2;40;42;54:tw=0;38;2;241;250;140;48;2;80;250;123:or=0;38;2;255;85;85;48;2;40;42;54:bd=1;38;2;255;184;108;48;2;40;42;54:di=0;38;2;189;147;249:do=1;38;2;241;250;140;48;2;40;42;54:rs=0;38;2;255;184;108:ca=0:so=1;38;2;241;250;140;48;2;40;42;54:*~=0;38;2;58;60;78:no=0;38;2;248;248;242:ex=0;38;2;80;250;123:*.t=0;38;2;255;184;108:*.a=0;38;2;80;250;123:*.d=0;38;2;255;184;108:*.p=0;38;2;255;184;108:*.z=1;38;2;189;147;249:*.r=0;38;2;255;184;108:*.o=0;38;2;58;60;78:*.h=0;38;2;255;184;108:*.c=0;38;2;255;184;108:*.m=0;38;2;255;184;108:*.ex=0;38;2;255;184;108:*.ui=0;38;2;255;184;108:*.bc=0;38;2;58;60;78:*.bz=1;38;2;189;147;249:*.lo=0;38;2;58;60;78:*.mn=0;38;2;255;184;108:*.sh=0;38;2;255;184;108:*.wv=0;38;2;255;184;108:*.cr=0;38;2;255;184;108:*.ll=0;38;2;255;184;108:*.ps=0;38;2;255;184;108:*.rb=0;38;2;255;184;108:*.nb=0;38;2;255;184;108:*.xz=1;38;2;189;147;249:*.vb=0;38;2;255;184;108:*.ko=0;38;2;80;250;123:*.di=0;38;2;255;184;108:*.gz=1;38;2;189;147;249:*.la=0;38;2;58;60;78:*.rs=0;38;2;255;184;108:*.el=0;38;2;255;184;108:*.rm=1;38;2;255;184;108:*.gv=0;38;2;255;184;108:*.ts=0;38;2;255;184;108:*.so=0;38;2;80;250;123:*css=0;38;2;255;184;108:*.go=0;38;2;255;184;108:*.hi=0;38;2;58;60;78:*.cp=0;38;2;255;184;108:*.js=0;38;2;255;184;108:*.ml=0;38;2;255;184;108:*.hh=0;38;2;255;184;108:*.cs=0;38;2;255;184;108:*.as=0;38;2;255;184;108:*.kt=0;38;2;255;184;108:*.pl=0;38;2;255;184;108:*.cc=0;38;2;255;184;108:*.pp=0;38;2;255;184;108:*.py=0;38;2;255;184;108:*.pm=0;38;2;255;184;108:*.jl=0;38;2;255;184;108:*.fs=0;38;2;255;184;108:*.7z=1;38;2;189;147;249:*.hs=0;38;2;255;184;108:*.md=0;38;2;255;184;108:*.td=0;38;2;255;184;108:*.xcf=0;38;2;241;250;140:*.epp=0;38;2;255;184;108:*.odp=0;38;2;255;184;108:*.bin=1;38;2;189;147;249:*.rar=1;38;2;189;147;249:*.pgm=0;38;2;241;250;140:*.pyd=0;38;2;58;60;78:*.log=0;38;2;58;60;78:*.vob=1;38;2;255;184;108:*.bz2=1;38;2;189;147;249:*.lua=0;38;2;255;184;108:*.ogg=0;38;2;255;184;108:*.zsh=0;38;2;255;184;108:*.sbt=0;38;2;255;184;108:*.tgz=1;38;2;189;147;249:*.out=0;38;2;58;60;78:*.zst=1;38;2;189;147;249:*.erl=0;38;2;255;184;108:*.awk=0;38;2;255;184;108:*.bib=0;38;2;255;184;108:*.ilg=0;38;2;58;60;78:*.sty=0;38;2;58;60;78:*.pkg=1;38;2;189;147;249:*.tbz=1;38;2;189;147;249:*.eps=0;38;2;241;250;140:*.php=0;38;2;255;184;108:*.pyc=0;38;2;58;60;78:*.fsi=0;38;2;255;184;108:*.tar=1;38;2;189;147;249:*.swf=1;38;2;255;184;108:*.pro=0;38;2;255;184;108:*.deb=1;38;2;189;147;249:*.csv=0;38;2;255;184;108:*.bag=1;38;2;189;147;249:*.blg=0;38;2;58;60;78:*.idx=0;38;2;58;60;78:*.ico=0;38;2;241;250;140:*.fsx=0;38;2;255;184;108:*.tif=0;38;2;241;250;140:*.jpg=0;38;2;241;250;140:*hgrc=0;38;2;255;184;108:*.ics=0;38;2;255;184;108:*.htm=0;38;2;255;184;108:*.bsh=0;38;2;255;184;108:*.zip=1;38;2;189;147;249:*.bcf=0;38;2;58;60;78:*.elm=0;38;2;255;184;108:*.img=1;38;2;189;147;249:*.swp=0;38;2;58;60;78:*.m4a=0;38;2;255;184;108:*.bak=0;38;2;58;60;78:*TODO=1;38;2;255;184;108:*.exs=0;38;2;255;184;108:*.rst=0;38;2;255;184;108:*.com=0;38;2;80;250;123:*.csx=0;38;2;255;184;108:*.dmg=1;38;2;189;147;249:*.jar=1;38;2;189;147;249:*.txt=0;38;2;255;184;108:*.hpp=0;38;2;255;184;108:*.bbl=0;38;2;58;60;78:*.aif=0;38;2;255;184;108:*.dpr=0;38;2;255;184;108:*.tmp=0;38;2;58;60;78:*.xml=0;38;2;255;184;108:*.png=0;38;2;241;250;140:*.cxx=0;38;2;255;184;108:*.cfg=0;38;2;255;184;108:*.dot=0;38;2;255;184;108:*.mir=0;38;2;255;184;108:*.ltx=0;38;2;255;184;108:*.c++=0;38;2;255;184;108:*.sxi=0;38;2;255;184;108:*.m4v=1;38;2;255;184;108:*.bst=0;38;2;255;184;108:*.mpg=1;38;2;255;184;108:*.cgi=0;38;2;255;184;108:*.wav=0;38;2;255;184;108:*.inl=0;38;2;255;184;108:*.vim=0;38;2;255;184;108:*.tex=0;38;2;255;184;108:*.ini=0;38;2;255;184;108:*.bat=0;38;2;80;250;123:*.pyo=0;38;2;58;60;78:*.pid=0;38;2;58;60;78:*.xlr=0;38;2;255;184;108:*.wma=0;38;2;255;184;108:*.sxw=0;38;2;255;184;108:*.git=0;38;2;58;60;78:*.rpm=1;38;2;189;147;249:*.otf=0;38;2;255;184;108:*.yml=0;38;2;255;184;108:*.mkv=1;38;2;255;184;108:*.ppm=0;38;2;241;250;140:*.pdf=0;38;2;255;184;108:*.doc=0;38;2;255;184;108:*.vcd=1;38;2;189;147;249:*.toc=0;38;2;58;60;78:*.ppt=0;38;2;255;184;108:*.ttf=0;38;2;255;184;108:*.h++=0;38;2;255;184;108:*.dox=0;38;2;255;184;108:*.rtf=0;38;2;255;184;108:*.ind=0;38;2;58;60;78:*.avi=1;38;2;255;184;108:*.mp3=0;38;2;255;184;108:*.xmp=0;38;2;255;184;108:*.psd=0;38;2;241;250;140:*.xls=0;38;2;255;184;108:*.tcl=0;38;2;255;184;108:*.iso=1;38;2;189;147;249:*.apk=1;38;2;189;147;249:*.dll=0;38;2;80;250;123:*.htc=0;38;2;255;184;108:*.pps=0;38;2;255;184;108:*.odt=0;38;2;255;184;108:*.arj=1;38;2;189;147;249:*.fon=0;38;2;255;184;108:*.cpp=0;38;2;255;184;108:*.flv=1;38;2;255;184;108:*.inc=0;38;2;255;184;108:*.tml=0;38;2;255;184;108:*.gvy=0;38;2;255;184;108:*.mov=1;38;2;255;184;108:*.ods=0;38;2;255;184;108:*.kts=0;38;2;255;184;108:*.aux=0;38;2;58;60;78:*.pas=0;38;2;255;184;108:*.kex=0;38;2;255;184;108:*.sql=0;38;2;255;184;108:*.wmv=1;38;2;255;184;108:*.mli=0;38;2;255;184;108:*.asa=0;38;2;255;184;108:*.gif=0;38;2;241;250;140:*.tsx=0;38;2;255;184;108:*.mp4=1;38;2;255;184;108:*.ps1=0;38;2;255;184;108:*.mid=0;38;2;255;184;108:*.pod=0;38;2;255;184;108:*.nix=0;38;2;255;184;108:*.clj=0;38;2;255;184;108:*.def=0;38;2;255;184;108:*.pbm=0;38;2;241;250;140:*.ipp=0;38;2;255;184;108:*.exe=0;38;2;80;250;123:*.hxx=0;38;2;255;184;108:*.bmp=0;38;2;241;250;140:*.fls=0;38;2;58;60;78:*.fnt=0;38;2;255;184;108:*.svg=0;38;2;241;250;140:*.opus=0;38;2;255;184;108:*.h264=1;38;2;255;184;108:*.mpeg=1;38;2;255;184;108:*.java=0;38;2;255;184;108:*.html=0;38;2;255;184;108:*.rlib=0;38;2;58;60;78:*.lock=0;38;2;58;60;78:*.yaml=0;38;2;255;184;108:*.lisp=0;38;2;255;184;108:*.webm=1;38;2;255;184;108:*.psm1=0;38;2;255;184;108:*.pptx=0;38;2;255;184;108:*.toml=0;38;2;255;184;108:*.json=0;38;2;255;184;108:*.tiff=0;38;2;241;250;140:*.purs=0;38;2;255;184;108:*.conf=0;38;2;255;184;108:*.bash=0;38;2;255;184;108:*.fish=0;38;2;255;184;108:*.diff=0;38;2;255;184;108:*.make=0;38;2;255;184;108:*.epub=0;38;2;255;184;108:*.hgrc=0;38;2;255;184;108:*.jpeg=0;38;2;241;250;140:*.xlsx=0;38;2;255;184;108:*.dart=0;38;2;255;184;108:*.psd1=0;38;2;255;184;108:*.tbz2=1;38;2;189;147;249:*.less=0;38;2;255;184;108:*.flac=0;38;2;255;184;108:*.docx=0;38;2;255;184;108:*.orig=0;38;2;58;60;78:*.cache=0;38;2;58;60;78:*.toast=1;38;2;189;147;249:*.scala=0;38;2;255;184;108:*.class=0;38;2;58;60;78:*.xhtml=0;38;2;255;184;108:*README=0;38;2;255;184;108:*.swift=0;38;2;255;184;108:*.ipynb=0;38;2;255;184;108:*.cabal=0;38;2;255;184;108:*.shtml=0;38;2;255;184;108:*.patch=0;38;2;255;184;108:*.dyn_o=0;38;2;58;60;78:*shadow=0;38;2;255;184;108:*passwd=0;38;2;255;184;108:*.mdown=0;38;2;255;184;108:*.cmake=0;38;2;255;184;108:*LICENSE=0;38;2;255;184;108:*.flake8=0;38;2;255;184;108:*.config=0;38;2;255;184;108:*.groovy=0;38;2;255;184;108:*COPYING=0;38;2;255;184;108:*TODO.md=1;38;2;255;184;108:*.dyn_hi=0;38;2;58;60;78:*INSTALL=0;38;2;255;184;108:*.gradle=0;38;2;255;184;108:*.ignore=0;38;2;255;184;108:*.matlab=0;38;2;255;184;108:*Makefile=0;38;2;255;184;108:*TODO.txt=1;38;2;255;184;108:*.gemspec=0;38;2;255;184;108:*.desktop=0;38;2;255;184;108:*Doxyfile=0;38;2;255;184;108:*setup.py=0;38;2;255;184;108:*COPYRIGHT=0;38;2;255;184;108:*.rgignore=0;38;2;255;184;108:*.markdown=0;38;2;255;184;108:*.fdignore=0;38;2;255;184;108:*.cmake.in=0;38;2;255;184;108:*.kdevelop=0;38;2;255;184;108:*README.md=0;38;2;255;184;108:*.DS_Store=0;38;2;58;60;78:*configure=0;38;2;255;184;108:*CODEOWNERS=0;38;2;255;184;108:*.gitconfig=0;38;2;255;184;108:*.localized=0;38;2;58;60;78:*SConstruct=0;38;2;255;184;108:*README.txt=0;38;2;255;184;108:*SConscript=0;38;2;255;184;108:*.scons_opt=0;38;2;58;60;78:*Dockerfile=0;38;2;255;184;108:*INSTALL.md=0;38;2;255;184;108:*.gitignore=0;38;2;255;184;108:*MANIFEST.in=0;38;2;255;184;108:*.gitmodules=0;38;2;255;184;108:*LICENSE-MIT=0;38;2;255;184;108:*INSTALL.txt=0;38;2;255;184;108:*.travis.yml=0;38;2;255;184;108:*.synctex.gz=0;38;2;58;60;78:*Makefile.am=0;38;2;255;184;108:*Makefile.in=0;38;2;58;60;78:*.applescript=0;38;2;255;184;108:*CONTRIBUTORS=0;38;2;255;184;108:*appveyor.yml=0;38;2;255;184;108:*.fdb_latexmk=0;38;2;58;60;78:*configure.ac=0;38;2;255;184;108:*.clang-format=0;38;2;255;184;108:*LICENSE-APACHE=0;38;2;255;184;108:*.gitattributes=0;38;2;255;184;108:*CMakeLists.txt=0;38;2;255;184;108:*CMakeCache.txt=0;38;2;58;60;78:*CONTRIBUTORS.md=0;38;2;255;184;108:*requirements.txt=0;38;2;255;184;108:*.sconsign.dblite=0;38;2;58;60;78:*CONTRIBUTORS.txt=0;38;2;255;184;108:*package-lock.json=0;38;2;58;60;78:*.CFUserTextEncoding=0;38;2;58;60;78 diff --git a/dot_config/oh-my-tmux/themes/dracula.conf b/dot_config/oh-my-tmux/themes/dracula.conf deleted file mode 100644 index 9ff1f02..0000000 --- a/dot_config/oh-my-tmux/themes/dracula.conf +++ /dev/null @@ -1,79 +0,0 @@ -# --- Dracula Theme ----------------------------------------------------------- -# -# Dracula Color Pallette - white='#f8f8f2' # Foreground - gray='#44475a' # Current Line / Selection - dark_gray='#282a36' # Background - light_purple='#bd93f9' # Purple - dark_purple='#6272a4' # Comment - cyan='#8be9fd' # Cyan - green='#50fa7b' # Green - orange='#ffb86c' # Orange - red='#ff5555' # Red - pink='#ff79c6' # Pink - yellow='#f1fa8c' # Yellow - -# Focused pane colours: -tmux_conf_theme_focused_pane_fg='default' -tmux_conf_theme_focused_pane_bg="${gray}" - -# Pane borders colours: -tmux_conf_theme_pane_border="${gray}" -tmux_conf_theme_pane_active_border="${light_purple}" - -# Pane indicator colours -tmux_conf_theme_pane_indicator="${dark_purple}" -tmux_conf_theme_pane_active_indicator="${light_purple}" - -# Status line message style -tmux_conf_theme_message_fg="${white}" -tmux_conf_theme_message_bg="${dark_purple}" -tmux_conf_theme_message_attr='bold' - -# Status line command style ( : Escape) -tmux_conf_theme_message_command_fg="${white}" -tmux_conf_theme_message_command_bg="${gray}" -tmux_conf_theme_message_command_attr='bold' - -# Window modes style -tmux_conf_theme_mode_fg="${gray}" -tmux_conf_theme_mode_bg="${pink}" -tmux_conf_theme_mode_attr='bold' - -# Status line style -tmux_conf_theme_status_fg="${white}" -tmux_conf_theme_status_bg="${gray}" -tmux_conf_theme_status_attr='none' - -# Window status style -tmux_conf_theme_window_status_fg="${white}" -tmux_conf_theme_window_status_bg="${gray}" - -# Window current status style -tmux_conf_theme_window_status_current_fg="${white}" -tmux_conf_theme_window_status_current_bg="${dark_purple}" -tmux_conf_theme_window_status_current_attr='none' - -# Window bell status style -tmux_conf_theme_window_status_bell_fg="${cyan}" -tmux_conf_theme_window_status_bell_bg='default' -tmux_conf_theme_window_status_bell_attr='blink,bold' - -# Windows last status style -tmux_conf_theme_window_status_last_fg="${light_purple}" -tmux_conf_theme_window_status_last_bg='default' -tmux_conf_theme_window_status_last_attr='none' - -# Status left style -tmux_conf_theme_status_left_fg="${dark_gray},${dark_gray},${dark_gray}" -tmux_conf_theme_status_left_bg="${green},${pink},${light_purple}" -tmux_conf_theme_status_left_attr='bold,none,none' - -# Status right style -tmux_conf_theme_status_right_fg="${white},${dark_gray},${dark_gray}" -tmux_conf_theme_status_right_bg="${dark_purple},${light_purple},${orange}" -tmux_conf_theme_status_right_attr='none,none,bold' - -# Clock -tmux_conf_theme_clock_colour="${light_purple}" - diff --git a/dot_config/oh-my-tmux/themes/embark.conf b/dot_config/oh-my-tmux/themes/embark.conf deleted file mode 100644 index 4359a15..0000000 --- a/dot_config/oh-my-tmux/themes/embark.conf +++ /dev/null @@ -1,80 +0,0 @@ -# --- Embark Theme ----------------------------------------------------------- -# -# Embark Color Pallette - white='#cbe3e7' # Foreground - gray='#2D2B40' # Current Line / Selection - dark_gray='#2D2B40' # Background - light_purple='#D4BFFF' # Purple - dark_purple='#585273' # Comment - cyan='#63f2f1' # Cyan - green='#62d196' # Green - orange='#f2b482' # Orange - red='#f02e6e' # Red - pink='#f48fb1' # Pink - yellow='#ffe6b3' # Yellow - blue='#65B2FF' # Blue - -# Focused pane colours: -tmux_conf_theme_focused_pane_fg='default' -tmux_conf_theme_focused_pane_bg="${gray}" - -# Pane borders colours: -tmux_conf_theme_pane_border="${gray}" -tmux_conf_theme_pane_active_border="${light_purple}" - -# Pane indicator colours -tmux_conf_theme_pane_indicator="${dark_purple}" -tmux_conf_theme_pane_active_indicator="${light_purple}" - -# Status line message style -tmux_conf_theme_message_fg="${white}" -tmux_conf_theme_message_bg="${dark_purple}" -tmux_conf_theme_message_attr='bold' - -# Status line command style ( : Escape) -tmux_conf_theme_message_command_fg="${white}" -tmux_conf_theme_message_command_bg="${gray}" -tmux_conf_theme_message_command_attr='bold' - -# Window modes style -tmux_conf_theme_mode_fg="${gray}" -tmux_conf_theme_mode_bg="${pink}" -tmux_conf_theme_mode_attr='bold' - -# Status line style -tmux_conf_theme_status_fg="${white}" -tmux_conf_theme_status_bg="${dark_gray}" -tmux_conf_theme_status_attr='none' - -# Window status style -tmux_conf_theme_window_status_fg="${white}" -tmux_conf_theme_window_status_bg="${dark_gray}" - -# Window current status style -tmux_conf_theme_window_status_current_fg="${white}" -tmux_conf_theme_window_status_current_bg="${dark_purple}" -tmux_conf_theme_window_status_current_attr='none' - -# Window bell status style -tmux_conf_theme_window_status_bell_fg="${cyan}" -tmux_conf_theme_window_status_bell_bg='default' -tmux_conf_theme_window_status_bell_attr='blink,bold' - -# Windows last status style -tmux_conf_theme_window_status_last_fg="${light_purple}" -tmux_conf_theme_window_status_last_bg='default' -tmux_conf_theme_window_status_last_attr='none' - -# Status left style -tmux_conf_theme_status_left_fg="${dark_gray},${dark_gray},${dark_gray}" -tmux_conf_theme_status_left_bg="${green},${pink},${light_purple}" -tmux_conf_theme_status_left_attr='bold,none,none' - -# Status right style -tmux_conf_theme_status_right_fg="${white},${dark_gray},${dark_gray}" -tmux_conf_theme_status_right_bg="${dark_purple},${cyan},${orange}" -tmux_conf_theme_status_right_attr='none,none,bold' - -# Clock -tmux_conf_theme_clock_colour="${light_purple}" - diff --git a/dot_config/rofi/config.rasi b/dot_config/rofi/config.rasi deleted file mode 100644 index c602814..0000000 --- a/dot_config/rofi/config.rasi +++ /dev/null @@ -1,144 +0,0 @@ -/** - * User: keystroke3 - * Copyright: keystroke3 - * - */ - -configuration { - display-drun: ""; - display-run: ""; - display-window: ""; - display-ssh: "~#"; - show-icons: true; - sidebar-mode: false; - font: "BlexMono Nerd Font Mono 22"; -} - -* { - text-color: @foreground; - active-background: rgb(170, 70, 104); - active-foreground: @foreground; - normal-background: @background; - normal-foreground: @foreground; - urgent-background: #9E2A5E; - urgent-foreground: @foreground; - alternate-active-background: @background; - alternate-active-foreground: @foreground; - alternate-normal-background: @background; - alternate-normal-foreground: @foreground; - alternate-urgent-background: @background; - alternate-urgent-foreground: @foreground; - selected-active-background: #9E2A5E; - selected-active-foreground: @foreground; - selected-normal-background: rgb(170, 70, 104); - selected-normal-foreground: #0c0816; - selected-urgent-background: #9D596B; - selected-urgent-foreground: @foreground; - background-color: #0c0816; - background: #D03C6E30; - foreground: #8fc5c6; - spacing: 0; -} - -window { - location: center; - anchor: center; - height: 50%; - width: 50%; - orientation: vertical; - children: [mainbox]; - border: 2px 2px 2px 0px; - border-color: @active-background; - hide-scrollbar: true; -} - -mainbox { - spacing: 0.2em; - children: [inputbar, listview]; -} - - - -listview { - spacing: 0.6em; - dynamic: false; - cycle: true; - padding: 0px 5px 0px 5px; -} - -inputbar { - border-radius: 50%; - padding: 5px; - border-spacing: 5px 0 0 0; - border: 1px; - spacing: 10px; - margin: 5px 0 10px; - border-color: @foreground; - -} - -entry{ - padding: 2px; -} - - -prompt{ - padding: 5px; - background-color: @foreground; - text-color: @background-color; - border: 1px; - border-radius: 50%; - -} - - -element { - padding: 10px; - border-radius: 50%; -} - -element normal.normal { - background-color: @normal-background; - text-color: @normal-foreground; -} - -element normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} - -element normal.active { - background-color: @active-background; - text-color: @active-foreground; -} - -element selected.normal { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; - border-color: @active-background; -} - -element selected.urgent { - background-color: @selected-urgent-background; - text-color: @selected-urgent-foreground; -} - -element selected.active { - background-color: @selected-active-background; - text-color: @selected-active-foreground; -} - -element alternate.normal { - background-color: @normal-background; - text-color: @normal-foreground; -} - -element alternate.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} - -element alternate.active { - background-color: @active-background; - text-color: @active-foreground; -} diff --git a/dot_config/tmuxinator/azura.yml b/dot_config/tmuxinator/azura.yml deleted file mode 100644 index 35b0386..0000000 --- a/dot_config/tmuxinator/azura.yml +++ /dev/null @@ -1,51 +0,0 @@ -# /home/jas/.config/tmuxinator/azura.yml - -name: azura -root: ~/ - -# Optional tmux socket -# socket_name: foo - -# Note that the pre and post options have been deprecated and will be replaced by -# project hooks. - -# Project hooks - -# Runs on project start, always -# on_project_start: command - -# Run on project start, the first time -# on_project_first_start: command - -# Run on project start, after the first time -# on_project_restart: command - -# Run on project exit ( detaching from tmux session ) -# on_project_exit: command - -# Run on project stop -# on_project_stop: command - -# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions. -# pre_window: rbenv shell 2.0.0-p247 - -# Pass command line options to tmux. Useful for specifying a different tmux.conf. -# tmux_options: -f ~/.tmux.mac.conf - -# Change the command to call tmux. This can be used by derivatives/wrappers like byobu. -# tmux_command: byobu - -# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used. -# startup_window: editor - -# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used. -# startup_pane: 1 - -# Controls whether the tmux session should be attached to automatically. Defaults to true. -# attach: false - -windows: - - log: ssh jas@10.0.0.160 -t sudo journalctl -f - - iftop: ssh jas@10.0.0.160 -t sudo iftop - - htop: ssh jas@10.0.0.160 -t htop - - main: ssh jas@10.0.0.160 diff --git a/dot_config/tmuxinator/nocturnal.yml b/dot_config/tmuxinator/nocturnal.yml deleted file mode 100644 index 20490f7..0000000 --- a/dot_config/tmuxinator/nocturnal.yml +++ /dev/null @@ -1,53 +0,0 @@ -# /home/jas/.config/tmuxinator/nocturnal.yml - -name: nocturnal -root: ~/ - -# Optional tmux socket -# socket_name: foo - -# Note that the pre and post options have been deprecated and will be replaced by -# project hooks. - -# Project hooks - -# Runs on project start, always -# on_project_start: command - -# Run on project start, the first time -# on_project_first_start: command - -# Run on project start, after the first time -# on_project_restart: command - -# Run on project exit ( detaching from tmux session ) -# on_project_exit: command - -# Run on project stop -# on_project_stop: command - -# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions. -# pre_window: rbenv shell 2.0.0-p247 - -# Pass command line options to tmux. Useful for specifying a different tmux.conf. -# tmux_options: -f ~/.tmux.mac.conf - -# Change the command to call tmux. This can be used by derivatives/wrappers like byobu. -# tmux_command: byobu - -# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used. -# startup_window: editor - -# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used. -# startup_pane: 1 - -# Controls whether the tmux session should be attached to automatically. Defaults to true. -# attach: false - -windows: - - main: - - toolbox: - layout: main-vertical - panes: - - toolbox run -c fedora-toolbox-35 nvim ~/sync/org/home.org - - toolbox enter diff --git a/dot_config/tmuxinator/unixcat.yml b/dot_config/tmuxinator/unixcat.yml deleted file mode 100644 index 0c4ece7..0000000 --- a/dot_config/tmuxinator/unixcat.yml +++ /dev/null @@ -1,49 +0,0 @@ -# /home/jas/.config/tmuxinator/unixcat.yml - -name: unixcat -root: ~/ - -# Optional tmux socket -# socket_name: foo - -# Note that the pre and post options have been deprecated and will be replaced by -# project hooks. - -# Project hooks - -# Runs on project start, always -# on_project_start: command - -# Run on project start, the first time -# on_project_first_start: command - -# Run on project start, after the first time -# on_project_restart: command - -# Run on project exit ( detaching from tmux session ) -# on_project_exit: command - -# Run on project stop -# on_project_stop: command - -# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions. -# pre_window: rbenv shell 2.0.0-p247 - -# Pass command line options to tmux. Useful for specifying a different tmux.conf. -# tmux_options: -f ~/.tmux.mac.conf - -# Change the command to call tmux. This can be used by derivatives/wrappers like byobu. -# tmux_command: byobu - -# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used. -# startup_window: editor - -# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used. -# startup_pane: 1 - -# Controls whether the tmux session should be attached to automatically. Defaults to true. -# attach: false - -windows: - - log: ssh core@unixcat.coffee -t sudo lnav /var/log/messages - - main: ssh core@unixcat.coffee diff --git a/dot_config/zathura/zathurarc b/dot_config/zathura/zathurarc deleted file mode 100644 index 75bcf83..0000000 --- a/dot_config/zathura/zathurarc +++ /dev/null @@ -1,56 +0,0 @@ -set window-title-basename "true" -set selection-clipboard "clipboard" - -# Dracula color theme for Zathura -# Swaps Foreground for Background to get a light version if the user prefers - -# -# Dracula color theme -# - -set notification-error-bg "#ff5555" # Red -set notification-error-fg "#f8f8f2" # Foreground -set notification-warning-bg "#ffb86c" # Orange -set notification-warning-fg "#44475a" # Selection -set notification-bg "#282a36" # Background -set notification-fg "#f8f8f2" # Foreground - -set completion-bg "#282a36" # Background -set completion-fg "#6272a4" # Comment -set completion-group-bg "#282a36" # Background -set completion-group-fg "#6272a4" # Comment -set completion-highlight-bg "#44475a" # Selection -set completion-highlight-fg "#f8f8f2" # Foreground - -set index-bg "#282a36" # Background -set index-fg "#f8f8f2" # Foreground -set index-active-bg "#44475a" # Current Line -set index-active-fg "#f8f8f2" # Foreground - -set inputbar-bg "#282a36" # Background -set inputbar-fg "#f8f8f2" # Foreground -set statusbar-bg "#282a36" # Background -set statusbar-fg "#f8f8f2" # Foreground - -set highlight-color "#ffb86c" # Orange -set highlight-active-color "#ff79c6" # Pink - -set default-bg "#282a36" # Background -set default-fg "#f8f8f2" # Foreground - -set render-loading true -set render-loading-fg "#282a36" # Background -set render-loading-bg "#f8f8f2" # Foreground - -# -# Recolor mode settings -# - -set recolor-lightcolor "#282a36" # Background -set recolor-darkcolor "#f8f8f2" # Foreground - -# -# Startup options -# -set adjust-open width -set recolor true diff --git a/dot_fzf-marks b/dot_fzf-marks deleted file mode 100644 index 5c506d4..0000000 --- a/dot_fzf-marks +++ /dev/null @@ -1,7 +0,0 @@ - : /home/jas/.config - : /home/jas/.ssh - : /home/jas/.zsh - : /home/jas/.local/share - : /home/jas/.local/share/Trash/files - : /home/jas/.config/nvim - : /home/jas/sync/org diff --git a/dot_ssh/config b/dot_ssh/config deleted file mode 100644 index 5273381..0000000 --- a/dot_ssh/config +++ /dev/null @@ -1,11 +0,0 @@ -Host az - HostName azura.local - User jas - -Host uc - HostName unixcat.coffee - User core - -Host envs - HostName envs.net - User hyperreal diff --git a/dot_tmux.conf.local b/dot_tmux.conf.local deleted file mode 100644 index 5278274..0000000 --- a/dot_tmux.conf.local +++ /dev/null @@ -1,418 +0,0 @@ -# : << EOF -# https://github.com/gpakosz/.tmux -# (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license, -# without any warranty. -# Copyright 2012— Gregory Pakosz (@gpakosz). - - -# -- navigation ---------------------------------------------------------------- - -# if you're running tmux within iTerm2 -# - and tmux is 1.9 or 1.9a -# - and iTerm2 is configured to let option key act as +Esc -# - and iTerm2 is configured to send [1;9A -> [1;9D for option + arrow keys -# then uncomment the following line to make Meta + arrow keys mapping work -#set -ga terminal-overrides "*:kUP3=\e[1;9A,*:kDN3=\e[1;9B,*:kRIT3=\e[1;9C,*:kLFT3=\e[1;9D" - -# Appropriate terminal colors -set -g default-terminal "xterm-256color" -set -ga terminal-overrides ",xterm-256color:Tc" - -# -- windows & pane creation --------------------------------------------------- - -# new window retains current path, possible values are: -# - true -# - false (default) -tmux_conf_new_window_retain_current_path=false - -# new pane retains current path, possible values are: -# - true (default) -# - false -tmux_conf_new_pane_retain_current_path=true - -# new pane tries to reconnect ssh sessions (experimental), possible values are: -# - true -# - false (default) -tmux_conf_new_pane_reconnect_ssh=false - -# prompt for session name when creating a new session, possible values are: -# - true -# - false (default) -tmux_conf_new_session_prompt=false - - -# -- display ------------------------------------------------------------------- - -# RGB 24-bit colour support (tmux >= 2.2), possible values are: -# - true -# - false (default) -tmux_conf_24b_colour=false - -# default theme -tmux_conf_theme_colour_1="#080808" # dark gray -tmux_conf_theme_colour_2="#303030" # gray -tmux_conf_theme_colour_3="#8a8a8a" # light gray -tmux_conf_theme_colour_4="#00afff" # light blue -tmux_conf_theme_colour_5="#ffff00" # yellow -tmux_conf_theme_colour_6="#080808" # dark gray -tmux_conf_theme_colour_7="#e4e4e4" # white -tmux_conf_theme_colour_8="#080808" # dark gray -tmux_conf_theme_colour_9="#ffff00" # yellow -tmux_conf_theme_colour_10="#ff00af" # pink -tmux_conf_theme_colour_11="#5fff00" # green -tmux_conf_theme_colour_12="#8a8a8a" # light gray -tmux_conf_theme_colour_13="#e4e4e4" # white -tmux_conf_theme_colour_14="#080808" # dark gray -tmux_conf_theme_colour_15="#080808" # dark gray -tmux_conf_theme_colour_16="#d70000" # red -tmux_conf_theme_colour_17="#e4e4e4" # white - -# default theme (ansi) -#tmux_conf_theme_colour_1="colour0" -#tmux_conf_theme_colour_2="colour8" -#tmux_conf_theme_colour_3="colour8" -#tmux_conf_theme_colour_4="colour14" -#tmux_conf_theme_colour_5="colour11" -#tmux_conf_theme_colour_6="colour0" -#tmux_conf_theme_colour_7="colour15" -#tmux_conf_theme_colour_8="colour0" -#tmux_conf_theme_colour_9="colour11" -#tmux_conf_theme_colour_10="colour13" -#tmux_conf_theme_colour_11="colour10" -#tmux_conf_theme_colour_12="colour8" -#tmux_conf_theme_colour_13="colour15" -#tmux_conf_theme_colour_14="colour0" -#tmux_conf_theme_colour_15="colour0" -#tmux_conf_theme_colour_16="colour1" -#tmux_conf_theme_colour_17="colour15" - -# window style -tmux_conf_theme_window_fg="default" -tmux_conf_theme_window_bg="default" - -# highlight focused pane (tmux >= 2.1), possible values are: -# - true -# - false (default) -tmux_conf_theme_highlight_focused_pane=false - -# focused pane colours: -tmux_conf_theme_focused_pane_bg="$tmux_conf_theme_colour_2" - -# pane border style, possible values are: -# - thin (default) -# - fat -tmux_conf_theme_pane_border_style=thin - -# pane borders colours: -tmux_conf_theme_pane_border="$tmux_conf_theme_colour_2" -tmux_conf_theme_pane_active_border="$tmux_conf_theme_colour_4" - -# pane indicator colours (when you hit + q) -tmux_conf_theme_pane_indicator="$tmux_conf_theme_colour_4" -tmux_conf_theme_pane_active_indicator="$tmux_conf_theme_colour_4" - -# status line style -tmux_conf_theme_message_fg="$tmux_conf_theme_colour_1" -tmux_conf_theme_message_bg="$tmux_conf_theme_colour_5" -tmux_conf_theme_message_attr="bold" - -# status line command style ( : Escape) -tmux_conf_theme_message_command_fg="$tmux_conf_theme_colour_5" -tmux_conf_theme_message_command_bg="$tmux_conf_theme_colour_1" -tmux_conf_theme_message_command_attr="bold" - -# window modes style -tmux_conf_theme_mode_fg="$tmux_conf_theme_colour_1" -tmux_conf_theme_mode_bg="$tmux_conf_theme_colour_5" -tmux_conf_theme_mode_attr="bold" - -# status line style -tmux_conf_theme_status_fg="$tmux_conf_theme_colour_3" -tmux_conf_theme_status_bg="$tmux_conf_theme_colour_1" -tmux_conf_theme_status_attr="none" - -# terminal title -# - built-in variables are: -# - #{circled_window_index} -# - #{circled_session_name} -# - #{hostname} -# - #{hostname_ssh} -# - #{hostname_full} -# - #{hostname_full_ssh} -# - #{username} -# - #{username_ssh} -tmux_conf_theme_terminal_title="[#h] [#S] [#I #W]" - -# window status style -# - built-in variables are: -# - #{circled_window_index} -# - #{circled_session_name} -# - #{hostname} -# - #{hostname_ssh} -# - #{hostname_full} -# - #{hostname_full_ssh} -# - #{username} -# - #{username_ssh} -tmux_conf_theme_window_status_fg="$tmux_conf_theme_colour_3" -tmux_conf_theme_window_status_bg="$tmux_conf_theme_colour_1" -tmux_conf_theme_window_status_attr="none" -#tmux_conf_theme_window_status_format="#I #W" -tmux_conf_theme_window_status_format="#{circled_window_index} #W" -#tmux_conf_theme_window_status_format="#I #W#{?window_bell_flag,🔔,}#{?window_zoomed_flag,🔍,}" - -# window current status style -# - built-in variables are: -# - #{circled_window_index} -# - #{circled_session_name} -# - #{hostname} -# - #{hostname_ssh} -# - #{hostname_full} -# - #{hostname_full_ssh} -# - #{username} -# - #{username_ssh} -tmux_conf_theme_window_status_current_fg="$tmux_conf_theme_colour_1" -tmux_conf_theme_window_status_current_bg="$tmux_conf_theme_colour_4" -tmux_conf_theme_window_status_current_attr="bold" -#tmux_conf_theme_window_status_current_format="#I #W" -tmux_conf_theme_window_status_current_format="#{circled_window_index} #W" -#tmux_conf_theme_window_status_current_format="#I #W#{?window_zoomed_flag,🔍,}" - -# window activity status style -tmux_conf_theme_window_status_activity_fg="default" -tmux_conf_theme_window_status_activity_bg="default" -tmux_conf_theme_window_status_activity_attr="underscore" - -# window bell status style -tmux_conf_theme_window_status_bell_fg="$tmux_conf_theme_colour_5" -tmux_conf_theme_window_status_bell_bg="default" -tmux_conf_theme_window_status_bell_attr="blink,bold" - -# window last status style -tmux_conf_theme_window_status_last_fg="$tmux_conf_theme_colour_4" -tmux_conf_theme_window_status_last_bg="$tmux_conf_theme_colour_2" -tmux_conf_theme_window_status_last_attr="none" - -# status left/right sections separators -#tmux_conf_theme_left_separator_main="" -#tmux_conf_theme_left_separator_sub="|" -#tmux_conf_theme_right_separator_main="" -#tmux_conf_theme_right_separator_sub="|" -tmux_conf_theme_left_separator_main="\uE0B0" # /!\ you don't need to install Powerline -tmux_conf_theme_left_separator_sub="\uE0B1" # you only need fonts patched with -tmux_conf_theme_right_separator_main="\uE0B2" # Powerline symbols or the standalone -tmux_conf_theme_right_separator_sub="\uE0B3" # PowerlineSymbols.otf font, see README.md -# tmux_conf_theme_left_separator_main='\ue0b8' -# tmux_conf_theme_left_separator_sub='\ue0b9' -# tmux_conf_theme_right_separator_main='\ue0be' -# tmux_conf_theme_right_separator_sub='\ue0b9' - -# status left/right content: -# - separate main sections with "|" -# - separate subsections with "," -# - built-in variables are: -# - #{battery_bar} -# - #{battery_hbar} -# - #{battery_percentage} -# - #{battery_status} -# - #{battery_vbar} -# - #{circled_session_name} -# - #{hostname_ssh} -# - #{hostname} -# - #{hostname_full} -# - #{hostname_full_ssh} -# - #{loadavg} -# - #{mouse} -# - #{pairing} -# - #{prefix} -# - #{root} -# - #{synchronized} -# - #{uptime_y} -# - #{uptime_d} (modulo 365 when #{uptime_y} is used) -# - #{uptime_h} -# - #{uptime_m} -# - #{uptime_s} -# - #{username} -# - #{username_ssh} -tmux_conf_theme_status_left="  #S | ↑#{?uptime_y, #{uptime_y}y,}#{?uptime_d, #{uptime_d}d,}#{?uptime_h, #{uptime_h}h,}#{?uptime_m, #{uptime_m}m,} " -tmux_conf_theme_status_right="#{prefix} , %R , %d %b | #{username}#{root} | #{hostname} " - -# status left style -tmux_conf_theme_status_left_fg="$tmux_conf_theme_colour_6,$tmux_conf_theme_colour_7,$tmux_conf_theme_colour_8" -tmux_conf_theme_status_left_bg="$tmux_conf_theme_colour_9,$tmux_conf_theme_colour_10,$tmux_conf_theme_colour_11" -tmux_conf_theme_status_left_attr="bold,none,none" - -# status right style -tmux_conf_theme_status_right_fg="$tmux_conf_theme_colour_12,$tmux_conf_theme_colour_13,$tmux_conf_theme_colour_14" -tmux_conf_theme_status_right_bg="$tmux_conf_theme_colour_15,$tmux_conf_theme_colour_16,$tmux_conf_theme_colour_17" -tmux_conf_theme_status_right_attr="none,none,bold" - -# pairing indicator -tmux_conf_theme_pairing="⚇" # U+2687 -tmux_conf_theme_pairing_fg="none" -tmux_conf_theme_pairing_bg="none" -tmux_conf_theme_pairing_attr="none" - -# prefix indicator -tmux_conf_theme_prefix="⌨" # U+2328 -tmux_conf_theme_prefix_fg="none" -tmux_conf_theme_prefix_bg="none" -tmux_conf_theme_prefix_attr="none" - -# mouse indicator -tmux_conf_theme_mouse="↗" # U+2197 -tmux_conf_theme_mouse_fg="none" -tmux_conf_theme_mouse_bg="none" -tmux_conf_theme_mouse_attr="none" - -# root indicator -tmux_conf_theme_root="ﲂ" -tmux_conf_theme_root_fg="none" -tmux_conf_theme_root_bg="none" -tmux_conf_theme_root_attr="bold,blink" - -# synchronized indicator -tmux_conf_theme_synchronized="⚏" # U+268F -tmux_conf_theme_synchronized_fg="none" -tmux_conf_theme_synchronized_bg="none" -tmux_conf_theme_synchronized_attr="none" - -# battery bar symbols -#tmux_conf_battery_bar_symbol_full="◼" -#tmux_conf_battery_bar_symbol_empty="◻" -tmux_conf_battery_bar_symbol_full="♥" -tmux_conf_battery_bar_symbol_empty="·" - -# battery bar length (in number of symbols), possible values are: -# - auto -# - a number, e.g. 5 -tmux_conf_battery_bar_length="auto" - -# battery bar palette, possible values are: -# - gradient (default) -# - heat -# - "colour_full_fg,colour_empty_fg,colour_bg" -tmux_conf_battery_bar_palette="gradient" -#tmux_conf_battery_bar_palette="#d70000,#e4e4e4,#000000" # red, white, black - -# battery hbar palette, possible values are: -# - gradient (default) -# - heat -# - "colour_low,colour_half,colour_full" -tmux_conf_battery_hbar_palette="gradient" -#tmux_conf_battery_hbar_palette="#d70000,#ff5f00,#5fff00" # red, orange, green - -# battery vbar palette, possible values are: -# - gradient (default) -# - heat -# - "colour_low,colour_half,colour_full" -tmux_conf_battery_vbar_palette="gradient" -#tmux_conf_battery_vbar_palette="#d70000,#ff5f00,#5fff00" # red, orange, green - -# symbols used to indicate whether battery is charging or discharging -tmux_conf_battery_status_charging="↑" # U+2191 -tmux_conf_battery_status_discharging="↓" # U+2193 -#tmux_conf_battery_status_charging="🔌" # U+1F50C -#tmux_conf_battery_status_discharging="🔋" # U+1F50B - -# clock style (when you hit + t) -# you may want to use %I:%M %p in place of %R in tmux_conf_theme_status_right -tmux_conf_theme_clock_colour="$tmux_conf_theme_colour_4" -tmux_conf_theme_clock_style="12" - - -# -- clipboard ----------------------------------------------------------------- - -# in copy mode, copying selection also copies to the OS clipboard -# - true -# - false (default) -# on macOS, this requires installing reattach-to-user-namespace, see README.md -# on Linux, this requires xsel or xclip -tmux_conf_copy_to_os_clipboard=true - - -# -- user customizations ------------------------------------------------------- -# this is the place to override or undo settings - -# increase history size -#set -g history-limit 10000 - -# start with mouse mode enabled -#set -g mouse on - -# force Vi mode -# really you should export VISUAL or EDITOR environment variable, see manual -#set -g status-keys vi -#set -g mode-keys vi - -# replace C-b by C-a instead of using both prefixes -# set -gu prefix2 -# unbind C-a -# unbind C-b -# set -g prefix C-a -# bind C-a send-prefix - -# move status line to top -#set -g status-position top - -# -- tpm ----------------------------------------------------------------------- - -# while I don't use tpm myself, many people requested official support so here -# is a seamless integration that automatically installs plugins in parallel - -# whenever a plugin introduces a variable to be used in 'status-left' or -# 'status-right', you can use it in 'tmux_conf_theme_status_left' and -# 'tmux_conf_theme_status_right' variables. - -# by default, launching tmux will update tpm and all plugins -# - true (default) -# - false -tmux_conf_update_plugins_on_launch=true -tmux_conf_uninstall_plugins_on_reload=true -# by default, reloading the configuration will update tpm and all plugins -# - true (default) -# - false -tmux_conf_update_plugins_on_reload=true - -# /!\ do not add set -g @plugin 'tmux-plugins/tpm' -# /!\ do not add run '~/.tmux/plugins/tpm/tpm' - -# to enable a plugin, use the 'set -g @plugin' syntax: -# visit https://github.com/tmux-plugins for available plugins -#set -g @plugin 'tmux-plugins/tmux-copycat' -#set -g @plugin 'tmux-plugins/tmux-cpu' -#set -g @plugin 'tmux-plugins/tmux-resurrect' -#set -g @plugin 'tmux-plugins/tmux-continuum' -#set -g @continuum-restore 'on' - - -# -- custom variables ---------------------------------------------------------- - -# to define a custom #{foo} variable, define a POSIX shell function between the -# '# EOF' and the '# "$@"' lines. Please note that the opening brace { character -# must be on the same line as the function name otherwise the parse won't detect -# it. -# -# then, use #{foo} in e.g. the 'tmux_conf_theme_status_left' or the -# 'tmux_conf_theme_status_right' variables. - -# # /!\ do not remove the following line -# EOF -# -# # /!\ do not "uncomment" the functions: the leading "# " characters are needed -# -# weather() { -# curl -m 1 wttr.in?format=3 2>/dev/null -# sleep 900 # sleep for 15 minutes, throttle network requests whatever the value of status-interval -# } -# -# online() { -# ping -c 1 1.1.1.1 >/dev/null 2>&1 && printf '✔' || printf '✘' -# } -# -# "$@" -# # /!\ do not remove the previous line -# -themes_folder='~/.config/oh-my-tmux/themes/' -theme="embark.conf" - -if "[ -d ${themes_folder} ]" "source ${themes_folder}${theme}" diff --git a/dot_zsh/aliases.zsh b/dot_zsh/aliases.zsh deleted file mode 100644 index fd4598b..0000000 --- a/dot_zsh/aliases.zsh +++ /dev/null @@ -1,76 +0,0 @@ -#!/usr/bin/env zsh -############################################################################## -# vim:set ft=zsh ai et sw=4 ts=4: -# -# @author : Jeffrey Serio -# @file : aliases.zsh -# @load_order : post-zshrc - - -## the ls family -if test -x "$(command -v exa)"; then - alias ls="exa" -fi -alias l="exa -lFhg" -alias la="exa -a" -alias ll="exa -lg --git" -alias lal="exa -alg --git" -alias ldot="exa -gld .*" -alias lse="/bin/ls -lZ" - -lgn() { exa --tree --level=$1 ; } - -## open zshrc in EDITOR -alias zshrc="${=EDITOR} ${HOME}/.zshrc" - -## greps -alias grep="grep --color" -alias sgrep="grep -R -n -H -C 5 --exclude-dir={.git,.svn,CVS}" - -## copy SSH pubkey to clipboard -alias pubkey="more ~/.ssh/id_ed25519.pub | xclip -selection clipboard | echo '==> SSH public key copied'" - -## display disk usage with dust -alias dud="dust --depth 1 -w 88" - -## prompt user before overwriting copied and moved files -alias cp="cp -i" -alias mv="mv -i" -alias rm="rm -i" - -## display zsh functions with bat -alias zfun="functions | bat -l zsh" - -## luamake -alias luamake="/home/jas/.local/share/sumneko/lua-language-server/3rd/luamake/luamake" - -## assorted globals -alias -g H="| head" -alias -g T="| tail" -alias -g G="| grep" -alias -g L="| less -X" -alias -g B="| bat -p" -alias -g LL="2>&1 | less" -alias -g CA="2>&1 | cat -A" -alias -g NE="2> /dev/null" -alias -g NUL="> /dev/null 2>&1" -alias -g P="2>&1| pygmentize -l pytb" -alias -g J="| jq ." -alias -g CC="| xclip -selection clipboard" - -## networking -alias pubip="curl ipinfo.io" -alias netCons="lsof -i" -alias tulp="ss -tulp" -alias openPorts="sudo lsof -i | grep LISTEN" -alias pong="ping -c 3 www.google.com" -alias lsock="sudo lsof -i -P" -alias lsockU="sudo lsof -nP | grep UDP" -alias lsockT="sudo lsof -nP | grep TCP" - -alias lslog="ls /var/log/" - -## reboot/poweroff -alias rbt="sudo shutdown -r now" -alias shut="sudo shutdown now" - diff --git a/dot_zsh/embark-zsh-syntax-highlighting.zsh b/dot_zsh/embark-zsh-syntax-highlighting.zsh deleted file mode 100644 index b993a62..0000000 --- a/dot_zsh/embark-zsh-syntax-highlighting.zsh +++ /dev/null @@ -1,74 +0,0 @@ -# Embark Theme (for zsh-syntax-highlighting) -# -# Paste this files contents inside your ~/.zshrc before you activate zsh-syntax-highlighting -ZSH_HIGHLIGHT_HIGHLIGHTERS=(main cursor) -typeset -gA ZSH_HIGHLIGHT_STYLES - -# Main highlighter styling: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md -# -## General -### Diffs -### Markup -## Classes -## Comments -ZSH_HIGHLIGHT_STYLES[comment]='fg=#585273' -## Constants -## Entitites -## Functions/methods -ZSH_HIGHLIGHT_STYLES[alias]='fg=#62D196' -ZSH_HIGHLIGHT_STYLES[suffix-alias]='fg=#62D196' -ZSH_HIGHLIGHT_STYLES[global-alias]='fg=#62D196' -ZSH_HIGHLIGHT_STYLES[function]='fg=#62D196' -ZSH_HIGHLIGHT_STYLES[command]='fg=#62D196' -ZSH_HIGHLIGHT_STYLES[precommand]='fg=#62D196,italic' -ZSH_HIGHLIGHT_STYLES[autodirectory]='fg=#F2B482,italic' -ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=#F2B482' -ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=#F2B482' -ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=#A37ACC' -## Keywords -## Built ins -ZSH_HIGHLIGHT_STYLES[builtin]='fg=#63F2F1' -ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=#63F2F1' -ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=#63F2F1' -## Punctuation -ZSH_HIGHLIGHT_STYLES[commandseparator]='fg=#F48FB1' -ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]='fg=#CBE3E7' -ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-unquoted]='fg=#CBE3E7' -ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]='fg=#CBE3E7' -ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]='fg=#F48FB1' -ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=#F48FB1' -ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]='fg=#F48FB1' -## Serializable / Configuration Languages -## Storage -## Strings -ZSH_HIGHLIGHT_STYLES[command-substitution-quoted]='fg=#FFE6B3' -ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-quoted]='fg=#FFE6B3' -ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=#FFE6B3' -ZSH_HIGHLIGHT_STYLES[single-quoted-argument-unclosed]='fg=#F02E6E' -ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=#FFE6B3' -ZSH_HIGHLIGHT_STYLES[double-quoted-argument-unclosed]='fg=#F02E6E' -ZSH_HIGHLIGHT_STYLES[rc-quote]='fg=#FFE6B3' -## Variables -ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=#CBE3E7' -ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument-unclosed]='fg=#F02E6E' -ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=#CBE3E7' -ZSH_HIGHLIGHT_STYLES[assign]='fg=#CBE3E7' -ZSH_HIGHLIGHT_STYLES[named-fd]='fg=#CBE3E7' -ZSH_HIGHLIGHT_STYLES[numeric-fd]='fg=#CBE3E7' -## No category relevant in spec -ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=#F02E6E' -ZSH_HIGHLIGHT_STYLES[path]='fg=#CBE3E7' -ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=#F48FB1' -ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=#CBE3E7' -ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='fg=#F48FB1' -ZSH_HIGHLIGHT_STYLES[globbing]='fg=#CBE3E7' -ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=#A37ACC' -#ZSH_HIGHLIGHT_STYLES[command-substitution]='fg=?' -#ZSH_HIGHLIGHT_STYLES[command-substitution-unquoted]='fg=?' -#ZSH_HIGHLIGHT_STYLES[process-substitution]='fg=?' -#ZSH_HIGHLIGHT_STYLES[arithmetic-expansion]='fg=?' -ZSH_HIGHLIGHT_STYLES[back-quoted-argument-unclosed]='fg=#F02E6E' -ZSH_HIGHLIGHT_STYLES[redirection]='fg=#CBE3E7' -ZSH_HIGHLIGHT_STYLES[arg0]='fg=#CBE3E7' -ZSH_HIGHLIGHT_STYLES[default]='fg=#CBE3E7' -ZSH_HIGHLIGHT_STYLES[cursor]='fg=#CBE3E7' diff --git a/dot_zsh/functions.zsh b/dot_zsh/functions.zsh deleted file mode 100644 index 6091e31..0000000 --- a/dot_zsh/functions.zsh +++ /dev/null @@ -1,48 +0,0 @@ -#!/usr/bin/env zsh -############################################################################## -# vim:set ft=zsh ai et sw=4 ts=4: -# -# @author : Jeffrey Serio -# @file : functions.zsh -# @load_order : post-zshrc - - -## Do an ls after cd -cd() { builtin cd "$@" && ls; } - -## Create new directory and enter it -mkd() { mkdir -p "$@" && cd "$_"; } - -## pids -pids() { pgrep -a "$@"; } - -## variation of our manzsh() function; pick you poison: -manzsh() { /usr/bin/man zshall | most +/"$1" ; } - -## restart zsh -restart () { - exec $SHELL $SHELL_ARGS "$@" -} - -rsrc() { cd && clear && restart; } - -## parse HackerNews feed (https://hnrss.org/newest) -hn() { -python3 <(cat < -# @file : fzf.zsh -# @load_order : post-zshrc - - -## default opts uses Embark color palette -export FZF_DEFAULT_OPTS="--color=fg:#CBE3E7,bg:#1E1C31,hl:#D4BFFF --color=fg+:#CBE3E7,bg+:#2D2B40,hl+:#D4BFFF --color=info:#F2B482,prompt:#62D196,pointer:#F48FB1 --color=marker:#F48FB1,spinner:#F2B482,header:#585273" - -## completion trigger -export FZF_COMPLETION_TRIGGER="~~" - -## default source for fzf -export FZF_DEFAULT_COMMAND="fd --type f --hidden --follow --exclude .git" - -## fzf manpages -man-find() { - f=$(fd . "${MANPATH}/man${1:-1}" -t f -x echo {/.} | fzf) && man "$f" -} - -## keystroke shortcuts widget -shortcuts-widget() { - cat /home/jas/.shortcuts.txt | fzf-tmux -r 40% -- --reverse -} -zle -N shortcuts-widget -bindkey '\es' shortcuts-widget diff --git a/dot_zsh/input.zsh b/dot_zsh/input.zsh deleted file mode 100644 index 84bff51..0000000 --- a/dot_zsh/input.zsh +++ /dev/null @@ -1,42 +0,0 @@ -#!/usr/bin/env zsh -############################################################################## -# vim:set ft=zsh ai et sw=4 ts=4: -# -# @author : Jeffrey Serio -# @file : input.zsh -# @load_order : post-zshrc - -$include /etc/inputrc -bindkey -v - -typeset -g -A key -key[Home]="${terminfo[khome]}" -key[End]="${terminfo[kend]}" - -[[ -n "${key[Home]}" ]] && bindkey -- "${key[Home]}" beginning-of-line -[[ -n "${key[End]}" ]] && bindkey -- "${key[End]}" end-of-line - -## check if fzf keybindings file exists -if test -f /home/jas/.fzf/shell/key-bindings.zsh; then - source /home/jas/.fzf/shell/key-bindings.zsh - - bindkey -M viins "^H" fzf-history-widget - bindkey -M vicmd "^H" fzf-history-widget - bindkey -M vicmd "/" history-incremental-search-backward - bindkey -M vicmd "?" history-incremental-search-forward - - page-up-within-tmux() { - if (( ${+TMUX} )); then - tmux copy-mode -u - fi - } - zle -N page-up-within-tmux - - # page up - bindkey "${terminfo[kpp]}" page-up-within-tmux -fi - -## history substring search -bindkey '^[[1;5A' history-substring-search-up -bindkey '^[[1;5B' history-substring-search-down - diff --git a/dot_zshenv b/dot_zshenv deleted file mode 100644 index 3f1a13d..0000000 --- a/dot_zshenv +++ /dev/null @@ -1,99 +0,0 @@ -#!/usr/bin/env zsh -############################################################################## -# vim:set ft=zsh ai et sw=4 ts=4: -# -# @author : Jeffrey Serio -# @file : .zshenv -# @load_order : pre-zshrc - -## lscolors -export LS_COLORS=$(cat ~/.lscolors.sh) - -## go paths -export GOPATH="${HOME}/go" - -## path variable -typeset -U PATH path -path=( - /usr/local/bin - /usr/local/sbin - /usr/lib/ruby/gems/3.0.0/bin - "${HOME}/.local/bin" - "${GOPATH}/bin" - "${HOME}/.cargo/bin" - "${path[@]}" -) -export PATH - -## reply-to email address -export REPLYTO="hyperreal@unixcat.coffee" - -## set language -export LANG=en_US.UTF-8 - -## set default editor -export EDITOR="nvim" - -## set pager stuffs -export PAGER="less -X" -export BAT_THEME="Dracula" - -## set history stuffs -export HISTFILE=~/.zsh_history -export HISTSIZE=10000 -export SAVEHIST=10000 - -## set TERM if in tmux -if (( ${+TMUX} )); then - export TERM="screen-256color" -else - export TERM="xterm-256color" -fi - -## load private vars -if test -f ~/.private_vars; then - source ~/.private_vars -fi - -## fzf-tmux -export PATH="${PATH}:${HOME}/.fzf/bin" - -## spaceship prompt -SPACESHIP_PROMPT_ORDER=( - time - user - host - dir - git - hg - package - node - ruby - golang - rust - docker - venv - pyenv - exec_time - line_sep - jobs - exit_code - char -) -SPACESHIP_CHAR_SUFFIX=" " -SPACESHIP_CHAR_SYMBOL="%%" -SPACESHIP_DIR_PREFIX=":" -SPACESHIP_DIR_SUFFIX="> " -SPACESHIP_EXIT_CODE_SHOW=true -SPACESHIP_EXIT_CODE_SYMBOL="" -SPACESHIP_HOST_COLOR="#F776AC" -SPACESHIP_HOST_PREFIX="@" -SPACESHIP_HOST_SHOW=always -SPACESHIP_HOST_SUFFIX="" -SPACESHIP_TIME_COLOR="#A9B1D6" -SPACESHIP_TIME_SHOW=true -SPACESHIP_USER_COLOR="#E08C68" -SPACESHIP_USER_PREFIX="" -SPACESHIP_USER_SHOW=always -SPACESHIP_USER_SUFFIX="" - diff --git a/dot_zshrc b/dot_zshrc deleted file mode 100644 index 19fd23c..0000000 --- a/dot_zshrc +++ /dev/null @@ -1,68 +0,0 @@ -#!/usr/bin/env zsh -############################################################################## -# vim:set ft=zsh ai et sw=4 ts=4: -# -# @author : Jeffrey Serio -# @file : .zshrc -# -# @description : Z-shell rc file - - -############################################################################## -# PLUGINS -############################################################################## - -if ! test -f ~/.zplug/init.zsh; then - export ZPLUG_HOME=~/.zplug - git clone https://github.com/zplug/zplug $ZPLUG_HOME -fi - -source ~/.zplug/init.zsh - -zplug "~/.zsh", from:local, use:'(*).zsh' -zplug "zsh-users/zsh-autosuggestions" -zplug "zsh-users/zsh-history-substring-search" -zplug "zsh-users/zsh-syntax-highlighting" -zplug "amaya382/zsh-fzf-widgets" -zplug "chitoku-k/fzf-zsh-completions" -zplug "plugins/dnf", from:oh-my-zsh -zplug "plugins/colored-man-pages", from:oh-my-zsh -zplug "plugins/extract", from:oh-my-zsh -zplug "plugins/firewalld", from:oh-my-zsh -zplug "plugins/git", from:oh-my-zsh -zplug "plugins/sudo", from:oh-my-zsh -zplug "plugins/systemd", from:oh-my-zsh -zplug "urbainvaes/fzf-marks" -zplug "spaceship-prompt/spaceship-prompt", use:spaceship.zsh, from:github, as:theme -# zplug "~/.zsh", use:dracula-pro.zsh-theme, from:local, as:theme - -if ! zplug check; then - zplug install; - exec $SHELL $SHELL_ARGS "$@" -fi - -zplug load - -############################################################################## -# GENERAL SHELL OPTIONS -############################################################################## -# See https://zsh-manual.netlify.app/options - -setopt appendhistory -setopt autocd -setopt autolist -setopt automenu -setopt autoremoveslash -setopt cdablevars -setopt histallowclobber -setopt histignorealldups -setopt histignoredups -setopt histsavenodups -setopt interactivecomments -setopt listpacked -setopt listtypes -setopt longlistjobs - -ZSH_THEME="dracula-pro" - -alias luamake=/var/home/jas/downloads/lua-language-server/3rd/luamake/luamake diff --git a/private_dot_gnupg/scdaemon.conf b/private_dot_gnupg/scdaemon.conf deleted file mode 100644 index eb818dd..0000000 --- a/private_dot_gnupg/scdaemon.conf +++ /dev/null @@ -1 +0,0 @@ -disable-ccid