~tardypad/dotfiles

ref: f37f64d54c959fb7ec9796c00b8a3f7d4bbbd08c dotfiles/files/docs/shell/do-not-disturb.scd -rw-r--r-- 1.1 KiB
f37f64d5 — Damien Tardy-Panis Only show task name if -n option is set 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
do-not-disturb(1perso)

# NAME

do-not-disturb - Manage "Do not disturb" mode

# SYNOPSIS

do-not-disturb [ *status* | *remote-status* | *disable* ]

do-not-disturb [-d _duration_] [-w _work_] ( *enable* | *toggle* )

# DESCRIPTION

Manage "Do not disturb" mode. It updates mode on various places:
- locally on system
- on remote server

# OPTIONS

*-d* _duration_
	Enable "Do not disturb" mode during _duration_ minutes

*-w* _work_
	Work information about the cause of the "Do not disturb" mode being enabled

# OPERANDS

*status*
	Display whether the "Do not disturb" mode is "enabled" or "disabled"++
This is the default action if none is specified

*remote-status*
	Display "Do not disturb" mode from remote server

*disable*
	Disable "Do not disturb" mode

*enable*
	Enable "Do not disturb" mode

*toggle*
	Toggle "Do not disturb" mode

# ENVIRONMENT VARIABLES

_XDG_RUNTIME_DIR_
	Path to user-specific base directory to store runtime files++
If unset, defaults to /tmp

# FILES

_$XDG_RUNTIME_DIR/do_not_disturb_
	File used as a flag to store the status of the mode

# DEPENDENCIES

- curl
- pkill
- ssh