feat: idle inhibit (#502)
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
This commit is contained in:
21
options.ts
21
options.ts
@@ -386,6 +386,15 @@ const options = mkOptions(OPTIONS, {
|
||||
icon_background: opt(colors.base2),
|
||||
spacing: opt('0.45em'),
|
||||
},
|
||||
hypridle: {
|
||||
enableBorder: opt(false),
|
||||
border: opt(colors.peach),
|
||||
background: opt(colors.base2),
|
||||
text: opt(colors.peach),
|
||||
icon: opt(colors.peach),
|
||||
icon_background: opt(colors.base2),
|
||||
spacing: opt('0.45em'),
|
||||
},
|
||||
},
|
||||
},
|
||||
menus: {
|
||||
@@ -1117,6 +1126,18 @@ const options = mkOptions(OPTIONS, {
|
||||
scrollUp: opt(''),
|
||||
scrollDown: opt(''),
|
||||
},
|
||||
hypridle: {
|
||||
label: opt(true),
|
||||
onIcon: opt(''),
|
||||
offIcon: opt(''),
|
||||
onLabel: opt('On'),
|
||||
offLabel: opt('Off'),
|
||||
pollingInterval: opt(1000 * 2),
|
||||
rightClick: opt(''),
|
||||
middleClick: opt(''),
|
||||
scrollUp: opt(''),
|
||||
scrollDown: opt(''),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user