diff --git a/.config/fsh/catppuccin-frappe.ini b/.config/fsh/catppuccin-frappe.ini new file mode 100644 index 0000000..85036c2 --- /dev/null +++ b/.config/fsh/catppuccin-frappe.ini @@ -0,0 +1,80 @@ +[base] +default = #c6d0f5 +unknown-token = #e78284,bold +commandseparator = #81c8be +redirection = #81c8be +here-string-tri = #b5bfe2 +here-string-text = #b5bfe2 +here-string-var = #b5bfe2 +exec-descriptor = none +comment = #737994 +correct-subtle = #babbf1 +incorrect-subtle = #ea999c +subtle-separator = none +subtle-bg = none +secondary = +recursive-base = #c6d0f5 + +[command-point] +reserved-word = #ca9ee6 +subcommand = #85c1dc +alias = #8caaee +suffix-alias = #8caaee +global-alias = #8caaee +builtin = #ca9ee6 +function = #8caaee +command = #8caaee +precommand = #ca9ee6 +hashed-command = #8caaee +single-sq-bracket = #e5c890 +double-sq-bracket = #e5c890 +double-paren = #a6d189 + +[paths] +path = #f2d5cf +pathseparator = #f2d5cf +path-to-dir = #f2d5cf +globbing = #f4b8e4 +globbing-ext = none + +[brackets] +paired-bracket = bold +bracket-level-1 = #e78284 +bracket-level-2 = #e5c890 +bracket-level-3 = #85c1dc + +[arguments] +single-hyphen-option = #81c8be +double-hyphen-option = #81c8be +back-quoted-argument = #81c8be +single-quoted-argument = #a6d189 +double-quoted-argument = #a6d189 +dollar-quoted-argument = #a6d189 +optarg-string = #a6d189 +optarg-number = #ef9f76 + +[in-string] +back-dollar-quoted-argument = #ef9f76 +back-or-dollar-double-quoted-argument = #ef9f76 + +[other] +variable = #ef9f76 +assign = none +assign-array-bracket = none +history-expansion = none + +[math] +mathvar = #f4b8e4 +mathnum = #ef9f76 +matherr = #e78284,bold + +[for-loop] +forvar = #c6d0f5 +fornum = #ef9f76 +foroper = #8caaee +forsep = #8caaee + +[case] +case-input = #ef9f76 +case-parentheses = #949cbb +case-condition = #ca9ee6 diff --git a/.config/git/config b/.config/git/config new file mode 100644 index 0000000..d779037 --- /dev/null +++ b/.config/git/config @@ -0,0 +1,3 @@ +[user] + email = crony@cronyakatsuki.xyz + name = CronyAkatsuki diff --git a/.config/lazygit/config.yml b/.config/lazygit/config.yml new file mode 100644 index 0000000..5dd3d2b --- /dev/null +++ b/.config/lazygit/config.yml @@ -0,0 +1,19 @@ +theme: + lightTheme: false + activeBorderColor: + - "#a6d189" # Green + - bold + inactiveBorderColor: + - "#c6d0f5" # Text + optionsTextColor: + - "#8caaee" # Blue + selectedLineBgColor: + - "#414559" # Surface0 + selectedRangeBgColor: + - "#414559" # Surface0 + cherryPickedCommitBgColor: + - "#81c8be" # Teal + cherryPickedCommitFgColor: + - "#8caaee" # Blue + unstagedChangesColor: + - red # Red diff --git a/.config/profanity/profrc b/.config/profanity/profrc new file mode 100644 index 0000000..b96bfff --- /dev/null +++ b/.config/profanity/profrc @@ -0,0 +1,56 @@ +[ui] +splash=true +intype=true +theme=solarized-dark +history=true +titlebar=true +mouse=true +flash=true +color.nick=true + +beep=true + +[connection] +autoping=60 +reconnect=5 +account=crony@cronyakatsuki.xyz +carbons=true + +defaccount=crony@cronyakatsuki.xyz + +mam=true + +[presence] +autoaway.mode=away +autoaway.check=true +autoaway.awaytime=15 +autoaway.awaymessage=Away from computer + +[omemo] +policy=always + +log=on + +[logging] +chlog=true +grlog=true +rotate=true +shared=true + +[notifications] +message=true +message.current=true +message.text=true +room.mention=true +room.current=true +room.offline=true +room=true +room.mention.wholeword=false +room.trigger=true +room.text=true +typing=true +typing.current=true +invite=true +sub=true +remind=60 +tray=false diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf new file mode 100644 index 0000000..98a3a9b --- /dev/null +++ b/.config/tmux/tmux.conf @@ -0,0 +1,75 @@ +# Colors with alacritty +set-option -sa terminal-overrides ",alacritty:Tc" + +# enable mouse support +set -g mouse on + +# start window and panes indexing at 1 +set -g base-index 1 +set -g pane-base-index 1 +set-window-option -g pane-base-index 1 +set-option -g renumber-windows on + + +# set prefix key to ctrl + space +unbind C-b +set -g prefix C-Space +bind C-Space send-prefix + +bind -n M-K previous-window +bind -n M-J next-window + +# set vi-mode +set-window-option -g mode-keys vi +# keybindings +bind-key -T copy-mode-vi v send-keys -X begin-selection +bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle +bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel + +bind '"' split-window -v -c "#{pane_current_path}" +bind '\' split-window -h -c "#{pane_current_path}" + +# Floating popup keybindings +bind-key t run-shell 'tmux-popup zsh' +bind-key g run-shell 'tmux-popup lazygit' +bind-key f run-shell 'tmux-popup nnn' +bind-key h run-shell 'tmux-popup htop' + +# Vim keybindings for pane movement +setw -g mode-keys vi +bind-key h select-pane -L +bind-key j select-pane -D +bind-key k select-pane -U +bind-key l select-pane -R + +# Catppuccin settings +set -g @catppuccin_flavour 'frappe' +set -g @catppuccin_window_left_separator "█" +set -g @catppuccin_window_right_separator "█ " +set -g @catppuccin_window_number_position "right" +set -g @catppuccin_window_middle_separator " █" + +set -g @catppuccin_window_default_fill "number" + +set -g @catppuccin_window_current_fill "number" +set -g @catppuccin_window_current_text "#{pane_current_path}" + +set -g @catppuccin_status_modules "application session date_time" +set -g @catppuccin_status_left_separator "" +set -g @catppuccin_status_right_separator " " +set -g @catppuccin_status_right_separator_inverse "yes" +set -g @catppuccin_status_fill "all" +set -g @catppuccin_status_connect_separator "no" + +# Bar to top +set-option -g status-position top + +# Plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'tmux-plugins/tmux-yank' +set -g @plugin 'christoomey/vim-tmux-navigator' +set -g @plugin 'catppuccin/tmux' +set -g @plugin 'wfxr/tmux-fzf-url' + +run '~/.tmux/plugins/tpm/tpm' diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc new file mode 100644 index 0000000..a27e189 --- /dev/null +++ b/.config/zathura/zathurarc @@ -0,0 +1,66 @@ +set default-fg "#C6D0F5" +set default-bg "#303446" + +set completion-bg "#414559" +set completion-fg "#C6D0F5" +set completion-highlight-bg "#575268" +set completion-highlight-fg "#C6D0F5" +set completion-group-bg "#414559" +set completion-group-fg "#8CAAEE" + +set statusbar-fg "#C6D0F5" +set statusbar-bg "#414559" + +set notification-bg "#414559" +set notification-fg "#C6D0F5" +set notification-error-bg "#414559" +set notification-error-fg "#E78284" +set notification-warning-bg "#414559" +set notification-warning-fg "#FAE3B0" + +set inputbar-fg "#C6D0F5" +set inputbar-bg "#414559" + +set recolor-lightcolor "#303446" +set recolor-darkcolor "#C6D0F5" + +set index-fg "#C6D0F5" +set index-bg "#303446" +set index-active-fg "#C6D0F5" +set index-active-bg "#414559" + +set render-loading-bg "#303446" +set render-loading-fg "#C6D0F5" + +set highlight-color "#575268" +set highlight-fg "#F4B8E4" +set highlight-active-color "#F4B8E4" + +set recolor true +set recolor-keephue true +set recolor-reverse-video true + +set statusbar-h-padding 0 +set statusbar-v-padding 0 +set page-padding 1 + +# fullscreen mappings +map [fullscreen] r reload +map [fullscreen] R rotate +map [fullscreen] + zoom in +map [fullscreen] - zoom out +map [fullscreen] i recolor + +# normal mappings +map r reload +map R rotate +map + zoom in +map - zoom out +map i recolor + +set font "IBMPlex Mono 12" +set adjust-open "best-fit" +set pages-per-row 1 +set scroll-page-aware "true" +set scroll-full-overlap 0.01 +set scroll-step 100 diff --git a/.config/zsh/aliases.zsh b/.config/zsh/aliases.zsh index 6a7a774..8b58b85 100755 --- a/.config/zsh/aliases.zsh +++ b/.config/zsh/aliases.zsh @@ -39,5 +39,11 @@ alias ytvf='yt-dlp --merge-output-format mp4 --format best --embed-thumbnail --e alias dl='aria2c -j 16 -s 16 -x 16 -k 5M --file-allocation=none' alias b='buku --suggest' +# ntfy aliases +alias ntfy='curl -u ":$(cat .config/ntfy/access_token)"' +alias update_done='curl -u ":$(cat .config/ntfy/access_token)" -H "t: System update" -d "System update is finished" ntfy.cronyakatsuki.xyz/portage' +alias update_failed='curl -u ":$(cat .config/ntfy/access_token)" -H "t: System update" -H "p:4" -d "System update failed" ntfy.cronyakatsuki.xyz/portage' +alias sync_done='curl -u ":$(cat .config/ntfy/access_token)" -H "t: System sync" -d "System sync is finished" ntfy.cronyakatsuki.xyz/portage' + # cryptography alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m'" diff --git a/.config/zsh/functions.zsh b/.config/zsh/functions.zsh index c78ae27..7c22299 100755 --- a/.config/zsh/functions.zsh +++ b/.config/zsh/functions.zsh @@ -39,8 +39,8 @@ md () { # Move a file and create a link in it's place mvln () { from=$(readlink -f $1) - to=$(readlink -f $2) - [ ! -d "$(basename $to)" ] && mkdir "$to" + to="$2" + [ ! -d "$(dirname $to)" ] && mkdir "$(dirname $to)" mv $from $to ln -s $to $from } @@ -124,3 +124,7 @@ n () { rm -f "$NNN_TMPFILE" > /dev/null } } + +upfast () { + curl -F "file=@$(readlink -f $1)" "https://upfast.cronyakatsuki.xyz/" +}