summary refs log tree commit diff stats
path: root/autorandr
diff options
context:
space:
mode:
authorAlan Pearce2017-09-29 22:09:15 +0200
committerAlan Pearce2017-09-29 22:09:15 +0200
commitd8b10cd59d5003030adc2f04028296de9f65f8a9 (patch)
tree7f5dfd58b2754c5e60923bbd86dad772ada79632 /autorandr
parentae4a6f6b4e6eac58fc9283f692dd2e8d5b58ae99 (diff)
downloadnixfiles-d8b10cd59d5003030adc2f04028296de9f65f8a9.tar.lz
nixfiles-d8b10cd59d5003030adc2f04028296de9f65f8a9.tar.zst
nixfiles-d8b10cd59d5003030adc2f04028296de9f65f8a9.zip
autorandr: Restart redshift without blocking
Diffstat (limited to 'autorandr')
-rwxr-xr-xautorandr/.config/autorandr/postswitch2
1 files changed, 1 insertions, 1 deletions
diff --git a/autorandr/.config/autorandr/postswitch b/autorandr/.config/autorandr/postswitch
index 97e4217c..76b3119e 100755
--- a/autorandr/.config/autorandr/postswitch
+++ b/autorandr/.config/autorandr/postswitch
@@ -13,7 +13,7 @@ esac
 
 xrandr --dpi $DPI
 emacsclient -e "(setq display-pixels-per-inch $DPI)" > /dev/null
+systemctl --user restart redshift --no-block
 i3-msg restart
-systemctl --user restart redshift
 
 notify-send --expire-time=5000 "Display profile: '$AUTORANDR_CURRENT_PROFILE'"