{"id":22007429,"url":"https://github.com/joshpetit/toggle_dnd","last_synced_at":"2025-05-05T23:22:52.541Z","repository":{"id":53480308,"uuid":"287627222","full_name":"joshpetit/toggle_dnd","owner":"joshpetit","description":"Toggle Do Not Disturb in the gnome desktop environment","archived":false,"fork":false,"pushed_at":"2021-03-29T14:40:29.000Z","size":8,"stargazers_count":23,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T00:41:15.324Z","etag":null,"topics":["disturb","do","gnome-desktop-environment","keyboard-shortcut","not","shortcut"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joshpetit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-14T21:27:18.000Z","updated_at":"2025-01-22T20:26:24.000Z","dependencies_parsed_at":"2022-09-15T06:40:48.821Z","dependency_job_id":null,"html_url":"https://github.com/joshpetit/toggle_dnd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshpetit%2Ftoggle_dnd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshpetit%2Ftoggle_dnd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshpetit%2Ftoggle_dnd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshpetit%2Ftoggle_dnd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshpetit","download_url":"https://codeload.github.com/joshpetit/toggle_dnd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252591197,"owners_count":21773042,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["disturb","do","gnome-desktop-environment","keyboard-shortcut","not","shortcut"],"created_at":"2024-11-30T01:26:41.888Z","updated_at":"2025-05-05T23:22:52.522Z","avatar_url":"https://github.com/joshpetit.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# toggle_dnd\nA shell script to toggle do not disturb on and off in the gnome desktop environment.\n\nNote: After fiddling around, I noticed that you can just press `Super + V` and then `Space` to toggle Do Not Disturb.\nThis script will help make it a single hotkey though.\n\n### Installation and Usage\n```\n$ git clone https://github.com/joshpetit/toggle_dnd.git\n$ cd toggle_dnd\n$ chmod +x toggle_dnd\n$ ./toggle_dnd\n```\n\n### Keyboard Shortcut\nCreate a keyboard shortcut in settings panel\nto quickly toggle the script.\n```\nSettings \u003e Keyboard Shortcuts \u003e Custom Shortcuts \u003e +\n```\nName: toggle_dnd\n\ncommand: /absolute/path/to/toggle_dnd\n\nshortcut: \\[Keys\\]\n\n### Testing\n\nTo ensure this is working, you can test it by enabling DnD and running:\n\n```\n$ notify-send \"Hello world\"\n```\n\n## Alternatives\n\n* [Do Not Disturb](https://extensions.gnome.org/extension/964/do-not-disturb-button/) Gnome extension ([home page](https://nls1729.github.io/donotdisturb_button.html))\n* [NoNotifications](https://launchpad.net/~vlijm/+archive/ubuntu/nonotifs) apt package\n\n## Very Important\nHave a nice day :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshpetit%2Ftoggle_dnd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshpetit%2Ftoggle_dnd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshpetit%2Ftoggle_dnd/lists"}