moved functions to seperate file
This commit is contained in:
parent
d362d6a761
commit
27a1a24034
1 changed files with 2 additions and 3 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
-- are displaying the right value... ;)
|
-- are displaying the right value... ;)
|
||||||
-- This file needs to exist. You need to explore this if you want to use my widget stuff!
|
-- This file needs to exist. You need to explore this if you want to use my widget stuff!
|
||||||
require("private")
|
require("private")
|
||||||
|
require("functions")
|
||||||
|
|
||||||
-- Require some basic stuff
|
-- Require some basic stuff
|
||||||
local gears = require("gears")
|
local gears = require("gears")
|
||||||
|
|
@ -15,8 +16,6 @@ local naughty = require("naughty")
|
||||||
local menubar = require("menubar")
|
local menubar = require("menubar")
|
||||||
vicious = require("vicious")
|
vicious = require("vicious")
|
||||||
|
|
||||||
require("functions")
|
|
||||||
|
|
||||||
if awesome.startup_errors then
|
if awesome.startup_errors then
|
||||||
naughty.notify({ preset = naughty.config.presets.critical,
|
naughty.notify({ preset = naughty.config.presets.critical,
|
||||||
title = "Oops, there were errors during startup!",
|
title = "Oops, there were errors during startup!",
|
||||||
|
|
@ -83,8 +82,8 @@ for s = 1, screen.count() do
|
||||||
tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[1])
|
tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[1])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Include the mainmenu from external file to make customisation easier
|
||||||
require("mymainmenu")
|
require("mymainmenu")
|
||||||
|
|
||||||
mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon, menu = mymainmenu })
|
mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon, menu = mymainmenu })
|
||||||
|
|
||||||
local batterywidgets = {}
|
local batterywidgets = {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue