Commit be8f95be authored by epsi sayidina's avatar epsi sayidina

awesome: 4.3: lain statusbar

parent 92926d64
......@@ -10,9 +10,7 @@ local _M = {
terminal = "xfce4-terminal",
-- device, used in vicious widget
-- wlandev = 'wlan0',
-- wlandev = 'wlp3s0',
wlandev = 'wlp0s29f7u2',
wlandev = 'wlan0',
-- Default modkey.
-- Usually, Mod4 is the key with a logo between Control and Alt.
......
......@@ -73,7 +73,7 @@ require("main.signals")
-- Statusbar: Wibar
--local statusbar = require("statusbar.default.statusbar")
local statusbar = require("statusbar.vicious.statusbar")
--local statusbar = require("statusbar.lain.statusbar")
--local statusbar = require("statusbar.vicious.statusbar")
local statusbar = require("statusbar.lain.statusbar")
statusbar()
......@@ -24,10 +24,10 @@ function WB.initdeco ()
-- Separators lain
local separators = lain.util.separators
local arrow_color = gmc.color['red300']
WB.arrl_dl = separators.arrow_left("alpha", arrow_color)
WB.arrl_ld = separators.arrow_left(arrow_color, "alpha")
WB.arrl_dr = separators.arrow_right("alpha", arrow_color)
WB.arrl_rd = separators.arrow_right(arrow_color, "alpha")
WB.arrow_dl = separators.arrow_left("alpha", arrow_color)
WB.arrow_ld = separators.arrow_left(arrow_color, "alpha")
WB.arrow_dr = separators.arrow_right("alpha", arrow_color)
WB.arrow_rd = separators.arrow_right(arrow_color, "alpha")
end
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
......@@ -53,28 +53,29 @@ function WB.add_widgets_monitor_left (line, s)
layout = wibox.layout.fixed.horizontal,
-- time
WB.arrl_rd,
WB.arrow_rd,
mci.clock, mcw.textclock,
-- net
WB.arrl_dr, WB.arrl_rd,
WB.arrow_dr, WB.arrow_rd,
mci.netdown, mcw.netdowninfo,
mci.netup, mcw.netupinfo,
-- mem, cpu, files system, temp, batt
WB.arrl_dr, WB.arrl_rd,
WB.arrow_dr, WB.arrow_rd,
mci.mem, mcw.mem,
mci.cpu, mcw.cpu,
mci.fs, mcw.fs,
mci.temp, mcw.temp,
-- mci.temp, mcw.temp,
mci.bat, mcw.bat,
-- wheather
WB.arrl_dr, WB.arrl_rd,
WB.arrow_dr, WB.arrow_rd,
mci.weather, mcw.weather,
-- wheather
WB.arrl_dr, WB.arrl_rd,
-- mpd
WB.arrow_dr, WB.arrow_rd,
mci.volume, mcw.volume,
mci.mpd, mcw.mpd,
-- at last , you can ignore this line below
......@@ -93,15 +94,16 @@ function WB.add_widgets_monitor_right (line, s)
WB.spacerline,
-- volume
WB.arrl_dr, WB.arrl_rd,
mci.volume_dynamic, mcw.volume_bar_widget,
WB.arrow_dl, WB.arrow_ld,
mci.volume_dynamic, mcw.volumewidget,
-- disk
WB.arrl_dr, WB.arrl_rd,
WB.arrow_dl, WB.arrow_ld,
mci.disk, mcw.disk_bar_widget,
-- at last
WB.arrl_dl,
-- battery
WB.arrow_dl, WB.arrow_ld,
mci.battery, mcw.battery_bar_widget,
}
end
......
......@@ -8,6 +8,10 @@
-- Standard awesome library
local awful = require("awful")
local beautiful = require("beautiful")
local gears = require("gears")
local xresources = require("beautiful.xresources")
local dpi = xresources.apply_dpi
-- Wibox handling library
local wibox = require("wibox")
......@@ -19,7 +23,7 @@ local I = multicolor_icon_set -- object name
-- Custom Local Library
local gmc = require("themes.gmc")
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- Battery from copycat-multicolor
......@@ -40,16 +44,24 @@ W.bat = lain.widget.bat({
I.battery = wibox.widget.imagebox(beautiful.monitor_bat)
W.battery_bar = awful.widget.progressbar({width = 55, ticks = true, ticks_size = 6})
W.battery_bar:set_color(beautiful.fg_normal)
W.battery_bar:set_background_color(beautiful.bg_normal)
W.battery_bar = wibox.widget {
forced_height = dpi(1),
forced_width = dpi(59),
color = theme.fg_normal,
background_color = theme.bg_normal,
margins = 1,
paddings = 1,
ticks = true,
ticks_size = dpi(6),
widget = wibox.widget.progressbar,
}
W.battery_margin = wibox.layout.margin(W.battery_bar, 2, 7)
W.battery_margin:set_top(6)
W.battery_margin:set_bottom(9)
-- Update bar, also in widgets popups
local disk_widget_settings = function()
local battery_widget_settings = function()
if bat_now.status == "N/A" then return end
perc = tonumber(bat_now.perc)
......@@ -58,25 +70,25 @@ local disk_widget_settings = function()
if bat_now.status == "Charging" then
I.battery:set_image(beautiful.monitor_ac)
if perc >= 98 then
W.battery_bar:set_color(green)
W.battery_bar:set_color(gmc.color['yellow700'])
elseif perc > 50 then
W.battery_bar:set_color(beautiful.fg_normal)
W.battery_bar:set_color(gmc.color['blue500'])
elseif perc > 15 then
W.battery_bar:set_color(beautiful.fg_normal)
else
W.battery_bar:set_color(red)
W.battery_bar:set_color(gmc.color['red500'])
end
else
if perc >= 98 then
W.battery_bar:set_color(green)
W.battery_bar:set_color(gmc.color['yellow700'])
elseif perc > 50 then
W.battery_bar:set_color(beautiful.fg_normal)
W.battery_bar:set_color(gmc.color['blue500'])
I.battery:set_image(beautiful.monitor_bat)
elseif perc > 15 then
W.battery_bar:set_color(beautiful.fg_normal)
I.battery:set_image(beautiful.monitor_bat_low)
else
W.battery_bar:set_color(red)
W.battery_bar:set_color(gmc.color['red500'])
I.battery:set_image(beautiful.monitor_bat_no)
end
end
......@@ -84,10 +96,10 @@ local disk_widget_settings = function()
end
W.battery_widget_update = lain.widget.bat({
settings = disk_widget_settings
settings = battery_widget_settings
})
W.battery_bar_widget = wibox.widget.background(W.battery_margin)
W.battery_bar_widget:set_bgimage(beautiful.bar_bg_copland)
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
W.batbg = wibox.container.background(
W.battery_bar, gmc.color['blue900'], gears.shape.rectangle)
W.battery_bar_widget = wibox.container.margin(
W.batbg, dpi(2), dpi(7), dpi(4), dpi(4))
......@@ -8,6 +8,10 @@
-- Standard awesome library
local awful = require("awful")
local beautiful = require("beautiful")
local gears = require("gears")
local xresources = require("beautiful.xresources")
local dpi = xresources.apply_dpi
-- Wibox handling library
local wibox = require("wibox")
......@@ -36,9 +40,17 @@ W.fs = lain.widget.fs({
-- /home fs
I.disk = wibox.widget.imagebox(beautiful.monitor_disk)
W.disk_bar = awful.widget.progressbar({width = 55, ticks = true, ticks_size = 6})
W.disk_bar:set_color(beautiful.fg_normal)
W.disk_bar:set_background_color(beautiful.bg_normal)
W.disk_bar = wibox.widget {
forced_height = dpi(1),
forced_width = dpi(59),
color = theme.fg_normal,
background_color = theme.bg_normal,
margins = 1,
paddings = 1,
ticks = true,
ticks_size = dpi(6),
widget = wibox.widget.progressbar,
}
W.disk_margin = wibox.layout.margin(W.disk_bar, 2, 7)
W.disk_margin:set_top(6)
......@@ -48,18 +60,30 @@ W.disk_margin:set_bottom(9)
local disk_widget_settings = function()
if fs_now["/"].used < 90 then
W.disk_bar:set_color(beautiful.fg_normal)
W.disk_bar:set_color(gmc.color['red500'])
else
W.disk_bar:set_color("#EB8F8F")
W.disk_bar:set_color(gmc.color['blue500'])
end
W.disk_bar:set_value(fs_now["/"].percentage / 100)
W.disk_bar:set_value(fs_now["/"].percentage)
end
W.disk_widget_update = lain.widget.fs({
partition = "/",
W.disk_widget = lain.widget.fs {
notification_preset = { fg = theme.fg_normal, bg = theme.bg_normal, font = "Terminus 10.5" },
settings = disk_widget_settings
})
}
W.disk_bar_widget = wibox.widget.background(W.disk_margin)
W.disk_bar_widget:set_bgimage(beautiful.bar_bg_copland)
W.disk_bg = wibox.container.background(
W.disk_bar, gmc.color['blue900'], gears.shape.rectangle)
W.disk_bar_widget = wibox.container.margin(
W.disk_bg, dpi(2), dpi(7), dpi(4), dpi(4))
-- /home fs
--[[ commented because it needs Gio/Glib >= 2.54
--]]
......@@ -3,11 +3,18 @@
https://github.com/copycat-killer/awesome-copycats/blob/master/rc.lua.copland
--]]
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- Standard awesome library
local beautiful = require("beautiful")
local bfont = beautiful.font
local gears = require("gears")
local awful = require("awful")
local xresources = require("beautiful.xresources")
local dpi = xresources.apply_dpi
local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
-- Wibox handling library
local wibox = require("wibox")
......@@ -19,7 +26,7 @@ local I = multicolor_icon_set -- object name
-- Custom Local Library
local gmc = require("themes.gmc")
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- ALSA volume from copycat-multicolor
I.volume = wibox.widget.imagebox(beautiful.widget_vol)
......@@ -30,29 +37,17 @@ W.volume = lain.widget.alsa({
volume_now.level = volume_now.level .. "M"
end
widget:set_markup(markup("#7493d2", volume_now.level .. "% "))
widget:set_markup(markup(gmc.color['blue900'], volume_now.level .. "% "))
end
})
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- ALSA volume bar
-- global terminal is required in alsabar, unfortunately
terminal = RC.vars.terminal
-- ALSA volume bar from copycat-rainbow
--[[
W.volume_wibox = lain.widgets.alsabar({ card = "0", ticks = true })
W.volume_margin = wibox.layout.margin(W.volume_wibox.bar, 5, 8, 80)
W.volume_margin:set_top(7)
W.volume_margin:set_bottom(7)
W.volume_bar_widget = wibox.widget.background(W.volume_margin)
W.volume_bar_widget:set_bgimage(beautiful.bar_bg_rainbow)
]]
-- ALSA volume bar from copycat-copland
I.volume_dynamic = wibox.widget.imagebox(beautiful.monitor_vol)
......@@ -72,7 +67,7 @@ end
local volume_wibox_colors = {
background = beautiful.bg_normal,
mute = red,
unmute = beautiful.fg_normal
unmute = gmc.color['blue500']
}
W.volume_wibox = lain.widget.alsabar({
......@@ -81,18 +76,42 @@ W.volume_wibox = lain.widget.alsabar({
colors = volume_wibox_colors
})
W.volume_margin = wibox.layout.margin(W.volume_wibox.bar, 2, 7)
W.volume_margin:set_top(6)
W.volume_margin:set_bottom(9)
W.volume_bar_widget = wibox.widget.background(W.volume_margin)
W.volume_bar_widget:set_bgimage(beautiful.bar_bg_copland)
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
W.volume_wibox_buttons = my_table.join (
awful.button({}, 1, function()
awful.spawn(string.format("%s -e alsamixer", terminal))
end),
awful.button({}, 2, function()
os.execute(string.format("%s set %s 100%%", W.volume_wibox.cmd, W.volume_wibox.channel))
W.volume_wibox.update()
end),
awful.button({}, 3, function()
os.execute(string.format("%s set %s toggle", W.volume_wibox.cmd, W.volume_wibox.togglechannel or W.volume_wibox.channel))
W.volume_wibox.update()
end),
awful.button({}, 4, function()
os.execute(string.format("%s set %s 1%%+", W.volume_wibox.cmd, W.volume_wibox.channel))
W.volume_wibox.update()
end),
awful.button({}, 5, function()
os.execute(string.format("%s set %s 1%%-", W.volume_wibox.cmd, W.volume_wibox.channel))
W.volume_wibox.update()
end)
)
W.volume_wibox.tooltip.wibox.fg = beautiful.fg_focus
W.volume_wibox.bar:buttons(W.volume_wibox_buttons)
W.volumebg = wibox.container.background(
W.volume_wibox.bar, gmc.color['blue900'], gears.shape.rectangle)
W.volumewidget = wibox.container.margin(
W.volumebg, dpi(2), dpi(7), dpi(4), dpi(4))
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- MPD from copycat-multicolor
I.mpd = wibox.widget.imagebox()
I.mpd = wibox.widget.imagebox(beautiful.widget_note)
W.mpd = lain.widget.mpd({
settings = function()
mpd_notification_preset = {
......
......@@ -59,7 +59,7 @@ W.cpu = lain.widget.cpu({
})
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--[[
-- Coretemp
I.temp = wibox.widget.imagebox(beautiful.widget_temp)
......@@ -68,7 +68,7 @@ W.temp = lain.widget.temp({
widget:set_markup(markup(gmc.color['cyan900'], coretemp_now .. "°C "))
end
})
--]]
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- Textclock
......@@ -98,31 +98,6 @@ W.weather = lain.widget.weather({
end
})
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--[[ Mail IMAP check
-- commented because it needs to be set before use
I.mail = wibox.widget.imagebox()
I.mail:buttons(awful.util.table.join(
awful.button({ }, 1, function () awful.util.spawn(mail) end))
)
W.mail = lain.widgets.imap({
timeout = 180,
server = "server",
mail = "mail",
password = "keyring get mail",
settings = function()
if mailcount > 0 then
mailicon:set_image(beautiful.widget_mail)
widget:set_markup(markup("#cccccc", mailcount .. " "))
else
widget:set_text("")
mailicon:set_image(nil)
end
end
})
]]
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
......@@ -149,5 +124,3 @@ W.netupinfo = lain.widget.net({
W.netdowninfo:set_markup(markup(fg_color_down, net_now.received .. " "))
end
})
......@@ -70,13 +70,14 @@ end
function WB.add_widgets_monitor_right (line, s)
local ic = icon_set
local tl = text_label
return {
layout = wibox.layout.fixed.horizontal,
vw.progress_example,
WB.spacer,
ic.mem,
vw.progress_mem,
ic.cpu, tl.cpu, vw.progress_cpu,
WB.spacer,
ic.mem, tl.mem, vw.progress_mem,
WB.spacer,
WB.ar_rl_thin,
vw.mpd,
......
......@@ -23,6 +23,9 @@ local wlandev = RC.vars.wlandev
local I = {}
icon_set = I -- object name
local T = {}
text_label = T -- object name
local function hlspan(text)
return "<span color='" .. gmc.color['blue900'] .. "'>" .. text .. "</span>"
end
......@@ -56,6 +59,7 @@ vicious.register(W.battery, vicious.widgets.bat, F.battery, 67, "BAT0")
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
I.mem = wibox.widget.imagebox(beautiful.widget_mem)
T.mem = wibox.widget.textbox("Mem: ")
W.mem = wibox.widget.textbox()
F.mem = "Mem: ".. hlspan("$1%") .." (".. altspan("$2MB/$3MB") ..")"
vicious.cache(vicious.widgets.mem)
......@@ -65,6 +69,7 @@ vicious.register(W.mem, vicious.widgets.mem, F.mem, 13)
I.cpu = wibox.widget.imagebox()
I.cpu:set_image(beautiful.widget_cpu)
T.cpu = wibox.widget.textbox("CPU: ")
W.cpu = wibox.widget.textbox()
F.cpu = "CPU 1:".. hlspan("$1%") ..", "
......@@ -110,7 +115,7 @@ W.graph_cpu:set_color({
{ 1, gmc.color['blue900'] }}
})
vicious.cache(vicious.widgets.cpu)
vicious.register(W.graph_cpu, vicious.widgets.cpu, "$1", 3)
vicious.register(W.graph_cpu, vicious.widgets.cpu, "$1", 7)
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
......@@ -127,44 +132,60 @@ W.graph_mem:set_color({
{ 1, gmc.color['blue500'] }}
})
vicious.cache(vicious.widgets.mem)
vicious.register(W.graph_mem, vicious.widgets.mem, "$1", 3)
vicious.register(W.graph_mem, vicious.widgets.mem, "$1", 17)
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
W.progress_example = wibox.widget {
{
max_value = 1,
-- value = 0.5,
forced_height = 20,
forced_width = 100,
paddings = 1,
border_width = 1,
border_color = gmc.color['blue900'],
color = gmc.color['yellow500'],
background_color = gmc.color['white'],
widget = wibox.widget.progressbar,
W.progress_mem = wibox.widget.progressbar()
-- https://github.com/vicious-widgets/vicious
-- Create wibox with batwidget
membox = wibox.layout.margin(
wibox.widget {
{
max_value = 1,
widget = W.progress_mem,
width = 100,
paddings = 3,
border_width = 1,
border_color = gmc.color['blue900'],
background_color = gmc.color['white'],
color = {
type = "linear",
from = {0, 0},
to = {50, 0},
stops = {
{ 0, gmc.color['blue900'] },
{ 0.5, gmc.color['blue300'] },
{ 1, gmc.color['blue500'] }
}
}
},
{
text = '50%',
widget = wibox.widget.textbox,
text = 'Memory',
widget = wibox.widget.textbox,
},
layout = wibox.layout.stack
}
},
1, 1, 3, 3)
-- -- --
-- Register widget
--vicious.cache(vicious.widgets.mem)
vicious.register(W.progress_mem, vicious.widgets.mem, "$1", 11)
W.progress_mem = wibox.widget.progressbar()
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
W.progress_cpu = wibox.widget.progressbar()
-- https://github.com/vicious-widgets/vicious
-- Create wibox with batwidget
membox = wibox.layout.margin(
cpubox = wibox.layout.margin(
wibox.widget {
{
max_value = 1,
widget = W.progress_mem,
--forced_height = 20,
--forced_width = 100,
widget = W.progress_cpu,
width = 100,
paddings = 3,
border_width = 1,
......@@ -176,30 +197,22 @@ membox = wibox.layout.margin(
to = {50, 0},
stops = {
{ 0, gmc.color['yellow900'] },
{ 0.5, gmc.color['yellow300'] },
{ 1, gmc.color['yellow500'] }
{ 0.5, gmc.color['orange300'] },
{ 1, gmc.color['red500'] }
}
}
},
{
text = 'Memory of tree',
width = 100,
text = 'Processor',
widget = wibox.widget.textbox,
},
--direction = 'east',
--color = gmc.color['green500'],
--layout = wibox.container.rotate
--forced_height = 20,
--forced_width = 100,
--width = 100,
--background_color = gmc.color['white'],
layout = wibox.layout.stack
},
1, 1, 3, 3)
-- Register widget
vicious.cache(vicious.widgets.mem)
vicious.register(W.progress_mem, vicious.widgets.mem, "$1", 11)
--vicious.cache(vicious.widgets.mem)
vicious.register(W.progress_cpu, vicious.widgets.cpu, "$1", 13)
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
......
......@@ -51,5 +51,3 @@ theme.monitor_ac = icondir .. "ac.png"
theme.monitor_bat = icondir .. "bat.png"
theme.monitor_bat_low = icondir .. "bat_low.png"
theme.monitor_bat_no = icondir .. "bat_no.png"
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
......@@ -14,13 +14,9 @@ dofile(theme_path .. "layouts.lua")
dofile(theme_path .. "icons-copycat.lua")
theme.wallpaper = theme_path .. "background.jpg"
theme.wallpaper = "/home/epsi/Pictures/Pictures2/little_shadow-wallpaper-1280x800.jpg"
theme.awesome_icon = theme_path .. "launcher/logo20_kali_black.png"
theme.awesome_subicon = theme_path .. "launcher/logo20_kali_black.png"
theme.bar_bg_rainbow = theme_path .. "bar/copycat-rainbow/widget_bg.png"
theme.bar_bg_copland = theme_path .. "bar/copycat-copland/widget_bg.png"
theme.arrow_lr_thick = theme_path .. "misc/clone/arrow_lr_thick.png"
theme.arrow_lr_thin = theme_path .. "misc/clone/arrow_lr_thin.png"
theme.arrow_lr_pre = theme_path .. "misc/clone/arrow_lr_pre.png"
......
--local layout_icons = "default-white"
--local layout_icons = "default-black"
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--
layout_icons = "default-lain-white"
layout_path = theme_path .. "layouts/" .. layout_icons .. "/"
-- lain related
theme.layout_centerfair = layout_path .. "centerfair.png"
theme.layout_centerwork = layout_path .. "centerwork.png"
theme.layout_cascade = layout_path .. "cascade.png"
theme.layout_cascadetile = layout_path .. "cascadebrowse.png"
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- awful layout
theme.layout_txt_tile = "[t]"
theme.layout_txt_tileleft = "[l]"
theme.layout_txt_tilebottom = "[b]"
theme.layout_txt_tiletop = "[tt]"
theme.layout_txt_fairv = "[fv]"
theme.layout_txt_fairh = "[fh]"
theme.layout_txt_spiral = "[s]"
theme.layout_txt_dwindle = "[d]"
theme.layout_txt_max = "[m]"
theme.layout_txt_fullscreen = "[F]"
theme.layout_txt_magnifier = "[M]"
theme.layout_txt_floating = "[|]"
theme.layout_txt_floating = "[*]"
-- lain layout related
theme.layout_txt_cascade = "[cascade]"
theme.layout_txt_cascadetile = "[cascadetile]"
theme.layout_txt_centerwork = "[centerwork]"
theme.layout_txt_termfair = "[termfair]"
theme.layout_txt_centerfair = "[centerfair]"
theme.layout_txt_uselessfair = "[uf]"
theme.layout_txt_uselessfairh = "[ufh]"
theme.layout_txt_uselesspiral = "[us]"
theme.layout_txt_uselessdwindle = "[ud]"
theme.layout_txt_uselesstile = "[ut]"
theme.layout_txt_uselesstileleft = "[utl]"
theme.layout_txt_uselesstiletop = "[utt]"
theme.layout_txt_uselesstilebottom = "[utb]"
-- look inside /usr/share/icons/, default: nil (don't use icon theme)
-- https://bbs.archlinux.org/viewtopic.php?id=195663
--! theme.icon_theme = "Paper" -- "HighContrast" -- "Adwaita" -- "gnome" -- "Tango"
--! theme.icon_theme_size = "32x32"
-- https://awesomewm.org/wiki/Remove_icons
-- theme.tasklist_disable_icon = true
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- lain variables
-- not necessarily have to be in theme.lua when theme variable is not set local
--! theme.useless_gap_width = 40