Compare commits
18 Commits
43a1bd6453
...
main
Author | SHA1 | Date | |
---|---|---|---|
b177bf86c0 | |||
caf896f275 | |||
0ada57b976 | |||
3a8b4d9e0e | |||
299305a411 | |||
ea4e9fee17 | |||
75ec25f78d | |||
b775c9eb5e | |||
696e113c93 | |||
b543661bef | |||
5b7a6f0fe9 | |||
0d0ada55fa | |||
a1cf3fa0ff | |||
b18a04f623 | |||
64516c9303 | |||
8ae8b86321 | |||
121bc6f0a1 | |||
c8e15fe834 |
@ -27,3 +27,5 @@ if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTI
|
|||||||
then
|
then
|
||||||
exec fish
|
exec fish
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
source /home/zpb/.config/broot/launcher/bash/br
|
||||||
|
189
broot/.config/broot/conf.hjson
Normal file
189
broot/.config/broot/conf.hjson
Normal file
@ -0,0 +1,189 @@
|
|||||||
|
###############################################################
|
||||||
|
# This configuration file lets you
|
||||||
|
# - define new commands
|
||||||
|
# - change the shortcut or triggering keys of built-in verbs
|
||||||
|
# - change the colors
|
||||||
|
# - set default values for flags
|
||||||
|
# - set special behaviors on specific paths
|
||||||
|
# - and more...
|
||||||
|
#
|
||||||
|
# Configuration documentation is available at
|
||||||
|
# https://dystroy.org/broot
|
||||||
|
#
|
||||||
|
# This file's format is Hjson ( https://hjson.github.io/ ). Some
|
||||||
|
# properties are commented out. To enable them, remove the `#`.
|
||||||
|
#
|
||||||
|
###############################################################
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
# Default flags
|
||||||
|
# You can set up flags you want broot to start with by
|
||||||
|
# default, for example `default_flags="ihp"` if you usually want
|
||||||
|
# to see hidden and gitignored files and the permissions (then
|
||||||
|
# if you don't want the hidden files you can launch `br -H`)
|
||||||
|
# A popular flag is the `g` one which displays git related info.
|
||||||
|
#
|
||||||
|
default_flags: gh
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
# Date/Time format
|
||||||
|
# If you want to change the format for date/time, uncomment the
|
||||||
|
# following line and change it according to
|
||||||
|
# https://docs.rs/chrono/0.4.11/chrono/format/strftime/index.html
|
||||||
|
#
|
||||||
|
# date_time_format: %Y/%m/%d %R
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
# uncomment to activate modal mode
|
||||||
|
#
|
||||||
|
# (you really should read https://dystroy.org/broot/modal/
|
||||||
|
# before as it may not suit everybody even among vim users)
|
||||||
|
#
|
||||||
|
# modal: true
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
# Whether to mark the selected line with a triangle
|
||||||
|
#
|
||||||
|
show_selection_mark: true
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
# Column order
|
||||||
|
# cols_order, if specified, must be a permutation of the following
|
||||||
|
# array. You should keep the name column at the end as it has a
|
||||||
|
# variable length.
|
||||||
|
#
|
||||||
|
# cols_order: [
|
||||||
|
# mark
|
||||||
|
# git
|
||||||
|
# size
|
||||||
|
# permission
|
||||||
|
# date
|
||||||
|
# count
|
||||||
|
# branch
|
||||||
|
# name
|
||||||
|
# ]
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
# True Colors
|
||||||
|
# If this parameter isn't set, broot tries to automatically
|
||||||
|
# determine whether true colors (24 bits) are available.
|
||||||
|
# As this process is unreliable, you may uncomment this setting
|
||||||
|
# and set it to false or true if you notice the colors in
|
||||||
|
# previewed images are too off.
|
||||||
|
#
|
||||||
|
true_colors: false
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
# Icons
|
||||||
|
# If you want to display icons in broot, uncomment this line
|
||||||
|
# (see https://dystroy.org/broot/icons for installation and
|
||||||
|
# troubleshooting)
|
||||||
|
#
|
||||||
|
#icon_theme: vscode
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
# Special paths
|
||||||
|
# If some paths must be handled specially, uncomment (and change
|
||||||
|
# this section as per the examples)
|
||||||
|
#
|
||||||
|
special_paths: {
|
||||||
|
"/media" : "no-enter" // comment it if desired
|
||||||
|
# "/media/slow-backup-disk" : no-enter
|
||||||
|
# "/home/dys/useless" : hide
|
||||||
|
# "/home/dys/my-link-I-want-to-explore" : enter
|
||||||
|
}
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
# Quit on last cancel
|
||||||
|
# You can usually cancel the last state change on escape.
|
||||||
|
# If you want the escape key to quit broot when there's nothing
|
||||||
|
# to cancel (for example when you just opened broot), uncomment
|
||||||
|
# this parameter
|
||||||
|
#
|
||||||
|
# quit_on_last_cancel: true
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
# Search modes
|
||||||
|
#
|
||||||
|
# broot allows many search modes.
|
||||||
|
# A search mode is defined by
|
||||||
|
# - the way to search: 'fuzzy', 'exact', 'regex', or 'tokens'.
|
||||||
|
# - where to search: file 'name', 'path', or file 'content'
|
||||||
|
# A search pattern may for example be "fuzzy path" (default),
|
||||||
|
# "regex content" or "exact path".
|
||||||
|
#
|
||||||
|
# The search mode is selected from its prefix. For example, if
|
||||||
|
# you type "abc", the default mode is "fuzzy path". If you type
|
||||||
|
# "/abc", the mode is "regex path". If you type "rn/abc", the mode
|
||||||
|
# is "regex name".
|
||||||
|
#
|
||||||
|
# This mapping may be modified. You may want to dedicate the
|
||||||
|
# empty prefix (the one which doesn't need a '/') to the
|
||||||
|
# search mode you use most often. The example below makes it
|
||||||
|
# easy to search on name rather than on the subpath.
|
||||||
|
#
|
||||||
|
# More information on
|
||||||
|
# https://dystroy.org/broot/input/#the-filtering-pattern
|
||||||
|
#
|
||||||
|
# search_modes: {
|
||||||
|
# <empty>: fuzzy name
|
||||||
|
# /: regex name
|
||||||
|
# }
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
# File Extension Colors
|
||||||
|
#
|
||||||
|
# uncomment and modify the next section if you want to color
|
||||||
|
# file name depending on their extension
|
||||||
|
#
|
||||||
|
# ext_colors: {
|
||||||
|
# png: rgb(255, 128, 75)
|
||||||
|
# rs: yellow
|
||||||
|
# }
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
# Max file size for content search
|
||||||
|
#
|
||||||
|
# Bigger files are ignored when searching their content. You
|
||||||
|
# can specify this size either in ISO units (eg 5GB) or in
|
||||||
|
# the old binary units (eg 44Kib)
|
||||||
|
content_search_max_file_size: 10MB
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
# Max Panels Count
|
||||||
|
#
|
||||||
|
# Change this if you sometimes want to have more than 2 panels
|
||||||
|
# open
|
||||||
|
# max_panels_count: 2
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
# Imports
|
||||||
|
#
|
||||||
|
# While it's possible to have all configuration in one file,
|
||||||
|
# it's more convenient to split it in several ones.
|
||||||
|
# Importing also allows to set a condition on the terminal's
|
||||||
|
# color, which makes it possible to have a different skin
|
||||||
|
# chosen when your terminal has a light background and when
|
||||||
|
# it has a light one.
|
||||||
|
imports: [
|
||||||
|
|
||||||
|
# Verbs are better configured in verbs.hjson. But you
|
||||||
|
# can also add another files for your personal verbs
|
||||||
|
verbs.hjson
|
||||||
|
|
||||||
|
# This file contains the skin to use when the terminal
|
||||||
|
# is dark (or when this couldn't be determined)
|
||||||
|
{
|
||||||
|
luma: [
|
||||||
|
dark
|
||||||
|
unknown
|
||||||
|
]
|
||||||
|
file: dark-gruvbox.hjson
|
||||||
|
}
|
||||||
|
|
||||||
|
# This skin is imported when your terminal is light
|
||||||
|
{
|
||||||
|
luma: light
|
||||||
|
file: solarized-light.hjson
|
||||||
|
}
|
||||||
|
]
|
@ -4,7 +4,11 @@ alias la='eza -a --icons'
|
|||||||
alias lla='eza -la --icons'
|
alias lla='eza -la --icons'
|
||||||
alias lt='eza --tree --icons'
|
alias lt='eza --tree --icons'
|
||||||
|
|
||||||
alias ls='n -de'
|
alias enchdoomdictlink3='rm ~/.config/enchant/en_US.dic && ln -s ~/.config/doom/dict/zpb-enchant-en_US.dic ~/.config/enchant/en_US.dic'
|
||||||
|
alias enchdoomdictsortandmerge1='sort ~/.config/doom/dict/zpb-enchant-en_US.dic ~/.config/enchant/en_US.dic | uniq > ~/.config/doom/dict/zpb-sorted-and-merged.dic'
|
||||||
|
alias enchdoomdictreplace2='mv ~/.config/doom/dict/zpb-sorted-and-merged.dic ~/.config/doom/dict/zpb-enchant-en_US.dic'
|
||||||
|
|
||||||
|
alias enchdoomdictaio='enchdoomdictsortandmerge1 && enchdoomdictreplace2 && enchdoomdictlink3'
|
||||||
|
|
||||||
alias gdemacs="sudo rm -r /home/zpb/.config/emacs/eln-cache && emacs"
|
alias gdemacs="sudo rm -r /home/zpb/.config/emacs/eln-cache && emacs"
|
||||||
alias gdemacsclient="sudo rm -r /home/zpb/.config/emacs/eln-cache && emacsclient --alternate-editor="" --create-frame"
|
alias gdemacsclient="sudo rm -r /home/zpb/.config/emacs/eln-cache && emacsclient --alternate-editor="" --create-frame"
|
||||||
@ -17,47 +21,4 @@ alias pbpaste='xclip -selection clipboard -o'
|
|||||||
alias stspull='cp -r ~/syncthing/misc/StS-Saves/synced/{preferences,runs,saves} ~/.local/share/Steam/steamapps/common/SlayTheSpire/'
|
alias stspull='cp -r ~/syncthing/misc/StS-Saves/synced/{preferences,runs,saves} ~/.local/share/Steam/steamapps/common/SlayTheSpire/'
|
||||||
alias stspush='cp -r ~/.local/share/Steam/steamapps/common/SlayTheSpire/{preferences,runs,saves} ~/syncthing/misc/StS-Saves/synced/'
|
alias stspush='cp -r ~/.local/share/Steam/steamapps/common/SlayTheSpire/{preferences,runs,saves} ~/syncthing/misc/StS-Saves/synced/'
|
||||||
|
|
||||||
set --export NNN_FCOLORS 96d1b49600b06c00b0d3d3
|
|
||||||
#red d3
|
|
||||||
#orange d1
|
|
||||||
#yellow b4
|
|
||||||
#green 96
|
|
||||||
#aqua 6c
|
|
||||||
#blue 6d
|
|
||||||
#purple b0
|
|
||||||
|
|
||||||
# NNN cd on quit
|
|
||||||
function n --wraps nnn --description 'support nnn quit and change directory'
|
|
||||||
# Block nesting of nnn in subshells
|
|
||||||
if test -n "$NNNLVL" -a "$NNNLVL" -ge 1
|
|
||||||
echo "nnn is already running"
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
# The behaviour is set to cd on quit (nnn checks if NNN_TMPFILE is set)
|
|
||||||
# If NNN_TMPFILE is set to a custom path, it must be exported for nnn to
|
|
||||||
# see. To cd on quit only on ^G, remove the "-x" from both lines below,
|
|
||||||
# without changing the paths.
|
|
||||||
if test -n "$XDG_CONFIG_HOME"
|
|
||||||
set -x NNN_TMPFILE "$XDG_CONFIG_HOME/nnn/.lastd"
|
|
||||||
else
|
|
||||||
set -x NNN_TMPFILE "$HOME/.config/nnn/.lastd"
|
|
||||||
end
|
|
||||||
|
|
||||||
# Unmask ^Q (, ^V etc.) (if required, see `stty -a`) to Quit nnn
|
|
||||||
# stty start undef
|
|
||||||
# stty stop undef
|
|
||||||
# stty lwrap undef
|
|
||||||
# stty lnext undef
|
|
||||||
|
|
||||||
# The command function allows one to alias this function to `nnn` without
|
|
||||||
# making an infinitely recursive alias
|
|
||||||
command nnn $argv
|
|
||||||
|
|
||||||
if test -e $NNN_TMPFILE
|
|
||||||
source $NNN_TMPFILE
|
|
||||||
rm $NNN_TMPFILE
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
zoxide init fish | source
|
zoxide init fish | source
|
||||||
|
32
kitty/.config/kitty/current-theme.conf
Normal file
32
kitty/.config/kitty/current-theme.conf
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
## name: Gruvbox Dark
|
||||||
|
## author: Pavel Pertsev
|
||||||
|
## license: MIT/X11
|
||||||
|
## upstream: https://raw.githubusercontent.com/gruvbox-community/gruvbox-contrib/master/kitty/gruvbox-dark.conf
|
||||||
|
|
||||||
|
selection_foreground #ebdbb2
|
||||||
|
selection_background #d65d0e
|
||||||
|
|
||||||
|
background #282828
|
||||||
|
foreground #ebdbb2
|
||||||
|
|
||||||
|
color0 #3c3836
|
||||||
|
color1 #cc241d
|
||||||
|
color2 #98971a
|
||||||
|
color3 #d79921
|
||||||
|
color4 #458588
|
||||||
|
color5 #b16286
|
||||||
|
color6 #689d6a
|
||||||
|
color7 #a89984
|
||||||
|
color8 #928374
|
||||||
|
color9 #fb4934
|
||||||
|
color10 #b8bb26
|
||||||
|
color11 #fabd2f
|
||||||
|
color12 #83a598
|
||||||
|
color13 #d3869b
|
||||||
|
color14 #8ec07c
|
||||||
|
color15 #fbf1c7
|
||||||
|
|
||||||
|
cursor #bdae93
|
||||||
|
cursor_text_color #665c54
|
||||||
|
|
||||||
|
url_color #458588
|
2459
kitty/.config/kitty/kitty.conf
Normal file
2459
kitty/.config/kitty/kitty.conf
Normal file
File diff suppressed because it is too large
Load Diff
2453
kitty/.config/kitty/kitty.conf.bak
Normal file
2453
kitty/.config/kitty/kitty.conf.bak
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user