diff options
author | tdro <tdro@users.noreply.github.com> | 2023-01-21 01:47:35 -0500 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2023-01-21 01:47:35 -0500 |
commit | 2376f1b0c4195769aa6c47f2e2d10fe4a2e8a43a (patch) | |
tree | 719475e9fd5c7b81f74a034e7824df68e8d76801 /.bash_profile | |
parent | f9eef6165b46e243d3d5cf4988dc414d7c7cb069 (diff) | |
download | dotfiles-2376f1b0c4195769aa6c47f2e2d10fe4a2e8a43a.tar.gz dotfiles-2376f1b0c4195769aa6c47f2e2d10fe4a2e8a43a.tar.bz2 dotfiles-2376f1b0c4195769aa6c47f2e2d10fe4a2e8a43a.zip |
.bash_profile: Restart redshift if enabled
Diffstat (limited to '.bash_profile')
-rw-r--r-- | .bash_profile | 1 |
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 |