Fixed awesome rc for fedora

This commit is contained in:
ryuslash 2010-07-27 23:54:13 +02:00
parent 606ffd1e77
commit ba7e553fae
2 changed files with 10 additions and 11 deletions

View file

@ -6,11 +6,10 @@ require("awful.rules")
require("beautiful") require("beautiful")
-- Notification library -- Notification library
require("naughty") require("naughty")
require("vicious") --require("vicious")
-- {{{ Variable definitions -- {{{ Variable definitions
-- Themes define colours, icons, and wallpapers -- Themes define colours, icons, and wallpapers
beautiful.init(".config/awesome/themes/default/theme.lua") beautiful.init("/home/slash/.config/awesome/themes/default/theme.lua")
-- This is used later as the default terminal and editor to run. -- This is used later as the default terminal and editor to run.
terminal = "urxvt" terminal = "urxvt"
@ -74,8 +73,8 @@ mylauncher = awful.widget.launcher({ image = image(beautiful.awesome_icon),
mytextclock = awful.widget.textclock({ align = "right" }) mytextclock = awful.widget.textclock({ align = "right" })
-- Create Network usage widget -- Create Network usage widget
netwidget = widget({ type = "textbox" }) --netwidget = widget({ type = "textbox" })
vicious.register(netwidget, vicious.net, "down:${eth0 down_kb} up:${eth0 up_kb}") --vicious.register(netwidget, vicious.net, "down:${eth0 down_kb} up:${eth0 up_kb}")
-- Create a systray -- Create a systray
mysystray = widget({ type = "systray" }) mysystray = widget({ type = "systray" })

View file

@ -72,7 +72,7 @@ theme.titlebar_maximized_button_normal_active = "/usr/share/awesome/themes/defau
theme.titlebar_maximized_button_focus_active = "/usr/share/awesome/themes/default/titlebar/maximized_focus_active.png" theme.titlebar_maximized_button_focus_active = "/usr/share/awesome/themes/default/titlebar/maximized_focus_active.png"
-- You can use your own command to set your wallpaper -- You can use your own command to set your wallpaper
theme.wallpaper_cmd = { "awsetbg /usr/share/awesome/themes/default/background.png" } --theme.wallpaper_cmd = { "awsetbg /usr/share/awesome/themes/default/background.png" }
-- You can use your own layout icons like this: -- You can use your own layout icons like this:
theme.layout_fairh = "/usr/share/awesome/themes/default/layouts/fairhw.png" theme.layout_fairh = "/usr/share/awesome/themes/default/layouts/fairhw.png"
@ -88,11 +88,11 @@ theme.layout_tiletop = "/usr/share/awesome/themes/default/layouts/tiletopw.png"
theme.awesome_icon = "/usr/share/awesome/icons/awesome16.png" theme.awesome_icon = "/usr/share/awesome/icons/awesome16.png"
theme.xmms2_play_icon = "/home/tom/.config/awesome/themes/default/xmms2/play.png" theme.xmms2_play_icon = ".config/awesome/themes/default/xmms2/play.png"
theme.xmms2_pause_icon = "/home/tom/.config/awesome/themes/default/xmms2/pause.png" theme.xmms2_pause_icon = ".config/awesome/themes/default/xmms2/pause.png"
theme.xmms2_next_icon = "/home/tom/.config/awesome/themes/default/xmms2/next.png" theme.xmms2_next_icon = ".config/awesome/themes/default/xmms2/next.png"
theme.xmms2_previous_icon = "/home/tom/.config/awesome/themes/default/xmms2/previous.png" theme.xmms2_previous_icon = ".config/awesome/themes/default/xmms2/previous.png"
theme.xmms2_stop_icon = "/home/tom/.config/awesome/themes/default/xmms2/stop.png" theme.xmms2_stop_icon = ".config/awesome/themes/default/xmms2/stop.png"
return theme return theme
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80 -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80