]> git.rmz.io Git - dotfiles.git/commitdiff
awesome: update error handling
authorSamir Benmendil <me@rmz.io>
Sun, 12 Mar 2017 23:26:42 +0000 (23:26 +0000)
committerSamir Benmendil <me@rmz.io>
Sun, 12 Mar 2017 23:26:42 +0000 (23:26 +0000)
awesome/rc.lua

index c4f3d6294cae5e57e366f0bd55d8397d8512bfe5..b7def3e1a9557060f88bb48673f5d6206bfa4f49 100644 (file)
@@ -28,13 +28,13 @@ do
 
         naughty.notify({ preset = naughty.config.presets.critical,
                          title = "Oops, an error happened!",
-                         text = err })
+                         text = tostring(err) })
         in_error = false
     end)
 end
 
 -- Variable definitions {{{1
--- Themes define colours, icons, and wallpapers
+-- Themes define colours, icons, font and wallpapers.
 beautiful.init(awful.util.getdir("config").."/themes/mlp/theme.lua")
 
 -- This is used later as the default terminal and editor to run.