![]() The –no-startup-id flag is a nice little i3 feature which you can read about here. If you’re confused about ‘signals,’ you’re in luck: I did a YouTube video on it a while back. ![]() This configuration makes use of that, instead of killing all redshift processes every time you hit Win+shift+u. Redshift has a nice ‘toggle’ feature, where you can toggle its effects on and off by sending the user-defined signal USR1 to the redshift process. Obviously you could bind these to whatever keys you like.Ī clever YouTube commenter who likes redshift to start as soon as he logs in suggested the following configuration: exec -no-startup-id redshift -t 5500:2500īindsym $mod+Shift+u exec pkill -USR1 redshift When I need super painful blue brightness for some reason, I can just hit Mod-Shift-u. This way, I can just hit Mod-Shift-i to turn on redshift (I’ve commented out the gamma setting). In my configuration file for i3 ( ~/.i3/config ), I’ve created a keybinding to turn redshift on and off: # redshiftīindsym $mod+Shift+i exec redshift -t 3700:3700 # -g 0.5 It’ll take a few seconds to actually shift the colors on your screen be patient): Try a few of the following commands, and see which you like better (just run these in a terminal, and kill one before trying the other. On Ubuntu and Debian, this would be: apt-get install redshift To install, just use your operating system’s package manager (apt, pkg, pacman, etc.) to install redshift. If you’re spending a lot of time looking at a screen, you’ll probably want to turn down the blues, to give your eyes a chance. Make sure you remove redshift-gtk: sudo apt-get remove redshift-gtk or in certain distros (Arch based): remove the redshift package, then install the redshift-minimal package or use this command: which redshift-gtk & sudo chmod -x (which redshift-gtk) /.config/nf may conflict with this applet, it is highly recommended removing it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |