summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/neofetch/config.conf2
-rw-r--r--.config/picom/picom.conf5
-rw-r--r--.config/shell/aliasrc1
-rw-r--r--.config/zsh/.zshrc48
4 files changed, 10 insertions, 46 deletions
diff --git a/.config/neofetch/config.conf b/.config/neofetch/config.conf
index 149ab2e..5fff961 100644
--- a/.config/neofetch/config.conf
+++ b/.config/neofetch/config.conf
@@ -364,7 +364,7 @@ gtk3="off"
# disk_show=('/'):
# 'Disk (/): 74G / 118G (66%)'
#
-disk_show=('/' '/home' '/dev/sda2' '/dev/sdb1')
+disk_show=('/' '/home' '/dev/sda2')
# Disk subtitle.
# What to append to the Disk subtitle.
diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf
index a095613..335f0de 100644
--- a/.config/picom/picom.conf
+++ b/.config/picom/picom.conf
@@ -1,6 +1,11 @@
# just very slightly rounded corners
# empty file, just so transparency works on st
+backend = "glx";
+blur-kern = "3x3box";
+blur-method = "dual_kawase";
+blur-strength = 2;
+
opacity-rule = [
"98:class_g = 'SchildiChat' && focused",
"98:class_g = 'SchildiChat' && !focused"
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc
index 5d21bf7..623377f 100644
--- a/.config/shell/aliasrc
+++ b/.config/shell/aliasrc
@@ -105,6 +105,7 @@ mkwebm() {
## GIT
# general shortcuts
+alias status='git status'
alias commit='git commit -m'
alias fetch='git fetch'
alias upstream='git push --set-upstream origin'
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index e94a036..bdf3049 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -9,53 +9,11 @@ zmodload zsh/complist
compinit
_comp_options+=(globdots)
-# vi mode
setopt PROMPT_SUBST
-THEME_VI_INS_MODE_SYMBOL=${THEME_VI_INS_MODE_SYMBOL:-'λ'}
-THEME_VI_CMD_MODE_SYMBOL=${THEME_VI_CMD_MODE_SYMBOL:-'ᐅ'}
-
-THEME_VI_MODE_SYMBOL="${THEME_VI_INS_MODE_SYMBOL}"
-
-bindkey -v
-export KEYTIMEOUT=1
-
-# Use vim keys in tab complete menu:
-bindkey -M menuselect 'h' vi-backward-char
-bindkey -M menuselect 'k' vi-up-line-or-history
-bindkey -M menuselect 'l' vi-forward-char
-bindkey -M menuselect 'j' vi-down-line-or-history
-bindkey -v '^?' backward-delete-char
-
-bindkey '^a' vi-beginning-of-line
-bindkey '^e' vi-end-of-line
-
-zle-keymap-select() {
- if [ "${KEYMAP}" = 'vicmd' ]; then
- THEME_VI_MODE_SYMBOL="${THEME_VI_CMD_MODE_SYMBOL}"
- else
- THEME_VI_MODE_SYMBOL="${THEME_VI_INS_MODE_SYMBOL}"
- fi
- zle reset-prompt
-}
-zle -N zle-keymap-select
-
-# reset to default mode at the end of line input reading
-zle-line-finish() {
- THEME_VI_MODE_SYMBOL="${THEME_VI_INS_MODE_SYMBOL}"
-}
-zle -N zle-line-finish
-
-# Fix a bug when you C-c in CMD mode, you'd be prompted with CMD mode indicator
-# while in fact you would be in INS mode.
-# Fixed by catching SIGINT (C-c), set mode to INS and repropagate the SIGINT,
-# so if anything else depends on it, we will not break it.
-TRAPINT() {
- THEME_VI_MODE_SYMBOL="${THEME_VI_INS_MODE_SYMBOL}"
- return $(( 128 + $1 ))
-}
-
-PROMPT='%B%{$fg[red]%}[%{$fg[magenta]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[yellow]%}%~%{$fg[red]%}]%b%(?.%F{green}$THEME_VI_MODE_SYMBOL.%F{red}$THEME_VI_MODE_SYMBOL)%{$reset_color%} '
+bindkey -e
+
+PROMPT='%B%{$fg[red]%}[%{$fg[magenta]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[yellow]%}%~%{$fg[red]%}]%b '
setopt extendedGlob