diff --git a/evolution b/evolution deleted file mode 100755 index 8e2324d..0000000 --- a/evolution +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -LANG=en_US.utf8 exec /usr/bin/evolution diff --git a/gajim b/gajim deleted file mode 100755 index 886e65d..0000000 --- a/gajim +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - - -# Start notification daemon -/usr/lib/notification-daemon-1.0/notification-daemon - -# Execute Gajim -exec /usr/bin/gajim diff --git a/i3-nested b/i3-nested deleted file mode 100755 index dddbf74..0000000 --- a/i3-nested +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - - -# Start nested X-server -Xephyr -br -ac -noreset -screen 1440x960 -resizeable -dpi 96 -keybd ephyr,,,xkblayout=de,xkbvariant=neo :1 & -XEPHYR_PID=$! -sleep 1 - -# Start i3 -DISPLAY=:1 i3 & -sleep 1 - -# Set keymap -DISPLAY=:1 setxkbmap de neo diff --git a/mail-notify.bash b/mail-notify.bash deleted file mode 100755 index 790ac04..0000000 --- a/mail-notify.bash +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/bash - - -# Settings -MAILDIRNEW="$HOME/Downloads/Mail/*/INBOX/new/" -TMPFILE="/tmp/mail-notify.stat" -SOUNDFILE="$HOME/.local/share/sounds/mail-received.wav" - - -# run mail sync -$@ - - -# Get modification date -MODOLD=0 -if [ -f "$TMPFILE" ]; then - MODOLD="$(cat $TMPFILE)" -fi -MODNEW="$(find $MAILDIRNEW -type d -printf '%T@\n' | sort -n | tail -1 | cut -d "." -f 1)" -if [ $MODNEW -le $MODOLD ]; then - exit 0 -fi -echo "$MODNEW" > "$TMPFILE" - - -# Count new mails -MAILNEW="$(find $MAILDIRNEW -type f | wc -l)" - -# Notify -if [ $MAILNEW -gt 0 ] -then - # Send text - if [ $MAILNEW -gt 1 ]; then - notify-send -a "Mail" -c "email.arrived" -i "mail-message-new" "Neue E‑Mails" "$MAILNEW neue E‑Mails sind eingetroffen!" - else - notify-send -a "Mail" -c "email.arrived" -i "mail-message-new" "Neue E‑Mails" "$MAILNEW neue E‑Mail ist eingetroffen!" - fi - - # Play sound - if [ -e "$SOUNDFILE" ]; then - paplay "$SOUNDFILE" - fi -fi