Created
October 6, 2014 18:07
-
-
Save fatho/325c38642f1b71c47040 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# set environment for x session | |
source ~/.zsh.d/environment.zsh | |
# set wallpaper | |
~/bin/wallpaperd.sh ~/config-files/wallpaper & | |
source /etc/X11/xinit/xinitrc.d/30-dbus | |
# Start GNOME Keyring | |
eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh) | |
# You probably need to do this too: | |
export GNOME_KEYRING_CONTROL GNOME_KEYRING_PID GPG_AGENT_INFO SSH_AUTH_SOCK | |
# start devmon (automounting) | |
killall devmon | |
(devmon --exec-on-drive "notify-send --urgency=low \"Volume mounted\" \"Volume %l has been mounted to %d\"" \ | |
--exec-on-unmount "notify-send --urgency=low \"Volume unmounted\" \"Volume %l has been unmounted\"" &) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment