diff options
author | Alan Pearce | 2017-09-29 22:09:15 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-29 22:09:15 +0200 |
commit | d8b10cd59d5003030adc2f04028296de9f65f8a9 (patch) | |
tree | 7f5dfd58b2754c5e60923bbd86dad772ada79632 /autorandr | |
parent | ae4a6f6b4e6eac58fc9283f692dd2e8d5b58ae99 (diff) | |
download | nixfiles-d8b10cd59d5003030adc2f04028296de9f65f8a9.tar.lz nixfiles-d8b10cd59d5003030adc2f04028296de9f65f8a9.tar.zst nixfiles-d8b10cd59d5003030adc2f04028296de9f65f8a9.zip |
autorandr: Restart redshift without blocking
Diffstat (limited to 'autorandr')
-rwxr-xr-x | autorandr/.config/autorandr/postswitch | 2 |
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'" |