From 07d2433bf35d3ba10aea1de12af7f607490942c5 Mon Sep 17 00:00:00 2001 From: Thies Lennart Alff Date: Thu, 22 Jun 2023 12:29:09 +0200 Subject: [PATCH] updated zshrc and notify update time --- .config/polybar/scripts/arch/arch_updates.sh | 2 +- home/.vimrc | 4 ++-- home/.zshrc | 6 ++++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.config/polybar/scripts/arch/arch_updates.sh b/.config/polybar/scripts/arch/arch_updates.sh index 51006f4..5b65bd1 100755 --- a/.config/polybar/scripts/arch/arch_updates.sh +++ b/.config/polybar/scripts/arch/arch_updates.sh @@ -50,7 +50,7 @@ check_for_updates() { notify() { notification=$(echo "$UPDATE_LIST" | column -t -L -o " " | sed 's/->//g') - notify-send -t 0 "Updates" "$notification" + notify-send -t 10 "Updates" "$notification" } diff --git a/home/.vimrc b/home/.vimrc index 70489f3..998362b 100644 --- a/home/.vimrc +++ b/home/.vimrc @@ -30,8 +30,8 @@ set visualbell set encoding=utf-8 set ttyfast -set background=light -colorscheme quietlight +" set background=light +" colorscheme quietlight " always show mode status line set laststatus=2 diff --git a/home/.zshrc b/home/.zshrc index 9ef3cd9..87935cb 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -5,7 +5,6 @@ prompt pure # If you come from bash you might have to change your $PATH. export PATH=$HOME/bin:/usr/local/bin:$HOME/.local/bin:$PATH #export PATH=$HOME/.platformio/penv/bin:$PATH - # Path to your oh-my-zsh installation. export ZSH="/home/lennartalff/.oh-my-zsh" @@ -86,9 +85,12 @@ else export EDITOR='vim' fi +export TERM="xterm-256color" + alias reboot-windows="systemctl reboot --boot-loader-entry=windows.conf" alias reboot-linux="systemctl reboot --boot-loader-entry=arch.conf" alias zshrc="vim ~/.zshrc" -# kinit -kt "$HOME/keytabs/cta1233.keytab" cta1233@KERBEROS.TU-HARBURG.DE +alias mount-institut='kinit -kt "$HOME/keytabs/cta1233.keytab" cta1233@KERBEROS.TU-HARBURG.DE && mount /TUHH/Institut' +alias mount-lehre='kinit -kt "$HOME/keytabs/cta1233.keytab" cta1233@KERBEROS.TU-HARBURG.DE && mount /TUHH/Lehre'