From c457d3820fdf0977da9fe79acd6ed76fe5291fe2 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 6 Feb 2020 20:42:39 -0600 Subject: [PATCH] Add time --- apps/de/x/init | 3 +-- apps/de/x/loadresources | 8 ++++---- apps/de/x/profile | 2 +- bin/lib/arch-linux/provisioning/2-essentials.bash | 1 + 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/de/x/init b/apps/de/x/init index 38a33d2..af08cb0 100644 --- a/apps/de/x/init +++ b/apps/de/x/init @@ -9,7 +9,6 @@ . "$DOTFILES_PATH/bin/prelude" [ -f "$HOME/.xprofile" ] && . "$HOME/.xprofile" - -# TODO: env? [ -f "$HOME/.env_xinitrc" ] && . "$HOME/.env_xinitrc" +[ -f "$ENV_PATH/x/init" ] && . "$ENV_PATH/x/init" exec "$DOTFILES_PATH/apps/de/bspwm/wmstart" diff --git a/apps/de/x/loadresources b/apps/de/x/loadresources index f5d849d..70b5e07 100755 --- a/apps/de/x/loadresources +++ b/apps/de/x/loadresources @@ -16,8 +16,8 @@ usermodmap="$ENV_PATH/x/modmap" [ -f "$usermodmap" ] && xmodmap "$usermodmap" &>/dev/null if [ -d "/etc/X11/xinit/xinitrc.d" ] ; then - for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do - [ -x "$f" ] && . "$f" - done - unset f + for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do + [ -x "$f" ] && . "$f" + done + unset f fi diff --git a/apps/de/x/profile b/apps/de/x/profile index 17a48d3..78f59d0 100644 --- a/apps/de/x/profile +++ b/apps/de/x/profile @@ -14,7 +14,7 @@ has_command autorandr && autorandr -c has_command redshift && redshift -r -l 39.1:-94.6 -t 6500K:3000K & has_command kdeconnect-indicator && kdeconnect-indicator & -eval "$(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)" +has_command gnome-keyring-daemon && eval "$(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)" export SSH_AUTH_SOCK xset r rate 250 80 & # keyrepeat diff --git a/bin/lib/arch-linux/provisioning/2-essentials.bash b/bin/lib/arch-linux/provisioning/2-essentials.bash index d0b0cbd..aa9b7c4 100755 --- a/bin/lib/arch-linux/provisioning/2-essentials.bash +++ b/bin/lib/arch-linux/provisioning/2-essentials.bash @@ -53,6 +53,7 @@ pacaur --needed -S \ fish `# Shell` \ pkgfile `# Package File Metadata` \ swaks `# SMTP CLI` \ + time `# GNU time` \ fortune-mod fortune-mod-archlinux `# Fortune` \ --noconfirm --noedit