From 19ba2c49d4358a76c4cce963a784e3d5db762bf1 Mon Sep 17 00:00:00 2001 From: Artem Sheremet Date: Sun, 20 Oct 2013 23:16:42 +0300 Subject: [PATCH] Awesome: fix theme --- .config/awesome/rc.lua | 2 +- .config/awesome/theme/theme.lua | 28 ++++++++++++++++++---------- .xinitrc | 12 +++++------- 3 files changed, 24 insertions(+), 18 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index d50d141..801dc2f 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -99,7 +99,7 @@ local layouts = --{{{ Wallpaper if beautiful.wallpaper then for s = 1, screen.count() do - gears.wallpaper.maximized(beautiful.wallpaper, s, true) + gears.wallpaper.maximized(beautiful.wallpaper, s, false, { x = 0, y = -50 }) end end --}}} diff --git a/.config/awesome/theme/theme.lua b/.config/awesome/theme/theme.lua index dcb3bbe..c20ef8f 100644 --- a/.config/awesome/theme/theme.lua +++ b/.config/awesome/theme/theme.lua @@ -1,21 +1,21 @@ theme = {} -theme.font = "fixed 10" -theme.confdir = awful.util.getdir("config") .. "/theme" -theme.wallpaper_cmd = { "hsetroot -solid '#000000'" } ---theme.wallpaper_cmd = { "awsetbg -f media/images/Desktop/GirlGun1.jpg" } +theme.font = "Terminus 9" +theme.confdir = "/home/artem/.config/awesome/theme" +theme.wallpaper = "/home/artem/media/images/Desktop/NatureMountains1.jpg" theme.bg_normal = "#222222" theme.bg_focus = "#535d6c" theme.bg_urgent = "#ff0000" theme.bg_minimize = "#444444" +theme.bg_systray = theme.bg_normal theme.fg_normal = "#aaaaaa" theme.fg_focus = "#ffffff" theme.fg_urgent = "#ffffff" theme.fg_minimize = "#ffffff" -theme.border_width = "1" +theme.border_width = 1 theme.border_normal = "#404080" theme.border_focus = "#535d6c" theme.border_marked = "#91231c" @@ -29,23 +29,26 @@ theme.fg_netdn_widget = "#CC9393" theme.bg_widget = "#3F3F3F" theme.border_widget = "#3F3F3F" +-- There are other variable sets +-- overriding the default one when +-- defined, the sets are: -- [taglist|tasklist]_[bg|fg]_[focus|urgent] -- titlebar_[bg|fg]_[normal|focus] -- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] -- mouse_finder_[color|timeout|animate_timeout|radius|factor] +-- Example: +--theme.taglist_bg_focus = "#ff0000" -- Display the taglist squares theme.taglist_squares_sel = theme.confdir .. "/icons/taglist/sel.png" theme.taglist_squares_unsel = theme.confdir .. "/icons/taglist/unsel.png" -theme.tasklist_floating_icon = "/usr/share/awesome/themes/default/tasklist/floatingw.png" - -- Variables set for theming the menu: -- menu_[bg|fg]_[normal|focus] -- menu_[border_color|border_width] theme.menu_submenu_icon = "/usr/share/awesome/themes/default/submenu.png" -theme.menu_height = "15" -theme.menu_width = "100" +theme.menu_height = 15 +theme.menu_width = 100 -- You can add as many variables as -- you wish and access them by using @@ -112,5 +115,10 @@ theme.titlebar_maximized_button_focus_inactive = theme.confdir .. "/icons/title theme.titlebar_maximized_button_normal_inactive = theme.confdir .. "/icons/titlebar/maximized_normal_inactive.png" -- }}} +-- Define the icon theme for application icons. If not set then the icons +-- from /usr/share/icons and /usr/share/icons/hicolor will be used. +theme.icon_theme = nil + return theme --- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 + +-- vim: set foldmarker=--{{{,--}}} foldmethod=marker: diff --git a/.xinitrc b/.xinitrc index 9797d8e..22fae30 100644 --- a/.xinitrc +++ b/.xinitrc @@ -11,12 +11,10 @@ xset dpms 600 600 600 xset r rate 290 30 xset +fp /usr/share/fonts/local xset fp rehash -xautolock -locker slock & -redshift & -skype & -chromium & -psi-plus & - -# TODO: disown these to avoid zombies +xautolock -locker slock &! +redshift &! +skype &! +chromium &! +psi-plus &! exec awesome