config
This commit is contained in:
parent
9e53a1ee9b
commit
e1dd7729b1
8 changed files with 20 additions and 7 deletions
|
|
@ -6,6 +6,7 @@ require("awful.rules")
|
|||
require("beautiful")
|
||||
-- Notification library
|
||||
require("naughty")
|
||||
--require("vicious")
|
||||
|
||||
-- {{{ Error handling
|
||||
-- Check if awesome encountered an error during startup and fell back to
|
||||
|
|
@ -35,6 +36,7 @@ end
|
|||
-- {{{ Variable definitions
|
||||
-- Themes define colours, icons, and wallpapers
|
||||
beautiful.init("/usr/share/awesome/themes/default/theme.lua")
|
||||
beautiful.border_width = "2"
|
||||
|
||||
-- This is used later as the default terminal and editor to run.
|
||||
terminal = "gnome-terminal"
|
||||
|
|
@ -100,6 +102,17 @@ mytextclock = awful.widget.textclock({ align = "right" })
|
|||
-- Create a systray
|
||||
mysystray = widget({ type = "systray" })
|
||||
|
||||
---- CPU
|
||||
---- Initialize widget
|
||||
--cpuwidget = awful.widget.graph()
|
||||
---- Graph properties
|
||||
--cpuwidget:set_width(50)
|
||||
--cpuwidget:set_background_color("#494B4F")
|
||||
--cpuwidget:set_color({ type = "linear", from = { 0, 0 }, to = { 10,0 }, stops = { {0, "#FF5656"}, {0.5, "#88A175"},
|
||||
--{1, "#AECF96" }}})
|
||||
---- Register widget
|
||||
--vicious.register(cpuwidget, vicious.widgets.cpu, "$1")
|
||||
|
||||
-- Create a wibox for each screen and add it
|
||||
mywibox = {}
|
||||
mypromptbox = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue