diff options
author | Peter Palfrader <peter@palfrader.org> | 2021-09-04 09:52:49 +0200 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2021-09-04 09:52:49 +0200 |
commit | 1b1ab1ca3c749f5a05f23d88085b28998ef309a9 (patch) | |
tree | a0ff6b46ab57c9bb4ffe2e36879b68d9b38a350b | |
parent | 6123a331f80c928c755f1404407c77b85054d8a3 (diff) |
tooltop for my countdown widget
-rw-r--r-- | config/awesome/countdown.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/awesome/countdown.lua b/config/awesome/countdown.lua index 92d2c99..52675e6 100644 --- a/config/awesome/countdown.lua +++ b/config/awesome/countdown.lua @@ -76,3 +76,11 @@ countdown.checkbox:buttons(awful.util.table.join( countdown.checkbox.checked = false end) )) + + +local countdown_tooltip = awful.tooltip { } +countdown_tooltip:add_to_object(countdown.checkbox) + +countdown.checkbox:connect_signal('mouse::enter', function() + countdown_tooltip.text = 'Click to start countdown' +end) |