Git Product home page Git Product logo

kill-desktop-osx's Introduction

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

Contributing

Contributions welcome! Please read the contributing guidelines before getting started.

License

ISC

kill-desktop-osx's People

Contributors

ungoldman avatar

Stargazers

sonopictorial avatar Jigar Gosar avatar Jonathan Dupré avatar  avatar Bret Comnes avatar

Watchers

Jigar Gosar avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.