kanshi, python swayidle, zsh title
This commit is contained in:
16
.zshrc
16
.zshrc
@ -210,7 +210,7 @@ mattermost-desktop () { # launch telegram and send it to scratchpad
|
||||
|
||||
theme () {
|
||||
wal -qi $WALLPAPER
|
||||
swaybg --bg-scale $WALLPAPER
|
||||
setwallpaper $WALLPAPER
|
||||
cp ~/.cache/wal/mako ~/.config/mako/config
|
||||
systemctl --user restart mako
|
||||
systemctl --user restart waybar
|
||||
@ -337,3 +337,17 @@ export PAGER=bat
|
||||
|
||||
alias ls="exa"
|
||||
#cat ~/.ideas
|
||||
#
|
||||
|
||||
if [[ "${TERM}" != "" && "${TERM}" == "xterm-256color" ]]
|
||||
then
|
||||
precmd()
|
||||
{
|
||||
print -Pn "\e]0;%~\a"
|
||||
}
|
||||
|
||||
preexec()
|
||||
{
|
||||
echo -en "\e]0;$(id --user --name)@$(hostname): ${1}\a"
|
||||
}
|
||||
fi
|
||||
|
Reference in New Issue
Block a user