dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit 6d14994c9ee02af29e84156b7bd16daeb102152a
parent 79ec416e415b5f98c5a8a614b3602838d4745484
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Wed, 17 Jan 2018 06:27:37 -0500

Use dex for autostart when needed

Diffstat:
A.config/autostart/devilspie.desktop | 13+++++++++++++
A.config/autostart/gnome-keyring-pkcs11.desktop | 14++++++++++++++
A.config/autostart/gnome-keyring-secrets.desktop | 13+++++++++++++
A.config/autostart/orage-calendar.desktop | 14++++++++++++++
A.config/autostart/redshift-gtk.desktop | 16++++++++++++++++
M.xsession | 12++++++++++++
6 files changed, 82 insertions(+), 0 deletions(-)

diff --git a/.config/autostart/devilspie.desktop b/.config/autostart/devilspie.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=0.9.4 +Type=Application +Name=Devilspie +Comment=Advanced X window management +TryExec=devilspie +Exec=devilspie -a +OnlyShowIn=XFCE; +StartupNotify=false +Terminal=false +Hidden=false + diff --git a/.config/autostart/gnome-keyring-pkcs11.desktop b/.config/autostart/gnome-keyring-pkcs11.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Type=Application +Name=Certificate and Key Storage +Comment=GNOME Keyring: PKCS#11 Component +TryExec=gnome-keyring-daemon +Exec=gnome-keyring-daemon --start --components=pkcs11 +X-GNOME-Autostart-Phase=PreDisplayServer +X-GNOME-AutoRestart=false +X-GNOME-Autostart-Notify=true +X-GNOME-Bugzilla-Bugzilla=GNOME +X-GNOME-Bugzilla-Product=gnome-keyring +X-GNOME-Bugzilla-Component=general +X-GNOME-Bugzilla-Version=3.27.2 + diff --git a/.config/autostart/gnome-keyring-secrets.desktop b/.config/autostart/gnome-keyring-secrets.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Type=Application +Name=Secret Storage Service +Comment=GNOME Keyring: Secret Service +TryExec=gnome-keyring-daemon +Exec=gnome-keyring-daemon --start --components=secrets +X-GNOME-Autostart-Phase=PreDisplayServer +X-GNOME-AutoRestart=false +X-GNOME-Autostart-Notify=true +X-GNOME-Bugzilla-Bugzilla=GNOME +X-GNOME-Bugzilla-Product=gnome-keyring +X-GNOME-Bugzilla-Component=general +X-GNOME-Bugzilla-Version=3.27.2 diff --git a/.config/autostart/orage-calendar.desktop b/.config/autostart/orage-calendar.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=0.9.4 +Type=Application +Name=Orage Calendar +Comment=Open Orage Calendar Application +Icon=orage_globaltime +TryExec=orage +Exec=orage +OnlyShowIn=XFCE; +StartupNotify=false +Terminal=false +Hidden=false + diff --git a/.config/autostart/redshift-gtk.desktop b/.config/autostart/redshift-gtk.desktop @@ -0,0 +1,16 @@ +[Desktop Entry] +Version=1.0 +Name=Redshift +GenericName=Color temperature adjustment +Comment=Color temperature adjustment tool +TryExec=redshift +Exec=redshift-gtk -l geoclue2 +Icon=redshift +Terminal=false +Type=Application +Categories=Utility; +StartupNotify=true +Hidden=false +X-GNOME-Autostart-enabled=true + +X-Desktop-File-Install-Version=0.23 diff --git a/.xsession b/.xsession @@ -5,8 +5,20 @@ [ -n "$DISPLAY" ] && echo "$DISPLAY" > "$HOME/.xdisplay" +xset dpms 0 0 300 + if [ -d /usr/share/fonts/noto/ ] then xset fp+ /usr/share/fonts/noto/ xset fp rehash fi + +if type dex > /dev/null 2>&1 +then + : ${XDG_CURRENT_DESKTOP:=$XDG_SESSION_DESKTOP} + case $XDG_CURRENT_DESKTOP in + awesome|twm) + dex -ae $XDG_CURRENT_DESKTOP + ;; + esac +fi