aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-01-17 23:35:27 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2023-01-17 23:35:27 +0100
commit4912c72f3ed473ddc50f164e7d4bf3ebaf4f5a21 (patch)
treeb71bd7f6cd724fa5251acc9676cbe225530c7386 /.config
parent9fddd3c00242f3027068f95f93dcbdbc62baaffb (diff)
changes 17-01-22
Diffstat (limited to '.config')
-rw-r--r--.config/mimeapps.list1
-rw-r--r--.config/picom/picom.conf10
-rw-r--r--.config/zsh/knight7
3 files changed, 15 insertions, 3 deletions
diff --git a/.config/mimeapps.list b/.config/mimeapps.list
index 3fddcd6..f46b958 100644
--- a/.config/mimeapps.list
+++ b/.config/mimeapps.list
@@ -224,3 +224,4 @@ x-scheme-handler/msteams=teams.desktop
x-scheme-handler/discord-455712169795780630=discord-455712169795780630.desktop
x-scheme-handler/eclipse+command x-scheme-handler/eclipse+mpc=_usr_lib_eclipse_.desktop
x-scheme-handler/postman=Postman.desktop
+x-scheme-handler/discord-712465656758665259=discord-712465656758665259.desktop
diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf
index d3bbe5e..eee6adb 100644
--- a/.config/picom/picom.conf
+++ b/.config/picom/picom.conf
@@ -433,3 +433,13 @@ wintypes:
popup_menu = { opacity = 0.8; }
dropdown_menu = { opacity = 0.8; }
};
+
+
+####################
+# Animation #
+####################
+
+animations = true
+animation-stiffness = 200.0
+animation-dampening = 25.0
+animation-window-mass = 1.0
diff --git a/.config/zsh/knight b/.config/zsh/knight
index 5634a20..2f30275 100644
--- a/.config/zsh/knight
+++ b/.config/zsh/knight
@@ -1,10 +1,11 @@
+#vim: filetype=zsh
prompt_git_status() {
- if [ -d "$(git rev-parse --git-dir 2>/dev/null)" ]; then
+ if [ -n "$(git branch 2>/dev/null)" ]; then
sign="\ue725";
[[ -n "$(git status -s)" ]] && sign="\ufc1a";
git_branch=$(git branch);
- echo "%F{#547f62}%f%B%F{#191919}%K{#547f62} ${sign} ${git_branch##*\* } %f%k%b";
+ echo "%F{5}%f%B%F{0}%K{5} ${sign} ${git_branch##*\* }%f%k%b";
fi;
}
@@ -12,6 +13,6 @@ update_prompt() {
export RPROMPT="$(prompt_git_status)"
}
-PROMPT="%F{#547f62}%B%F{#181818}%K{#547f62}%n %k%b%f%F{#547f62}%K{#00000000}%f%k%F{#547f62}%K{#00000000} %f%k%B%K{#547f62}%F{#181818} %m %b%k%f%F{#547f62}%K{#00000000} %f%k%F{#7698c5}%F{#181818}%K{#7698c4}%B %~ %b%f%k%F{#7698c4}%k%f "
+PROMPT="%F{cyan}%F{0}%K{cyan}%n%k%f%F{cyan}%K{0}%f%k%F{cyan}%K{0} %f%k%K{cyan}%F{0}%m%k%f%F{cyan}%K{0} %f%k%F{magenta}%F{0}%K{magenta}%~%f%k%F{magenta}%k%f "
[[ -z "$precmd_functions" ]] && precmd_functions=() precmd_functions=($precmd_functions update_prompt)