Commits

Nikolaj Sjujskij committed 8ca734d

Reformat a bit (no actual code changes)

  • Participants
  • Parent commits 8a3aaea

Comments (0)

Files changed (1)

File widget_fun.lua

 
 -- Battery (based on http://awesome.naquadah.org/wiki/Gigamo_Battery_Widget)
 
-local limits = {{25, 5},
-          {12, 3},
-          { 7, 1},
-            {0}}
+local limits = { {25, 5},
+                 {12, 3},
+                 { 7, 1},
+                  {0}}
 
 function getnextlim (num)
     for ind, pair in pairs(limits) do
             prefix = "Bat:"
             if charge <= nextlim then
                 naughty.notify({title = "⚡ Lystring! ⚡",
-                                text = "Batteriet har nått låg nivå ( ⚡ "..charge.."%)!",
+                                text = "Batteriet har nått låg nivå ( ⚡ "
+                                        ..charge.."%)!",
                                 timeout = 7,
                                 position = "bottom_right",
                                 fg = beautiful.fg_focus,