From 21d748d42fdcb65092e6c575e7154f3f798119b0 Mon Sep 17 00:00:00 2001 From: Sheppy Date: Thu, 12 Jan 2017 21:29:48 +0100 Subject: [PATCH] small addiotions for notifications --- herbstluftwm/autostart | 5 +++++ other/package_list_full.txt | 5 ++++- zshrc | 2 ++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index e6e4014..dbb7dff 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -12,6 +12,8 @@ xsetroot -solid '#5A8E3A' # reset hc keyunbind --all +pkill dunst +pkill xautolock #variables Mod=Mod4 # Use the super key as the main modifier @@ -27,6 +29,9 @@ fi if [[ "$HOST" == "atlantislaptop" ]]; then hc keybind XF86MonBrightnessUp spawn /bin/bash -c 'tee /sys/class/backlight/intel_backlight/brightness <<< "$(expr $(cat /sys/class/backlight/intel_backlight/brightness) + 5)"' hc keybind XF86MonBrightnessDown spawn /bin/bash -c 'tee /sys/class/backlight/intel_backlight/brightness <<< "$(expr $(cat /sys/class/backlight/intel_backlight/brightness) - 5)"' + xautolock -time 15 -locker /home/ik15ydit/.config/i3lock/piclock.sh & + /usr/bin/dunst & + hc keybind $Mod-o spawn /bin/bash -c "systemctl hibernate" fi ######### GENERAL SETUP ######### diff --git a/other/package_list_full.txt b/other/package_list_full.txt index a691e17..7189d3d 100644 --- a/other/package_list_full.txt +++ b/other/package_list_full.txt @@ -10,6 +10,7 @@ colordiff ;#colored diff coreutils ;#many usefull tools cron ;#execute tasks automaticly at certain times cscope ;#find shit in big repros +dunst ;#notification deamon for notify-send dzen2 ;#used for herbsluftclient panel eclipse ;#java programming enviroment enscript ;#used for pdf/ps stuff @@ -43,8 +44,9 @@ katarakt ;#simple and performant pdfviewer kolourpaint4 ;#simple pictureeditor less ;#simple textview libreoffice ;#documenteditor like open office +lm-sensors ;#CPU/GraKa (temperatur) sensors nano ;#very simple to use consol-texteditor -ncdu ;#harddriveussage overview +ncdu ;#harddrive ussage overview mpv ;#video/music player openjdk-8-jdk ;#java openssh-client ;#ssh @@ -66,6 +68,7 @@ sudo ;#execute as root tar ;#compressing/unpacking tesseract-ocr ;#optical character/text recognition texlive-full ;#tex (Achtung groß) +texmaker ;#tex gui tig ;#git history tmux ;#terminal multiplexer (multiple terminals within one) traceroute ;#tracert/check route to host diff --git a/zshrc b/zshrc index f657d94..b968971 100644 --- a/zshrc +++ b/zshrc @@ -78,6 +78,8 @@ if [[ $HOST =~ atlantis* ]]; then #alias gedit="gedit 2&>/dev/null &" alias kpaint="kolourpaint 2&>/dev/null &" alias telegram='ssh uni -t "/proj/ciptmp/ik15ydit/Zeug/Telegram/tg/bin/telegram-cli -k tg-server.pub"' + alias telegram-plain='ssh uni -t "/proj/ciptmp/ik15ydit/Zeug/Telegram/tg/bin/telegram-cli --disable-colors --disable-readline -k tg-server.pub"' + alias x='startx' else alias pcolor='for i in {0..255} ; do printf "\x1b[38;5;${i}mcolour${i} "; if [[ $(((($i+3)/6)*6)) -eq $(($i+3)) ]]; then echo; fi; done'