kanshi, python swayidle, zsh title

This commit is contained in:
2021-07-18 13:34:20 +02:00
parent a6f071cce2
commit 5a57229dc9
17 changed files with 178 additions and 30 deletions

16
.zshrc
View File

@ -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