WIP: Somewm migration
This commit is contained in:
parent
f5caff6684
commit
ce56320097
17 changed files with 342 additions and 238 deletions
|
|
@ -5,9 +5,9 @@ local actions = {}
|
|||
function actions.toggle_naughty()
|
||||
if naughty.is_suspended() then
|
||||
naughty.resume()
|
||||
naughty.notify({ text = "Notifications enabled", timeout = 2 })
|
||||
naughty.notification({ text = "Notifications enabled", timeout = 2 })
|
||||
else
|
||||
naughty.notify({ text = "Notifications disabled", timeout = 2 })
|
||||
naughty.notification({ text = "Notifications disabled", timeout = 2 })
|
||||
naughty.suspend()
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue