Skip to content

A BetterTouchTool widget to control Night Shift strength

License

Notifications You must be signed in to change notification settings

bauerp/BTT_NightShiftSlider

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BTT_NightShiftSlider

A simple BetterTouchTool touch bar widget that can change the color temperature of your screen with a slider.

Instruction

Tap on the icon to toggle Night Shift, the color of icon is switched between white and orange based on current status. off on

Hold the icon to activate the slider, the number on the right is the color temperature in Kelvin. slider1 slider2

How does it work?

This widget is written in AppleScript-ObjC, using macOS private framework CoreBrightness, you can check the code in \source folder, refer to Apple-Runtime-Headers for more information.

How to install?

Download NightShiftSlider.bttpreset, double click to import to BTT.

Note

You cannot replace assigned action of the icon with BTT's built-in Night Shift toggle action, otherwise, the code cannot detect the status change.

You may experience Night Shift flicking, or the icon color is not match with current status, try restart BTT.

About

A BetterTouchTool widget to control Night Shift strength

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • AppleScript 100.0%