Updated awesome theme

This commit is contained in:
Mutzi 2023-01-13 11:13:01 +01:00
parent 4c4a94857e
commit 3985ec2941
369 changed files with 38 additions and 3507 deletions

View File

@ -1,55 +0,0 @@
# Please, read me!
So that I can help you quickly and without having to redirect you here.
# If you have a question
Take the following steps:
1. Use a web search engine
2. Search in [Awesome doc](https://awesomewm.org/doc)
3. Ask the [community](https://awesomewm.org/community)
and, if you still don't have an answer, you can ask here.
**Please be warned:** if your question is unrelated to this repository, a reply is only an act of kindness.
# If you have an issue <a name="issuesec"/>
First do
1. search the [issues section](https://github.com/lcpz/awesome-copycats/issues) and
2. search [lain issues section](https://github.com/lcpz/lain/issues) and
3. search [lain wiki](https://github.com/lcpz/lain/wiki) and
4. try with default Awesome configuration, usually located in `/etc/xdg/awesome/rc.lua` or `/usr/local/etc/xdg/awesome/rc.lua`.
If you can't find a solution and your issue doesn't happen with default configuration, then go ahead and provide:
* output of `awesome -v` and `lua -v`
* expected behavior and actual behavior
* steps to reproduce the problem
* X error log (if needed)
# If Awesome fails to start
Then something went wrong during its initialisation. You have to provide X error
log. There are two ways:
1. Restart X like this:
```shell
startx -- -keeptty -nolisten tcp > $HOME/.xorg.log 2>&1
```
the error log will be output into `$HOME/.xorg.log`.
2. Use [Xephyr](https://wikipedia.org/wiki/Xephyr):
```shell
# set screen size as you like
Xephyr :1 -screen 1280x800 2> stdout.txt & DISPLAY=:1 awesome
```
the error log will be output into the file `stdout.txt`.
Before reporting, read the log and see if you can solve it yourself. If you can't, then follow the [previous section](#issuesec).
# If you have a new feature or theme request
Write a detailed description of the desired design, preferably with screenshots or mockups.

View File

@ -1,182 +0,0 @@
Awesome WM Copycats
===================
-------------------------
Themes for Awesome WM 4.x
-------------------------
:Author: Luca CPZ
:Version: git
:License: BY-SA_
:Source: https://github.com/lcpz/awesome-copycats
Description
===========
A set of themes for the Awesome_ window manager, version 4.x.
See branches_ for previous versions.
Purpose
=======
The main purpose of this repository is to spread ready to use configurations, which can also serve as a cookbook for customisation.
A secondary aim is to add new themes only when they constitute different UI/UX designs.
Features
========
- Modularity
- Autohide widgets
- Autostart windowless processes
- Fast MPD and volume shortcuts (first time this trick has been used in Awesome)
- Shortcuts for copying to the clipboard, toggle wiboxes, widgets popups, screenshots capture, moving and magnifying clients
- Quake drop-down terminal
- Calendar with current day highlighted and months switch with a click/scroll
- Notifications for new mails, current song, volume level, hdd critical state, low battery
- OpenWeatherMap integration
- Net carrier status notifier
- Symbolic tag names
- DWM-like textual layoutbox
- Cairo wibar
- Custom layouts
- No borders when there's only one visible client
- Freedesktop.org compliant menu and desktop icons
- Vi-like client focus
- Non-empty tag browsing
- On-the-fly useless gaps resize
- Dynamic tagging
Gallery
=======
**Multicolor**, inspired by lucamanni_
.. image:: http://dotshare.it/public/images/uploads/650.png
**Powerarrow**, porting of romockee_'s
.. image:: http://dotshare.it/public/images/uploads/1453.png
**Powerarrow Dark**
.. image:: http://dotshare.it/public/images/uploads/649.jpg
**Steamburn**, porting of ok100_'s dwm
.. image:: http://dotshare.it/public/images/uploads/648.png
**Blackburn**
.. image:: http://dotshare.it/public/images/uploads/553.png
**Dremora**
.. image:: http://dotshare.it/public/images/uploads/652.png
**Rainbow**
.. image:: http://dotshare.it/public/images/uploads/606.png
**Holo**, requested by amouly_
.. image:: http://dotshare.it/public/images/uploads/651.jpg
**Copland**, inspired by foozer_
.. image:: http://dotshare.it/public/images/uploads/655.png
**Vertex**, requested by swordfischer_
.. image:: http://dotshare.it/public/images/uploads/1432.jpg
Installation
============
.. code-block:: shell
git clone --recurse-submodules --remote-submodules --depth 1 -j 2 https://github.com/lcpz/awesome-copycats.git
mv -bv awesome-copycats/{*,.[^.]*} ~/.config/awesome; rm -rf awesome-copycats
In case you do not want the Git files, use the following as the second command:
.. code-block:: shell
mv -bv awesome-copycats/* ~/.config/awesome; rm -rf awesome-copycats
Usage
=====
The modular structure allows to
* set variables
* define startup processes
* change keybindings and layouts
* set client properties
in ``rc.lua``, and
* configure widgets
* define wiboxes and screen settings
in ``theme.lua``, so that you just need to change ``chosen_theme`` variable in ``rc.lua`` to preserve your preferences *and* switch the theme, instead of having file redundancy.
Just do the following:
.. code-block:: shell
$ cd ~/.config/awesome
$ cp rc.lua.template rc.lua
Then, set the variable ``chosen_theme`` in ``rc.lua`` to your preferred theme, do your settings, and restart Awesome (``Mod4 + ctrl + r``).
To customize a theme, head over to ``themes/$chosen_theme/theme.lua``.
Otherwise, if you want to be synced with upstream, modify the theme path in ``rc.lua`` like this:
.. code-block:: diff
-beautiful.init(string.format("%s/.config/awesome/themes/%s/theme.lua", os.getenv("HOME"), chosen_theme))
+beautiful.init(string.format("%s/.config/awesome/themes/%s/theme-personal.lua", os.getenv("HOME"), chosen_theme))
then, copy ``theme.lua`` to ``theme-personal.lua`` and do your customizations there.
This way, you can safely ``git pull`` anytime.
Notes
=====
Complements are provided by lain_ and freedesktop_. **Be sure** to satisfy their dependencies_. In particular, mail_ and weather_ widgets have **mandatory** arguments.
The fonts used in the screenshots are: Terminus_ (Multicolor, Powerarrow, Powerarrow Dark), Roboto_ (Holo, Vertex) and Tamzen_ (other ones).
As taglist font, Blackburn and Dremora use Icons_, Vertex uses FontAwesome_: be sure to have bitmaps enabled if running under Debian or Ubuntu_.
Every theme has a colorscheme_.
Additional default software used: ::
amixer dmenu librewolf mpc mpd scrot unclutter xbacklight xsel slock
.. _BY-SA: https://creativecommons.org/licenses/by-sa/4.0
.. _Awesome: http://github.com/awesomeWM/awesome
.. _branches: https://github.com/lcpz/awesome-copycats/branches
.. _lucamanni: https://github.com/lucamanni/awesome
.. _romockee: https://github.com/romockee/powerarrow
.. _ok100: http://ok100.deviantart.com/art/DWM-January-2013-348656846
.. _amouly: https://bbs.archlinux.org/viewtopic.php?pid=1307158#p1307158
.. _swordfischer: https://github.com/lcpz/awesome-copycats/issues/53
.. _foozer: http://dotshare.it/dots/499
.. _lain: https://github.com/lcpz/lain
.. _freedesktop: https://github.com/lcpz/awesome-freedesktop
.. _Terminus: http://terminus-font.sourceforge.net
.. _Roboto: https://fonts.google.com/specimen/Roboto
.. _Tamzen: https://github.com/sunaku/tamzen-font
.. _Icons: https://github.com/lcpz/dots/tree/master/.fonts
.. _FontAwesome: https://github.com/FortAwesome/Font-Awesome
.. _Ubuntu: https://wiki.ubuntu.com/Fonts#Enabling_Bitmapped_Fonts
.. _colorscheme: https://github.com/lcpz/dots/tree/master/.colors
.. _dependencies: https://github.com/lcpz/lain/wiki#dependencies
.. _mail: https://github.com/lcpz/lain/wiki/mail
.. _weather: https://github.com/lcpz/lain/wiki/weather

View File

Before

Width:  |  Height:  |  Size: 125 B

After

Width:  |  Height:  |  Size: 125 B

View File

Before

Width:  |  Height:  |  Size: 167 B

After

Width:  |  Height:  |  Size: 167 B

View File

Before

Width:  |  Height:  |  Size: 356 B

After

Width:  |  Height:  |  Size: 356 B

View File

Before

Width:  |  Height:  |  Size: 266 B

After

Width:  |  Height:  |  Size: 266 B

View File

Before

Width:  |  Height:  |  Size: 140 B

After

Width:  |  Height:  |  Size: 140 B

View File

Before

Width:  |  Height:  |  Size: 214 B

After

Width:  |  Height:  |  Size: 214 B

View File

Before

Width:  |  Height:  |  Size: 212 B

After

Width:  |  Height:  |  Size: 212 B

View File

Before

Width:  |  Height:  |  Size: 224 B

After

Width:  |  Height:  |  Size: 224 B

View File

Before

Width:  |  Height:  |  Size: 187 B

After

Width:  |  Height:  |  Size: 187 B

View File

Before

Width:  |  Height:  |  Size: 142 B

After

Width:  |  Height:  |  Size: 142 B

View File

Before

Width:  |  Height:  |  Size: 188 B

After

Width:  |  Height:  |  Size: 188 B

View File

Before

Width:  |  Height:  |  Size: 188 B

After

Width:  |  Height:  |  Size: 188 B

View File

Before

Width:  |  Height:  |  Size: 180 B

After

Width:  |  Height:  |  Size: 180 B

View File

Before

Width:  |  Height:  |  Size: 323 B

After

Width:  |  Height:  |  Size: 323 B

View File

Before

Width:  |  Height:  |  Size: 117 B

After

Width:  |  Height:  |  Size: 117 B

View File

Before

Width:  |  Height:  |  Size: 348 B

After

Width:  |  Height:  |  Size: 348 B

View File

Before

Width:  |  Height:  |  Size: 350 B

After

Width:  |  Height:  |  Size: 350 B

View File

Before

Width:  |  Height:  |  Size: 242 B

After

Width:  |  Height:  |  Size: 242 B

View File

Before

Width:  |  Height:  |  Size: 342 B

After

Width:  |  Height:  |  Size: 342 B

View File

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 215 B

View File

Before

Width:  |  Height:  |  Size: 350 B

After

Width:  |  Height:  |  Size: 350 B

View File

Before

Width:  |  Height:  |  Size: 146 B

After

Width:  |  Height:  |  Size: 146 B

View File

Before

Width:  |  Height:  |  Size: 141 B

After

Width:  |  Height:  |  Size: 141 B

View File

Before

Width:  |  Height:  |  Size: 180 B

After

Width:  |  Height:  |  Size: 180 B

View File

Before

Width:  |  Height:  |  Size: 353 B

After

Width:  |  Height:  |  Size: 353 B

View File

Before

Width:  |  Height:  |  Size: 213 B

After

Width:  |  Height:  |  Size: 213 B

View File

Before

Width:  |  Height:  |  Size: 205 B

After

Width:  |  Height:  |  Size: 205 B

View File

Before

Width:  |  Height:  |  Size: 212 B

After

Width:  |  Height:  |  Size: 212 B

View File

Before

Width:  |  Height:  |  Size: 205 B

After

Width:  |  Height:  |  Size: 205 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 966 B

After

Width:  |  Height:  |  Size: 966 B

View File

Before

Width:  |  Height:  |  Size: 380 B

After

Width:  |  Height:  |  Size: 380 B

View File

Before

Width:  |  Height:  |  Size: 199 B

After

Width:  |  Height:  |  Size: 199 B

View File

Before

Width:  |  Height:  |  Size: 386 B

After

Width:  |  Height:  |  Size: 386 B

View File

Before

Width:  |  Height:  |  Size: 463 B

After

Width:  |  Height:  |  Size: 463 B

View File

Before

Width:  |  Height:  |  Size: 480 B

After

Width:  |  Height:  |  Size: 480 B

View File

Before

Width:  |  Height:  |  Size: 234 B

After

Width:  |  Height:  |  Size: 234 B

View File

Before

Width:  |  Height:  |  Size: 225 B

After

Width:  |  Height:  |  Size: 225 B

View File

Before

Width:  |  Height:  |  Size: 212 B

After

Width:  |  Height:  |  Size: 212 B

View File

Before

Width:  |  Height:  |  Size: 629 B

After

Width:  |  Height:  |  Size: 629 B

View File

Before

Width:  |  Height:  |  Size: 467 B

After

Width:  |  Height:  |  Size: 467 B

View File

Before

Width:  |  Height:  |  Size: 604 B

After

Width:  |  Height:  |  Size: 604 B

View File

Before

Width:  |  Height:  |  Size: 622 B

After

Width:  |  Height:  |  Size: 622 B

View File

Before

Width:  |  Height:  |  Size: 741 B

After

Width:  |  Height:  |  Size: 741 B

View File

Before

Width:  |  Height:  |  Size: 654 B

After

Width:  |  Height:  |  Size: 654 B

View File

Before

Width:  |  Height:  |  Size: 758 B

After

Width:  |  Height:  |  Size: 758 B

View File

@ -83,21 +83,6 @@ awful.spawn.with_shell(
-- }}} -- }}}
-- {{{ Variable definitions -- {{{ Variable definitions
local themes = {
"blackburn", -- 1
"copland", -- 2
"dremora", -- 3
"holo", -- 4
"multicolor", -- 5
"powerarrow", -- 6
"powerarrow-dark", -- 7
"rainbow", -- 8
"steamburn", -- 9
"vertex" -- 10
}
local chosen_theme = themes[5]
local modkey = "Mod4" local modkey = "Mod4"
local altkey = "Mod1" local altkey = "Mod1"
local terminal = "kitty" local terminal = "kitty"
@ -165,7 +150,7 @@ awful.util.tasklist_buttons = mytable.join(
awful.button({ }, 5, function() awful.client.focus.byidx(-1) end) awful.button({ }, 5, function() awful.client.focus.byidx(-1) end)
) )
beautiful.init(string.format("%s/.config/awesome/themes/%s/theme.lua", os.getenv("HOME"), chosen_theme)) beautiful.init(os.getenv("HOME") .. "/.config/awesome/theme.lua")
-- }}} -- }}}
@ -420,8 +405,8 @@ globalkeys = mytable.join(
end, {description = "restore minimized", group = "client"}), end, {description = "restore minimized", group = "client"}),
-- Dropdown application -- Dropdown application
-- awful.key({ modkey, }, "z", function () awful.screen.focused().quake:toggle() end, awful.key({ modkey, }, "q", function () awful.screen.focused().quake:toggle() end,
-- {description = "dropdown application", group = "launcher"}), {description = "dropdown application", group = "launcher"}),
-- Widgets popups -- Widgets popups
awful.key({ altkey, }, "c", function () if beautiful.cal then beautiful.cal.show(7) end end, awful.key({ altkey, }, "c", function () if beautiful.cal then beautiful.cal.show(7) end end,
@ -432,12 +417,13 @@ globalkeys = mytable.join(
{description = "show weather", group = "widgets"}), {description = "show weather", group = "widgets"}),
-- Screen brightness -- Screen brightness
awful.key({ }, "XF86MonBrightnessUp", function () os.execute("xbacklight -inc 10") end, --awful.key({ }, "XF86MonBrightnessUp", function () os.execute("xbacklight -inc 10") end,
{description = "+10%", group = "hotkeys"}), -- {description = "+10%", group = "hotkeys"}),
awful.key({ }, "XF86MonBrightnessDown", function () os.execute("xbacklight -dec 10") end, --awful.key({ }, "XF86MonBrightnessDown", function () os.execute("xbacklight -dec 10") end,
{description = "-10%", group = "hotkeys"}), -- {description = "-10%", group = "hotkeys"}),
-- ALSA volume control -- ALSA volume control
--[[
awful.key({ altkey }, "Up", awful.key({ altkey }, "Up",
function () function ()
os.execute(string.format("amixer -q set %s 1%%+", beautiful.volume.channel)) os.execute(string.format("amixer -q set %s 1%%+", beautiful.volume.channel))
@ -468,6 +454,7 @@ globalkeys = mytable.join(
beautiful.volume.update() beautiful.volume.update()
end, end,
{description = "volume 0%", group = "hotkeys"}), {description = "volume 0%", group = "hotkeys"}),
]]--
-- MPD control -- MPD control
awful.key({ altkey, "Control" }, "Up", awful.key({ altkey, "Control" }, "Up",
@ -516,8 +503,8 @@ globalkeys = mytable.join(
{description = "copy gtk to terminal", group = "hotkeys"}), {description = "copy gtk to terminal", group = "hotkeys"}),
-- User programs -- User programs
awful.key({ modkey }, "q", function () awful.spawn(browser) end, --awful.key({ modkey }, "q", function () awful.spawn(browser) end,
{description = "run browser", group = "launcher"}), -- {description = "run browser", group = "launcher"}),
-- Default -- Default
--[[ Menubar --[[ Menubar

View File

@ -15,8 +15,8 @@ local os = os
local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
local theme = {} local theme = {}
theme.confdir = os.getenv("HOME") .. "/.config/awesome/themes/multicolor" theme.confdir = os.getenv("HOME") .. "/.config/awesome/"
theme.wallpaper = os.getenv("HOME") .. "/.config/awesome/themes/rainbow/wall.png" theme.wallpaper = os.getenv("HOME") .. "/.config/awesome/wall.png"
theme.font = "Terminus 8" theme.font = "Terminus 8"
theme.menu_bg_normal = "#000000" theme.menu_bg_normal = "#000000"
theme.menu_bg_focus = "#000000" theme.menu_bg_focus = "#000000"
@ -109,23 +109,7 @@ theme.cal = lain.widget.cal({
} }
}) })
-- Weather
--[[ to be set before use
local weathericon = wibox.widget.imagebox(theme.widget_weather)
theme.weather = lain.widget.weather({
city_id = 2643743, -- placeholder (London)
notification_preset = { font = "Terminus 10", fg = theme.fg_normal },
weather_na_markup = markup.fontfg(theme.font, "#eca4c4", "N/A "),
settings = function()
descr = weather_now["weather"][1]["description"]:lower()
units = math.floor(weather_now["main"]["temp"])
widget:set_markup(markup.fontfg(theme.font, "#eca4c4", descr .. " @ " .. units .. "°C "))
end
})
--]]
-- / fs -- / fs
--[[ commented because it needs Gio/Glib >= 2.54
local fsicon = wibox.widget.imagebox(theme.widget_fs) local fsicon = wibox.widget.imagebox(theme.widget_fs)
theme.fs = lain.widget.fs({ theme.fs = lain.widget.fs({
notification_preset = { font = "Terminus 10", fg = theme.fg_normal }, notification_preset = { font = "Terminus 10", fg = theme.fg_normal },
@ -133,30 +117,11 @@ theme.fs = lain.widget.fs({
widget:set_markup(markup.fontfg(theme.font, "#80d9d8", string.format("%.1f", fs_now["/"].used) .. "% ")) widget:set_markup(markup.fontfg(theme.font, "#80d9d8", string.format("%.1f", fs_now["/"].used) .. "% "))
end end
}) })
--]] theme.fs.widget:buttons(gears.table.join(
awful.button({}, 1, function()
-- Mail IMAP check os.execute("Thunar")
--[[ to be set before use end)
local mailicon = wibox.widget.imagebox() ))
theme.mail = lain.widget.imap({
timeout = 180,
server = "server",
mail = "mail",
password = "keyring get mail",
settings = function()
if mailcount > 0 then
mailicon:set_image(theme.widget_mail)
widget:set_markup(markup.fontfg(theme.font, "#cccccc", mailcount .. " "))
else
widget:set_text("")
--mailicon:set_image() -- not working in 4.0
mailicon._private.image = nil
mailicon:emit_signal("widget::redraw_needed")
mailicon:emit_signal("widget::layout_changed")
end
end
})
--]]
-- CPU -- CPU
local cpuicon = wibox.widget.imagebox(theme.widget_cpu) local cpuicon = wibox.widget.imagebox(theme.widget_cpu)
@ -167,15 +132,15 @@ local cpu = lain.widget.cpu({
}) })
-- Coretemp -- Coretemp
local tempicon = wibox.widget.imagebox(theme.widget_temp) --[[local tempicon = wibox.widget.imagebox(theme.widget_temp)
local temp = lain.widget.temp({ local temp = lain.widget.temp({
settings = function() settings = function()
widget:set_markup(markup.fontfg(theme.font, "#f1af5f", coretemp_now .. "°C ")) widget:set_markup(markup.fontfg(theme.font, "#f1af5f", coretemp_now .. "°C "))
end end
}) })]]--
-- Battery -- Battery
local baticon = wibox.widget.imagebox(theme.widget_batt) --[[local baticon = wibox.widget.imagebox(theme.widget_batt)
local bat = lain.widget.bat({ local bat = lain.widget.bat({
settings = function() settings = function()
local perc = bat_now.perc ~= "N/A" and bat_now.perc .. "%" or bat_now.perc local perc = bat_now.perc ~= "N/A" and bat_now.perc .. "%" or bat_now.perc
@ -186,7 +151,7 @@ local bat = lain.widget.bat({
widget:set_markup(markup.fontfg(theme.font, theme.fg_normal, perc .. " ")) widget:set_markup(markup.fontfg(theme.font, theme.fg_normal, perc .. " "))
end end
}) })]]--
-- ALSA volume -- ALSA volume
local volicon = wibox.widget.imagebox(theme.widget_vol) local volicon = wibox.widget.imagebox(theme.widget_vol)
@ -199,6 +164,16 @@ theme.volume = lain.widget.alsa({
widget:set_markup(markup.fontfg(theme.font, "#7493d2", volume_now.level .. "% ")) widget:set_markup(markup.fontfg(theme.font, "#7493d2", volume_now.level .. "% "))
end end
}) })
theme.volume.widget:buttons(awful.util.table.join(
awful.button({}, 4, function()
os.execute(string.format("%s set %s 1%%+", theme.volume.cmd, theme.volume.channel))
theme.volume.update()
end),
awful.button({}, 5, function()
os.execute(string.format("%s set %s 1%%-", theme.volume.cmd, theme.volume.channel))
theme.volume.update()
end)
))
-- Net -- Net
local netdownicon = wibox.widget.imagebox(theme.widget_netdown) local netdownicon = wibox.widget.imagebox(theme.widget_netdown)
@ -206,14 +181,6 @@ local netdowninfo = wibox.widget.textbox()
local netupicon = wibox.widget.imagebox(theme.widget_netup) local netupicon = wibox.widget.imagebox(theme.widget_netup)
local netupinfo = lain.widget.net({ local netupinfo = lain.widget.net({
settings = function() settings = function()
--[[ uncomment if using the weather widget
if iface ~= "network off" and
string.match(theme.weather.widget.text, "N/A")
then
theme.weather.update()
end
--]]
widget:set_markup(markup.fontfg(theme.font, "#e54c62", net_now.sent .. " ")) widget:set_markup(markup.fontfg(theme.font, "#e54c62", net_now.sent .. " "))
netdowninfo:set_markup(markup.fontfg(theme.font, "#87af5f", net_now.received .. " ")) netdowninfo:set_markup(markup.fontfg(theme.font, "#87af5f", net_now.received .. " "))
end end
@ -317,14 +284,14 @@ function theme.at_screen_connect(s)
memory.widget, memory.widget,
cpuicon, cpuicon,
cpu.widget, cpu.widget,
--fsicon, fsicon,
--theme.fs.widget, theme.fs.widget,
--weathericon, --weathericon,
--theme.weather.widget, --theme.weather.widget,
tempicon, --tempicon,
temp.widget, --temp.widget,
baticon, --baticon,
bat.widget, --bat.widget,
clockicon, clockicon,
mytextclock, mytextclock,
}, },

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 165 B

View File

@ -1,280 +0,0 @@
--[[
Blackburn Awesome WM theme 3.0
github.com/lcpz
--]]
local gears = require("gears")
local lain = require("lain")
local awful = require("awful")
local wibox = require("wibox")
local dpi = require("beautiful.xresources").apply_dpi
local os = os
local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
local theme = {}
theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/blackburn"
theme.wallpaper = theme.dir .. "/wall.png"
theme.font = "Terminus 10.5"
theme.taglist_font = "Icons 10"
theme.fg_normal = "#D7D7D7"
theme.fg_focus = "#F6784F"
theme.bg_normal = "#060606"
theme.bg_focus = "#060606"
theme.fg_urgent = "#CC9393"
theme.bg_urgent = "#2A1F1E"
theme.border_width = dpi(1)
theme.border_normal = "#0E0E0E"
theme.border_focus = "#F79372"
theme.taglist_fg_focus = "#F6784F"
theme.taglist_bg_focus = "#060606"
theme.tasklist_fg_focus = "#F6784F"
theme.tasklist_bg_focus = "#060606"
theme.menu_height = dpi(16)
theme.menu_width = dpi(130)
theme.menu_submenu_icon = theme.dir .. "/icons/submenu.png"
theme.awesome_icon = theme.dir .."/icons/awesome.png"
theme.taglist_squares_sel = theme.dir .. "/icons/square_sel.png"
theme.taglist_squares_unsel = theme.dir .. "/icons/square_unsel.png"
theme.layout_tile = theme.dir .. "/icons/tile.png"
theme.layout_tileleft = theme.dir .. "/icons/tileleft.png"
theme.layout_tilebottom = theme.dir .. "/icons/tilebottom.png"
theme.layout_tiletop = theme.dir .. "/icons/tiletop.png"
theme.layout_fairv = theme.dir .. "/icons/fairv.png"
theme.layout_fairh = theme.dir .. "/icons/fairh.png"
theme.layout_spiral = theme.dir .. "/icons/spiral.png"
theme.layout_dwindle = theme.dir .. "/icons/dwindle.png"
theme.layout_max = theme.dir .. "/icons/max.png"
theme.layout_fullscreen = theme.dir .. "/icons/fullscreen.png"
theme.layout_magnifier = theme.dir .. "/icons/magnifier.png"
theme.layout_floating = theme.dir .. "/icons/floating.png"
theme.tasklist_plain_task_name = true
theme.tasklist_disable_icon = true
theme.useless_gap = 0
theme.titlebar_close_button_focus = theme.dir .. "/icons/titlebar/close_focus.png"
theme.titlebar_close_button_normal = theme.dir .. "/icons/titlebar/close_normal.png"
theme.titlebar_ontop_button_focus_active = theme.dir .. "/icons/titlebar/ontop_focus_active.png"
theme.titlebar_ontop_button_normal_active = theme.dir .. "/icons/titlebar/ontop_normal_active.png"
theme.titlebar_ontop_button_focus_inactive = theme.dir .. "/icons/titlebar/ontop_focus_inactive.png"
theme.titlebar_ontop_button_normal_inactive = theme.dir .. "/icons/titlebar/ontop_normal_inactive.png"
theme.titlebar_sticky_button_focus_active = theme.dir .. "/icons/titlebar/sticky_focus_active.png"
theme.titlebar_sticky_button_normal_active = theme.dir .. "/icons/titlebar/sticky_normal_active.png"
theme.titlebar_sticky_button_focus_inactive = theme.dir .. "/icons/titlebar/sticky_focus_inactive.png"
theme.titlebar_sticky_button_normal_inactive = theme.dir .. "/icons/titlebar/sticky_normal_inactive.png"
theme.titlebar_floating_button_focus_active = theme.dir .. "/icons/titlebar/floating_focus_active.png"
theme.titlebar_floating_button_normal_active = theme.dir .. "/icons/titlebar/floating_normal_active.png"
theme.titlebar_floating_button_focus_inactive = theme.dir .. "/icons/titlebar/floating_focus_inactive.png"
theme.titlebar_floating_button_normal_inactive = theme.dir .. "/icons/titlebar/floating_normal_inactive.png"
theme.titlebar_maximized_button_focus_active = theme.dir .. "/icons/titlebar/maximized_focus_active.png"
theme.titlebar_maximized_button_normal_active = theme.dir .. "/icons/titlebar/maximized_normal_active.png"
theme.titlebar_maximized_button_focus_inactive = theme.dir .. "/icons/titlebar/maximized_focus_inactive.png"
theme.titlebar_maximized_button_normal_inactive = theme.dir .. "/icons/titlebar/maximized_normal_inactive.png"
theme.titlebar_minimize_button_focus = theme.dir .. "/icons/titlebar/minimize_focus.png"
theme.titlebar_minimize_button_normal = theme.dir .. "/icons/titlebar/minimize_normal.png"
awful.util.tagnames = { "ƀ", "Ƅ", "Ɗ", "ƈ", "ƙ" }
local markup = lain.util.markup
local separators = lain.util.separators
local gray = "#9E9C9A"
-- Textclock
local mytextclock = wibox.widget.textclock(" %H:%M ")
mytextclock.font = theme.font
-- Calendar
theme.cal = lain.widget.cal({
attach_to = { mytextclock },
notification_preset = {
font = "Terminus 11",
fg = theme.fg_normal,
bg = theme.bg_normal
}
})
-- Mail IMAP check
--[[ to be set before use
theme.mail = lain.widget.imap({
timeout = 180,
server = "server",
mail = "mail",
password = "keyring get mail",
notification_preset = { fg = white }
settings = function()
mail = ""
count = ""
if mailcount > 0 then
mail = "Mail "
count = mailcount .. " "
end
widget:set_markup(markup.font(theme.font, markup(gray, mail) .. count))
end
})
--]]
-- MPD
theme.mpd = lain.widget.mpd({
settings = function()
mpd_notification_preset.fg = white
artist = mpd_now.artist .. " "
title = mpd_now.title .. " "
if mpd_now.state == "pause" then
artist = "mpd "
title = "paused "
elseif mpd_now.state == "stop" then
artist = ""
title = ""
end
widget:set_markup(markup.font(theme.font, markup(gray, artist) .. title .. " "))
end
})
-- /home fs
--[[ commented because it needs Gio/Glib >= 2.54
theme.fs = lain.widget.fs({
notification_preset = { fg = white, bg = theme.bg_normal, font = "Terminus 10.5" },
settings = function()
fs_header = ""
fs_p = ""
if fs_now["/home"].percentage >= 90 then
fs_header = " Hdd "
fs_p = fs_now["/home"].percentage
end
widget:set_markup(markup.font(theme.font, markup(gray, fs_header) .. fs_p))
end
})
--]]
-- Battery
local bat = lain.widget.bat({
settings = function()
bat_header = " Bat "
bat_p = bat_now.perc .. " "
widget:set_markup(markup.font(theme.font, markup(gray, bat_header) .. bat_p))
end
})
-- ALSA volume
theme.volume = lain.widget.alsa({
--togglechannel = "IEC958,3",
settings = function()
header = " Vol "
vlevel = volume_now.level
if volume_now.status == "off" then
vlevel = vlevel .. "M "
else
vlevel = vlevel .. " "
end
widget:set_markup(markup.font(theme.font, markup(gray, header) .. vlevel))
end
})
-- Weather
--[[ to be set before use
theme.weather = lain.widget.weather({
--APPID =
city_id = 2643743, -- placeholder (London)
settings = function()
units = math.floor(weather_now["main"]["temp"])
widget:set_markup(" " .. units .. " ")
end
})
--]]
-- Separators
local first = wibox.widget.textbox('<span font="Terminus 4"> </span>')
local arrl_pre = separators.arrow_right("alpha", "#1A1A1A")
local arrl_post = separators.arrow_right("#1A1A1A", "alpha")
local barheight = dpi(18)
local barcolor = gears.color({
type = "linear",
from = { barheight, 0 },
to = { barheight, barheight },
stops = { {0, theme.bg_focus }, {0.8, theme.border_normal}, {1, "#1A1A1A"} }
})
theme.titlebar_bg = barcolor
theme.titlebar_bg_focus = gears.color({
type = "linear",
from = { barheight, 0 },
to = { barheight, barheight },
stops = { {0, theme.bg_normal}, {0.5, theme.border_normal}, {1, "#492417"} }
})
function theme.at_screen_connect(s)
-- Quake application
s.quake = lain.util.quake({ app = awful.util.terminal })
-- If wallpaper is a function, call it with the screen
local wallpaper = theme.wallpaper
if type(wallpaper) == "function" then
wallpaper = wallpaper(s)
end
gears.wallpaper.maximized(wallpaper, s, true)
-- Tags
awful.tag(awful.util.tagnames, 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(my_table.join(
awful.button({}, 1, function () awful.layout.inc( 1) end),
awful.button({}, 2, function () awful.layout.set( awful.layout.layouts[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, awful.util.taglist_buttons)
-- Create a tasklist widget
s.mytasklist = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, awful.util.tasklist_buttons, { bg_normal = barcolor, bg_focus = barcolor })
-- Create the wibox
s.mywibox = awful.wibar({ position = "top", screen = s, height = dpi(18), bg = barcolor })
-- Add widgets to the wibox
s.mywibox:setup {
layout = wibox.layout.align.horizontal,
{ -- Left widgets
layout = wibox.layout.fixed.horizontal,
first,
s.mytaglist,
arrl_pre,
s.mylayoutbox,
arrl_post,
s.mypromptbox,
first,
},
s.mytasklist, -- Middle widget
{ -- Right widgets
layout = wibox.layout.fixed.horizontal,
wibox.widget.systray(),
first,
theme.mpd.widget,
--theme.mail.widget,
--theme.weather.icon,
--theme.weather.widget,
--theme.fs.widget,
bat,
theme.volume.widget,
mytextclock,
},
}
end
return theme

Binary file not shown.

Before

Width:  |  Height:  |  Size: 476 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 275 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 B

Some files were not shown because too many files have changed in this diff Show More