Editing a few things for Alacritty and Broot.
This commit is contained in:
parent
87f4139245
commit
23372f6fd0
9
.bashrc
9
.bashrc
|
@ -140,6 +140,10 @@ ex ()
|
||||||
alias ..='cd ..' \
|
alias ..='cd ..' \
|
||||||
...='cd ../..'
|
...='cd ../..'
|
||||||
|
|
||||||
|
# broot
|
||||||
|
alias br='br -dhp'
|
||||||
|
alias bs='br --sizes'
|
||||||
|
|
||||||
# Changing "ls" to "exa"
|
# Changing "ls" to "exa"
|
||||||
alias ls='exa -al --color=always --group-directories-first' # my preferred listing
|
alias ls='exa -al --color=always --group-directories-first' # my preferred listing
|
||||||
alias la='exa -a --color=always --group-directories-first' # all files and dirs
|
alias la='exa -a --color=always --group-directories-first' # all files and dirs
|
||||||
|
@ -163,10 +167,13 @@ alias config="/usr/bin/git --git-dir=$HOME/dotfiles --work-tree=$HOME"
|
||||||
alias tb="nc termbin.com 9999"
|
alias tb="nc termbin.com 9999"
|
||||||
|
|
||||||
### ENABLE VI MODE ###
|
### ENABLE VI MODE ###
|
||||||
#set -o vi
|
set -o vi
|
||||||
|
|
||||||
### SET VIM AS MANPAGER ###
|
### SET VIM AS MANPAGER ###
|
||||||
export MANPAGER="/bin/sh -c \"col -b | vim --not-a-term -c 'set ft=man ts=8 nomod nolist noma' -\""
|
export MANPAGER="/bin/sh -c \"col -b | vim --not-a-term -c 'set ft=man ts=8 nomod nolist noma' -\""
|
||||||
|
|
||||||
### BASH POWERLINE ###
|
### BASH POWERLINE ###
|
||||||
source ~/.bash-powerline.sh
|
source ~/.bash-powerline.sh
|
||||||
|
|
||||||
|
### BROOT ###
|
||||||
|
source /home/dt/.config/broot/launcher/bash/br
|
||||||
|
|
|
@ -0,0 +1,90 @@
|
||||||
|
|
||||||
|
# This configuration file lets you define new commands
|
||||||
|
# or change the shortcut or triggering keys of built-in verbs.
|
||||||
|
# You can change the colors of broot too.
|
||||||
|
#
|
||||||
|
# Configuration documentation is available at https://dystroy.org/broot
|
||||||
|
#
|
||||||
|
|
||||||
|
#####################
|
||||||
|
# user defined verbs:
|
||||||
|
|
||||||
|
# If $EDITOR isn't set on your computer, you should either set it using
|
||||||
|
# something similar to
|
||||||
|
# export EDITOR=/usr/bin/nvim
|
||||||
|
# or just replace it with your editor of choice in the 'execution'
|
||||||
|
# pattern.
|
||||||
|
# Example:
|
||||||
|
# execution = "/usr/bin/nvim {file}"
|
||||||
|
[[verbs]]
|
||||||
|
invocation = "edit"
|
||||||
|
key = "F2"
|
||||||
|
shortcut = "e"
|
||||||
|
execution = "$EDITOR {file}"
|
||||||
|
|
||||||
|
[[verbs]]
|
||||||
|
key = "ctrl-c"
|
||||||
|
execution = ":quit"
|
||||||
|
|
||||||
|
[[verbs]]
|
||||||
|
invocation = "create {subpath}"
|
||||||
|
execution = "$EDITOR {directory}/{subpath}"
|
||||||
|
|
||||||
|
# If $PAGER isn't set on your computer, you should either set it
|
||||||
|
# or just replace it with your viewer of choice in the 'execution'
|
||||||
|
# pattern.
|
||||||
|
# Example:
|
||||||
|
# execution = "less {file}"
|
||||||
|
[[verbs]]
|
||||||
|
name = "view"
|
||||||
|
invocation = "view"
|
||||||
|
execution = "$PAGER {file}"
|
||||||
|
|
||||||
|
#####################
|
||||||
|
# Skin
|
||||||
|
|
||||||
|
# If you want to change the colors of broot,
|
||||||
|
# uncomment the following bloc and start messing
|
||||||
|
# with the various values
|
||||||
|
# Note that some of those colors might not correcly
|
||||||
|
# render on terminals with low capabilities
|
||||||
|
#
|
||||||
|
[skin]
|
||||||
|
default = "white None"
|
||||||
|
# tree = "rgb(89, 73, 101) none"
|
||||||
|
file = "gray(21) none"
|
||||||
|
# directory = "rgb(255, 152, 0) none bold"
|
||||||
|
# exe = "rgb(17, 164, 181) none"
|
||||||
|
# link = "Magenta none"
|
||||||
|
# pruning = "rgb(89, 73, 101) none Italic"
|
||||||
|
# perm__ = "gray(5) None"
|
||||||
|
# perm_r = "ansi(94) None"
|
||||||
|
# perm_w = "ansi(132) None"
|
||||||
|
# perm_x = "ansi(65) None"
|
||||||
|
# owner = "gray(12) none"
|
||||||
|
# group = "gray(12) none"
|
||||||
|
selected_line = "none black"
|
||||||
|
char_match = "ansi(10) none"
|
||||||
|
# file_error = "Red none"
|
||||||
|
# flag_label = "gray(16) none"
|
||||||
|
# flag_value = "rgb(255, 152, 0) none bold"
|
||||||
|
# input = "White none"
|
||||||
|
# status_error = "Red gray(2)"
|
||||||
|
status_job = "ansi(220) ansi(10)"
|
||||||
|
status_normal = "ansi(0) ansi(10)"
|
||||||
|
status_italic = "ansi(10) ansi(0)"
|
||||||
|
status_bold = "rgb(255, 152, 0) None bold"
|
||||||
|
status_code = "ansi(229) ansi(10)"
|
||||||
|
# status_ellipsis = "gray(19) gray(1)"
|
||||||
|
# scrollbar_track = "rgb(80, 50, 0) none"
|
||||||
|
# scrollbar_thumb = "rgb(255, 187, 0) none"
|
||||||
|
# help_paragraph = "gray(20) none"
|
||||||
|
# help_bold = "rgb(255, 187, 0) none bold"
|
||||||
|
# help_italic = "Magenta rgb(30, 30, 40) italic"
|
||||||
|
# help_code = "gray(21) gray(3)"
|
||||||
|
# help_headers = "rgb(255, 187, 0) none"
|
||||||
|
|
||||||
|
# You may find other skins on
|
||||||
|
# https://dystroy.org/broot/documentation/configuration/#colors
|
||||||
|
# for example a skin suitable for white backgrounds
|
||||||
|
|
|
@ -8,7 +8,8 @@
|
||||||
# Dmenu script for editing some of my more frequently edited config files.
|
# Dmenu script for editing some of my more frequently edited config files.
|
||||||
|
|
||||||
|
|
||||||
declare options=("awesome
|
declare options=("alacritty
|
||||||
|
awesome
|
||||||
bash
|
bash
|
||||||
bspwm
|
bspwm
|
||||||
doom.d/config.el
|
doom.d/config.el
|
||||||
|
@ -34,6 +35,9 @@ case "$choice" in
|
||||||
quit)
|
quit)
|
||||||
echo "Program terminated." && exit 1
|
echo "Program terminated." && exit 1
|
||||||
;;
|
;;
|
||||||
|
alacritty)
|
||||||
|
choice="$HOME/.config/alacritty/alacritty.yml"
|
||||||
|
;;
|
||||||
awesome)
|
awesome)
|
||||||
choice="$HOME/.config/awesome/rc.lua"
|
choice="$HOME/.config/awesome/rc.lua"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -5,3 +5,6 @@
|
||||||
;; (package! some-package)
|
;; (package! some-package)
|
||||||
;; (package! another-package :recipe (:host github :repo "username/repo"))
|
;; (package! another-package :recipe (:host github :repo "username/repo"))
|
||||||
;; (package! builtin-package :disable t)
|
;; (package! builtin-package :disable t)
|
||||||
|
|
||||||
|
|
||||||
|
(package! emojify)
|
||||||
|
|
1
.vimrc
1
.vimrc
|
@ -16,7 +16,6 @@ Plugin 'vim-airline/vim-airline-themes' " Airline Themes
|
||||||
Plugin 'scrooloose/nerdtree' " added nerdtree
|
Plugin 'scrooloose/nerdtree' " added nerdtree
|
||||||
Plugin 'tiagofumo/vim-nerdtree-syntax-highlight'
|
Plugin 'tiagofumo/vim-nerdtree-syntax-highlight'
|
||||||
Plugin 'ryanoasis/vim-devicons'
|
Plugin 'ryanoasis/vim-devicons'
|
||||||
Plugin 'dracula/vim', { 'name': 'dracula' }
|
|
||||||
Plugin 'vim-python/python-syntax'
|
Plugin 'vim-python/python-syntax'
|
||||||
Plugin 'jreybert/vimagit'
|
Plugin 'jreybert/vimagit'
|
||||||
Plugin 'severin-lemaignan/vim-minimap'
|
Plugin 'severin-lemaignan/vim-minimap'
|
||||||
|
|
2
.zshrc
2
.zshrc
|
@ -154,3 +154,5 @@ bindkey '^R' history-incremental-search-backward
|
||||||
|
|
||||||
export MANPAGER="/bin/sh -c \"col -b | vim --not-a-term -c 'set ft=man ts=8 nomod nolist noma' -\""
|
export MANPAGER="/bin/sh -c \"col -b | vim --not-a-term -c 'set ft=man ts=8 nomod nolist noma' -\""
|
||||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
|
|
||||||
|
source /home/dt/.config/broot/launcher/bash/br
|
||||||
|
|
Loading…
Reference in New Issue