aboutsummaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile1
1 files changed, 1 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile
index d986432..795bd03 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -16,6 +16,7 @@ prefixPath "$HOME/.local/bin/wrappers"
# auto login
[ "$EUID" != 0 ] && [ -z "$DISPLAY" ] && [ "$(tty)" = '/dev/tty1' ] \
&& command -v nix && nix-xorg-conf > "$HOME"/.config/X11/xorg.conf.d/00-modules.conf \
+ && { [ "$(systemctl --user is-enabled redshift)" = "enabled" ] && systemctl --user restart redshift & } \
&& exec sx
umask 0022