パッケージの詳細

kill-desktop-osx

ungoldman21ISC1.0.2

Kill Your Desktop (OS X Only).

apple, clutter, deactivate, desktop

readme

kill-desktop-osx

npm travis standard downloads

Kill Your Desktop (OS X only).

tl;dr: If you want to hide your desktop on OS X, you can use this module... or just run the following:

defaults write com.apple.finder CreateDesktop false

Usage

$ npx kill-desktop-osx

 (ノಠ益ಠ)ノ︵doʇʞsǝp

No more desktop! You can't drag stuff on there and all the icons are gone. The folder is still there and works normally, it's just no longer ruining your sweet wallpaper and stressing you out and messing up your life.

Feeling remorse? It's ok.

$ npx kill-desktop-osx unkill

 desktopノ(º_ºノ)

Other valid commands: resurrect, restore, revive, undo, jk, I'm sorry, my god, what have I done, this wasn't supposed to happen, forgive me

In fact any words will be fine, because running it a second time will just undo it no matter what.

Node API

This also works as a regular node module, like so:

npm install kill-desktop-osx
var killDesktop = require('kill-desktop-osx')
var state = killDesktop()

state will be 'dead' if desktop was killed, 'alive' if desktop was resurrected.

Confession

This module is just a silly wrapper around these commands:

defaults read com.apple.finder CreateDesktop
defaults write com.apple.finder CreateDesktop false
defaults write com.apple.finder CreateDesktop true
killall Finder

License

ISC

更新履歴

kill-desktop-osx change log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

1.0.2

Fixes

  • fix(ci): use stable node only
  • fix(pkg): update URLs, author

Chores

  • chore: update license
  • docs: update readme
  • docs: add confession

1.0.1

  • better separation between cli & node api
  • add node api doc

1.0.0

  • engage