Advertisement
Guest User

Untitled

a guest
Sep 21st, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. 1. Write the dim file to the bin (you will need super user permissions)
  2. ```bash
  3. sudo nano /usr/bin/dim
  4. ```
  5. 2. Copy and paste the following code into the file
  6. ```bash
  7. TEMP=1900
  8. redshift -P -O $TEMP
  9. ```
  10.  
  11. 3. To run this script it will you will need to change the permissions.
  12.  
  13. ```bash
  14. sudo chmod +X /usr/bin/dim
  15. ```
  16.  
  17. 4. The script should now be able to be run with the following line,
  18. ```bash
  19. dim
  20. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement