1
0
mirror of https://github.com/Toxblh/MTMR.git synced 2026-01-10 17:08:39 +00:00

displaysleep item

This commit is contained in:
Serg 2018-04-11 13:47:09 +07:00
parent dd3ab9ac6f
commit ff58329691

View File

@ -67,6 +67,7 @@ class SupportedTypesHolder {
return (item: item, action: .none)
},
"sleep": { _ in return (item: .staticButton(title: "☕️"), action: .shellScript(executable: "/usr/bin/pmset", parameters: ["sleepnow"]) ) },
"displaySleep": { _ in return (item: .staticButton(title: "☕️"), action: .shellScript(executable: "/usr/bin/pmset", parameters: ["displaysleepnow"]) ) },
]
static let sharedInstance = SupportedTypesHolder()