-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.ini
More file actions
89 lines (67 loc) · 2.29 KB
/
config.ini
File metadata and controls
89 lines (67 loc) · 2.29 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[General]
# Log level. Can be one of:
# DEBUG, INFO, WARNING, ERROR, CRITICAL
log_level = INFO
[Actions]
# Lock command to execute. Should NOT fork.
locker = i3lock -n
# Unlock command to execute.
# Not sure how useful this is but `loginctl unlock-session` is a thing.
unlocker =
# Screen Dimmer command to execute.
# A nice dimmer script is for example:
# https://bitbucket.org/raymonad/xss-lock/src/1e158fb20108058dbd62bd51d8e8c003c0a48717/doc/dim-screen.sh
dimmer = xset dpms force off
[ScreenSaver]
# Action to invoke when the system should be locked.
lock_action = locker
# After how many seconds to activate `lock_action`.
# 0 disables this feature.
lock_sec = 1800
# Action to invoke when system is idle.
# Will be killed if activity has been detected.
idle_action = dimmer
# Action to invoke when the system exits the idle state.
# Will be executed AFTER `idle_action` has been killed.
idle_reset_action =
# After how many seconds to activate `idle_action`.
# 0 disables this feature.
idle_sec = 180
# Like `idle_sec` but while `lock_action` is active.
# Only works if the system was locked by this app.
# 0 disables this feature.
idle_sec_locked = 10
# Inhibit the ScreenSaver when the active window is in
# fullscreen mode.
# Only works if the window manager sets the `_NET_WM_STATE_FULLSCREEN`
# atom.
inhibit_on_fullscreen = true
# Action to invoke when the active window entered fullscreen.
enter_fullscreen_action =
# Action to invoke when the active window is no longer fullscreen.
leave_fullscreen_action =
# List of windows which should not reset the idle timer when they get newly
# mapped.
# Supports regex matching.
#
# Format:
# [{"name": "", "class": "", "inst": ""}]
#
# Example:
# idle_reset_ignore = [{"name": "^i3lock$"}, {"class": "^Dunst$"}]
idle_reset_ignore = []
[loginctl]
# Action to invoke when logind asks for the session to be locked.
# e.g. `loginctl lock-session`
lock_action = locker
# Action to invoke when logind asks for the session to be unlocked.
# e.g. `loginctl unlock-session`
unlock_action = unlocker
# Activate the Screensaver when `lock_action` was requested.
active_screensaver_on_lock = true
[Sleep]
# Action to invoke before the system goes to sleep.
# Requires systemd and logind to be used.
sleep_action = locker
# Delay sleep by this many seconds.
sleep_delay = 1