Update colorscheme swap configuration and other small changes
This commit is contained in:
parent
d91099eae5
commit
40b9e351e6
3 changed files with 40 additions and 4 deletions
|
|
@ -83,6 +83,17 @@ if [ "$(uname)" != "Darwin" ]; then
|
|||
s/^([[:space:]]*foreground[[:space:]]*=[[:space:]]*).*/\1"#BBBBBB"/
|
||||
}' "$DUNST_CONF"
|
||||
|
||||
# Plasma theme
|
||||
if [[ "$XDG_CURRENT_DESKTOP" == "KDE" ]]; then
|
||||
plasma-apply-lookandfeel -a com.github.vinceliuice.WhiteSur-dark
|
||||
plasma-apply-cursortheme phinger-cursors-dark
|
||||
kwriteconfig6 --file kdeglobals --group Icons --key Theme Papirus-Dark
|
||||
kwriteconfig6 --file ksplashrc --group KSplash --key Theme Breeze
|
||||
kquitapp6 plasmashell
|
||||
sleep 0.3
|
||||
kstart5 plasmashell
|
||||
fi
|
||||
|
||||
else
|
||||
echo "Swapping to light mode"
|
||||
# GTK Theme
|
||||
|
|
@ -104,7 +115,17 @@ if [ "$(uname)" != "Darwin" ]; then
|
|||
|
||||
# Rofi theme
|
||||
sed -i -e "s/dark.rasi/light.rasi/" $HOME/.config/rofi/config.rasi
|
||||
|
||||
#
|
||||
# Plasma theme
|
||||
if [[ "$XDG_CURRENT_DESKTOP" == "KDE" ]]; then
|
||||
plasma-apply-lookandfeel -a com.github.vinceliuice.WhiteSur-alt
|
||||
plasma-apply-cursortheme phinger-cursors-dark
|
||||
kwriteconfig6 --file kdeglobals --group Icons --key Theme Papirus
|
||||
kwriteconfig6 --file ksplashrc --group KSplash --key Theme Breeze
|
||||
kquitapp6 plasmashell
|
||||
sleep 0.3
|
||||
kstart6 plasmashell
|
||||
fi
|
||||
fi
|
||||
|
||||
killall dunst
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ font-family = "IosevkaTerm Nerd Font Propo"
|
|||
font-style = "Regular"
|
||||
font-size = 11
|
||||
background-opacity = 1.0
|
||||
window-decoration = none
|
||||
window-decoration = auto
|
||||
confirm-close-surface = false
|
||||
|
||||
# Auto light/dark theme pair that matches your two palettes below
|
||||
|
|
|
|||
15
home/.zshrc
15
home/.zshrc
|
|
@ -34,6 +34,7 @@ source ~/.profile
|
|||
#==============================================================================
|
||||
|
||||
alias clip2png="xclip -selection clipboard -target image/png -out"
|
||||
alias k="kubectl"
|
||||
|
||||
|
||||
|
||||
|
|
@ -103,6 +104,12 @@ claude() {
|
|||
npm 2>&1 1>/dev/null
|
||||
claude "$@"
|
||||
}
|
||||
|
||||
codex() {
|
||||
unset -f codex
|
||||
npm 2>&1 1>/dev/null
|
||||
codex "$@"
|
||||
}
|
||||
# ghcup
|
||||
[ -f "/home/aselimov/.ghcup/env" ] && . "/home/aselimov/.ghcup/env" # ghcup-env
|
||||
|
||||
|
|
@ -159,3 +166,11 @@ fi
|
|||
if [[ -z "$TMUX" ]] && [[ -n "$PS1" ]]; then
|
||||
tmux attach -t dev || tmux new -s dev
|
||||
fi
|
||||
|
||||
# pnpm
|
||||
export PNPM_HOME="/home/aselimov/.local/share/pnpm"
|
||||
case ":$PATH:" in
|
||||
*":$PNPM_HOME:"*) ;;
|
||||
*) export PATH="$PNPM_HOME:$PATH" ;;
|
||||
esac
|
||||
# pnpm end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue