• Stars
    star
    374
  • Rank 114,346 (Top 3 %)
  • Language
    JavaScript
  • License
    Creative Commons ...
  • Created about 8 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Enable darker-than-dark dimming for internal and external screens.

Desktop Dimmer Beta travis appveyor npm dependencies devDependencies



Enable darker-than-dark dimming for internal and external screens.
Available for macOS, Windows and Linux (Beta).


macOS Windows 10


Cross-Platform

Tested on macOS Sierra, Windows 10 Anniversary. Beta support for Ubuntu 16.10.

Lean

Small resource footprint, minimal User Interface.

Unobstrusive

Settings are persisted and restored per-Display without any configuration.

Smart

Heading out? Disconnecting and reconnecting external displays are handled seamlessly.

Open Source

GitHub-based workflow, MIT licensed.

Contents

  1. Installation
  2. Developers
  3. Continuous Integration
  4. Up Next
  5. Contact
  6. Author

Installation

Standard Installation

Download the latest version of Desktop Dimmer on the Releases page.

Installation as Commandline Tool

npm install --global desktop-dimmer		# Installs the node CLI module
desktop-dimmer							# Runs it

Developers

Sources

Clone the repo and install dependencies.

git clone https://github.com/sidneys/desktop-dimmer.git desktop-dimmer
cd desktop-dimmer
npm install

Scripts

npm run start

Run the app with integrated Electron.

npm run start
npm run start:dev 					# with Debugging Tools
npm run start:livereload 			# with Debugging Tools and Livereload

npm run localsetup

Install the app in the System app folder and start it.

npm run localsetup
npm run localsetup:rebuild			# Build before installation
npm run localsetup:rebuild:dev 		# Build before installation, use Developer Tools

npm run build

Build the app and create installers (see requirements).

npm run build					# build all available platforms
npm run build macos windows		# build specific platforms (macos/linux/windows)

Build Requirements

  • Building for Windows requires wine and mono (on macOS, Linux)
  • Building for Linux requires fakerootΒ andΒ dpkg (on macOS, Windows)
  • Only macOS can build for other platforms.

macOS Build Setup

Install Homebrew, then run:

brew install wine mono fakeroot dpkg

Linux Build Setup

sudo apt-get install wine mono fakeroot dpkg

Continuous Integration

Turnkey build-in-the-cloud for Windows 10, macOS and Linux.

The process is managed by a custom layer of node scripts and Electron-optimized configuration templates. Completed Installation packages are deployed to GitHub Releases. Builds for all platforms and architectures take about 5 minutes. Backed by the open-source-friendly guys at Travis and AppVeyor and running electron-packager under the hood.

Setup

  1. Fork the repo
  2. Generate your GitHub Personal Access Token using "repo" as scope. Copy it to the clipboard.
  3. macOS + Linux
    1. Sign in to Travis using GitHub.
    2. Open your Travis Profile, click "Sync Account" and wait for the process to complete.
    3. Find this repository in the list, enable it and click "βš™" to open its settings.
    4. Create a new Environment Variable named GITHUB_TOKEN. Paste your Token from step 2 as value.
  4. Windows
    1. Sign in to AppVeyor using GitHub.
    2. Click on "New Project", select "GitHub", look up this repo in the list and click "Add".
    3. After import navigate to the Settings > Environment subsection
    4. Select "Add Variable", insert GITHUB_TOKEN for name, paste your Token as value. Save.

Triggering Builds

  1. Add a new Tag to start the build process:

    git tag -a v1.0.1
    git push --tags

    The builds are started in parallel and added to the "Releases" page of the GitHub repo (in draft mode).

  2. Use the editing feature to publish the new app version.

  3. There is no step 3

Up Next img

  • Colored Shades
  • In-App Updates (Squirrel)
  • Signed binaries
  • E2E Testing (Spectron)

Contact Contributions Wanted

  • Gitter Developer Chat
  • Issues File, track and discuss features and issues
  • Wiki Read or contribute to the project Wiki

Author

sidneys 2016

More Repositories

1

pb-for-desktop

The missing Desktop application for Pushbullet.
JavaScript
507
star
2

ffmpeg-progressbar-cli

A colored progress bar for FFmpeg.
JavaScript
206
star
3

electron-titlebar-windows

Adds the Windows 10 ModernUI (Metro)-style titlebars to any Electron-based desktop app.
JavaScript
141
star
4

live-wallpaper-ecorp

Animated Wallpaper featuring the E-Corp company logo from Mr. Robot.
JavaScript
36
star
5

homebrew-homebrew

sidneys.github.io Homebrew Tap
Ruby
23
star
6

youtube-playlist-player

Watch and edit YouTube playlists on the desktop.
CSS
17
star
7

cordova-plugin-progressview

Cordova+PhoneGap Extension for displaying a native determinate progress dialog.
Objective-C
7
star
8

xml-to-srt-cli

Convert XML subtitles (EBU-TT format) from online broadcasting platforms like MediathekView (Germany) or the BBC (UK) into SRT (SubRip) subtitles.
JavaScript
6
star
9

quicklook-thumbnail

Use NodeJS to generate thumbnail images for all QuickLook-enabled filetypes (e.g. .mp4 videos, iMessage transcripts, text files) on Apple OSX.
JavaScript
6
star
10

open-with-iina

Discover & open web-based media inside macOS' IINA media player
JavaScript
5
star
11

cordova-autocrosswalk

Shell / Bash script to auto-convert Cordova 3.6 projects to Cordova Crosswalk.
Shell
4
star
12

notificationcenter-settings-macos

Exposes a streamlined interface to the Notification Center settings for macOS applications.
JavaScript
3
star
13

specialkey-emulator

Emulate special keys (e.g. brightness, play/pause, increase volume) by emitting low-level global keyboard events - using NodeJS.
JavaScript
3
star
14

specialkey-emulator-cli

Emulate special keys from the command line.
JavaScript
2
star
15

macos-accessibility-keyboard

The missing interface for the hidden native virtual on-screen keyboard on macOS.
JavaScript
2
star
16

npm-check-global-updates

Find newer versions of global npm packages
JavaScript
2
star