mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 11:12:31 +00:00
Copland: Tamzen -> Tamsyn; #237
This commit is contained in:
parent
8c5ae9ac07
commit
398a658a7d
|
@ -143,7 +143,7 @@ Notes
|
||||||
|
|
||||||
Complements are provided by lain_ and freedesktop_. **Be sure** to satisfy their dependencies.
|
Complements are provided by lain_ and freedesktop_. **Be sure** to satisfy their dependencies.
|
||||||
|
|
||||||
Fonts are Terminus_ (Multicolor, Powerarrow, Powerarrow Dark), Tamzen_ (Copland), Roboto_ (Holo, Vertex) and Tamsyn_ (other ones).
|
Fonts are Terminus_ (Multicolor, Powerarrow, Powerarrow Dark), Roboto_ (Holo, Vertex) and Tamsyn_ (other ones).
|
||||||
|
|
||||||
Every theme has a colorscheme_.
|
Every theme has a colorscheme_.
|
||||||
|
|
||||||
|
|
|
@ -90,8 +90,8 @@ theme.cal = lain.widget.cal({
|
||||||
bg = theme.bg_normal
|
bg = theme.bg_normal
|
||||||
}})
|
}})
|
||||||
|
|
||||||
--[[ Mail IMAP check
|
-- Mail IMAP check
|
||||||
-- commented because it needs to be set before use
|
--[[ commented because it needs to be set before use
|
||||||
local mail = lain.widget.imap({
|
local mail = lain.widget.imap({
|
||||||
timeout = 180,
|
timeout = 180,
|
||||||
server = "server",
|
server = "server",
|
||||||
|
@ -132,6 +132,7 @@ theme.mpd = lain.widget.mpd({
|
||||||
})
|
})
|
||||||
|
|
||||||
-- /home fs
|
-- /home fs
|
||||||
|
--[[ commented because it uses
|
||||||
theme.fs = lain.widget.fs({
|
theme.fs = lain.widget.fs({
|
||||||
notification_preset = { fg = white, bg = theme.bg_normal, font = "Misc Tamsyn 10.5" },
|
notification_preset = { fg = white, bg = theme.bg_normal, font = "Misc Tamsyn 10.5" },
|
||||||
settings = function()
|
settings = function()
|
||||||
|
@ -146,6 +147,7 @@ theme.fs = lain.widget.fs({
|
||||||
widget:set_markup(markup.font(theme.font, markup(gray, fs_header) .. fs_p))
|
widget:set_markup(markup.font(theme.font, markup(gray, fs_header) .. fs_p))
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
--]]
|
||||||
|
|
||||||
-- Battery
|
-- Battery
|
||||||
local bat = lain.widget.bat({
|
local bat = lain.widget.bat({
|
||||||
|
|
|
@ -17,7 +17,7 @@ local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
|
||||||
local theme = {}
|
local theme = {}
|
||||||
theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/copland"
|
theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/copland"
|
||||||
theme.wallpaper = theme.dir .. "/wall.png"
|
theme.wallpaper = theme.dir .. "/wall.png"
|
||||||
theme.font = "Misc Tamzen 10.5"
|
theme.font = "Misc Tamsyn 10.5"
|
||||||
theme.fg_normal = "#BBBBBB"
|
theme.fg_normal = "#BBBBBB"
|
||||||
theme.fg_focus = "#78A4FF"
|
theme.fg_focus = "#78A4FF"
|
||||||
theme.bg_normal = "#111111"
|
theme.bg_normal = "#111111"
|
||||||
|
@ -95,14 +95,14 @@ local green = "#8FEB8F"
|
||||||
|
|
||||||
-- Textclock
|
-- Textclock
|
||||||
--os.setlocale(os.getenv("LANG")) -- to localize the clock
|
--os.setlocale(os.getenv("LANG")) -- to localize the clock
|
||||||
local mytextclock = wibox.widget.textclock("<span font='Misc Tamzen 5'> </span>%H:%M ")
|
local mytextclock = wibox.widget.textclock("<span font='Misc Tamsyn 5'> </span>%H:%M ")
|
||||||
mytextclock.font = theme.font
|
mytextclock.font = theme.font
|
||||||
|
|
||||||
-- Calendar
|
-- Calendar
|
||||||
theme.cal = lain.widget.cal({
|
theme.cal = lain.widget.cal({
|
||||||
attach_to = { mytextclock },
|
attach_to = { mytextclock },
|
||||||
notification_preset = {
|
notification_preset = {
|
||||||
font = "Misc Tamzen 11",
|
font = "Misc Tamsyn 11",
|
||||||
fg = theme.fg_normal,
|
fg = theme.fg_normal,
|
||||||
bg = theme.bg_normal
|
bg = theme.bg_normal
|
||||||
}
|
}
|
||||||
|
@ -120,7 +120,7 @@ local mail = lain.widget.imap({
|
||||||
count = ""
|
count = ""
|
||||||
|
|
||||||
if mailcount > 0 then
|
if mailcount > 0 then
|
||||||
mail = "<span font='Misc Tamzen 5'> </span>Mail "
|
mail = "<span font='Misc Tamsyn 5'> </span>Mail "
|
||||||
count = mailcount .. " "
|
count = mailcount .. " "
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -135,11 +135,11 @@ theme.mpd = lain.widget.mpd({
|
||||||
settings = function()
|
settings = function()
|
||||||
if mpd_now.state == "play" then
|
if mpd_now.state == "play" then
|
||||||
title = mpd_now.title
|
title = mpd_now.title
|
||||||
artist = " " .. mpd_now.artist .. markup("#777777", " <span font='Misc Tamzen 2'> </span>|<span font='Misc Tamzen 5'> </span>")
|
artist = " " .. mpd_now.artist .. markup("#777777", " <span font='Misc Tamsyn 2'> </span>|<span font='Misc Tamsyn 5'> </span>")
|
||||||
mpdicon:set_image(theme.play)
|
mpdicon:set_image(theme.play)
|
||||||
elseif mpd_now.state == "pause" then
|
elseif mpd_now.state == "pause" then
|
||||||
title = "mpd "
|
title = "mpd "
|
||||||
artist = "paused" .. markup("#777777", " |<span font='Misc Tamzen 5'> </span>")
|
artist = "paused" .. markup("#777777", " |<span font='Misc Tamsyn 5'> </span>")
|
||||||
mpdicon:set_image(theme.pause)
|
mpdicon:set_image(theme.pause)
|
||||||
else
|
else
|
||||||
title = ""
|
title = ""
|
||||||
|
@ -215,7 +215,7 @@ local fsbar = wibox.widget {
|
||||||
widget = wibox.widget.progressbar,
|
widget = wibox.widget.progressbar,
|
||||||
}
|
}
|
||||||
theme.fs = lain.widget.fs {
|
theme.fs = lain.widget.fs {
|
||||||
notification_preset = { fg = theme.fg_normal, bg = theme.bg_normal, font = "Misc Tamzen 10.5" },
|
notification_preset = { fg = theme.fg_normal, bg = theme.bg_normal, font = "Misc Tamsyn 10.5" },
|
||||||
settings = function()
|
settings = function()
|
||||||
if fs_now["/home"].percentage < 90 then
|
if fs_now["/home"].percentage < 90 then
|
||||||
fsbar:set_color(theme.fg_normal)
|
fsbar:set_color(theme.fg_normal)
|
||||||
|
@ -282,10 +282,10 @@ theme.weather = lain.widget.weather({
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Separators
|
-- Separators
|
||||||
local first = wibox.widget.textbox(markup.font("Misc Tamzen 3", " "))
|
local first = wibox.widget.textbox(markup.font("Misc Tamsyn 3", " "))
|
||||||
local spr = wibox.widget.textbox(' ')
|
local spr = wibox.widget.textbox(' ')
|
||||||
local small_spr = wibox.widget.textbox(markup.font("Misc Tamzen 4", " "))
|
local small_spr = wibox.widget.textbox(markup.font("Misc Tamsyn 4", " "))
|
||||||
local bar_spr = wibox.widget.textbox(markup.font("Misc Tamzen 3", " ") .. markup.fontfg(theme.font, "#777777", "|") .. markup.font("Misc Tamzen 5", " "))
|
local bar_spr = wibox.widget.textbox(markup.font("Misc Tamsyn 3", " ") .. markup.fontfg(theme.font, "#777777", "|") .. markup.font("Misc Tamsyn 5", " "))
|
||||||
|
|
||||||
-- Eminent-like task filtering
|
-- Eminent-like task filtering
|
||||||
local orig_filter = awful.widget.taglist.filter.all
|
local orig_filter = awful.widget.taglist.filter.all
|
||||||
|
|
Loading…
Reference in a new issue