add new configs
4
.xinitrc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
feh --bg-center ~/launcher/sys.py/gameshell/wallpaper/loading.png
|
||||||
|
exec ~/launcher/load.sh &
|
||||||
|
exec ~/launcher/sys.py/gsnotify/gsnotify-arm &
|
||||||
|
exec awesome -c ~/launcher/awesome/rc.lua
|
||||||
401
awesome/rc.lua
Normal file
@ -0,0 +1,401 @@
|
|||||||
|
-- Standard awesome library
|
||||||
|
local gears = require("gears")
|
||||||
|
local awful = require("awful")
|
||||||
|
require("awful.autofocus")
|
||||||
|
-- Widget and layout library
|
||||||
|
local wibox = require("wibox")
|
||||||
|
-- Theme handling library
|
||||||
|
local beautiful = require("beautiful")
|
||||||
|
-- Notification library
|
||||||
|
local naughty = require("naughty")
|
||||||
|
local menubar = require("menubar")
|
||||||
|
local hotkeys_popup = require("awful.hotkeys_popup").widget
|
||||||
|
|
||||||
|
-- Load Debian menu entries
|
||||||
|
-- require("debian.menu")
|
||||||
|
|
||||||
|
-- {{{ Error handling
|
||||||
|
-- Check if awesome encountered an error during startup and fell back to
|
||||||
|
-- another config (This code will only ever execute for the fallback config)
|
||||||
|
if awesome.startup_errors then
|
||||||
|
naughty.notify({ preset = naughty.config.presets.critical,
|
||||||
|
title = "Oops, there were errors during startup!",
|
||||||
|
text = awesome.startup_errors })
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Handle runtime errors after startup
|
||||||
|
do
|
||||||
|
local in_error = false
|
||||||
|
awesome.connect_signal("debug::error", function (err)
|
||||||
|
-- Make sure we don't go into an endless error loop
|
||||||
|
if in_error then return end
|
||||||
|
in_error = true
|
||||||
|
|
||||||
|
naughty.notify({ preset = naughty.config.presets.critical,
|
||||||
|
title = "Oops, an error happened!",
|
||||||
|
text = tostring(err) })
|
||||||
|
in_error = false
|
||||||
|
end)
|
||||||
|
end
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
theme_base = "/home/cpi/launcher/awesome"
|
||||||
|
-- Themes define colours, icons, font and wallpapers.
|
||||||
|
beautiful.init(theme_base .. "/themes/default/theme.lua")
|
||||||
|
|
||||||
|
-- This is used later as the default terminal and editor to run.
|
||||||
|
terminal = "xterm"
|
||||||
|
editor = os.getenv("EDITOR") or "editor"
|
||||||
|
editor_cmd = terminal .. " -e " .. editor
|
||||||
|
|
||||||
|
-- Default modkey.
|
||||||
|
-- Usually, Mod4 is the key with a logo between Control and Alt.
|
||||||
|
-- If you do not like this or do not have such a key,
|
||||||
|
-- I suggest you to remap Mod4 to another key using xmodmap or other tools.
|
||||||
|
-- However, you can use another modifier like Mod1, but it may interact with others.
|
||||||
|
modkey = "Mod4"
|
||||||
|
|
||||||
|
-- Table of layouts to cover with awful.layout.inc, order matters.
|
||||||
|
awful.layout.layouts = {
|
||||||
|
awful.layout.suit.floating,
|
||||||
|
awful.layout.suit.tile,
|
||||||
|
awful.layout.suit.tile.left,
|
||||||
|
awful.layout.suit.tile.bottom,
|
||||||
|
awful.layout.suit.tile.top,
|
||||||
|
awful.layout.suit.fair,
|
||||||
|
awful.layout.suit.fair.horizontal,
|
||||||
|
-- awful.layout.suit.spiral,
|
||||||
|
-- awful.layout.suit.spiral.dwindle,
|
||||||
|
--awful.layout.suit.max,
|
||||||
|
--awful.layout.suit.max.fullscreen,
|
||||||
|
awful.layout.suit.magnifier,
|
||||||
|
awful.layout.suit.corner.nw,
|
||||||
|
-- awful.layout.suit.corner.ne,
|
||||||
|
-- awful.layout.suit.corner.sw,
|
||||||
|
-- awful.layout.suit.corner.se,
|
||||||
|
}
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
-- {{{ Helper functions
|
||||||
|
local function client_menu_toggle_fn()
|
||||||
|
local instance = nil
|
||||||
|
|
||||||
|
return function ()
|
||||||
|
if instance and instance.wibox.visible then
|
||||||
|
instance:hide()
|
||||||
|
instance = nil
|
||||||
|
else
|
||||||
|
instance = awful.menu.clients({ theme = { width = 250 } })
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
-- {{{ Menu
|
||||||
|
-- Create a launcher widget and a main menu
|
||||||
|
myawesomemenu = {
|
||||||
|
{ "edit config", editor_cmd .. " " .. awesome.conffile },
|
||||||
|
{ "restart", awesome.restart },
|
||||||
|
{ "quit", function() awesome.quit() end}
|
||||||
|
}
|
||||||
|
|
||||||
|
mymenu = {
|
||||||
|
{ "xterm" , "xterm"},
|
||||||
|
{ "xclock", "xclock"}
|
||||||
|
}
|
||||||
|
|
||||||
|
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
|
||||||
|
{ "MyStuff", mymenu },
|
||||||
|
{ "open terminal", terminal }
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon,
|
||||||
|
menu = mymainmenu })
|
||||||
|
|
||||||
|
-- Menubar configuration
|
||||||
|
menubar.utils.terminal = terminal -- Set the terminal for applications that require it
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
-- Keyboard map indicator and switcher
|
||||||
|
mykeyboardlayout = awful.widget.keyboardlayout()
|
||||||
|
|
||||||
|
-- Create a textclock widget
|
||||||
|
mytextclock = wibox.widget.textclock()
|
||||||
|
|
||||||
|
-- Create a wibox for each screen and add it
|
||||||
|
local taglist_buttons = awful.util.table.join(
|
||||||
|
awful.button({ }, 1, function(t) t:view_only() end),
|
||||||
|
awful.button({ modkey }, 1, function(t)
|
||||||
|
if client.focus then
|
||||||
|
client.focus:move_to_tag(t)
|
||||||
|
end
|
||||||
|
end),
|
||||||
|
awful.button({ }, 3, awful.tag.viewtoggle),
|
||||||
|
awful.button({ modkey }, 3, function(t)
|
||||||
|
if client.focus then
|
||||||
|
client.focus:toggle_tag(t)
|
||||||
|
end
|
||||||
|
end),
|
||||||
|
awful.button({ }, 4, function(t) awful.tag.viewnext(t.screen) end),
|
||||||
|
awful.button({ }, 5, function(t) awful.tag.viewprev(t.screen) end)
|
||||||
|
)
|
||||||
|
|
||||||
|
local tasklist_buttons = awful.util.table.join(
|
||||||
|
awful.button({ }, 1, function (c)
|
||||||
|
if c == client.focus then
|
||||||
|
c.minimized = true
|
||||||
|
else
|
||||||
|
-- Without this, the following
|
||||||
|
-- :isvisible() makes no sense
|
||||||
|
c.minimized = false
|
||||||
|
if not c:isvisible() and c.first_tag then
|
||||||
|
c.first_tag:view_only()
|
||||||
|
end
|
||||||
|
-- This will also un-minimize
|
||||||
|
-- the client, if needed
|
||||||
|
client.focus = c
|
||||||
|
c:raise()
|
||||||
|
end
|
||||||
|
end),
|
||||||
|
awful.button({ }, 3, client_menu_toggle_fn()),
|
||||||
|
awful.button({ }, 4, function ()
|
||||||
|
awful.client.focus.byidx(1)
|
||||||
|
end),
|
||||||
|
awful.button({ }, 5, function ()
|
||||||
|
awful.client.focus.byidx(-1)
|
||||||
|
end))
|
||||||
|
|
||||||
|
-- screen.connect_signal("property::geometry", set_wallpaper)
|
||||||
|
|
||||||
|
awful.screen.connect_for_each_screen(function(s)
|
||||||
|
-- Wallpaper
|
||||||
|
|
||||||
|
-- Each screen has its own tag table.
|
||||||
|
awful.tag({ "1", "2" }, s, awful.layout.layouts[1])
|
||||||
|
|
||||||
|
-- Create a promptbox for each screen
|
||||||
|
s.mypromptbox = awful.widget.prompt()
|
||||||
|
-- Create an imagebox widget which will contains an icon indicating which layout we're using.
|
||||||
|
-- We need one layoutbox per screen.
|
||||||
|
s.mylayoutbox = awful.widget.layoutbox(s)
|
||||||
|
s.mylayoutbox:buttons(awful.util.table.join(
|
||||||
|
awful.button({ }, 1, function () awful.layout.inc( 1) end),
|
||||||
|
awful.button({ }, 3, function () awful.layout.inc(-1) end),
|
||||||
|
awful.button({ }, 4, function () awful.layout.inc( 1) end),
|
||||||
|
awful.button({ }, 5, function () awful.layout.inc(-1) end)))
|
||||||
|
-- Create a taglist widget
|
||||||
|
s.mytaglist = awful.widget.taglist(s, awful.widget.taglist.filter.all, taglist_buttons)
|
||||||
|
|
||||||
|
-- Create a tasklist widget
|
||||||
|
s.mytasklist = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, tasklist_buttons)
|
||||||
|
|
||||||
|
-- Create the wibox
|
||||||
|
s.mywibox = awful.wibar({ position = "top", screen = s,visible=false })
|
||||||
|
|
||||||
|
-- Add widgets to the wibox
|
||||||
|
s.mywibox:setup {
|
||||||
|
layout = wibox.layout.align.horizontal,
|
||||||
|
{ -- Left widgets
|
||||||
|
layout = wibox.layout.fixed.horizontal,
|
||||||
|
mylauncher,
|
||||||
|
s.mytaglist,
|
||||||
|
s.mypromptbox,
|
||||||
|
},
|
||||||
|
s.mytasklist, -- Middle widget
|
||||||
|
{ -- Right widgets
|
||||||
|
layout = wibox.layout.fixed.horizontal,
|
||||||
|
mykeyboardlayout,
|
||||||
|
wibox.widget.systray(),
|
||||||
|
mytextclock,
|
||||||
|
s.mylayoutbox,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
end)
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
-- {{{ Mouse bindings
|
||||||
|
root.buttons(awful.util.table.join(
|
||||||
|
awful.button({ }, 3, function () mymainmenu:toggle() end),
|
||||||
|
awful.button({ }, 4, awful.tag.viewnext),
|
||||||
|
awful.button({ }, 5, awful.tag.viewprev)
|
||||||
|
))
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
-- Bind all key numbers to tags.
|
||||||
|
-- Be careful: we use keycodes to make it works on any keyboard layout.
|
||||||
|
-- This should map on the top row of your keyboard, usually 1 to 9.
|
||||||
|
clientbuttons = awful.util.table.join(
|
||||||
|
awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
|
||||||
|
awful.button({ modkey }, 1, awful.mouse.client.move),
|
||||||
|
awful.button({ modkey }, 3, awful.mouse.client.resize))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function titlebar_add_with_settings(c)
|
||||||
|
awful.titlebar.add(c, { modkey = modkey, height = 16, font = "Terminus 6"})
|
||||||
|
end
|
||||||
|
|
||||||
|
-- {{{ Rules
|
||||||
|
-- Rules to apply to new clients (through the "manage" signal).
|
||||||
|
awful.rules.rules = {
|
||||||
|
-- All clients will match this rule.
|
||||||
|
{ rule = { },
|
||||||
|
properties = { border_width = 0,
|
||||||
|
border_color = beautiful.border_normal,
|
||||||
|
focus = awful.client.focus.filter,
|
||||||
|
raise = true,
|
||||||
|
keys = clientkeys,
|
||||||
|
buttons = clientbuttons,
|
||||||
|
screen = awful.screen.preferred,
|
||||||
|
placement = awful.placement.no_overlap+awful.placement.no_offscreen
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
-- Floating clients.
|
||||||
|
{ rule_any = {
|
||||||
|
instance = {
|
||||||
|
"DTA", -- Firefox addon DownThemAll.
|
||||||
|
"copyq", -- Includes session name in class.
|
||||||
|
},
|
||||||
|
class = {
|
||||||
|
"Arandr",
|
||||||
|
"Gpick",
|
||||||
|
"Kruler",
|
||||||
|
"MessageWin", -- kalarm.
|
||||||
|
"Sxiv",
|
||||||
|
"Wpa_gui",
|
||||||
|
"pinentry",
|
||||||
|
"veromix",
|
||||||
|
"xtightvncviewer",
|
||||||
|
"xclock"
|
||||||
|
},
|
||||||
|
|
||||||
|
name = {
|
||||||
|
"Event Tester", -- xev.
|
||||||
|
},
|
||||||
|
role = {
|
||||||
|
"AlarmWindow", -- Thunderbird's calendar.
|
||||||
|
"pop-up", -- e.g. Google Chrome's (detached) Developer Tools.
|
||||||
|
}
|
||||||
|
}, properties = { ontop=false,floating = true }},
|
||||||
|
|
||||||
|
|
||||||
|
{ rule_any = {type = { "normal", "dialog","desktop","dock","splash","menu","toolbar","utility","dnd","combo","popup_menu","dropdown_menu" }
|
||||||
|
}, properties = { titlebars_enabled = false }
|
||||||
|
},
|
||||||
|
|
||||||
|
-- Set Firefox to always map on the tag named "2" on screen 1.
|
||||||
|
-- { rule = { class = "Firefox" },
|
||||||
|
-- properties = { screen = 1, tag = "2" } },
|
||||||
|
}
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
-- {{{ Signals
|
||||||
|
-- Signal function to execute when a new client appears.
|
||||||
|
client.connect_signal("manage", function (c)
|
||||||
|
-- Set the windows at the slave,
|
||||||
|
-- i.e. put it at the end of others instead of setting it master.
|
||||||
|
-- if not awesome.startup then awful.client.setslave(c) end
|
||||||
|
|
||||||
|
if awesome.startup and
|
||||||
|
not c.size_hints.user_position
|
||||||
|
and not c.size_hints.program_position then
|
||||||
|
-- Prevent clients from being unreachable after screen count changes.
|
||||||
|
awful.placement.no_offscreen(c)
|
||||||
|
end
|
||||||
|
|
||||||
|
c.ontop=false
|
||||||
|
c.above=false
|
||||||
|
c.below=true
|
||||||
|
c.fullscreen=false
|
||||||
|
|
||||||
|
if c.class:lower() == "gsnotify-arm" then
|
||||||
|
-- naughty.notify({text = "launched!",timeout = 2,position = "top_center"})
|
||||||
|
c.ontop = true
|
||||||
|
c.above = true
|
||||||
|
c.focusable=false
|
||||||
|
c.type = "notification"
|
||||||
|
c.floating = true
|
||||||
|
c:raise()
|
||||||
|
-- awful.titlebar.hide(c)
|
||||||
|
end
|
||||||
|
|
||||||
|
end)
|
||||||
|
|
||||||
|
-- Add a titlebar if titlebars_enabled is set to true in the rules.
|
||||||
|
client.connect_signal("request::titlebars", function(c)
|
||||||
|
-- buttons for the titlebar
|
||||||
|
local buttons = awful.util.table.join(
|
||||||
|
awful.button({ }, 1, function()
|
||||||
|
client.focus = c
|
||||||
|
c:raise()
|
||||||
|
awful.mouse.client.move(c)
|
||||||
|
end),
|
||||||
|
awful.button({ }, 3, function()
|
||||||
|
client.focus = c
|
||||||
|
c:raise()
|
||||||
|
awful.mouse.client.resize(c)
|
||||||
|
end)
|
||||||
|
)
|
||||||
|
|
||||||
|
awful.titlebar(c) : setup {
|
||||||
|
{ -- Left
|
||||||
|
awful.titlebar.widget.closebutton(c),
|
||||||
|
-- buttons = buttons,
|
||||||
|
layout = wibox.layout.fixed.horizontal
|
||||||
|
},
|
||||||
|
{ -- Middle
|
||||||
|
{ -- Title
|
||||||
|
align = "left",
|
||||||
|
widget = awful.titlebar.widget.titlewidget(c)
|
||||||
|
},
|
||||||
|
buttons = buttons,
|
||||||
|
layout = wibox.layout.flex.horizontal
|
||||||
|
},
|
||||||
|
{ -- Right
|
||||||
|
align="right",
|
||||||
|
awful.titlebar.widget.floatingbutton (c),
|
||||||
|
awful.titlebar.widget.maximizedbutton(c),
|
||||||
|
-- awful.titlebar.widget.stickybutton (c),
|
||||||
|
-- awful.titlebar.widget.ontopbutton (c),
|
||||||
|
-- awful.titlebar.widget.closebutton (c),
|
||||||
|
layout = wibox.layout.fixed.horizontal()
|
||||||
|
},
|
||||||
|
layout = wibox.layout.align.horizontal
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
end)
|
||||||
|
|
||||||
|
-- Enable sloppy focus, so that focus follows mouse.
|
||||||
|
|
||||||
|
client.connect_signal("focus",
|
||||||
|
function(c)
|
||||||
|
c.border_color = beautiful.border_normal
|
||||||
|
|
||||||
|
end)
|
||||||
|
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
|
||||||
|
-- }}}
|
||||||
|
|
||||||
|
client.disconnect_signal("request::activate", awful.ewmh.activate)
|
||||||
|
function awful.ewmh.activate(c)
|
||||||
|
if c:isvisible() then
|
||||||
|
if c.class:lower() ~= "gsnotify-arm" then
|
||||||
|
client.focus = c
|
||||||
|
end
|
||||||
|
|
||||||
|
c:lower()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
client.connect_signal("request::activate", awful.ewmh.activate)
|
||||||
|
|
||||||
|
|
||||||
|
client.connect_signal("property::fullscreen", function (c)
|
||||||
|
c.fullscreen = false
|
||||||
|
c.ontop = false
|
||||||
|
c.focus=false
|
||||||
|
c:lower()
|
||||||
|
end)
|
||||||
|
|
||||||
|
|
||||||
3
awesome/themes/default/README
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Background images:
|
||||||
|
Mikael Eriksson <mikael_eriksson@miffe.org>
|
||||||
|
Licensed under CC-BY-SA-3.0
|
||||||
BIN
awesome/themes/default/background.png
Normal file
|
After Width: | Height: | Size: 220 KiB |
BIN
awesome/themes/default/background_white.png
Normal file
|
After Width: | Height: | Size: 265 KiB |
BIN
awesome/themes/default/layouts/cornerne.png
Normal file
|
After Width: | Height: | Size: 451 B |
BIN
awesome/themes/default/layouts/cornernew.png
Normal file
|
After Width: | Height: | Size: 409 B |
BIN
awesome/themes/default/layouts/cornernw.png
Normal file
|
After Width: | Height: | Size: 439 B |
BIN
awesome/themes/default/layouts/cornernww.png
Normal file
|
After Width: | Height: | Size: 381 B |
BIN
awesome/themes/default/layouts/cornerse.png
Normal file
|
After Width: | Height: | Size: 424 B |
BIN
awesome/themes/default/layouts/cornersew.png
Normal file
|
After Width: | Height: | Size: 411 B |
BIN
awesome/themes/default/layouts/cornersw.png
Normal file
|
After Width: | Height: | Size: 424 B |
BIN
awesome/themes/default/layouts/cornersww.png
Normal file
|
After Width: | Height: | Size: 423 B |
BIN
awesome/themes/default/layouts/dwindle.png
Normal file
|
After Width: | Height: | Size: 425 B |
BIN
awesome/themes/default/layouts/dwindlew.png
Normal file
|
After Width: | Height: | Size: 444 B |
BIN
awesome/themes/default/layouts/fairh.png
Normal file
|
After Width: | Height: | Size: 312 B |
BIN
awesome/themes/default/layouts/fairhw.png
Normal file
|
After Width: | Height: | Size: 314 B |
BIN
awesome/themes/default/layouts/fairv.png
Normal file
|
After Width: | Height: | Size: 323 B |
BIN
awesome/themes/default/layouts/fairvw.png
Normal file
|
After Width: | Height: | Size: 323 B |
BIN
awesome/themes/default/layouts/floating.png
Normal file
|
After Width: | Height: | Size: 361 B |
BIN
awesome/themes/default/layouts/floatingw.png
Normal file
|
After Width: | Height: | Size: 365 B |
BIN
awesome/themes/default/layouts/fullscreen.png
Normal file
|
After Width: | Height: | Size: 866 B |
BIN
awesome/themes/default/layouts/fullscreenw.png
Normal file
|
After Width: | Height: | Size: 865 B |
BIN
awesome/themes/default/layouts/magnifier.png
Normal file
|
After Width: | Height: | Size: 496 B |
BIN
awesome/themes/default/layouts/magnifierw.png
Normal file
|
After Width: | Height: | Size: 496 B |
BIN
awesome/themes/default/layouts/max.png
Normal file
|
After Width: | Height: | Size: 574 B |
BIN
awesome/themes/default/layouts/maxw.png
Normal file
|
After Width: | Height: | Size: 581 B |
BIN
awesome/themes/default/layouts/spiral.png
Normal file
|
After Width: | Height: | Size: 427 B |
BIN
awesome/themes/default/layouts/spiralw.png
Normal file
|
After Width: | Height: | Size: 442 B |
BIN
awesome/themes/default/layouts/tile.png
Normal file
|
After Width: | Height: | Size: 353 B |
BIN
awesome/themes/default/layouts/tilebottom.png
Normal file
|
After Width: | Height: | Size: 340 B |
BIN
awesome/themes/default/layouts/tilebottomw.png
Normal file
|
After Width: | Height: | Size: 350 B |
BIN
awesome/themes/default/layouts/tileleft.png
Normal file
|
After Width: | Height: | Size: 363 B |
BIN
awesome/themes/default/layouts/tileleftw.png
Normal file
|
After Width: | Height: | Size: 367 B |
BIN
awesome/themes/default/layouts/tiletop.png
Normal file
|
After Width: | Height: | Size: 326 B |
BIN
awesome/themes/default/layouts/tiletopw.png
Normal file
|
After Width: | Height: | Size: 342 B |
BIN
awesome/themes/default/layouts/tilew.png
Normal file
|
After Width: | Height: | Size: 357 B |
BIN
awesome/themes/default/submenu.png
Normal file
|
After Width: | Height: | Size: 440 B |
BIN
awesome/themes/default/taglist/squarefw.png
Normal file
|
After Width: | Height: | Size: 187 B |
BIN
awesome/themes/default/taglist/squarew.png
Normal file
|
After Width: | Height: | Size: 193 B |
108
awesome/themes/default/theme.lua
Normal file
@ -0,0 +1,108 @@
|
|||||||
|
---------------------------
|
||||||
|
-- Default awesome theme --
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
local theme = {}
|
||||||
|
|
||||||
|
theme.font = "sans 8"
|
||||||
|
|
||||||
|
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.useless_gap = 0
|
||||||
|
theme.border_width = 1
|
||||||
|
theme.border_normal = "#000000"
|
||||||
|
theme.border_focus = "#535d6c"
|
||||||
|
theme.border_marked = "#91231c"
|
||||||
|
|
||||||
|
-- There are other variable sets
|
||||||
|
-- overriding the default one when
|
||||||
|
-- defined, the sets are:
|
||||||
|
-- taglist_[bg|fg]_[focus|urgent|occupied|empty]
|
||||||
|
-- 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 = "/usr/share/awesome/themes/default/taglist/squarefw.png"
|
||||||
|
theme.taglist_squares_unsel = "/usr/share/awesome/themes/default/taglist/squarew.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
|
||||||
|
|
||||||
|
-- You can add as many variables as
|
||||||
|
-- you wish and access them by using
|
||||||
|
-- beautiful.variable in your rc.lua
|
||||||
|
--theme.bg_widget = "#cc0000"
|
||||||
|
|
||||||
|
-- Define the image to load
|
||||||
|
theme.titlebar_close_button_normal = "/usr/share/awesome/themes/default/titlebar/close_normal.png"
|
||||||
|
theme.titlebar_close_button_focus = "/usr/share/awesome/themes/default/titlebar/close_focus.png"
|
||||||
|
|
||||||
|
theme.titlebar_minimize_button_normal = "/usr/share/awesome/themes/default/titlebar/minimize_normal.png"
|
||||||
|
theme.titlebar_minimize_button_focus = "/usr/share/awesome/themes/default/titlebar/minimize_focus.png"
|
||||||
|
|
||||||
|
theme.titlebar_ontop_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/ontop_normal_inactive.png"
|
||||||
|
theme.titlebar_ontop_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/ontop_focus_inactive.png"
|
||||||
|
theme.titlebar_ontop_button_normal_active = "/usr/share/awesome/themes/default/titlebar/ontop_normal_active.png"
|
||||||
|
theme.titlebar_ontop_button_focus_active = "/usr/share/awesome/themes/default/titlebar/ontop_focus_active.png"
|
||||||
|
|
||||||
|
theme.titlebar_sticky_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/sticky_normal_inactive.png"
|
||||||
|
theme.titlebar_sticky_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/sticky_focus_inactive.png"
|
||||||
|
theme.titlebar_sticky_button_normal_active = "/usr/share/awesome/themes/default/titlebar/sticky_normal_active.png"
|
||||||
|
theme.titlebar_sticky_button_focus_active = "/usr/share/awesome/themes/default/titlebar/sticky_focus_active.png"
|
||||||
|
|
||||||
|
theme.titlebar_floating_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/floating_normal_inactive.png"
|
||||||
|
theme.titlebar_floating_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/floating_focus_inactive.png"
|
||||||
|
theme.titlebar_floating_button_normal_active = "/usr/share/awesome/themes/default/titlebar/floating_normal_active.png"
|
||||||
|
theme.titlebar_floating_button_focus_active = "/usr/share/awesome/themes/default/titlebar/floating_focus_active.png"
|
||||||
|
|
||||||
|
theme.titlebar_maximized_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/maximized_normal_inactive.png"
|
||||||
|
theme.titlebar_maximized_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/maximized_focus_inactive.png"
|
||||||
|
theme.titlebar_maximized_button_normal_active = "/usr/share/awesome/themes/default/titlebar/maximized_normal_active.png"
|
||||||
|
theme.titlebar_maximized_button_focus_active = "/usr/share/awesome/themes/default/titlebar/maximized_focus_active.png"
|
||||||
|
|
||||||
|
theme.wallpaper = "/usr/share/awesome/themes/default/background.png"
|
||||||
|
|
||||||
|
-- You can use your own layout icons like this:
|
||||||
|
theme.layout_fairh = "/usr/share/awesome/themes/default/layouts/fairhw.png"
|
||||||
|
theme.layout_fairv = "/usr/share/awesome/themes/default/layouts/fairvw.png"
|
||||||
|
theme.layout_floating = "/usr/share/awesome/themes/default/layouts/floatingw.png"
|
||||||
|
theme.layout_magnifier = "/usr/share/awesome/themes/default/layouts/magnifierw.png"
|
||||||
|
theme.layout_max = "/usr/share/awesome/themes/default/layouts/maxw.png"
|
||||||
|
theme.layout_fullscreen = "/usr/share/awesome/themes/default/layouts/fullscreenw.png"
|
||||||
|
theme.layout_tilebottom = "/usr/share/awesome/themes/default/layouts/tilebottomw.png"
|
||||||
|
theme.layout_tileleft = "/usr/share/awesome/themes/default/layouts/tileleftw.png"
|
||||||
|
theme.layout_tile = "/usr/share/awesome/themes/default/layouts/tilew.png"
|
||||||
|
theme.layout_tiletop = "/usr/share/awesome/themes/default/layouts/tiletopw.png"
|
||||||
|
theme.layout_spiral = "/usr/share/awesome/themes/default/layouts/spiralw.png"
|
||||||
|
theme.layout_dwindle = "/usr/share/awesome/themes/default/layouts/dwindlew.png"
|
||||||
|
theme.layout_cornernw = "/usr/share/awesome/themes/default/layouts/cornernww.png"
|
||||||
|
theme.layout_cornerne = "/usr/share/awesome/themes/default/layouts/cornernew.png"
|
||||||
|
theme.layout_cornersw = "/usr/share/awesome/themes/default/layouts/cornersww.png"
|
||||||
|
theme.layout_cornerse = "/usr/share/awesome/themes/default/layouts/cornersew.png"
|
||||||
|
|
||||||
|
theme.awesome_icon = "/usr/share/awesome/icons/awesome16.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
|
||||||
BIN
awesome/themes/default/titlebar/close_focus.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
awesome/themes/default/titlebar/close_normal.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
awesome/themes/default/titlebar/floating_focus_active.png
Normal file
|
After Width: | Height: | Size: 491 B |
BIN
awesome/themes/default/titlebar/floating_focus_inactive.png
Normal file
|
After Width: | Height: | Size: 350 B |
BIN
awesome/themes/default/titlebar/floating_normal_active.png
Normal file
|
After Width: | Height: | Size: 492 B |
BIN
awesome/themes/default/titlebar/floating_normal_inactive.png
Normal file
|
After Width: | Height: | Size: 350 B |
BIN
awesome/themes/default/titlebar/maximized_focus_active.png
Normal file
|
After Width: | Height: | Size: 696 B |
BIN
awesome/themes/default/titlebar/maximized_focus_inactive.png
Normal file
|
After Width: | Height: | Size: 719 B |
BIN
awesome/themes/default/titlebar/maximized_normal_active.png
Normal file
|
After Width: | Height: | Size: 693 B |
BIN
awesome/themes/default/titlebar/maximized_normal_inactive.png
Normal file
|
After Width: | Height: | Size: 695 B |
BIN
awesome/themes/default/titlebar/minimize_focus.png
Normal file
|
After Width: | Height: | Size: 277 B |
BIN
awesome/themes/default/titlebar/minimize_normal.png
Normal file
|
After Width: | Height: | Size: 272 B |
BIN
awesome/themes/default/titlebar/ontop_focus_active.png
Normal file
|
After Width: | Height: | Size: 609 B |
BIN
awesome/themes/default/titlebar/ontop_focus_inactive.png
Normal file
|
After Width: | Height: | Size: 756 B |
BIN
awesome/themes/default/titlebar/ontop_normal_active.png
Normal file
|
After Width: | Height: | Size: 619 B |
BIN
awesome/themes/default/titlebar/ontop_normal_inactive.png
Normal file
|
After Width: | Height: | Size: 769 B |
BIN
awesome/themes/default/titlebar/sticky_focus_active.png
Normal file
|
After Width: | Height: | Size: 717 B |
BIN
awesome/themes/default/titlebar/sticky_focus_inactive.png
Normal file
|
After Width: | Height: | Size: 937 B |
BIN
awesome/themes/default/titlebar/sticky_normal_active.png
Normal file
|
After Width: | Height: | Size: 726 B |
BIN
awesome/themes/default/titlebar/sticky_normal_inactive.png
Normal file
|
After Width: | Height: | Size: 981 B |