first commit
|
@ -0,0 +1,436 @@
|
|||
# Path to your oh-my-bash installation.
|
||||
export OSH=/home/jose/.oh-my-bash
|
||||
|
||||
# Set name of the theme to load. Optionally, if you set this to "random"
|
||||
# it'll load a random theme each time that oh-my-bash is loaded.
|
||||
OSH_THEME="demula"
|
||||
|
||||
# Uncomment the following line to use case-sensitive completion.
|
||||
# CASE_SENSITIVE="true"
|
||||
|
||||
# Uncomment the following line to use hyphen-insensitive completion. Case
|
||||
# sensitive completion must be off. _ and - will be interchangeable.
|
||||
# HYPHEN_INSENSITIVE="true"
|
||||
|
||||
# Uncomment the following line to disable bi-weekly auto-update checks.
|
||||
# DISABLE_AUTO_UPDATE="true"
|
||||
|
||||
# Uncomment the following line to change how often to auto-update (in days).
|
||||
# export UPDATE_OSH_DAYS=13
|
||||
|
||||
# Uncomment the following line to disable colors in ls.
|
||||
# DISABLE_LS_COLORS="true"
|
||||
|
||||
# Uncomment the following line to disable auto-setting terminal title.
|
||||
# DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Uncomment the following line to enable command auto-correction.
|
||||
# ENABLE_CORRECTION="true"
|
||||
|
||||
# Uncomment the following line to display red dots whilst waiting for completion.
|
||||
# COMPLETION_WAITING_DOTS="true"
|
||||
|
||||
# Uncomment the following line if you want to disable marking untracked files
|
||||
# under VCS as dirty. This makes repository status check for large repositories
|
||||
# much, much faster.
|
||||
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
||||
|
||||
# Uncomment the following line if you want to change the command execution time
|
||||
# stamp shown in the history command output.
|
||||
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||
HIST_STAMPS="dd.mm.yyyy"
|
||||
|
||||
# Would you like to use another custom folder than $OSH/custom?
|
||||
# OSH_CUSTOM=/path/to/new-custom-folder
|
||||
|
||||
# Which completions would you like to load? (completions can be found in ~/.oh-my-bash/completions/*)
|
||||
# Custom completions may be added to ~/.oh-my-bash/custom/completions/
|
||||
# Example format: completions=(ssh git bundler gem pip pip3)
|
||||
# Add wisely, as too many completions slow down shell startup.
|
||||
completions=(
|
||||
git
|
||||
composer
|
||||
ssh
|
||||
)
|
||||
|
||||
# Which aliases would you like to load? (aliases can be found in ~/.oh-my-bash/aliases/*)
|
||||
# Custom aliases may be added to ~/.oh-my-bash/custom/aliases/
|
||||
# Example format: aliases=(vagrant composer git-avh)
|
||||
# Add wisely, as too many aliases slow down shell startup.
|
||||
aliases=(
|
||||
general
|
||||
ls
|
||||
chmod
|
||||
misc)
|
||||
|
||||
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-bash/plugins/*)
|
||||
# Custom plugins may be added to ~/.oh-my-bash/custom/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
plugins=(
|
||||
git
|
||||
bashmarks
|
||||
)
|
||||
|
||||
source $OSH/oh-my-bash.sh
|
||||
|
||||
# User configuration
|
||||
# export MANPATH="/usr/local/man:$MANPATH"
|
||||
|
||||
# You may need to manually set your language environment
|
||||
export LANG=es_ES.UTF-8
|
||||
|
||||
#LOCAL bin directory
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
# Expand the history size
|
||||
export HISTFILESIZE=10000
|
||||
export HISTSIZE=500
|
||||
|
||||
# Don't put duplicate lines in the history and do not add lines that start with a space
|
||||
export HISTCONTROL=erasedups:ignoredups:ignorespace
|
||||
|
||||
# Show auto-completion list automatically, without double tab
|
||||
if [[ $iatest > 0 ]]; then bind "set show-all-if-ambiguous On"; fi
|
||||
|
||||
# To have colors for ls and all grep commands such as grep, egrep and zgrep
|
||||
export CLICOLOR=1
|
||||
export LS_COLORS='no=00:fi=00:di=00;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.ogg=01;35:*.mp3=01;35:*.wav=01;35:*.xml=00;31:'
|
||||
#export GREP_OPTIONS='--color=auto' #deprecated
|
||||
alias grep="/usr/bin/grep $GREP_OPTIONS"
|
||||
unset GREP_OPTIONS
|
||||
|
||||
# Color for manpages in less makes manpages a little easier to read
|
||||
export LESS_TERMCAP_mb=$'\E[01;31m'
|
||||
export LESS_TERMCAP_md=$'\E[01;31m'
|
||||
export LESS_TERMCAP_me=$'\E[0m'
|
||||
export LESS_TERMCAP_se=$'\E[0m'
|
||||
export LESS_TERMCAP_so=$'\E[01;44;33m'
|
||||
export LESS_TERMCAP_ue=$'\E[0m'
|
||||
export LESS_TERMCAP_us=$'\E[01;32m'
|
||||
|
||||
# kill a given process by name
|
||||
function pskill() {
|
||||
ps ax | grep "$1" | grep -v grep | awk '{ print $1 }' | xargs kill
|
||||
}
|
||||
|
||||
# Copy file with a progress bar
|
||||
cpp()
|
||||
{
|
||||
set -e
|
||||
strace -q -ewrite cp -- "${1}" "${2}" 2>&1 \
|
||||
| awk '{
|
||||
count += $NF
|
||||
if (count % 10 == 0) {
|
||||
percent = count / total_size * 100
|
||||
printf "%3d%% [", percent
|
||||
for (i=0;i<=percent;i++)
|
||||
printf "="
|
||||
printf ">"
|
||||
for (i=percent;i<100;i++)
|
||||
printf " "
|
||||
printf "]\r"
|
||||
}
|
||||
}
|
||||
END { print "" }' total_size=$(stat -c '%s' "${1}") count=0
|
||||
}
|
||||
|
||||
# Copy and go to the directory
|
||||
cpg ()
|
||||
{
|
||||
if [ -d "$2" ];then
|
||||
cp $1 $2 && cd $2
|
||||
else
|
||||
cp $1 $2
|
||||
fi
|
||||
}
|
||||
|
||||
# Move and go to the directory
|
||||
mvg ()
|
||||
{
|
||||
if [ -d "$2" ];then
|
||||
mv $1 $2 && cd $2
|
||||
else
|
||||
mv $1 $2
|
||||
fi
|
||||
}
|
||||
|
||||
# Create and go to the directory
|
||||
mkdirg ()
|
||||
{
|
||||
mkdir -p $1
|
||||
cd $1
|
||||
}
|
||||
|
||||
# Goes up a specified number of directories (i.e. up 4)
|
||||
up ()
|
||||
{
|
||||
local d=""
|
||||
limit=$1
|
||||
for ((i=1 ; i <= limit ; i++))
|
||||
do
|
||||
d=$d/..
|
||||
done
|
||||
d=$(echo $d | sed 's/^\///')
|
||||
if [ -z "$d" ]; then
|
||||
d=..
|
||||
fi
|
||||
cd $d
|
||||
}
|
||||
|
||||
# Preferred editor for local and remote sessions
|
||||
# if [[ -n $SSH_CONNECTION ]]; then
|
||||
# export EDITOR='vim'
|
||||
# else
|
||||
# export EDITOR='mvim'
|
||||
# fi
|
||||
|
||||
# Compilation flags
|
||||
# export ARCHFLAGS="-arch x86_64"
|
||||
|
||||
# ssh
|
||||
# export SSH_KEY_PATH="~/.ssh/rsa_id"
|
||||
|
||||
# Set personal aliases, overriding those provided by oh-my-bash libs,
|
||||
# plugins, and themes. Aliases can be placed here, though oh-my-bash
|
||||
# users are encouraged to define aliases within the OSH_CUSTOM folder.
|
||||
# For a full list of active aliases, run `alias`.
|
||||
#
|
||||
# Example aliases
|
||||
# alias bashconfig="mate ~/.bashrc"
|
||||
# alias ohmybash="mate ~/.oh-my-bash"
|
||||
|
||||
#Void Linux
|
||||
alias search="xbps-query -Rs"
|
||||
alias install="sudo xbps-install -S"
|
||||
alias update="sudo xbps-install -Su"
|
||||
alias clean="sudo xbps-remove -O"
|
||||
alias remove="sudo xbps-remove -R"
|
||||
alias reconf="sudo xbps-reconfigure"
|
||||
alias update-grub="sudo grub-mkconfig -o /boot/grub/grub.cfg"
|
||||
alias restricted="void && grep -rl '^restricted=' srcpkgs/"
|
||||
alias services="sudo sv status /var/service/*"
|
||||
alias non-free="xbps-query -Mi --repo=https://alpha.de.repo.voidlinux.org/current/nonfree -s \*"
|
||||
alias doit="sce && topgrade && clean && hblock && ytfzfi && clear"
|
||||
alias sce="cd ~/ && source .bashrc"
|
||||
alias void="cd /home/jose/Plantillas/void-linux/void-packages"
|
||||
alias mklive="cd /home/jose/Plantillas/void-linux/void-mklive"
|
||||
alias ignpa="echo "ignorepkg=pulseaudio" | sudo tee -a /etc/xbps.d/XX-ignore.conf"
|
||||
alias etcher="cd ~/Plantillas/varios/etcher && npm start"
|
||||
alias goodies="cd ~/Plantillas/void-linux/void-goodies && git pull"
|
||||
alias xanmod="cd ~/Plantillas/void-linux/xanmod/void-packages && git pull"
|
||||
alias nvoid="cd ~/Plantillas/void-linux/nvoid && git pull"
|
||||
alias git-update="cd ~/Plantillas/void-linux/void-packages && git pull && cd ~/Plantillas/void-linux/void-mklive && git pull"
|
||||
alias ymir="cd ~/Plantillas/void-linux/ymir-linux/void-packages"
|
||||
alias ymirp="cd ~/Plantillas/void-linux/ymir-linux/void-packages && git pull"
|
||||
alias voidp="git clone git://github.com/void-linux/void-packages.git && xbpsbb"
|
||||
alias agar="cd ~/Público/AgarimOS/"
|
||||
|
||||
#youtube-dl
|
||||
alias yta-aac="youtube-dl --extract-audio --audio-format aac"
|
||||
alias yta-best="youtube-dl --extract-audio --audio-format best"
|
||||
alias yta-flac="youtube-dl --extract-audio --audio-format flac"
|
||||
alias yta-m4a="youtube-dl --extract-audio --audio-format m4a"
|
||||
alias yta-mp3="youtube-dl --extract-audio --audio-format mp3"
|
||||
alias yta-opus="youtube-dl --extract-audio --audio-format opus"
|
||||
alias yta-vorbis="youtube-dl --extract-audio --audio-format vorbis"
|
||||
alias yta-wav="youtube-dl --extract-audio --audio-format wav"
|
||||
|
||||
alias ytv-best="youtube-dl -f bestvideo+bestaudio"
|
||||
|
||||
# Corona
|
||||
alias top10="curl 'https://corona-stats.online?top=10&source=2&minimal=true&emojis=true'"
|
||||
alias top20="curl 'https://corona-stats.online?top=20&source=2&minimal=true&emojis=true'"
|
||||
alias top30="curl 'https://corona-stats.online?top=30&source=2&minimal=true&emojis=true'"
|
||||
alias top40="curl 'https://corona-stats.online?top=40&source=2&minimal=true&emojis=true'"
|
||||
|
||||
alias coves="curl -L covid19.trackercli.com/es"
|
||||
alias covat="curl -L covid19.trackercli.com/at"
|
||||
alias covuk="curl -L covid19.trackercli.com/gb"
|
||||
alias covde="curl -L covid19.trackercli.com/de"
|
||||
alias covfr="curl -L covid19.trackercli.com/fr"
|
||||
alias covru="curl -L covid19.trackercli.com/ru"
|
||||
alias covil="curl -L covid19.trackercli.com/il"
|
||||
alias covit="curl -L covid19.trackercli.com/it"
|
||||
alias covbe="curl -L covid19.trackercli.com/be"
|
||||
alias covpt="curl -L covid19.trackercli.com/pt"
|
||||
alias covnl="curl -L covid19.trackercli.com/nl"
|
||||
alias covch="curl -L covid19.trackercli.com/ch"
|
||||
|
||||
# I am lazy
|
||||
alias ..='cd ..'
|
||||
alias ...='cd ../..'
|
||||
alias ....='cd ../../..'
|
||||
alias .....='cd ../../../..'
|
||||
alias ......='cd ../../../../..'
|
||||
alias descargas="cd /home/jose/Descargas"
|
||||
alias videos="cd /home/jose/Vídeos"
|
||||
alias themes="cd /usr/share/themes"
|
||||
alias fonts="cd /usr/share/fonts"
|
||||
alias icons="cd /usr/share/icons"
|
||||
alias trash="sudo rm -rf ~/.local/share/Trash/*"
|
||||
alias npmu="sudo npm upgrade -g npm"
|
||||
alias nzsh=" cd ~ && nano .bashrc"
|
||||
alias chsh="chsh -s /bin/zsh"
|
||||
alias sce="src"
|
||||
alias del="rm -rf"
|
||||
alias ft="fc-cache -f -v"
|
||||
alias kzsh="kate ~/.bashrc"
|
||||
alias probe="sudo -E hw-probe -all -upload"
|
||||
alias fzsh="cd ~ && featherpad .bashrc"
|
||||
alias npmaf="npm audit fix"
|
||||
alias ter="sensors"
|
||||
alias diff='colordiff'
|
||||
alias untar='tar -zxvf'
|
||||
alias multitail='multitail --no-repeat -c'
|
||||
alias loc="locate"
|
||||
alias lc="lsd -lA"
|
||||
alias ext="extract"
|
||||
alias vi="vim"
|
||||
alias mount='mount |column -t'
|
||||
|
||||
#Alias Kitty
|
||||
alias icat="kitty +kitten icat"
|
||||
alias d="kitty +kitten diff"
|
||||
alias clip="kitty +kitten clipboard"
|
||||
|
||||
#Alias inxi
|
||||
|
||||
alias mac="inxi -zv8"
|
||||
alias weather="inxi -wxxx"
|
||||
alias machine="inxi -Fxxxrza"
|
||||
|
||||
#Ricing
|
||||
alias nerdfetch="curl -fsSL https://raw.githubusercontent.com/ThatOneCalculator/NerdFetch/master/nerdfetch | sh"
|
||||
alias pipesa="cpipes -p30 -r1"
|
||||
alias pipesb="cpipes -p100 -r0 -i1"
|
||||
alias pman="colorscript -e 30"
|
||||
alias skull="colorscript -e 33"
|
||||
alias spaceinvaders="colorscript -e 38"
|
||||
|
||||
#Ytfzf
|
||||
alias showme="ytfzf -t"
|
||||
alias ytfzfi="curl -sL "https://raw.githubusercontent.com/pystardust/ytfzf/master/ytfzf" | sudo tee /usr/local/bin/ytfzf >/dev/null && sudo chmod 755 /usr/local/bin/ytfzf"
|
||||
|
||||
#Common mistakes
|
||||
|
||||
alias cd..='cd ..'
|
||||
alias pdw="pwd"
|
||||
alias isntall="install"
|
||||
|
||||
#Other aliases
|
||||
|
||||
# reboot / halt / poweroff
|
||||
alias reboot='sudo /sbin/reboot'
|
||||
alias poweroff='sudo /sbin/poweroff'
|
||||
alias halt='sudo /sbin/halt'
|
||||
alias shutdown='sudo /sbin/shutdown'
|
||||
|
||||
# alias chmod commands
|
||||
alias mx='chmod a+x'
|
||||
alias 000='chmod -R 000'
|
||||
alias 644='chmod -R 644'
|
||||
alias 666='chmod -R 666'
|
||||
alias 755='chmod -R 755'
|
||||
alias 777='chmod -R 777'
|
||||
|
||||
# Search command line history
|
||||
alias h="history | grep "
|
||||
alias tree='tree -CAhF --dirsfirst'
|
||||
alias treed='tree -CAFd'
|
||||
alias mountedinfo='df -hT'
|
||||
|
||||
# cd into the old directory
|
||||
alias bd='cd "$OLDPWD"'
|
||||
|
||||
# Remove a directory and all files
|
||||
alias rmd='/bin/rm --recursive --force --verbose'
|
||||
|
||||
# Stop after sending count ECHO_REQUEST packets #
|
||||
alias ping='ping -c 5'
|
||||
|
||||
# Do not wait interval 1 second, go fast #
|
||||
alias fastping='ping -c 100 -s.2'
|
||||
|
||||
## shortcut for iptables and pass it via sudo#
|
||||
alias ipt='sudo /sbin/iptables'
|
||||
|
||||
# display all rules #
|
||||
alias iptlist='sudo /sbin/iptables -L -n -v --line-numbers'
|
||||
alias iptlistin='sudo /sbin/iptables -L INPUT -n -v --line-numbers'
|
||||
alias iptlistout='sudo /sbin/iptables -L OUTPUT -n -v --line-numbers'
|
||||
alias iptlistfw='sudo /sbin/iptables -L FORWARD -n -v --line-numbers'
|
||||
alias firewall=iptlist
|
||||
|
||||
# do not delete / or prompt if deleting more than 3 files at a time #
|
||||
alias rm='rm -I --preserve-root'
|
||||
|
||||
# get web server headers #
|
||||
alias header='curl -I'
|
||||
|
||||
# find out if remote server supports gzip / mod_deflate or not #
|
||||
alias headerc='curl -I --compress'
|
||||
|
||||
# confirmation #
|
||||
alias mv='mv -i'
|
||||
alias cp='cp -i'
|
||||
alias ln='ln -i'
|
||||
|
||||
# Parenting changing perms on / #
|
||||
alias chown='chown --preserve-root'
|
||||
alias chmod='chmod --preserve-root'
|
||||
alias chgrp='chgrp --preserve-root'
|
||||
|
||||
## pass options to free ##
|
||||
alias meminfo='free -m -l -t'
|
||||
|
||||
## get top process eating memory
|
||||
alias psmem='ps auxf | sort -nr -k 4'
|
||||
alias psmem10='ps auxf | sort -nr -k 4 | head -10'
|
||||
|
||||
## get top process eating cpu ##
|
||||
alias pscpu='ps auxf | sort -nr -k 3'
|
||||
alias pscpu10='ps auxf | sort -nr -k 3 | head -10'
|
||||
|
||||
## Get server cpu info ##
|
||||
alias cpuinfo='lscpu'
|
||||
|
||||
## get GPU ram on desktop / laptop##
|
||||
alias gpumeminfo='grep -i --color memory /var/log/Xorg.0.log'
|
||||
|
||||
# become root #
|
||||
alias root='sudo -i'
|
||||
alias su='sudo -i'
|
||||
|
||||
# Time
|
||||
alias now='date +"%T"'
|
||||
alias nowtime='now'
|
||||
alias nowdate='date +"%d-%m-%Y"'
|
||||
|
||||
# make directory and any parent directories needed
|
||||
alias mkdir='mkdir -p'
|
||||
|
||||
# Give less options to man
|
||||
export MANPAGER='less -s -M +Gg'
|
||||
|
||||
## this one saved by butt so many times ##
|
||||
alias wget='wget -c'
|
||||
alias path='echo -e ${PATH//:/\\n}'
|
||||
|
||||
# make common commands easier to read for humans
|
||||
alias df="df -Tha --total"
|
||||
alias du="du -ach | sort -h"
|
||||
alias free="free -mth"
|
||||
|
||||
# custom cmatrix
|
||||
#alias cmatrix="cmatrix -bC yellow"
|
||||
|
||||
# search processes (find PID easily)
|
||||
alias psg="ps aux | grep -v grep | grep -i -e VSZ -e"
|
||||
# show all processes
|
||||
alias psf="ps auxfww"
|
||||
#given a PID, intercept the stdout and stderr
|
||||
alias intercept="sudo strace -ff -e trace=write -e write=1,2 -p"
|
||||
|
||||
wal -n -q -i /home/jose/Imágenes/walls/wall12.jpg
|
||||
nerdfetch
|
|
@ -0,0 +1,30 @@
|
|||
# configuration file for betterlockscreen
|
||||
|
||||
# colour inside ring
|
||||
insidecolor=00000000
|
||||
# colour inside ring while checking
|
||||
insidevercolor=00000000
|
||||
# colour inside ring when you make an incorrect attempt
|
||||
insidewrongcolor=46837D
|
||||
|
||||
# colour of ring
|
||||
ringcolor=476D6D
|
||||
# colour of ring while checking
|
||||
ringvercolor=32847B
|
||||
# colour of ring when you make an incorrect attempt
|
||||
ringwrongcolor=476D6D
|
||||
|
||||
# colour of section on ring when you press a key
|
||||
keyhlcolor=32847B
|
||||
# colour of section on ring when you backspace
|
||||
bshlcolor=476D6D
|
||||
|
||||
# colour of time text
|
||||
timecolor=d0d0d0ff
|
||||
# colour of lockscreen text
|
||||
datecolor=d0d0d0ff
|
||||
|
||||
# unknown
|
||||
separatorcolor=00000000
|
||||
verifcolor=0000ffff
|
||||
loginbox=00000066
|
|
@ -0,0 +1,28 @@
|
|||
#: Terminal bell {{{
|
||||
|
||||
enable_audio_bell yes
|
||||
|
||||
#: Enable/disable the audio bell. Useful in environments that require
|
||||
#: silence.
|
||||
|
||||
visual_bell_duration 0.0
|
||||
|
||||
#: Visual bell duration. Flash the screen when a bell occurs for the
|
||||
#: specified number of seconds. Set to zero to disable.
|
||||
|
||||
window_alert_on_bell yes
|
||||
|
||||
#: Request window attention on bell. Makes the dock icon bounce on
|
||||
#: macOS or the taskbar flash on linux.
|
||||
|
||||
bell_on_tab yes
|
||||
|
||||
#: Show a bell symbol on the tab if a bell occurs in one of the
|
||||
#: windows in the tab and the window is not the currently focused
|
||||
#: window
|
||||
|
||||
command_on_bell none
|
||||
|
||||
#: Program to run when a bell occurs.
|
||||
|
||||
#: }}}
|
|
@ -0,0 +1,29 @@
|
|||
#: Cursor customization {{{
|
||||
|
||||
cursor #fdc253
|
||||
|
||||
#: Default cursor color
|
||||
|
||||
cursor_text_color #111111
|
||||
|
||||
#: Choose the color of text under the cursor. If you want it rendered
|
||||
#: with the background color of the cell underneath instead, use the
|
||||
#: special keyword: background
|
||||
|
||||
cursor_shape underline
|
||||
|
||||
#: The cursor shape can be one of (block, beam, underline)
|
||||
|
||||
cursor_blink_interval -1
|
||||
|
||||
#: The interval (in seconds) at which to blink the cursor. Set to zero
|
||||
#: to disable blinking. Negative values mean use system default. Note
|
||||
#: that numbers smaller than repaint_delay will be limited to
|
||||
#: repaint_delay.
|
||||
|
||||
cursor_stop_blinking_after 15.0
|
||||
|
||||
#: Stop blinking cursor after the specified number of seconds of
|
||||
#: keyboard inactivity. Set to zero to never stop blinking.
|
||||
|
||||
#: }}}
|
|
@ -0,0 +1,16 @@
|
|||
font_family JetBrains Mono Nerd Font
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
|
||||
# font size
|
||||
font_size 10.0
|
||||
|
||||
adjust_line_height 0
|
||||
adjust_column_width 0
|
||||
|
||||
# disable ligature under cursor to see actual chars
|
||||
disable_ligatures never
|
||||
|
||||
# dunno what it does
|
||||
box_drawing_scale 0.001, 1, 1.5, 2
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
map F5 launch --location=hsplit
|
||||
map F6 launch --location=vsplit
|
||||
map F7 layout_action rotate
|
||||
|
||||
map shift+up move_window up
|
||||
map shift+left move_window left
|
||||
map shift+right move_window right
|
||||
map shift+down move_window down
|
||||
|
||||
map ctrl+left neighboring_window left
|
||||
map ctrl+right neighboring_window right
|
||||
map ctrl+up neighboring_window up
|
||||
map ctrl+down neighboring_window down
|
||||
|
||||
map ctrl+left resize_window narrower
|
||||
map ctrl+right resize_window wider
|
||||
map ctrl+up resize_window taller
|
||||
map ctrl+down resize_window shorter 3
|
|
@ -0,0 +1,12 @@
|
|||
include ./cursor.conf
|
||||
include ./bell.conf
|
||||
include ./font.conf
|
||||
include ./scrollback.conf
|
||||
include ./mouse.conf
|
||||
include ./performance.conf
|
||||
include ./tab.conf
|
||||
include ./keybindings.conf
|
||||
include ~/.cache/wal/colors-kitty.conf
|
||||
|
||||
enabled_layouts splits:split_axis=horizontal
|
||||
allow_remote_control yes
|
|
@ -0,0 +1,73 @@
|
|||
#: Mouse {{{
|
||||
|
||||
mouse_hide_wait 3.0
|
||||
|
||||
#: Hide mouse cursor after the specified number of seconds of the
|
||||
#: mouse not being used. Set to zero to disable mouse cursor hiding.
|
||||
#: Set to a negative value to hide the mouse cursor immediately when
|
||||
#: typing text.
|
||||
|
||||
url_color #0087bd
|
||||
url_style curly
|
||||
|
||||
#: The color and style for highlighting URLs on mouse-over. url_style
|
||||
#: can be one of: none, single, double, curly
|
||||
|
||||
open_url_modifiers kitty_mod
|
||||
|
||||
|
||||
#: The modifier keys to press when clicking with the mouse on URLs to
|
||||
#: open the URL
|
||||
|
||||
open_url_with default
|
||||
|
||||
#: The program with which to open URLs that are clicked on. The
|
||||
#: special value default means to use the operating system's default
|
||||
#: URL handler.
|
||||
|
||||
copy_on_select no
|
||||
|
||||
#: Copy to clipboard or a private buffer on select. With this set to
|
||||
#: clipboard, simply selecting text with the mouse will cause the text
|
||||
#: to be copied to clipboard. Useful on platforms such as macOS that
|
||||
#: do not have the concept of primary selections. You can instead
|
||||
#: specify a name such as a1 to copy to a private kitty buffer
|
||||
#: instead. Map a shortcut with the paste_from_buffer action to paste
|
||||
#: from this private buffer. For example::
|
||||
|
||||
#: map cmd+shift+v paste_from_buffer a1
|
||||
|
||||
#: Note that copying to the clipboard is a security risk, as all
|
||||
#: programs, including websites open in your browser can read the
|
||||
#: contents of the system clipboard.
|
||||
|
||||
strip_trailing_spaces never
|
||||
|
||||
|
||||
#: Remove spaces at the end of lines when copying to clipboard. A
|
||||
#: value of smart will do it when using normal selections, but not
|
||||
#: rectangle selections. always will always do it.
|
||||
|
||||
rectangle_select_modifiers ctrl+alt
|
||||
|
||||
#: The modifiers to use rectangular selection (i.e. to select text in
|
||||
#: a rectangular block with the mouse)
|
||||
|
||||
select_by_word_characters :@-./_~?&=%+#
|
||||
|
||||
#: Characters considered part of a word when double clicking. In
|
||||
#: addition to these characters any character that is marked as an
|
||||
#: alpha-numeric character in the unicode database will be matched.
|
||||
|
||||
click_interval -1.0
|
||||
|
||||
#: The interval between successive clicks to detect double/triple
|
||||
#: clicks (in seconds). Negative numbers will use the system default
|
||||
#: instead, if available, or fallback to 0.5.
|
||||
|
||||
focus_follows_mouse no
|
||||
|
||||
#: Set the active window to the window under the mouse when moving the
|
||||
#: mouse around
|
||||
|
||||
#: }}}
|
|
@ -0,0 +1,29 @@
|
|||
#: Performance tuning {{{
|
||||
|
||||
repaint_delay 10
|
||||
|
||||
#: Delay (in milliseconds) between screen updates. Decreasing it,
|
||||
#: increases frames-per-second (FPS) at the cost of more CPU usage.
|
||||
#: The default value yields ~100 FPS which is more than sufficient for
|
||||
#: most uses. Note that to actually achieve 100 FPS you have to either
|
||||
#: set sync_to_monitor to no or use a monitor with a high refresh
|
||||
#: rate.
|
||||
|
||||
input_delay 3
|
||||
|
||||
#: Delay (in milliseconds) before input from the program running in
|
||||
#: the terminal is processed. Note that decreasing it will increase
|
||||
#: responsiveness, but also increase CPU usage and might cause flicker
|
||||
#: in full screen programs that redraw the entire screen on each loop,
|
||||
#: because kitty is so fast that partial screen updates will be drawn.
|
||||
|
||||
sync_to_monitor yes
|
||||
|
||||
#: Sync screen updates to the refresh rate of the monitor. This
|
||||
#: prevents tearing (https://en.wikipedia.org/wiki/Screen_tearing)
|
||||
#: when scrolling. However, it limits the rendering speed to the
|
||||
#: refresh rate of your monitor. With a very high speed mouse/high
|
||||
#: keyboard repeat rate, you may notice some slight input latency. If
|
||||
#: so, set this to no.
|
||||
|
||||
#: }}}
|
|
@ -0,0 +1,43 @@
|
|||
#: Scrollback {{{
|
||||
|
||||
scrollback_lines 2000
|
||||
|
||||
#: Number of lines of history to keep in memory for scrolling back.
|
||||
#: Memory is allocated on demand. Negative numbers are (effectively)
|
||||
#: infinite scrollback. Note that using very large scrollback is not
|
||||
#: recommended as it can slow down resizing of the terminal and also
|
||||
#: use large amounts of RAM.
|
||||
|
||||
scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER
|
||||
|
||||
#: Program with which to view scrollback in a new window. The
|
||||
#: scrollback buffer is passed as STDIN to this program. If you change
|
||||
#: it, make sure the program you use can handle ANSI escape sequences
|
||||
#: for colors and text formatting. INPUT_LINE_NUMBER in the command
|
||||
#: line above will be replaced by an integer representing which line
|
||||
#: should be at the top of the screen.
|
||||
|
||||
scrollback_pager_history_size 0
|
||||
|
||||
#: Separate scrollback history size, used only for browsing the
|
||||
#: scrollback buffer (in MB). This separate buffer is not available
|
||||
#: for interactive scrolling but will be piped to the pager program
|
||||
#: when viewing scrollback buffer in a separate window. The current
|
||||
#: implementation stores one character in 4 bytes, so approximatively
|
||||
#: 2500 lines per megabyte at 100 chars per line. A value of zero or
|
||||
#: less disables this feature. The maximum allowed size is 4GB.
|
||||
|
||||
wheel_scroll_multiplier 5.0
|
||||
|
||||
#: Modify the amount scrolled by the mouse wheel. Note this is only
|
||||
#: used for low precision scrolling devices, not for high precision
|
||||
#: scrolling on platforms such as macOS and Wayland. Use negative
|
||||
#: numbers to change scroll direction.
|
||||
|
||||
touch_scroll_multiplier 1.0
|
||||
|
||||
#: Modify the amount scrolled by a touchpad. Note this is only used
|
||||
#: for high precision scrolling devices on platforms such as macOS and
|
||||
#: Wayland. Use negative numbers to change scroll direction.
|
||||
|
||||
#: }}}
|
|
@ -0,0 +1,88 @@
|
|||
shell /usr/bin/fish
|
||||
|
||||
#: The shell program to execute. The default value of . means to use
|
||||
#: whatever shell is set as the default shell for the current user.
|
||||
#: Note that on macOS if you change this, you might need to add
|
||||
#: --login to ensure that the shell starts in interactive mode and
|
||||
#: reads its startup rc files.
|
||||
|
||||
editor .
|
||||
|
||||
#: The console editor to use when editing the kitty config file or
|
||||
#: similar tasks. A value of . means to use the environment variable
|
||||
#: EDITOR. Note that this environment variable has to be set not just
|
||||
#: in your shell startup scripts but system-wide, otherwise kitty will
|
||||
#: not see it.
|
||||
|
||||
close_on_child_death no
|
||||
|
||||
#: Close the window when the child process (shell) exits. If no (the
|
||||
#: default), the terminal will remain open when the child exits as
|
||||
#: long as there are still processes outputting to the terminal (for
|
||||
#: example disowned or backgrounded processes). If yes, the window
|
||||
#: will close as soon as the child process exits. Note that setting it
|
||||
#: to yes means that any background processes still using the terminal
|
||||
#: can fail silently because their stdout/stderr/stdin no longer work.
|
||||
|
||||
# env
|
||||
|
||||
#: Specify environment variables to set in all child processes. Note
|
||||
#: that environment variables are expanded recursively, so if you
|
||||
#: use::
|
||||
|
||||
#: env MYVAR1=a
|
||||
#: env MYVAR2=${MYVAR1}/${HOME}/b
|
||||
|
||||
#: The value of MYVAR2 will be a/<path to home directory>/b.
|
||||
|
||||
update_check_interval 24
|
||||
|
||||
#: Periodically check if an update to kitty is available. If an update
|
||||
#: is found a system notification is displayed informing you of the
|
||||
#: available update. The default is to check every 24 hrs, set to zero
|
||||
#: to disable.
|
||||
|
||||
startup_session none
|
||||
|
||||
#: Path to a session file to use for all kitty instances. Can be
|
||||
#: overridden by using the kitty --session command line option for
|
||||
#: individual instances. See
|
||||
#: https://sw.kovidgoyal.net/kitty/index.html#sessions in the kitty
|
||||
#: documentation for details. Note that relative paths are interpreted
|
||||
#: with respect to the kitty config directory. Environment variables
|
||||
#: in the path are expanded.
|
||||
|
||||
clipboard_control write-clipboard write-primary
|
||||
|
||||
#: Allow programs running in kitty to read and write from the
|
||||
#: clipboard. You can control exactly which actions are allowed. The
|
||||
#: set of possible actions is: write-clipboard read-clipboard write-
|
||||
#: primary read-primary. You can additionally specify no-append to
|
||||
#: disable kitty's protocol extension for clipboard concatenation. The
|
||||
#: default is to allow writing to the clipboard and primary selection
|
||||
#: with concatenation enabled. Note that enabling the read
|
||||
#: functionality is a security risk as it means that any program, even
|
||||
#: one running on a remote server via SSH can read your clipboard.
|
||||
|
||||
term xterm-kitty
|
||||
|
||||
#: The value of the TERM environment variable to set. Changing this
|
||||
#: can break many terminal programs, only change it if you know what
|
||||
#: you are doing, not because you read some advice on Stack Overflow
|
||||
#: to change it. The TERM variable is used by various programs to get
|
||||
#: information about the capabilities and behavior of the terminal. If
|
||||
#: you change it, depending on what programs you run, and how
|
||||
#: different the terminal you are changing it to is, various things
|
||||
#: from key-presses, to colors, to various advanced features may not
|
||||
#: work.
|
||||
|
||||
#: }}}
|
||||
|
||||
background_opacity 0.6
|
||||
dynamic_background_opacity yes
|
||||
dim_opacity 0.65
|
||||
|
||||
term screen-256color
|
||||
|
||||
kitty_mod ctrl+shift
|
||||
map ctrl+f>2 set_font_size 10
|
|
@ -0,0 +1,59 @@
|
|||
#: Tab bar {{{
|
||||
|
||||
tab_bar_edge bottom
|
||||
|
||||
#: Which edge to show the tab bar on, top or bottom
|
||||
|
||||
tab_bar_margin_width 0.0
|
||||
|
||||
#: The margin to the left and right of the tab bar (in pts)
|
||||
|
||||
tab_bar_style fade
|
||||
|
||||
#: The tab bar style, can be one of: fade, separator or hidden. In the
|
||||
#: fade style, each tab's edges fade into the background color, in the
|
||||
#: separator style, tabs are separated by a configurable separator.
|
||||
|
||||
tab_bar_min_tabs 2
|
||||
|
||||
#: The minimum number of tabs that must exist before the tab bar is
|
||||
#: shown
|
||||
|
||||
tab_switch_strategy previous
|
||||
|
||||
#: The algorithm to use when switching to a tab when the current tab
|
||||
#: is closed. The default of previous will switch to the last used
|
||||
#: tab. A value of left will switch to the tab to the left of the
|
||||
#: closed tab. A value of last will switch to the right-most tab.
|
||||
|
||||
tab_fade 0.25 0.5 0.75 1
|
||||
|
||||
#: Control how each tab fades into the background when using fade for
|
||||
#: the tab_bar_style. Each number is an alpha (between zero and one)
|
||||
#: that controls how much the corresponding cell fades into the
|
||||
#: background, with zero being no fade and one being full fade. You
|
||||
#: can change the number of cells used by adding/removing entries to
|
||||
#: this list.
|
||||
|
||||
tab_separator " ┇"
|
||||
|
||||
#: The separator between tabs in the tab bar when using separator as
|
||||
#: the tab_bar_style.
|
||||
|
||||
tab_title_template {title}
|
||||
|
||||
#: A template to render the tab title. The default just renders the
|
||||
#: title. If you wish to include the tab-index as well, use something
|
||||
#: like: {index}: {title}. Useful if you have shortcuts mapped for
|
||||
#: goto_tab N.
|
||||
|
||||
active_tab_foreground #000
|
||||
active_tab_background #eee
|
||||
active_tab_font_style bold-italic
|
||||
inactive_tab_foreground #444
|
||||
inactive_tab_background #999
|
||||
inactive_tab_font_style normal
|
||||
|
||||
#: Tab bar colors and styles
|
||||
|
||||
#: }}}
|
|
@ -0,0 +1,108 @@
|
|||
#: Window layout {{{
|
||||
|
||||
remember_window_size yes
|
||||
initial_window_width 640
|
||||
initial_window_height 400
|
||||
|
||||
#: If enabled, the window size will be remembered so that new
|
||||
#: instances of kitty will have the same size as the previous
|
||||
#: instance. If disabled, the window will initially have size
|
||||
#: configured by initial_window_width/height, in pixels. You can use a
|
||||
#: suffix of "c" on the width/height values to have them interpreted
|
||||
#: as number of cells instead of pixels.
|
||||
|
||||
enabled_layouts *
|
||||
|
||||
#: The enabled window layouts. A comma separated list of layout names.
|
||||
#: The special value all means all layouts. The first listed layout
|
||||
#: will be used as the startup layout. For a list of available
|
||||
#: layouts, see the
|
||||
#: https://sw.kovidgoyal.net/kitty/index.html#layouts.
|
||||
|
||||
window_resize_step_cells 2
|
||||
window_resize_step_lines 2
|
||||
|
||||
#: The step size (in units of cell width/cell height) to use when
|
||||
#: resizing windows. The cells value is used for horizontal resizing
|
||||
#: and the lines value for vertical resizing.
|
||||
|
||||
window_border_width 1.0
|
||||
|
||||
#: The width (in pts) of window borders. Will be rounded to the
|
||||
#: nearest number of pixels based on screen resolution. Note that
|
||||
#: borders are displayed only when more than one window is visible.
|
||||
#: They are meant to separate multiple windows.
|
||||
|
||||
draw_minimal_borders yes
|
||||
|
||||
#: Draw only the minimum borders needed. This means that only the
|
||||
#: minimum needed borders for inactive windows are drawn. That is only
|
||||
#: the borders that separate the inactive window from a neighbor. Note
|
||||
#: that setting a non-zero window margin overrides this and causes all
|
||||
#: borders to be drawn.
|
||||
|
||||
window_margin_width 0.0
|
||||
|
||||
#: The window margin (in pts) (blank area outside the border)
|
||||
|
||||
single_window_margin_width -1000.0
|
||||
|
||||
#: The window margin (in pts) to use when only a single window is
|
||||
#: visible. Negative values will cause the value of
|
||||
#: window_margin_width to be used instead.
|
||||
|
||||
window_padding_width 2.0
|
||||
|
||||
#: The window padding (in pts) (blank area between the text and the
|
||||
#: window border)
|
||||
|
||||
placement_strategy center
|
||||
|
||||
#: When the window size is not an exact multiple of the cell size, the
|
||||
#: cell area of the terminal window will have some extra padding on
|
||||
#: the sides. You can control how that padding is distributed with
|
||||
#: this option. Using a value of center means the cell area will be
|
||||
#: placed centrally. A value of top-left means the padding will be on
|
||||
#: only the bottom and right edges.
|
||||
|
||||
active_border_color #00ff00
|
||||
|
||||
#: The color for the border of the active window. Set this to none to
|
||||
#: not draw borders around the active window.
|
||||
|
||||
inactive_border_color #cccccc
|
||||
|
||||
#: The color for the border of inactive windows
|
||||
|
||||
bell_border_color #ff5a00
|
||||
|
||||
#: The color for the border of inactive windows in which a bell has
|
||||
#: occurred
|
||||
|
||||
inactive_text_alpha 1.0
|
||||
|
||||
#: Fade the text in inactive windows by the specified amount (a number
|
||||
#: between zero and one, with zero being fully faded).
|
||||
|
||||
hide_window_decorations no
|
||||
|
||||
#: Hide the window decorations (title-bar and window borders). Whether
|
||||
#: this works and exactly what effect it has depends on the window
|
||||
#: manager/operating system.
|
||||
|
||||
resize_debounce_time 0.1
|
||||
|
||||
#: The time (in seconds) to wait before redrawing the screen when a
|
||||
#: resize event is received. On platforms such as macOS, where the
|
||||
#: operating system sends events corresponding to the start and end of
|
||||
#: a resize, this number is ignored.
|
||||
|
||||
resize_draw_strategy static
|
||||
|
||||
#: Choose how kitty draws a window while a resize is in progress. A
|
||||
#: value of static means draw the current window contents, mostly
|
||||
#: unchanged. A value of scale means draw the current window contents
|
||||
#: scaled. A value of blank means draw a blank window. A value of size
|
||||
#: means show the window size in cells.
|
||||
|
||||
#: }}}
|
|
@ -0,0 +1,195 @@
|
|||
# mpv keybindings
|
||||
#
|
||||
# Location of user-defined bindings: ~/.config/mpv/input.conf
|
||||
#
|
||||
# Lines starting with # are comments. Use SHARP to assign the # key.
|
||||
# Copy this file and uncomment and edit the bindings you want to change.
|
||||
#
|
||||
# List of commands and further details: DOCS/man/input.rst
|
||||
# List of special keys: --input-keylist
|
||||
# Keybindings testing mode: mpv --input-test --force-window --idle
|
||||
#
|
||||
# Use 'ignore' to unbind a key fully (e.g. 'ctrl+a ignore').
|
||||
#
|
||||
# Strings need to be quoted and escaped:
|
||||
# KEY show-text "This is a single backslash: \\ and a quote: \" !"
|
||||
#
|
||||
# You can use modifier-key combinations like Shift+Left or Ctrl+Alt+x with
|
||||
# the modifiers Shift, Ctrl, Alt and Meta (may not work on the terminal).
|
||||
#
|
||||
# The default keybindings are hardcoded into the mpv binary.
|
||||
# You can disable them completely with: --no-input-default-bindings
|
||||
|
||||
# Developer note:
|
||||
# On compilation, this file is baked into the mpv binary, and all lines are
|
||||
# uncommented (unless '#' is followed by a space) - thus this file defines the
|
||||
# default key bindings.
|
||||
|
||||
# If this is enabled, treat all the following bindings as default.
|
||||
#default-bindings start
|
||||
|
||||
#MBTN_LEFT ignore # don't do anything
|
||||
#MBTN_LEFT_DBL cycle fullscreen # toggle fullscreen on/off
|
||||
#MBTN_RIGHT cycle pause # toggle pause on/off
|
||||
#MBTN_BACK playlist-prev
|
||||
#MBTN_FORWARD playlist-next
|
||||
|
||||
# Mouse wheels, touchpad or other input devices that have axes
|
||||
# if the input devices supports precise scrolling it will also scale the
|
||||
# numeric value accordingly
|
||||
#WHEEL_UP seek 10
|
||||
#WHEEL_DOWN seek -10
|
||||
#WHEEL_LEFT add volume -2
|
||||
#WHEEL_RIGHT add volume 2
|
||||
|
||||
## Seek units are in seconds, but note that these are limited by keyframes
|
||||
#RIGHT seek 5
|
||||
#LEFT seek -5
|
||||
#UP seek 60
|
||||
#DOWN seek -60
|
||||
# Do smaller, always exact (non-keyframe-limited), seeks with shift.
|
||||
# Don't show them on the OSD (no-osd).
|
||||
#Shift+RIGHT no-osd seek 1 exact
|
||||
#Shift+LEFT no-osd seek -1 exact
|
||||
#Shift+UP no-osd seek 5 exact
|
||||
#Shift+DOWN no-osd seek -5 exact
|
||||
# Skip to previous/next subtitle (subject to some restrictions; see manpage)
|
||||
#Ctrl+LEFT no-osd sub-seek -1
|
||||
#Ctrl+RIGHT no-osd sub-seek 1
|
||||
# Adjust timing to previous/next subtitle
|
||||
#Ctrl+Shift+LEFT sub-step -1
|
||||
#Ctrl+Shift+RIGHT sub-step 1
|
||||
# Move video rectangle
|
||||
#Alt+left add video-pan-x 0.1
|
||||
#Alt+right add video-pan-x -0.1
|
||||
#Alt+up add video-pan-y 0.1
|
||||
#Alt+down add video-pan-y -0.1
|
||||
# Zoom/unzoom video
|
||||
#Alt++ add video-zoom 0.1
|
||||
#Alt+- add video-zoom -0.1
|
||||
# Reset video zoom/pan settings
|
||||
#Alt+BS set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0
|
||||
#PGUP add chapter 1 # skip to next chapter
|
||||
#PGDWN add chapter -1 # skip to previous chapter
|
||||
#Shift+PGUP seek 600
|
||||
#Shift+PGDWN seek -600
|
||||
#[ multiply speed 1/1.1 # scale playback speed
|
||||
#] multiply speed 1.1
|
||||
#{ multiply speed 0.5
|
||||
#} multiply speed 2.0
|
||||
#BS set speed 1.0 # reset speed to normal
|
||||
#Shift+BS revert-seek # undo previous (or marked) seek
|
||||
#Shift+Ctrl+BS revert-seek mark # mark position for revert-seek
|
||||
#q quit
|
||||
#Q quit-watch-later
|
||||
#q {encode} quit 4
|
||||
#ESC set fullscreen no
|
||||
#ESC {encode} quit 4
|
||||
#p cycle pause # toggle pause/playback mode
|
||||
#. frame-step # advance one frame and pause
|
||||
#, frame-back-step # go back by one frame and pause
|
||||
#SPACE cycle pause
|
||||
#> playlist-next # skip to next file
|
||||
#ENTER playlist-next # skip to next file
|
||||
#< playlist-prev # skip to previous file
|
||||
#O no-osd cycle-values osd-level 3 1 # cycle through OSD mode
|
||||
#o show-progress
|
||||
#P show-progress
|
||||
#i script-binding stats/display-stats
|
||||
#I script-binding stats/display-stats-toggle
|
||||
#` script-binding console/enable
|
||||
#z add sub-delay -0.1 # subtract 100 ms delay from subs
|
||||
#Z add sub-delay +0.1 # add
|
||||
#x add sub-delay +0.1 # same as previous binding (discouraged)
|
||||
#ctrl++ add audio-delay 0.100 # this changes audio/video sync
|
||||
#ctrl+- add audio-delay -0.100
|
||||
#Shift+g add sub-scale +0.1 # increase subtitle font size
|
||||
#Shift+f add sub-scale -0.1 # decrease subtitle font size
|
||||
#9 add volume -2
|
||||
#/ add volume -2
|
||||
#0 add volume 2
|
||||
#* add volume 2
|
||||
#m cycle mute
|
||||
#1 add contrast -1
|
||||
#2 add contrast 1
|
||||
#3 add brightness -1
|
||||
#4 add brightness 1
|
||||
#5 add gamma -1
|
||||
#6 add gamma 1
|
||||
#7 add saturation -1
|
||||
#8 add saturation 1
|
||||
#Alt+0 set window-scale 0.5
|
||||
#Alt+1 set window-scale 1.0
|
||||
#Alt+2 set window-scale 2.0
|
||||
# toggle deinterlacer (automatically inserts or removes required filter)
|
||||
#d cycle deinterlace
|
||||
#r add sub-pos -1 # move subtitles up
|
||||
#R add sub-pos +1 # down
|
||||
#t add sub-pos +1 # same as previous binding (discouraged)
|
||||
#v cycle sub-visibility
|
||||
# stretch SSA/ASS subtitles with anamorphic videos to match historical
|
||||
#V cycle sub-ass-vsfilter-aspect-compat
|
||||
# switch between applying no style overrides to SSA/ASS subtitles, and
|
||||
# overriding them almost completely with the normal subtitle style
|
||||
#u cycle-values sub-ass-override "force" "no"
|
||||
#j cycle sub # cycle through subtitles
|
||||
#J cycle sub down # ...backwards
|
||||
#SHARP cycle audio # switch audio streams
|
||||
#_ cycle video
|
||||
#T cycle ontop # toggle video window ontop of other windows
|
||||
#f cycle fullscreen # toggle fullscreen
|
||||
#s screenshot # take a screenshot
|
||||
#S screenshot video # ...without subtitles
|
||||
#Ctrl+s screenshot window # ...with subtitles and OSD, and scaled
|
||||
#Alt+s screenshot each-frame # automatically screenshot every frame
|
||||
#w add panscan -0.1 # zoom out with -panscan 0 -fs
|
||||
#W add panscan +0.1 # in
|
||||
#e add panscan +0.1 # same as previous binding (discouraged)
|
||||
# cycle video aspect ratios; "-1" is the container aspect
|
||||
#A cycle-values video-aspect-override "16:9" "4:3" "2.35:1" "-1"
|
||||
#POWER quit
|
||||
#PLAY cycle pause
|
||||
#PAUSE cycle pause
|
||||
#PLAYPAUSE cycle pause
|
||||
#PLAYONLY set pause no
|
||||
#PAUSEONLY set pause yes
|
||||
#STOP quit
|
||||
#FORWARD seek 60
|
||||
#REWIND seek -60
|
||||
#NEXT playlist-next
|
||||
#PREV playlist-prev
|
||||
#VOLUME_UP add volume 2
|
||||
#VOLUME_DOWN add volume -2
|
||||
#MUTE cycle mute
|
||||
#CLOSE_WIN quit
|
||||
#CLOSE_WIN {encode} quit 4
|
||||
#ctrl+w quit
|
||||
#E cycle edition # next edition
|
||||
#l ab-loop # Set/clear A-B loop points
|
||||
#L cycle-values loop-file "inf" "no" # toggle infinite looping
|
||||
#ctrl+c quit 4
|
||||
#DEL script-binding osc/visibility # cycle OSC display
|
||||
#ctrl+h cycle-values hwdec "auto" "no" # cycle hardware decoding
|
||||
#F8 show_text ${playlist} # show playlist
|
||||
#F9 show_text ${track-list} # show list of audio/sub streams
|
||||
|
||||
#
|
||||
# Legacy bindings (may or may not be removed in the future)
|
||||
#
|
||||
#! add chapter -1 # skip to previous chapter
|
||||
#@ add chapter 1 # next
|
||||
|
||||
#
|
||||
# Not assigned by default
|
||||
# (not an exhaustive list of unbound commands)
|
||||
#
|
||||
|
||||
# ? cycle angle # switch DVD/Bluray angle
|
||||
# ? cycle sub-forced-only # toggle DVD forced subs
|
||||
# ? cycle program # cycle transport stream programs
|
||||
# ? stop # stop playback (quit or enter idle mode)
|
||||
|
||||
#Atajos de teclado BlackBox y Colorbox
|
||||
z script-binding Blackbox_Playlist
|
||||
Z script-binding Blackbox
|
||||
c script-binding Colorbox
|
|
@ -0,0 +1,10 @@
|
|||
[default]
|
||||
hwdec
|
||||
profile=gpu-hq
|
||||
save-position-on-quit
|
||||
sub-font="JetBrainsMono Nerd Font"
|
||||
sub-font-size=55
|
||||
osd-font="JetBrainsMono Nerd Font"
|
||||
osd-font-size=22
|
||||
sid="1"
|
||||
fullscreen=yes
|
|
@ -0,0 +1,20 @@
|
|||
/* Rofi config file */
|
||||
configuration {
|
||||
modi: "window,drun,file-browser,combi";
|
||||
combi-modi: "window,drun,file-browser";
|
||||
width: 40;
|
||||
padding: 20;
|
||||
location: 2;
|
||||
lines: 12;
|
||||
columns: 2;
|
||||
sidebar-mode: true;
|
||||
display-window: "";
|
||||
display-windowcd: "";
|
||||
display-file-browser: "";
|
||||
display-drun: "";
|
||||
display-combi: "";
|
||||
show-icons: true;
|
||||
icon-theme: "Simply-Gray-Circles";
|
||||
font: "JetBrainsMono NerdFont Bold 12";
|
||||
}
|
||||
@import "~/.cache/wal/colors-rofi-dark"
|
|
@ -0,0 +1,170 @@
|
|||
/**
|
||||
* Oxide Color theme
|
||||
* Author: Diki Ananta <diki1aap@gmail.com>
|
||||
* Repository: https://github.com/dikiaap/dotfiles
|
||||
* License: MIT
|
||||
**/
|
||||
* {
|
||||
selected-normal-foreground: var(lightfg);
|
||||
foreground: rgba ( 196, 202, 212, 100 % );
|
||||
normal-foreground: var(foreground);
|
||||
alternate-normal-background: rgba ( 42, 42, 42, 100 % );
|
||||
red: rgba ( 194, 65, 65, 100 % );
|
||||
selected-urgent-foreground: var(lightfg);
|
||||
blue: rgba ( 43, 131, 166, 100 % );
|
||||
urgent-foreground: var(lightfg);
|
||||
alternate-urgent-background: var(red);
|
||||
active-foreground: var(lightfg);
|
||||
lightbg: var(foreground);
|
||||
selected-active-foreground: var(lightfg);
|
||||
alternate-active-background: var(blue);
|
||||
background: rgba ( 33, 33, 33, 100 % );
|
||||
alternate-normal-foreground: var(foreground);
|
||||
normal-background: var(background);
|
||||
lightfg: rgba ( 249, 249, 249, 100 % );
|
||||
selected-normal-background: rgba ( 90, 90, 90, 100 % );
|
||||
separatorcolor: rgba ( 183, 183, 183, 100 % );
|
||||
spacing: 2;
|
||||
border-color: var(foreground);
|
||||
urgent-background: var(red);
|
||||
alternate-active-foreground: var(active-foreground);
|
||||
alternate-urgent-foreground: var(urgent-foreground);
|
||||
background-color: rgba ( 0, 0, 0, 0 % );
|
||||
selected-urgent-background: rgba ( 214, 78, 78, 100 % );
|
||||
active-background: var(blue);
|
||||
selected-active-background: rgba ( 39, 141, 182, 100 % );
|
||||
}
|
||||
element {
|
||||
border: 0;
|
||||
spacing: 4px;
|
||||
padding: 1px;
|
||||
}
|
||||
element normal.normal {
|
||||
background-color: var(normal-background);
|
||||
text-color: var(normal-foreground);
|
||||
}
|
||||
element normal.urgent {
|
||||
background-color: var(urgent-background);
|
||||
text-color: var(urgent-foreground);
|
||||
}
|
||||
element normal.active {
|
||||
background-color: var(active-background);
|
||||
text-color: var(active-foreground);
|
||||
}
|
||||
element selected.normal {
|
||||
background-color: var(selected-normal-background);
|
||||
text-color: var(selected-normal-foreground);
|
||||
}
|
||||
element selected.urgent {
|
||||
background-color: var(selected-urgent-background);
|
||||
text-color: var(selected-urgent-foreground);
|
||||
}
|
||||
element selected.active {
|
||||
background-color: var(selected-active-background);
|
||||
text-color: var(selected-active-foreground);
|
||||
}
|
||||
element alternate.normal {
|
||||
background-color: var(alternate-normal-background);
|
||||
text-color: var(alternate-normal-foreground);
|
||||
}
|
||||
element alternate.urgent {
|
||||
background-color: var(alternate-urgent-background);
|
||||
text-color: var(alternate-urgent-foreground);
|
||||
}
|
||||
element alternate.active {
|
||||
background-color: var(alternate-active-background);
|
||||
text-color: var(alternate-active-foreground);
|
||||
}
|
||||
element-text {
|
||||
background-color: rgba ( 0, 0, 0, 0 % );
|
||||
highlight: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
element-icon {
|
||||
background-color: rgba ( 0, 0, 0, 0 % );
|
||||
size: 21px;
|
||||
text-color: inherit;
|
||||
}
|
||||
window {
|
||||
background-color: var(background);
|
||||
border: 0;
|
||||
padding: 8;
|
||||
}
|
||||
mainbox {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
message {
|
||||
border: 2px dash 0px 0px;
|
||||
border-color: var(separatorcolor);
|
||||
padding: 1px;
|
||||
}
|
||||
textbox {
|
||||
text-color: var(foreground);
|
||||
}
|
||||
listview {
|
||||
fixed-height: 0;
|
||||
border: 0;
|
||||
border-color: var(separatorcolor);
|
||||
spacing: 2px;
|
||||
scrollbar: true;
|
||||
padding: 2px 0px 0px;
|
||||
}
|
||||
scrollbar {
|
||||
width: 4px;
|
||||
border: 0;
|
||||
handle-color: rgba ( 85, 85, 85, 100 % );
|
||||
handle-width: 8px;
|
||||
padding: 0;
|
||||
}
|
||||
sidebar {
|
||||
border: 2px dash 0px 0px;
|
||||
border-color: var(separatorcolor);
|
||||
}
|
||||
button {
|
||||
spacing: 0;
|
||||
text-color: var(normal-foreground);
|
||||
}
|
||||
button selected {
|
||||
background-color: var(selected-normal-background);
|
||||
text-color: var(selected-normal-foreground);
|
||||
}
|
||||
num-filtered-rows {
|
||||
expand: false;
|
||||
text-color: rgba ( 128, 128, 128, 100 % );
|
||||
}
|
||||
num-rows {
|
||||
expand: false;
|
||||
text-color: rgba ( 128, 128, 128, 100 % );
|
||||
}
|
||||
textbox-num-sep {
|
||||
expand: false;
|
||||
str: "/";
|
||||
text-color: rgba ( 128, 128, 128, 100 % );
|
||||
}
|
||||
inputbar {
|
||||
spacing: 0px;
|
||||
text-color: var(normal-foreground);
|
||||
padding: 1px;
|
||||
children: [ prompt,textbox-prompt-colon,entry,overlay,case-indicator ];
|
||||
}
|
||||
case-indicator {
|
||||
spacing: 0;
|
||||
text-color: var(normal-foreground);
|
||||
}
|
||||
entry {
|
||||
placeholder: "";
|
||||
spacing: 0;
|
||||
text-color: var(normal-foreground);
|
||||
placeholder-color: rgba ( 128, 128, 128, 100 % );
|
||||
}
|
||||
prompt {
|
||||
spacing: 0;
|
||||
text-color: var(normal-foreground);
|
||||
}
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: ":";
|
||||
margin: 0px 0.3000em 0.0000em 0.0000em;
|
||||
text-color: inherit;
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
# This file is written by xdg-user-dirs-update
|
||||
# If you want to change or add directories, just edit the line you're
|
||||
# interested in. All local changes will be retained on the next run.
|
||||
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
|
||||
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
|
||||
# absolute path. No other format is supported.
|
||||
#
|
||||
XDG_DESKTOP_DIR="$HOME/Escritorio"
|
||||
XDG_DOWNLOAD_DIR="$HOME/Descargas"
|
||||
XDG_TEMPLATES_DIR="$HOME/Plantillas"
|
||||
XDG_PUBLICSHARE_DIR="$HOME/Público"
|
||||
XDG_DOCUMENTS_DIR="$HOME/Documentos"
|
||||
XDG_MUSIC_DIR="$HOME/Música"
|
||||
XDG_PICTURES_DIR="$HOME/Imágenes"
|
||||
XDG_VIDEOS_DIR="$HOME/Vídeos"
|
|
@ -0,0 +1 @@
|
|||
es_ES
|
|
@ -0,0 +1,280 @@
|
|||
<?xml version="1.0"?>
|
||||
<JWM>
|
||||
<StartupCommand>/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1</StartupCommand>
|
||||
<StartupCommand>nm-applet</StartupCommand>
|
||||
<StartupCommand>libinput-gestures-setup start</StartupCommand>
|
||||
<StartupCommand>blueman-applet</StartupCommand>
|
||||
<StartupCommand>numlockx on</StartupCommand>
|
||||
<StartupCommand>picom -b --conf /etc/xdg/picom.conf</StartupCommand>
|
||||
<StartupCommand> setxkbmap at</StartupCommand>
|
||||
<StartupCommand>unclutter </StartupCommand>
|
||||
<StartupCommand>cbatticon & </StartupCommand>
|
||||
<StartupCommand> volumeicon &</StartupCommand>
|
||||
<StartupCommand> ~/.local/share/jwm-config/batteryicon.sh &</StartupCommand>
|
||||
<StartupCommand>ksuperkey -e 'Super_L=Alt_L|F1' &</StartupCommand>
|
||||
<StartupCommand>lxqt-notificationd & </StartupCommand>
|
||||
<StartupCommand>nitrogen --restore</StartupCommand>
|
||||
|
||||
|
||||
<!--
|
||||
A decent JWM config for a usable desktop with proper icons and standard shortcuts.
|
||||
|
||||
Check the readme.md file to see instructions on how to install, use, requirements
|
||||
info, common keyboard shortcuts etc.
|
||||
|
||||
Config:
|
||||
- Some apps are configured with the apps I had installed (please change as necessary, e.g. file manager, text editor, terminal etc.)
|
||||
-->
|
||||
|
||||
<!-- The root menu. -->
|
||||
<RootMenu onroot="1" height="22">
|
||||
<!--<Include>/etc/jwm/debian-menu</Include>-->
|
||||
<Program icon="kitty.svg" label="Terminal">kitty</Program>
|
||||
<Program icon="system-file-manager.svg" label="Archivos">spacefm</Program>
|
||||
<Program icon="firefox.svg" label="Navegador">firefox</Program>
|
||||
<Program icon="thunderbird.svg" label="Cliente de Correo">thunderbird</Program>
|
||||
<Program icon="leafpad.svg" label="Editor">FeatherPad</Program>
|
||||
<Separator/>
|
||||
<Menu icon="chromium-app-list.svg" label="Aplicaciones">
|
||||
<Include>exec: xdgmenumaker -n -i -f jwm</Include>
|
||||
</Menu>
|
||||
<Separator/>
|
||||
<Program icon="lock.png" label="Bloquear">
|
||||
betterlockscreen -u /usr/share/wallpapers/custom -l dim -t "Escribe tu contraseña" -r 1920x1080
|
||||
</Program>
|
||||
<Separator/>
|
||||
<Restart label="Reiniciar JWM" icon="restart.png"/>
|
||||
<Program icon="" label="Salir">~/.local/share/jwm-config/power.sh</Program>
|
||||
</RootMenu>
|
||||
|
||||
<RootMenu onroot="3" height="25">
|
||||
<Program icon="network-defaultroute.svg" label="Conexiones de Red">nm-connection-editor</Program>
|
||||
<Separator/>
|
||||
<Program icon="octopi.svg" label="Gestor de Paquetes">octoxbps</Program>
|
||||
<Program icon="ksysguard.svg" label="Monitor del Sistema">kitty -e top</Program>
|
||||
<Program icon="nitrogen.svg" label="Nitrogen">nitrogen</Program>
|
||||
<Separator/>
|
||||
<Program icon="ulauncher.svg" label="Ulauncher">ulauncher</Program>
|
||||
</RootMenu>
|
||||
|
||||
<!-- Options for program groups. -->
|
||||
<!-- Config note: You can change and adopt as necessary -->
|
||||
<Group>
|
||||
<Class>Pidgin</Class>
|
||||
<Option>sticky</Option>
|
||||
</Group>
|
||||
<Group>
|
||||
<Name>xclock</Name>
|
||||
<Option>drag</Option>
|
||||
<Option>notitle</Option>
|
||||
</Group>
|
||||
|
||||
<!-- Tray at the bottom. -->
|
||||
<Tray x="0" y="-1" height="32" autohide="off">
|
||||
|
||||
<TrayButton icon="chrome-app-list.svg">root:1</TrayButton>
|
||||
<Spacer width="3"/>
|
||||
<!-- Config note: You can add your apps for quick launch area. -->
|
||||
<TrayButton label="" icon="octopi.svg">exec:octoxbps</TrayButton>
|
||||
<TrayButton label="" icon="system-file-manager.svg">exec:spacefm</TrayButton>
|
||||
<TrayButton label="" icon="tilix.svg">exec:tilix</TrayButton>
|
||||
<TrayButton label="" icon="firefox.svg">exec:firefox</TrayButton>
|
||||
<TrayButton label="" icon="thunderbird.svg">exec:thunderbird</TrayButton>
|
||||
<TrayButton label="" icon="uget.svg">exec:uget-gtk</TrayButton>
|
||||
<Spacer width="10"/>
|
||||
|
||||
<!-- Config note: You can uncomment this to get a pager (multiple desktops) -->
|
||||
<!-- <Pager labeled="true"/> -->
|
||||
|
||||
<TaskList maxwidth="256"/>
|
||||
|
||||
<Spacer width="10"/>
|
||||
<Dock/>
|
||||
<Clock format="%H:%M"><Button mask="123">exec:gsimplecal</Button></Clock>
|
||||
<TrayButton label="" popup="Show Desktop" icon="folder-black-desktop.svg">showdesktop</TrayButton>
|
||||
|
||||
</Tray>
|
||||
|
||||
<!-- Visual Styles -->
|
||||
<WindowStyle>
|
||||
<Font>JetbrainsMono-10:bold</Font>
|
||||
<Width>5</Width>
|
||||
<Height>26</Height>
|
||||
<Corner>4</Corner>
|
||||
<Foreground>#DDDDDD</Foreground>
|
||||
<Background>#050B0A</Background>
|
||||
<Outline>#000000</Outline>
|
||||
<Opacity>0.5</Opacity>
|
||||
<Active>
|
||||
<Foreground>a7dfde</Foreground>
|
||||
<Background>050B0A</Background>
|
||||
<Outline>#050B0A</Outline>
|
||||
<Opacity>1.0</Opacity>
|
||||
</Active>
|
||||
</WindowStyle>
|
||||
<TrayStyle group="false" list="all">
|
||||
<Font>JetBrainsMono-10</Font>
|
||||
<Background>#050B0A</Background>
|
||||
<Foreground>a7dfde</Foreground>
|
||||
<Outline>#050B0A</Outline>
|
||||
<Opacity>0.75</Opacity>
|
||||
</TrayStyle>
|
||||
<PagerStyle>
|
||||
|
||||
<Background>#050B0A</Background>
|
||||
<Foreground>a7dfde</Foreground>
|
||||
<Outline>#050B0A</Outline>
|
||||
<Text>#FFFFFF</Text>
|
||||
<Active>
|
||||
|
||||
<Background>#050B0A</Background>
|
||||
<Foreground>a7dfde</Foreground>
|
||||
</Active>
|
||||
</PagerStyle>
|
||||
<MenuStyle>
|
||||
<Font>JetBrains-10:Bold</Font>
|
||||
<Background>#050B0A</Background>
|
||||
<Foreground>a7dfde</Foreground>
|
||||
<Outline>#050B0A</Outline>
|
||||
<Active>
|
||||
<Background>#050B0A</Background>
|
||||
<Foreground>a7dfde</Foreground>
|
||||
</Active>
|
||||
<Opacity>0.85</Opacity>
|
||||
</MenuStyle>
|
||||
<PopupStyle>
|
||||
<Font>JetBrains-10</Font>
|
||||
<Background>#050B0A</Background>
|
||||
<Foreground>a7dfde</Foreground>
|
||||
<Outline>#050B0A</Outline>
|
||||
</PopupStyle>
|
||||
|
||||
<!-- Path where icons can be found.
|
||||
IconPath can be listed multiple times to allow searching
|
||||
for icons in multiple paths.
|
||||
-->
|
||||
<IconPath>/usr/share/icons/Simply-Cyan-Circles/scalable/emblems</IconPath>
|
||||
<IconPath>/usr/share/icons/Simply-Cyan-Circles/scalable/apps</IconPath>
|
||||
<IconPath>/usr/share/icons/Simply-Cyan-Circles/scalable/places</IconPath>
|
||||
|
||||
<IconPath>/usr/share/icons/gnome/256x256/actions</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/256x256/apps</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/256x256/categories</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/256x256/devices</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/256x256/emblems</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/256x256/mimetypes</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/256x256/places</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/256x256/status</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/32x32/actions</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/32x32/animations</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/32x32/apps</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/32x32/categories</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/32x32/devices</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/32x32/emblems</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/32x32/mimetypes</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/32x32/places</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/32x32/status</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/scalable/actions</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/scalable/apps</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/scalable/categories</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/scalable/devices</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/scalable/emblems</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/scalable/mimetypes</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/scalable/places</IconPath>
|
||||
<IconPath>/usr/share/icons/gnome/scalable/status</IconPath>
|
||||
<IconPath>/usr/share/icons/hicolor/256x256/apps</IconPath>
|
||||
<IconPath>/usr/share/icons/hicolor/256x256/mimetypes</IconPath>
|
||||
<IconPath>/usr/share/icons/hicolor/32x32/actions</IconPath>
|
||||
<IconPath>/usr/share/icons/hicolor/32x32/apps</IconPath>
|
||||
<IconPath>/usr/share/icons/hicolor/32x32/categories</IconPath>
|
||||
<IconPath>/usr/share/icons/hicolor/32x32/devices</IconPath>
|
||||
<IconPath>/usr/share/icons/hicolor/32x32/emblems</IconPath>
|
||||
<IconPath>/usr/share/icons/hicolor/32x32/mimetypes</IconPath>
|
||||
<IconPath>/usr/share/icons/hicolor/32x32/status</IconPath>
|
||||
<IconPath>/usr/share/icons/hicolor/512x512/apps</IconPath>
|
||||
<IconPath>/usr/share/icons/hicolor/512x512/mimetypes</IconPath>
|
||||
<IconPath>/usr/share/icons/hicolor/scalable/actions</IconPath>
|
||||
<IconPath>/usr/share/icons/hicolor/scalable/apps</IconPath>
|
||||
<IconPath>/usr/share/icons/hicolor/scalable/categories</IconPath>
|
||||
<IconPath>/usr/share/icons/hicolor/scalable/devices</IconPath>
|
||||
<IconPath>/usr/share/icons/hicolor/scalable/emblems</IconPath>
|
||||
<IconPath>/usr/share/icons/hicolor/scalable/mimetypes</IconPath>
|
||||
<IconPath>/usr/share/icons/hicolor/scalable/places</IconPath>
|
||||
<IconPath>/usr/share/icons/hicolor/scalable/status</IconPath>
|
||||
<IconPath>/usr/share/icons</IconPath>
|
||||
<IconPath>/usr/share/pixmaps</IconPath>
|
||||
<IconPath>
|
||||
/usr/local/share/jwm
|
||||
</IconPath>
|
||||
|
||||
<!-- Virtual Desktops -->
|
||||
<!-- Desktop tags can be contained within Desktops for desktop names. -->
|
||||
<Desktops width="4" height="1">
|
||||
<!-- Default background. Note that a Background tag can be
|
||||
contained within a Desktop tag to give a specific background
|
||||
for that desktop.
|
||||
-->
|
||||
<Background type="solid">#111111</Background>
|
||||
</Desktops>
|
||||
|
||||
<!-- Double click speed (in milliseconds) -->
|
||||
<DoubleClickSpeed>400</DoubleClickSpeed>
|
||||
|
||||
<!-- Double click delta (in pixels) -->
|
||||
<DoubleClickDelta>2</DoubleClickDelta>
|
||||
|
||||
<!-- The focus model (sloppy or click) -->
|
||||
<FocusModel>click</FocusModel>
|
||||
|
||||
<!-- The snap mode (none, screen, or border) -<StartupCommand>/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1</StartupCommand> ->
|
||||
<SnapMode distance="10">border</SnapMode>
|
||||
|
||||
<!-- The move mode (outline or opaque) -->
|
||||
<MoveMode>opaque</MoveMode>
|
||||
|
||||
<!-- The resize mode (outline or opaque) -->
|
||||
<ResizeMode>opaque</ResizeMode>
|
||||
|
||||
<!-- Key bindings -->
|
||||
<Key key="Up">up</Key>
|
||||
<Key key="Down">down</Key>
|
||||
<Key key="Right">right</Key>
|
||||
<Key key="Left">left</Key>
|
||||
<Key key="h">left</Key>
|
||||
<Key key="j">down</Key>
|
||||
<Key key="k">up</Key>
|
||||
<Key key="l">right</Key>
|
||||
<Key key="Return">select</Key>
|
||||
<Key key="Escape">escape</Key>
|
||||
|
||||
<Key mask="A" key="Tab">nextstacked</Key>
|
||||
<Key mask="A" key="F4">close</Key>
|
||||
<Key mask="A" key="#">desktop#</Key>
|
||||
<Key mask="A" key="F1">root:1</Key>
|
||||
<Key mask="A" key="F2">exec:~/.local/share/jwm-config/runmenu.sh</Key>
|
||||
<Key mask="4" key="R">exec:~/.local/share/jwm-config/runmenu.sh</Key>
|
||||
<Key mask="A" key="F3">root:1</Key>
|
||||
<Key mask="A" key="space">window</Key>
|
||||
<Key mask="A" key="F10">maximize</Key>
|
||||
<Key mask="CA" key="Right">rdesktop</Key>
|
||||
<Key mask="4" key="Tab">rdesktop</Key>
|
||||
<Key mask="CA" key="Left">ldesktop</Key>
|
||||
<Key mask="CA" key="Up">udesktop</Key>
|
||||
<Key mask="CA" key="Down">ddesktop</Key>
|
||||
<Key mask="CA" key="D">showdesktop</Key>
|
||||
<Key mask="4" key="D">showdesktop</Key>
|
||||
|
||||
<Key mask="CA" key="T">exec:lxterminal</Key>
|
||||
<Key mask="CA" key="E">exec:thunar</Key>
|
||||
<Key mask="4" key="E">exec:thunar</Key>
|
||||
<Key mask="" key="F12">exec:~/.local/share/jwm-config/runmenu.sh</Key>
|
||||
|
||||
<!-- Connect to external monitor / choose screens -->
|
||||
<Key mask="4" key="P">exec:~/.local/share/jwm-config/screens.sh</Key>
|
||||
<Key mask="" key="XF86Display">exec:~/.local/share/jwm-config/screens.sh</Key>
|
||||
|
||||
<Key mask="4" key="F4">exec:~/.local/share/jwm-config/power.sh</Key>
|
||||
<Key mask="CAS" key="R">exec:jwm -restart</Key>
|
||||
<Key mask="CA" key="L">exec:xlock -mode blank</Key>
|
||||
<Key mask="4" key="L">exec:xlock -mode blank</Key>
|
||||
</JWM>
|
|
@ -0,0 +1,584 @@
|
|||
# If you come from bash you might have to change your $PATH.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="/home/jose/.oh-my-zsh"
|
||||
|
||||
# Set name of the theme to load --- if set to "random", it will
|
||||
# load a random theme each time oh-my-zsh is loaded, in which case,
|
||||
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
||||
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||
ZSH_THEME="0i0"
|
||||
|
||||
# Set list of themes to pick from when loading at random
|
||||
# Setting this variable when ZSH_THEME=random will cause zsh to load
|
||||
# a theme from this variable instead of looking in $ZSH/themes/
|
||||
# If set to an empty array, this variable will have no effect.
|
||||
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
|
||||
|
||||
# Uncomment the following line to use case-sensitive completion.
|
||||
# CASE_SENSITIVE="true"
|
||||
|
||||
# Uncomment the following line to use hyphen-insensitive completion.
|
||||
# Case-sensitive completion must be off. _ and - will be interchangeable.
|
||||
# HYPHEN_INSENSITIVE="true"
|
||||
|
||||
# Uncomment the following line to disable bi-weekly auto-update checks.
|
||||
# DISABLE_AUTO_UPDATE="true"
|
||||
|
||||
# Uncomment the following line to automatically update without prompting.
|
||||
# DISABLE_UPDATE_PROMPT="true"
|
||||
|
||||
# Uncomment the following line to change how often to auto-update (in days).
|
||||
# export UPDATE_ZSH_DAYS=13
|
||||
|
||||
# Uncomment the following line if pasting URLs and other text is messed up.
|
||||
# DISABLE_MAGIC_FUNCTIONS="true"
|
||||
|
||||
# Uncomment the following line to disable colors in ls.
|
||||
# DISABLE_LS_COLORS="true"
|
||||
|
||||
# Uncomment the following line to disable auto-setting terminal title.
|
||||
# DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Uncomment the following line to enable command auto-correction.
|
||||
# ENABLE_CORRECTION="true"
|
||||
|
||||
# Uncomment the following line to display red dots whilst waiting for completion.
|
||||
# Caution: this setting can cause issues with multiline prompts (zsh 5.7.1 and newer seem to work)
|
||||
# See https://github.com/ohmyzsh/ohmyzsh/issues/5765
|
||||
# COMPLETION_WAITING_DOTS="true"
|
||||
|
||||
# Uncomment the following line if you want to disable marking untracked files
|
||||
# under VCS as dirty. This makes repository status check for large repositories
|
||||
# much, much faster.
|
||||
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
||||
|
||||
# Uncomment the following line if you want to change the command execution time
|
||||
# stamp shown in the history command output.
|
||||
# You can set one of the optional three formats:
|
||||
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||
# or set a custom format using the strftime function format specifications,
|
||||
# see 'man strftime' for details.
|
||||
HIST_STAMPS="dd.mm.yyyy"
|
||||
|
||||
# Would you like to use another custom folder than $ZSH/custom?
|
||||
# ZSH_CUSTOM=/path/to/new-custom-folder
|
||||
|
||||
# Which plugins would you like to load?
|
||||
# Standard plugins can be found in $ZSH/plugins/
|
||||
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
|
||||
plugins=(extract
|
||||
git
|
||||
git-extras
|
||||
you-should-use
|
||||
zfzf
|
||||
zsh-autosuggestions
|
||||
zsh-completions
|
||||
zsh-syntax-highlighting
|
||||
zsh-thefuck
|
||||
history-substring-search)
|
||||
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# User configuration
|
||||
|
||||
# export MANPATH="/usr/local/man:$MANPATH"
|
||||
|
||||
# You may need to manually set your language environment
|
||||
export LANG=es_ES.UTF-8
|
||||
|
||||
#LOCAL bin directory
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
# Expand the history size
|
||||
export HISTFILESIZE=10000
|
||||
export HISTSIZE=500
|
||||
|
||||
# Don't put duplicate lines in the history and do not add lines that start with a space
|
||||
export HISTCONTROL=erasedups:ignoredups:ignorespace
|
||||
|
||||
# Note: bind used instead of sticking these in .inputrc
|
||||
if [[ $iatest > 0 ]]; then bind "set completion-ignore-case on"; fi
|
||||
|
||||
# Show auto-completion list automatically, without double tab
|
||||
if [[ $iatest > 0 ]]; then bind "set show-all-if-ambiguous On"; fi
|
||||
|
||||
# To have colors for ls and all grep commands such as grep, egrep and zgrep
|
||||
export CLICOLOR=1
|
||||
export LS_COLORS='no=00:fi=00:di=00;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.ogg=01;35:*.mp3=01;35:*.wav=01;35:*.xml=00;31:'
|
||||
#export GREP_OPTIONS='--color=auto' #deprecated
|
||||
alias grep="/usr/bin/grep $GREP_OPTIONS"
|
||||
unset GREP_OPTIONS
|
||||
|
||||
# Color for manpages in less makes manpages a little easier to read
|
||||
export LESS_TERMCAP_mb=$'\E[01;31m'
|
||||
export LESS_TERMCAP_md=$'\E[01;31m'
|
||||
export LESS_TERMCAP_me=$'\E[0m'
|
||||
export LESS_TERMCAP_se=$'\E[0m'
|
||||
export LESS_TERMCAP_so=$'\E[01;44;33m'
|
||||
export LESS_TERMCAP_ue=$'\E[0m'
|
||||
export LESS_TERMCAP_us=$'\E[01;32m'
|
||||
|
||||
# kill a given process by name
|
||||
function pskill() {
|
||||
ps ax | grep "$1" | grep -v grep | awk '{ print $1 }' | xargs kill
|
||||
}
|
||||
|
||||
# Copy file with a progress bar
|
||||
cpp()
|
||||
{
|
||||
set -e
|
||||
strace -q -ewrite cp -- "${1}" "${2}" 2>&1 \
|
||||
| awk '{
|
||||
count += $NF
|
||||
if (count % 10 == 0) {
|
||||
percent = count / total_size * 100
|
||||
printf "%3d%% [", percent
|
||||
for (i=0;i<=percent;i++)
|
||||
printf "="
|
||||
printf ">"
|
||||
for (i=percent;i<100;i++)
|
||||
printf " "
|
||||
printf "]\r"
|
||||
}
|
||||
}
|
||||
END { print "" }' total_size=$(stat -c '%s' "${1}") count=0
|
||||
}
|
||||
|
||||
# Copy and go to the directory
|
||||
cpg ()
|
||||
{
|
||||
if [ -d "$2" ];then
|
||||
cp $1 $2 && cd $2
|
||||
else
|
||||
cp $1 $2
|
||||
fi
|
||||
}
|
||||
|
||||
# Move and go to the directory
|
||||
mvg ()
|
||||
{
|
||||
if [ -d "$2" ];then
|
||||
mv $1 $2 && cd $2
|
||||
else
|
||||
mv $1 $2
|
||||
fi
|
||||
}
|
||||
|
||||
# Create and go to the directory
|
||||
mkdirg ()
|
||||
{
|
||||
mkdir -p $1
|
||||
cd $1
|
||||
}
|
||||
|
||||
# Goes up a specified number of directories (i.e. up 4)
|
||||
up ()
|
||||
{
|
||||
local d=""
|
||||
limit=$1
|
||||
for ((i=1 ; i <= limit ; i++))
|
||||
do
|
||||
d=$d/..
|
||||
done
|
||||
d=$(echo $d | sed 's/^\///')
|
||||
if [ -z "$d" ]; then
|
||||
d=..
|
||||
fi
|
||||
cd $d
|
||||
}
|
||||
|
||||
#####################3
|
||||
# Displays wireless networks in range.
|
||||
wirelessNetworksInRange() {
|
||||
sudo iwlist wlan0 scan \
|
||||
| grep Quality -A2 \
|
||||
| tr -d "\n" \
|
||||
| sed 's/--/\n/g' \
|
||||
| sed -e 's/ \+/ /g' \
|
||||
| sort -r \
|
||||
| sed 's/ Quality=//g' \
|
||||
| sed 's/\/70 Signal level=-[0-9]* dBm Encryption key:/ /g' \
|
||||
| sed 's/ ESSID:/ /g'
|
||||
}
|
||||
|
||||
# function Extract for common file formats
|
||||
|
||||
SAVEIFS=$IFS
|
||||
IFS=$(echo -en "\n\b")
|
||||
|
||||
function extract() {
|
||||
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
# display usage if no parameters given
|
||||
|
||||
echo "'Extract most known archives with one command .'
|
||||
param '1: The file name you want to extract'
|
||||
example '$ extract <path/file_name>.<zip|rar|bz2|gz|tar|tbz2|tgz|Z|7z|xz|ex|tar.bz2|tar.gz|tar.xz>'
|
||||
example '$ extract <path/file_name_1.ext> [path/file_name_2.ext] [path/file_name_3.ext]'"
|
||||
else
|
||||
for n in "$@"
|
||||
do
|
||||
if [ -f "$n" ] ; then
|
||||
case "${n%,}" in
|
||||
*.cbt|*.tar.bz2|*.tar.gz|*.tar.xz|*.tar.zst|*.tbz2|*.tgz|*.txz|*.tar)
|
||||
tar xvf "$n" ;;
|
||||
*.lzma) unlzma "$n" ;;
|
||||
*.bz2) bunzip2 "$n" ;;
|
||||
*.cbr|*.rar) unar "$n" ;;
|
||||
*.gz) gunzip "$n" ;;
|
||||
*.cbz|*.epub|*.zip|*.apk|*.xapk) unzip "$n" -d "${n:0:-4}" ;;
|
||||
*.z) uncompress "$n" ;;
|
||||
*.7z|*.arj|*.cab|*.cb7|*.chm|*.deb|*.dmg|*.iso|*.lzh|*.msi|*.pkg|*.rpm|*.udf|*.wim|*.xar)
|
||||
7z x "$n" ;;
|
||||
*.xz) unxz "$n" ;;
|
||||
*.exe) cabextract "$n" ;;
|
||||
*.cpio) cpio -id < "$n" ;;
|
||||
*.cba|*.ace) unace x "$n" ;;
|
||||
*)
|
||||
echo "extract: '$n' - unknown archive method"
|
||||
return 1
|
||||
;;
|
||||
esac
|
||||
else
|
||||
echo "'$n' - file does not exist"
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
IFS=$SAVEIFS
|
||||
|
||||
function mkarchive(){
|
||||
|
||||
if [[ ! -z $1 ]]
|
||||
then
|
||||
case $1 in
|
||||
bz2) tar cvjf "$2.tar.bz2" -C "$3" . ;;
|
||||
tgz) tar cvzf "$2.tar.gz" -C "$3" . ;;
|
||||
tzstd) tar --zstd -cvf "$2.tar.zst" -C "$3" . ;;
|
||||
tar) tar cvf "$2.tar" -C "$3" . ;;
|
||||
zip) zip -r "$2".zip "$3" ;;
|
||||
7z) 7z a -mx=$2 "$3".7z $4 ;;
|
||||
*) echo "'Create a compress file form a directory.'
|
||||
param '1: The Compress Method [ zip | tgz | tar | bz2 | 7z | zstd]'
|
||||
param '2: The output file name'
|
||||
param '3: The Directory to compress'
|
||||
example '$ mkarchive zip Shell-scripts ~/Docuoments/Shell-scripts'
|
||||
example '$ mkarchive tgz Shell-scripts ~/Docuoments/Shell-scripts'
|
||||
param '** In the 7z method choose the compression level'
|
||||
example '$ mkarchive 7z [ 1 | 3 | 5 | 7 | 9 ] Shell-scripts ~/Docuoments/Shell-scripts'
|
||||
param '** Note in 7z 9 considered ultra compression ... the default is 5'" ;;
|
||||
esac
|
||||
else
|
||||
echo "'Create a compress file form a directory.'
|
||||
param '1: The Compress Method [ zip | tgz | tar | bz2 | 7z | zstd]'
|
||||
param '2: The output file name'
|
||||
param '3: The Directory to compress'
|
||||
example '$ mkarchive zip Shell-scripts ~/Docuoments/Shell-scripts'
|
||||
example '$ mkarchive tgz Shell-scripts ~/Docuoments/Shell-scripts'
|
||||
'** In the 7z method choose the compression level'
|
||||
example '$ mkarchive 7z [ 1 | 3 | 5 | 7 | 9 ] Shell-scripts ~/Docuoments/Shell-scripts'
|
||||
'** Note in 7z 9 considered ultra compression ... the default is 5'"
|
||||
fi
|
||||
}
|
||||
|
||||
# Preferred editor for local and remote sessions
|
||||
# if [[ -n $SSH_CONNECTION ]]; then
|
||||
# export EDITOR='vim'
|
||||
# else
|
||||
# export EDITOR='mvim'
|
||||
# fi
|
||||
|
||||
# Compilation flags
|
||||
# export ARCHFLAGS="-arch x86_64"
|
||||
|
||||
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
||||
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
||||
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
||||
# For a full list of active aliases, run `alias`.
|
||||
#
|
||||
# Example aliases
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
#Void Linux
|
||||
alias search="xbps-query -Rs"
|
||||
alias install="sudo xbps-install -S"
|
||||
alias update="sudo xbps-install -Su"
|
||||
alias clean="sudo xbps-remove -O"
|
||||
alias remove="sudo xbps-remove -R"
|
||||
alias reconf="sudo xbps-reconfigure"
|
||||
alias update-grub="sudo grub-mkconfig -o /boot/grub/grub.cfg"
|
||||
alias restricted="void && grep -rl '^restricted=' srcpkgs/"
|
||||
alias services="sudo sv status /var/service/*"
|
||||
alias non-free="xbps-query -Mi --repo=https://alpha.de.repo.voidlinux.org/current/nonfree -s \*"
|
||||
alias doit="src && topgrade && clean && hblock && ytfzfi && clear"
|
||||
alias void="cd /home/jose/Plantillas/void-linux/void-packages"
|
||||
alias mklive="cd /home/jose/Plantillas/void-linux/void-mklive"
|
||||
alias ignpa="echo "ignorepkg=pulseaudio" | sudo tee -a /etc/xbps.d/XX-ignore.conf"
|
||||
alias etcher="cd ~/Plantillas/varios/etcher && npm start"
|
||||
alias goodies="cd ~/Plantillas/void-linux/void-goodies && git pull"
|
||||
alias xanmod="cd ~/Plantillas/void-linux/xanmod/void-packages && git pull"
|
||||
alias nvoid="cd ~/Plantillas/void-linux/nvoid && git pull"
|
||||
alias git-update="cd ~/Plantillas/void-linux/void-packages && git pull && cd ~/Plantillas/void-linux/void-mklive && git pull"
|
||||
alias ymir="cd ~/Plantillas/void-linux/ymir-linux/void-packages"
|
||||
alias ymirp="cd ~/Plantillas/void-linux/ymir-linux/void-packages && git pull"
|
||||
alias voidp="git clone git://github.com/void-linux/void-packages.git && xbpsbb"
|
||||
alias agar="cd ~/Público/AgarimOS/"
|
||||
|
||||
#youtube-dl
|
||||
alias yta-aac="youtube-dl --extract-audio --audio-format aac"
|
||||
alias yta-best="youtube-dl --extract-audio --audio-format best"
|
||||
alias yta-flac="youtube-dl --extract-audio --audio-format flac"
|
||||
alias yta-m4a="youtube-dl --extract-audio --audio-format m4a"
|
||||
alias yta-mp3="youtube-dl --extract-audio --audio-format mp3"
|
||||
alias yta-opus="youtube-dl --extract-audio --audio-format opus"
|
||||
alias yta-vorbis="youtube-dl --extract-audio --audio-format vorbis"
|
||||
alias yta-wav="youtube-dl --extract-audio --audio-format wav"
|
||||
|
||||
alias ytv-best="youtube-dl -f bestvideo+bestaudio"
|
||||
|
||||
# Corona
|
||||
alias top10="curl 'https://corona-stats.online?top=10&source=2&minimal=true&emojis=true'"
|
||||
alias top20="curl 'https://corona-stats.online?top=20&source=2&minimal=true&emojis=true'"
|
||||
alias top30="curl 'https://corona-stats.online?top=30&source=2&minimal=true&emojis=true'"
|
||||
alias top40="curl 'https://corona-stats.online?top=40&source=2&minimal=true&emojis=true'"
|
||||
|
||||
alias coves="curl -L covid19.trackercli.com/es"
|
||||
alias covat="curl -L covid19.trackercli.com/at"
|
||||
alias covuk="curl -L covid19.trackercli.com/gb"
|
||||
alias covde="curl -L covid19.trackercli.com/de"
|
||||
alias covfr="curl -L covid19.trackercli.com/fr"
|
||||
alias covru="curl -L covid19.trackercli.com/ru"
|
||||
alias covil="curl -L covid19.trackercli.com/il"
|
||||
alias covit="curl -L covid19.trackercli.com/it"
|
||||
alias covbe="curl -L covid19.trackercli.com/be"
|
||||
alias covpt="curl -L covid19.trackercli.com/pt"
|
||||
alias covnl="curl -L covid19.trackercli.com/nl"
|
||||
alias covch="curl -L covid19.trackercli.com/ch"
|
||||
|
||||
# Alias's for multiple directory listing commands
|
||||
alias la='ls -Alh' # show hidden files
|
||||
alias ls='ls -aFh --color=always' # add colors and file type extensions
|
||||
alias lx='ls -lXBh' # sort by extension
|
||||
alias lk='ls -lSrh' # sort by size
|
||||
alias lc='ls -lcrh' # sort by change time
|
||||
alias lu='ls -lurh' # sort by access time
|
||||
alias lr='ls -lRh' # recursive ls
|
||||
alias lt='ls -ltrh' # sort by date
|
||||
alias lm='ls -alh |more' # pipe through 'more'
|
||||
alias lw='ls -xAh' # wide listing format
|
||||
alias ll='ls -Fls' # long listing format
|
||||
alias labc='ls -lap' #alphabetical sort
|
||||
alias lf="ls -l | egrep -v '^d'" # files only
|
||||
alias ldir="ls -l | egrep '^d'" # directories only
|
||||
|
||||
# I am lazy
|
||||
alias ..='cd ..'
|
||||
alias ...='cd ../..'
|
||||
alias ....='cd ../../..'
|
||||
alias .....='cd ../../../..'
|
||||
alias ......='cd ../../../../..'
|
||||
alias descargas="cd /home/jose/Descargas"
|
||||
alias videos="cd /home/jose/Vídeos"
|
||||
alias themes="cd /usr/share/themes"
|
||||
alias fonts="cd /usr/share/fonts"
|
||||
alias icons="cd /usr/share/icons"
|
||||
alias trash="sudo rm -rf ~/.local/share/Trash/*"
|
||||
alias npmu="sudo npm upgrade -g npm"
|
||||
alias nzsh=" cd ~ && nano .zshrc"
|
||||
alias sce=" cd ~ && source .zshrc"
|
||||
alias del="rm -rf"
|
||||
alias ft="fc-cache -f -v"
|
||||
alias kzsh="kate ~/.zshrc"
|
||||
alias probe="sudo -E hw-probe -all -upload"
|
||||
alias fzsh="cd ~ && featherpad .zshrc"
|
||||
alias npmaf="npm audit fix"
|
||||
alias ter="sensors"
|
||||
alias diff='colordiff'
|
||||
alias untar='tar -zxvf'
|
||||
alias multitail='multitail --no-repeat -c'
|
||||
alias loc="locate"
|
||||
alias lc="lsd -lA"
|
||||
alias ext="extract"
|
||||
alias vi="vim"
|
||||
alias mount='mount |column -t'
|
||||
alias chsh="chsh -s /bin/bash"
|
||||
alias ext="extract"
|
||||
alias userlist="cut -d: -f1 /etc/passwd"
|
||||
alias bat='upower -i /org/freedesktop/UPower/devices/battery_BAT0| grep --color=never -E "state|to\ full|percentage"'
|
||||
alias inf="kinfocenter"
|
||||
alias ext="ex"
|
||||
alias cl='cal'
|
||||
alias who='whoami'
|
||||
alias cc='sudo sh -c "sync; echo 3 > /proc/sys/vm/drop_caches"' # Clear System Cache
|
||||
alias spt='speedtest-cli'
|
||||
alias wifi="wirelessNetworksInRange"
|
||||
|
||||
|
||||
#Inxi
|
||||
alias mac="inxi -zv8"
|
||||
alias weather="inxi -wxxx"
|
||||
alias machine="inxi -Fxxxrza"
|
||||
|
||||
# Kitty
|
||||
alias icat="kitty +kitten icat"
|
||||
alias d="kitty +kitten diff"
|
||||
alias clip="kitty +kitten clipboard"
|
||||
alias kittyc="nano ~/.config/kitty/kitty.conf"
|
||||
alias kittys="nano ~/.config/kitty/settings.conf"
|
||||
alias kittyf="nano ~/.config/kitty/font.conf"
|
||||
alias kittyk="nano ~/.config/kitty/keybindings.conf"
|
||||
alias kittyb="nano ~/.config/kitty/bell.conf"
|
||||
alias kittycu="nano ~/.config/kitty/cursor.conf"
|
||||
alias kittym="nano ~/.config/kitty/mouse.conf"
|
||||
alias kittyp="nano ~/.config/kitty/performance.conf"
|
||||
alias kittysc="nano ~/.config/kitty/scrollback.conf"
|
||||
alias kittyt="nano ~/.config/kitty/tab.conf"
|
||||
alias kittyw="nano ~/.config/kitty/window.conf"
|
||||
|
||||
|
||||
#Ricing
|
||||
alias nerdfetch="curl -fsSL https://raw.githubusercontent.com/ThatOneCalculator/NerdFetch/master/nerdfetch | sh"
|
||||
alias pipesa="cpipes -p30 -r1"
|
||||
alias pipesb="cpipes -p100 -r0 -i1"
|
||||
alias pman="colorscript -e 30"
|
||||
alias skull="colorscript -e 33"
|
||||
alias spaceinvaders="colorscript -e 38"
|
||||
alias clock="tty-clock -c"
|
||||
|
||||
#Ytfzf
|
||||
alias showme="ytfzf -t"
|
||||
alias ytfzfi="curl -sL "https://raw.githubusercontent.com/pystardust/ytfzf/master/ytfzf" | sudo tee /usr/local/bin/ytfzf >/dev/null && sudo chmod 755 /usr/local/bin/ytfzf"
|
||||
|
||||
#Common mistakes
|
||||
|
||||
alias cd..='cd ..'
|
||||
alias pdw="pwd"
|
||||
alias isntall="install"
|
||||
|
||||
#Other aliases
|
||||
|
||||
# reboot / halt / poweroff
|
||||
alias reboot='sudo /sbin/reboot'
|
||||
alias poweroff='sudo /sbin/poweroff'
|
||||
alias halt='sudo /sbin/halt'
|
||||
alias shutdown='sudo /sbin/shutdown'
|
||||
|
||||
# alias chmod commands
|
||||
alias mx='chmod a+x'
|
||||
alias 000='chmod -R 000'
|
||||
alias 644='chmod -R 644'
|
||||
alias 666='chmod -R 666'
|
||||
alias 755='chmod -R 755'
|
||||
alias 777='chmod -R 777'
|
||||
|
||||
# Search command line history
|
||||
alias h="history | grep "
|
||||
alias tree='tree -CAhF --dirsfirst'
|
||||
alias treed='tree -CAFd'
|
||||
alias mountedinfo='df -hT'
|
||||
|
||||
# cd into the old directory
|
||||
alias bd='cd "$OLDPWD"'
|
||||
|
||||
# Remove a directory and all files
|
||||
alias rmd='/bin/rm --recursive --force --verbose'
|
||||
|
||||
# Stop after sending count ECHO_REQUEST packets #
|
||||
alias ping='ping -c 5'
|
||||
|
||||
# Do not wait interval 1 second, go fast #
|
||||
alias fastping='ping -c 100 -s.2'
|
||||
|
||||
## shortcut for iptables and pass it via sudo#
|
||||
alias ipt='sudo /sbin/iptables'
|
||||
|
||||
# display all rules #
|
||||
alias iptlist='sudo /sbin/iptables -L -n -v --line-numbers'
|
||||
alias iptlistin='sudo /sbin/iptables -L INPUT -n -v --line-numbers'
|
||||
alias iptlistout='sudo /sbin/iptables -L OUTPUT -n -v --line-numbers'
|
||||
alias iptlistfw='sudo /sbin/iptables -L FORWARD -n -v --line-numbers'
|
||||
alias firewall=iptlist
|
||||
|
||||
# do not delete / or prompt if deleting more than 3 files at a time #
|
||||
alias rm='rm -I --preserve-root'
|
||||
|
||||
# get web server headers #
|
||||
alias header='curl -I'
|
||||
|
||||
# find out if remote server supports gzip / mod_deflate or not #
|
||||
alias headerc='curl -I --compress'
|
||||
|
||||
# confirmation #
|
||||
alias mv='mv -i'
|
||||
alias cp='cp -i'
|
||||
alias ln='ln -i'
|
||||
|
||||
# Parenting changing perms on / #
|
||||
alias chown='chown --preserve-root'
|
||||
alias chmod='chmod --preserve-root'
|
||||
alias chgrp='chgrp --preserve-root'
|
||||
|
||||
## pass options to free ##
|
||||
alias meminfo='free -m -l -t'
|
||||
|
||||
## get top process eating memory
|
||||
alias psmem='ps auxf | sort -nr -k 4'
|
||||
alias psmem10='ps auxf | sort -nr -k 4 | head -10'
|
||||
|
||||
## get top process eating cpu ##
|
||||
alias pscpu='ps auxf | sort -nr -k 3'
|
||||
alias pscpu10='ps auxf | sort -nr -k 3 | head -10'
|
||||
|
||||
## Get server cpu info ##
|
||||
alias cpuinfo='lscpu'
|
||||
|
||||
## get GPU ram on desktop / laptop##
|
||||
alias gpumeminfo='grep -i --color memory /var/log/Xorg.0.log'
|
||||
|
||||
# become root #
|
||||
alias root='sudo -i'
|
||||
alias su='sudo -i'
|
||||
|
||||
# Time
|
||||
alias now='date +"%T"'
|
||||
alias nowtime='now'
|
||||
alias nowdate='date +"%d-%m-%Y"'
|
||||
|
||||
# make directory and any parent directories needed
|
||||
alias mkdir='mkdir -p'
|
||||
|
||||
# Give less options to man
|
||||
export MANPAGER='less -s -M +Gg'
|
||||
|
||||
## this one saved by butt so many times ##
|
||||
alias wget='wget -c'
|
||||
alias path='echo -e ${PATH//:/\\n}'
|
||||
|
||||
# make common commands easier to read for humans
|
||||
alias df="df -Tha --total"
|
||||
alias du="du -ach | sort -h"
|
||||
alias free="free -mth"
|
||||
|
||||
# custom cmatrix
|
||||
#alias cmatrix="cmatrix -bC yellow"
|
||||
|
||||
# search processes (find PID easily)
|
||||
alias psg="ps aux | grep -v grep | grep -i -e VSZ -e"
|
||||
# show all processes
|
||||
alias psf="ps auxfww"
|
||||
#given a PID, intercept the stdout and stderr
|
||||
alias intercept="sudo strace -ff -e trace=write -e write=1,2 -p"
|
||||
|
||||
eval $(thefuck --alias joder)
|
||||
wal -n -q -i /home/jose/Imágenes/walls/wall12.jpg
|
||||
neofetch
|
|
@ -0,0 +1,113 @@
|
|||
[buildPlans.iosevka-custom] # <iosevka-custom> is your plan name
|
||||
family = "Iosevka Custom" # Font menu family name
|
||||
design = ["sp-fixed", "v-a-doublestorey", "v-g-doublestorey", "v-l-italic", "v-k-straight", "v-y-straight-turn", "v-numbersign-slanted", "v-percent-rings-connected"] # Customize styles
|
||||
# upright = ["upright-styles"] # Uncomment this line to set styles for upright only
|
||||
# italic = ["italic-styles"] # Uncomment this line to set styles for italic only
|
||||
# oblique = ["oblique-styles"] # Uncomment this line to set styles for oblique only
|
||||
# hintParams = ["-a", "sss"] # Optional custom parameters for ttfautohint
|
||||
|
||||
###################################################################################################
|
||||
# Override default building weights
|
||||
# When buildPlans.<plan name>.weights is absent, all weights would built and mapped to
|
||||
# default values.
|
||||
# IMPORTANT : Currently "menu" and "css" property only support numbers between 0 and 1000.
|
||||
# and "shape" properly only supports number between 100 and 900 (inclusive).
|
||||
# If you decide to use custom weights you have to define all the weights you
|
||||
# plan to use otherwise they will not be built.
|
||||
[buildPlans.iosevka-custom.weights.regular]
|
||||
shape = 400 # Weight for glyph shapes.
|
||||
menu = 400 # Weight for the font's names.
|
||||
css = 400 # Weight for webfont CSS.
|
||||
|
||||
#[buildPlans.iosevka-custom.weights.book]
|
||||
#shape = 450
|
||||
#menu = 450 # Use 450 here to name the font's weight "Book"
|
||||
#css = 450
|
||||
|
||||
[buildPlans.iosevka-custom.weights.bold]
|
||||
shape = 700
|
||||
menu = 700
|
||||
css = 700
|
||||
|
||||
# End weight section
|
||||
###################################################################################################
|
||||
|
||||
###################################################################################################
|
||||
# Override default building slope sets
|
||||
# Format: <upright|italic|oblique> = <"normal"|"italic"|"oblique">
|
||||
# When this section is absent, all slopes would be built.
|
||||
|
||||
[buildPlans.iosevka-custom.slopes]
|
||||
upright = "normal"
|
||||
italic = "oblique"
|
||||
#oblique = "oblique"
|
||||
|
||||
# End slope section
|
||||
###################################################################################################
|
||||
|
||||
###################################################################################################
|
||||
# Override default building widths
|
||||
# When buildPlans.<plan name>.widths is absent, all widths would built and mapped to
|
||||
# default values.
|
||||
# IMPORTANT : Currently "shape" property only supports numbers between 434 and 664 (inclusive),
|
||||
# while "menu" only supports integers between 1 and 9 (inclusive).
|
||||
# The "shape" parameter specifies the unit width, measured in 1/1000 em. The glyphs'
|
||||
# width are equal to, or a simple multiple of the unit width.
|
||||
# If you decide to use custom widths you have to define all the widths you plan to use,
|
||||
# otherwise they will not be built.
|
||||
|
||||
[buildPlans.iosevka-custom.widths.normal]
|
||||
shape = 600 # Unit Width, measured in 1/1000 em.
|
||||
menu = 5 # Width grade for the font's names.
|
||||
css = "normal" # "font-stretch' property of webfont CSS.
|
||||
|
||||
#[buildPlans.iosevka-custom.widths.extended]
|
||||
#shape = 576
|
||||
#menu = 7
|
||||
#css = "expanded"
|
||||
|
||||
# End width section
|
||||
###################################################################################################
|
||||
|
||||
###################################################################################################
|
||||
# Character Exclusion
|
||||
# Specify character ranges in the section below to exclude certain characters from the font being
|
||||
# built. Remove this section when this feature is not needed.
|
||||
|
||||
#[buildPlans.iosevka-custom.exclude-chars]
|
||||
#ranges = [[10003, 10008]]
|
||||
|
||||
# End character exclusion
|
||||
###################################################################################################
|
||||
|
||||
###################################################################################################
|
||||
# Compatibility Ligatures
|
||||
# Certain applications like Emacs does not support proper programming liagtures provided by
|
||||
# OpenType, but can support ligatures provided by PUA codepoints. Therefore you can edit the
|
||||
# following section to build PUA characters that are generated from the OpenType ligatures.
|
||||
# Remove this section when compatibility ligatures are not needed.
|
||||
|
||||
#[[buildPlans.iosevka-custom.compatibility-ligatures]]
|
||||
#unicode = 57600 # 0xE100
|
||||
#featureTag = 'calt'
|
||||
#sequence = '<*>'
|
||||
|
||||
# End compatibility ligatures section
|
||||
###################################################################################################
|
||||
|
||||
###################################################################################################
|
||||
# Metric overrides
|
||||
# Certain metrics like line height (leading) could be overridden in your build plan file.
|
||||
# Edit the values to change the metrics. Remove this section when overriding is not needed.
|
||||
|
||||
#[buildPlans.iosevka-custom.metric-override]
|
||||
#leading = 1250
|
||||
#winMetricAscenderPad = 0
|
||||
#winMetricDescenderPad = 0
|
||||
#powerlineScaleY = 1
|
||||
#powerlineScaleX = 1
|
||||
#powerlineShiftY = 0
|
||||
#powerlineShiftX = 0
|
||||
|
||||
# End metric override section
|
||||
###################################################################################################
|
After Width: | Height: | Size: 450 KiB |
After Width: | Height: | Size: 432 KiB |
After Width: | Height: | Size: 364 KiB |
After Width: | Height: | Size: 156 KiB |
After Width: | Height: | Size: 83 KiB |
After Width: | Height: | Size: 183 KiB |
After Width: | Height: | Size: 83 KiB |
After Width: | Height: | Size: 76 KiB |
After Width: | Height: | Size: 70 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 62 KiB |
After Width: | Height: | Size: 1.2 MiB |
After Width: | Height: | Size: 214 KiB |
After Width: | Height: | Size: 490 KiB |
After Width: | Height: | Size: 220 KiB |
After Width: | Height: | Size: 768 KiB |
After Width: | Height: | Size: 96 KiB |
After Width: | Height: | Size: 654 KiB |
After Width: | Height: | Size: 118 KiB |
After Width: | Height: | Size: 155 KiB |
After Width: | Height: | Size: 232 KiB |
After Width: | Height: | Size: 139 KiB |
After Width: | Height: | Size: 1.4 MiB |
After Width: | Height: | Size: 138 KiB |
After Width: | Height: | Size: 243 KiB |
After Width: | Height: | Size: 63 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 173 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 180 KiB |
After Width: | Height: | Size: 199 KiB |
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 158 KiB |
After Width: | Height: | Size: 1.1 MiB |
After Width: | Height: | Size: 158 KiB |
After Width: | Height: | Size: 197 KiB |
After Width: | Height: | Size: 884 KiB |
After Width: | Height: | Size: 93 KiB |
After Width: | Height: | Size: 177 KiB |
After Width: | Height: | Size: 123 KiB |
After Width: | Height: | Size: 125 KiB |
After Width: | Height: | Size: 109 KiB |
After Width: | Height: | Size: 126 KiB |
After Width: | Height: | Size: 91 KiB |
After Width: | Height: | Size: 806 KiB |
After Width: | Height: | Size: 120 KiB |
After Width: | Height: | Size: 112 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 113 KiB |
After Width: | Height: | Size: 120 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 79 KiB |
After Width: | Height: | Size: 88 KiB |
After Width: | Height: | Size: 96 KiB |
After Width: | Height: | Size: 72 KiB |
After Width: | Height: | Size: 1.6 MiB |
After Width: | Height: | Size: 110 KiB |
After Width: | Height: | Size: 139 KiB |
After Width: | Height: | Size: 156 KiB |
After Width: | Height: | Size: 112 KiB |
After Width: | Height: | Size: 118 KiB |
After Width: | Height: | Size: 72 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 1.5 MiB |
After Width: | Height: | Size: 100 KiB |