awesome-copycats/README.rst

199 lines
6.6 KiB
ReStructuredText
Raw Normal View History

2013-03-31 00:05:50 +01:00
Awesome WM Copycats
2013-09-13 21:20:22 +02:00
===================
2013-03-30 23:28:06 +01:00
2017-01-06 13:57:01 +01:00
-------------------------
Themes for Awesome WM 4.x
-------------------------
2013-03-30 23:28:06 +01:00
:Author: Luca CPZ
:Version: git
2013-09-13 21:58:52 +02:00
:License: BY-NC-SA_
2017-10-07 13:10:43 +02:00
:Source: https://github.com/lcpz/awesome-copycats
2013-08-28 16:43:13 +02:00
2013-08-28 16:47:13 +02:00
Description
2013-10-08 15:48:33 +02:00
===========
2013-08-28 16:43:13 +02:00
2017-10-07 13:10:43 +02:00
A set of themes for the Awesome_ window manager, version 4.x.
2017-06-23 12:18:54 +02:00
See branches_ for previous versions.
2013-08-28 16:43:13 +02:00
2018-02-14 12:54:24 +01:00
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.
2017-01-14 19:12:15 +01:00
Features
========
2013-03-30 23:30:10 +01:00
2017-01-27 18:29:36 +01:00
- Modularity
2017-01-15 01:22:34 +01:00
- Autohide widgets
2017-01-28 15:41:34 +01:00
- Autostart windowless processes
2016-09-29 11:03:32 +02:00
- Fast MPD and volume shortcuts (first time this trick has been used in Awesome)
2017-08-14 18:37:07 +02:00
- Shortcuts for copying to the clipboard, toggle wiboxes, widgets popups, screenshots capture, moving and magnifying clients
- Quake drop-down terminal
2016-09-29 11:03:32 +02:00
- 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
2015-07-02 12:06:34 +02:00
- OpenWeatherMap integration
2013-09-13 21:20:22 +02:00
- Net carrier status notifier
2013-04-16 21:46:48 +02:00
- Symbolic tag names
2017-01-15 17:15:48 +01:00
- DWM-like textual layoutbox
2017-01-10 19:45:16 +01:00
- Cairo wibar
2013-08-21 17:26:08 +02:00
- Custom layouts
2013-07-26 23:10:34 +02:00
- No borders when there's only one visible client
2016-11-06 13:51:44 +01:00
- Freedesktop.org compliant menu and desktop icons
2013-08-31 15:25:09 +02:00
- Vi-like client focus
2013-09-13 21:20:22 +02:00
- Non-empty tag browsing
2017-01-15 01:22:34 +01:00
- On-the-fly useless gaps resize
2013-09-19 20:54:11 +02:00
- Dynamic tagging
2013-03-30 23:31:28 +01:00
2013-03-31 00:05:50 +01:00
Gallery
2013-08-31 15:25:09 +02:00
=======
2013-03-31 00:05:50 +01:00
2016-09-29 11:03:32 +02:00
**Multicolor**, inspired by lucamanni_
2013-03-27 14:45:15 +01:00
2013-09-13 21:58:52 +02:00
.. image:: http://dotshare.it/public/images/uploads/650.png
2013-03-27 14:45:15 +01:00
2017-03-03 12:58:57 +01:00
**Powerarrow**, porting of romockee_'s
.. image:: http://dotshare.it/public/images/uploads/1453.png
**Powerarrow Dark**
2013-03-27 14:45:15 +01:00
2017-02-13 13:34:16 +01:00
.. image:: http://dotshare.it/public/images/uploads/649.jpg
2013-03-27 14:45:15 +01:00
2017-01-06 11:27:40 +01:00
**Steamburn**, porting of ok100_'s dwm
2013-03-27 14:45:15 +01:00
2013-09-13 21:58:52 +02:00
.. image:: http://dotshare.it/public/images/uploads/648.png
2013-03-30 23:48:13 +01:00
2013-09-13 21:20:22 +02:00
**Blackburn**
2013-03-30 23:48:13 +01:00
2013-09-13 21:20:22 +02:00
.. image:: http://dotshare.it/public/images/uploads/553.png
2013-03-27 14:45:15 +01:00
2013-09-13 21:20:22 +02:00
**Dremora**
2013-07-06 17:54:28 +02:00
2013-09-14 14:43:19 +02:00
.. image:: http://dotshare.it/public/images/uploads/652.png
2013-07-06 17:54:28 +02:00
2013-09-13 21:20:22 +02:00
**Rainbow**
2013-07-26 23:10:34 +02:00
2013-09-13 21:58:52 +02:00
.. image:: http://dotshare.it/public/images/uploads/606.png
2013-07-26 23:10:34 +02:00
2016-09-29 11:03:32 +02:00
**Holo**, requested by amouly_
2013-08-02 19:39:41 +02:00
2017-01-14 19:13:29 +01:00
.. image:: http://dotshare.it/public/images/uploads/651.jpg
2013-08-02 19:39:41 +02:00
2016-09-29 11:03:32 +02:00
**Copland**, inspired by foozer_
2013-09-20 17:28:49 +02:00
2013-10-08 13:51:17 +02:00
.. image:: http://dotshare.it/public/images/uploads/655.png
2013-09-20 17:28:49 +02:00
2017-01-30 21:54:08 +01:00
**Vertex**, requested by swordfischer_
.. image:: http://dotshare.it/public/images/uploads/1432.jpg
2013-09-13 21:20:22 +02:00
Installation
============
2017-02-21 13:05:30 +01:00
.. code-block:: shell
$ git clone --recursive https://github.com/lcpz/awesome-copycats.git
$ mv -bv awesome-copycats/* ~/.config/awesome && rm -rf awesome-copycats
2013-09-13 21:58:52 +02:00
Usage
=====
2017-02-21 13:05:30 +01:00
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
2017-12-15 11:50:03 +01:00
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.
2017-02-21 13:05:30 +01:00
Just do the following:
.. code-block:: shell
2017-01-29 14:54:48 +01:00
2017-01-28 21:45:39 +01:00
$ 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``).
2017-01-28 21:45:39 +01:00
2017-10-27 10:27:08 +02:00
To customize a theme, head over to ``themes/$chosen_theme/theme.lua``.
2014-04-12 18:08:25 +02:00
Otherwise, if you want to be synced with upstream, modify the theme path in ``rc.lua`` like this:
2017-02-21 13:05:30 +01:00
.. 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))
2017-02-21 13:05:30 +01:00
then, copy ``theme.lua`` to ``theme-personal.lua`` and do your customizations there.
This way, you can safely ``git pull`` anytime.
2013-04-22 13:48:43 +02:00
Notes
2013-08-31 15:25:09 +02:00
=====
2013-08-28 16:43:13 +02:00
2018-03-09 13:45:21 +01:00
Complements are provided by lain_ and freedesktop_. **Be sure** to satisfy their dependencies.
2019-08-20 15:54:41 +02:00
The fonts used in the screenshots are: Terminus_ (Multicolor, Powerarrow, Powerarrow Dark), Roboto_ (Holo, Vertex) and Tamsyn_ (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_.
2019-08-20 15:54:41 +02:00
Due the removal of support for bitmap fonts in Pango 1.44_, the current main font is Terminus (OTB version). Under Arch Linux, use ``community/terminus-font-otb``.
Every theme has a colorscheme_.
You can also configure the ``city_id`` in the following snippet in ``/.config/awesome/themes/<<CHOSEN_THEME>>/theme.lua`` to get the correct weather information (we suggest doing it in your ``theme-personal.lua``):
.. code-block::
-- Weather
local weathericon = wibox.widget.imagebox(theme.widget_weather)
theme.weather = lain.widget.weather({
city_id = 2643743, -- placeholder (London)
2019-08-20 15:54:41 +02:00
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
})
You can find your ``city_id`` in city.list.json.gz_ after you extract it.
2017-12-15 11:50:03 +01:00
Additional default software used: ::
2019-08-20 15:54:41 +02:00
dmenu firefox mpc mpd scrot unclutter xsel slock
2017-01-10 19:45:16 +01:00
.. _BY-NC-SA: http://creativecommons.org/licenses/by-nc-sa/4.0
2017-10-07 13:10:43 +02:00
.. _b0ab0d7: https://github.com/lcpz/awesome-copycats/tree/b0ab0d7837987be81b9195a36631df773113d491
.. _Awesome: http://github.com/awesomeWM/awesome
2016-09-29 11:03:32 +02:00
.. _lucamanni: https://github.com/lucamanni/awesome
2014-12-08 19:56:05 +01:00
.. _romockee: https://github.com/romockee/powerarrow
2013-03-27 14:45:15 +01:00
.. _ok100: http://ok100.deviantart.com/art/DWM-January-2013-348656846
2013-08-02 20:49:54 +02:00
.. _amouly: https://bbs.archlinux.org/viewtopic.php?pid=1307158#p1307158
2017-10-07 13:10:43 +02:00
.. _swordfischer: https://github.com/lcpz/awesome-copycats/issues/53
2017-01-10 19:45:16 +01:00
.. _foozer: http://dotshare.it/dots/499
2017-10-07 13:10:43 +02:00
.. _lain: https://github.com/lcpz/lain
2018-12-08 08:16:26 +01:00
.. _freedesktop: https://github.com/lcpz/awesome-freedesktop
2017-01-10 19:45:16 +01:00
.. _Terminus: http://terminus-font.sourceforge.net
2017-01-06 11:27:40 +01:00
.. _Tamzen: https://github.com/sunaku/tamzen-font
2017-01-10 19:45:16 +01:00
.. _Roboto: https://fonts.google.com/specimen/Roboto
.. _Tamsyn: http://www.fial.com/~scott/tamsyn-font
2017-10-07 13:10:43 +02:00
.. _colorscheme: https://github.com/lcpz/dots/tree/master/.colors
.. _Icons: https://github.com/lcpz/dots/tree/master/.fonts
2013-09-13 21:20:22 +02:00
.. _Ubuntu: https://wiki.ubuntu.com/Fonts#Enabling_Bitmapped_Fonts
2017-01-15 17:29:45 +01:00
.. _FontAwesome: https://github.com/FortAwesome/Font-Awesome
2017-10-07 13:10:43 +02:00
.. _branches: https://github.com/lcpz/awesome-copycats/branches
.. _city.list.json.gz: http://bulk.openweathermap.org/sample/city.list.json.gz
2019-08-20 15:54:41 +02:00
.. _1.44: https://github.com/lcpz/awesome-copycats/issues/269