Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshpetit/toggle_dnd
Toggle Do Not Disturb in the gnome desktop environment
https://github.com/joshpetit/toggle_dnd
disturb do gnome-desktop-environment keyboard-shortcut not shortcut
Last synced: 23 days ago
JSON representation
Toggle Do Not Disturb in the gnome desktop environment
- Host: GitHub
- URL: https://github.com/joshpetit/toggle_dnd
- Owner: joshpetit
- License: mit
- Created: 2020-08-14T21:27:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-29T14:40:29.000Z (over 3 years ago)
- Last Synced: 2023-03-07T13:40:58.566Z (almost 2 years ago)
- Topics: disturb, do, gnome-desktop-environment, keyboard-shortcut, not, shortcut
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 15
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# toggle_dnd
A shell script to toggle do not disturb on and off in the gnome desktop environment.Note: After fiddling around, I noticed that you can just press `Super + V` and then `Space` to toggle Do Not Disturb.
This script will help make it a single hotkey though.### Installation and Usage
```
$ git clone https://github.com/joshpetit/toggle_dnd.git
$ cd toggle_dnd
$ chmod +x toggle_dnd
$ ./toggle_dnd
```### Keyboard Shortcut
Create a keyboard shortcut in settings panel
to quickly toggle the script.
```
Settings > Keyboard Shortcuts > Custom Shortcuts > +
```
Name: toggle_dndcommand: /absolute/path/to/toggle_dnd
shortcut: \[Keys\]
### Testing
To ensure this is working, you can test it by enabling DnD and running:
```
$ notify-send "Hello world"
```## Alternatives
* [Do Not Disturb](https://extensions.gnome.org/extension/964/do-not-disturb-button/) Gnome extension ([home page](https://nls1729.github.io/donotdisturb_button.html))
* [NoNotifications](https://launchpad.net/~vlijm/+archive/ubuntu/nonotifs) apt package## Very Important
Have a nice day :)