8000 GitHub - lswainemoore/do
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lswainemoore/do

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huh??

Basically, Self Control + timer interface.

Also uses rumps, which I found out about from this handy article: https://camillovisini.com/article/create-macos-menu-bar-app-pomodoro/.

Use at your own risk!! Touches /etc/hosts and uses sudo, etc.

Installation

set up db: sqlite3 do.db < schema.sql

build application: python setup.py py2app -A

n.b. we're using development mode, so that we can edit blocklist easily. this of course raises q: why make an app at all? a: mostly to get rid of annoying dock icon.

run application: sudo -b ./dist/do_app.app/Contents/MacOS/do_app

note that for ^ we're not using open because sudo doesn't work. annoying!

install in sudo crontab -e: */10 * * * * pkill do_app; <path>/dist/do_app.app/Contents/MacOS/do_app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
2E8A

Languages

0