mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2026-03-23 05:55:12 +00:00
update
This commit is contained in:
parent
f77085b244
commit
a348dcf91c
226
README.rst
226
README.rst
|
|
@ -6,181 +6,181 @@ Themes for Awesome WM 4.x
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
:Author: Luca CPZ
|
:Author: Luca CPZ
|
||||||
:Version: git
|
:Version: git
|
||||||
:License: BY-NC-SA_
|
:License: BY-NC-SA_
|
||||||
:Source: https://github.com/lcpz/awesome-copycats
|
:Source: https://github.com/lcpz/awesome-copycats
|
||||||
|
|
||||||
Description
|
Description
|
||||||
===========
|
===========
|
||||||
|
|
||||||
A set of themes for the Awesome_ window manager, version 4.x.
|
A set of themes for the Awesome_ window manager, version 4.x.
|
||||||
|
|
||||||
See branches_ for previous versions.
|
See branches_ for previous versions.
|
||||||
|
|
||||||
Purpose
|
Purpose
|
||||||
=======
|
=======
|
||||||
|
|
||||||
The main purpose of this repository is to spread ready to use configurations, which can also serve as a cookbook for customisation.
|
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.
|
A secondary aim is to add new themes only when they constitute different UI/UX designs.
|
||||||
|
|
||||||
Features
|
Features
|
||||||
========
|
========
|
||||||
|
|
||||||
- Modularity
|
- Modularity
|
||||||
- Autohide widgets
|
- Autohide widgets
|
||||||
- Autostart windowless processes
|
- Autostart windowless processes
|
||||||
- Fast MPD and volume shortcuts (first time this trick has been used in Awesome)
|
- 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
|
- Shortcuts for copying to the clipboard, toggle wiboxes, widgets popups, screenshots capture, moving and magnifying clients
|
||||||
- Quake drop-down terminal
|
- Quake drop-down terminal
|
||||||
- Calendar with current day highlighted and months switch with a click/scroll
|
- 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
|
- Notifications for new mails, current song, volume level, hdd critical state, low battery
|
||||||
- OpenWeatherMap integration
|
- OpenWeatherMap integration
|
||||||
- Net carrier status notifier
|
- Net carrier status notifier
|
||||||
- Symbolic tag names
|
- Symbolic tag names
|
||||||
- DWM-like textual layoutbox
|
- DWM-like textual layoutbox
|
||||||
- Cairo wibar
|
- Cairo wibar
|
||||||
- Custom layouts
|
- Custom layouts
|
||||||
- No borders when there's only one visible client
|
- No borders when there's only one visible client
|
||||||
- Freedesktop.org compliant menu and desktop icons
|
- Freedesktop.org compliant menu and desktop icons
|
||||||
- Vi-like client focus
|
- Vi-like client focus
|
||||||
- Non-empty tag browsing
|
- Non-empty tag browsing
|
||||||
- On-the-fly useless gaps resize
|
- On-the-fly useless gaps resize
|
||||||
- Dynamic tagging
|
- Dynamic tagging
|
||||||
|
|
||||||
Gallery
|
Gallery
|
||||||
=======
|
=======
|
||||||
|
|
||||||
**Multicolor**, inspired by lucamanni_
|
**Multicolor**, inspired by lucamanni_
|
||||||
|
|
||||||
.. image:: http://dotshare.it/public/images/uploads/650.png
|
.. image:: http://dotshare.it/public/images/uploads/650.png
|
||||||
|
|
||||||
**Powerarrow**, porting of romockee_'s
|
**Powerarrow**, porting of romockee_'s
|
||||||
|
|
||||||
.. image:: http://dotshare.it/public/images/uploads/1453.png
|
.. image:: http://dotshare.it/public/images/uploads/1453.png
|
||||||
|
|
||||||
**Powerarrow Dark**
|
**Powerarrow Dark**
|
||||||
|
|
||||||
.. image:: http://dotshare.it/public/images/uploads/649.jpg
|
.. image:: http://dotshare.it/public/images/uploads/649.jpg
|
||||||
|
|
||||||
**Steamburn**, porting of ok100_'s dwm
|
**Steamburn**, porting of ok100_'s dwm
|
||||||
|
|
||||||
.. image:: http://dotshare.it/public/images/uploads/648.png
|
.. image:: http://dotshare.it/public/images/uploads/648.png
|
||||||
|
|
||||||
**Blackburn**
|
**Blackburn**
|
||||||
|
|
||||||
.. image:: http://dotshare.it/public/images/uploads/553.png
|
.. image:: http://dotshare.it/public/images/uploads/553.png
|
||||||
|
|
||||||
**Dremora**
|
**Dremora**
|
||||||
|
|
||||||
.. image:: http://dotshare.it/public/images/uploads/652.png
|
.. image:: http://dotshare.it/public/images/uploads/652.png
|
||||||
|
|
||||||
**Rainbow**
|
**Rainbow**
|
||||||
|
|
||||||
.. image:: http://dotshare.it/public/images/uploads/606.png
|
.. image:: http://dotshare.it/public/images/uploads/606.png
|
||||||
|
|
||||||
**Holo**, requested by amouly_
|
**Holo**, requested by amouly_
|
||||||
|
|
||||||
.. image:: http://dotshare.it/public/images/uploads/651.jpg
|
.. image:: http://dotshare.it/public/images/uploads/651.jpg
|
||||||
|
|
||||||
**Copland**, inspired by foozer_
|
**Copland**, inspired by foozer_
|
||||||
|
|
||||||
.. image:: http://dotshare.it/public/images/uploads/655.png
|
.. image:: http://dotshare.it/public/images/uploads/655.png
|
||||||
|
|
||||||
**Vertex**, requested by swordfischer_
|
**Vertex**, requested by swordfischer_
|
||||||
|
|
||||||
.. image:: http://dotshare.it/public/images/uploads/1432.jpg
|
.. image:: http://dotshare.it/public/images/uploads/1432.jpg
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
============
|
============
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
git clone --recurse-submodules --remote-submodules --depth 1 -j 2 https://github.com/SirHadrian/awesome-themes.git
|
[[ ! -d "~/.config/awesome" ]] && mkdir -p ~/.config/awesome
|
||||||
mv -v awesome-themes/* ~/.config/awesome && rm -rf awesome-themes
|
git clone --recurse-submodules --remote-submodules --depth 1 -j 2 https://github.com/SirHadrian/awesome-themes.git && mv -v awesome-themes/* ~/.config/awesome && rm -rf awesome-themes
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
=====
|
=====
|
||||||
|
|
||||||
The modular structure allows to
|
The modular structure allows to
|
||||||
|
|
||||||
* set variables
|
* set variables
|
||||||
* define startup processes
|
* define startup processes
|
||||||
* change keybindings and layouts
|
* change keybindings and layouts
|
||||||
* set client properties
|
* set client properties
|
||||||
|
|
||||||
in ``rc.lua``, and
|
in ``rc.lua``, and
|
||||||
|
|
||||||
* configure widgets
|
* configure widgets
|
||||||
* define wiboxes and screen settings
|
* 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.
|
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:
|
Just do the following:
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
$ cd ~/.config/awesome
|
$ cd ~/.config/awesome
|
||||||
$ cp rc.lua.template rc.lua
|
$ 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``).
|
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``.
|
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:
|
Otherwise, if you want to be synced with upstream, modify the theme path in ``rc.lua`` like this:
|
||||||
|
|
||||||
.. code-block:: diff
|
.. 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.lua", os.getenv("HOME"), chosen_theme))
|
||||||
+beautiful.init(string.format("%s/.config/awesome/themes/%s/theme-personal.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.
|
then, copy ``theme.lua`` to ``theme-personal.lua`` and do your customizations there.
|
||||||
|
|
||||||
This way, you can safely ``git pull`` anytime.
|
This way, you can safely ``git pull`` anytime.
|
||||||
|
|
||||||
Themes details
|
Themes details
|
||||||
==============
|
==============
|
||||||
|
|
||||||
Powerarrow-dark
|
Powerarrow-dark
|
||||||
===============
|
===============
|
||||||
|
|
||||||
For the weather widget to work install:
|
For the weather widget to work install:
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
$ wget -P ~/.config/awesome/ https://raw.githubusercontent.com/rxi/json.lua/master/json.lua
|
$ wget -P ~/.config/awesome/ https://raw.githubusercontent.com/rxi/json.lua/master/json.lua
|
||||||
|
|
||||||
Notes
|
Notes
|
||||||
=====
|
=====
|
||||||
|
|
||||||
Complements are provided by lain_ and freedesktop_. **Be sure** to satisfy their dependencies_. In particular, mail_ and weather_ widgets have **mandatory** arguments.
|
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).
|
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_.
|
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_.
|
Every theme has a colorscheme_.
|
||||||
|
|
||||||
Additional default software used: ::
|
Additional default software used: ::
|
||||||
|
|
||||||
amixer dmenu librewolf mpc scrot unclutter xsel xlock light picom nitrogen
|
amixer dmenu librewolf mpc scrot unclutter xsel xlock light picom nitrogen
|
||||||
|
|
||||||
.. _BY-NC-SA: http://creativecommons.org/licenses/by-nc-sa/4.0
|
.. _BY-NC-SA: http://creativecommons.org/licenses/by-nc-sa/4.0
|
||||||
.. _Awesome: http://github.com/awesomeWM/awesome
|
.. _Awesome: http://github.com/awesomeWM/awesome
|
||||||
.. _branches: https://github.com/lcpz/awesome-copycats/branches
|
.. _branches: https://github.com/lcpz/awesome-copycats/branches
|
||||||
.. _lucamanni: https://github.com/lucamanni/awesome
|
.. _lucamanni: https://github.com/lucamanni/awesome
|
||||||
.. _romockee: https://github.com/romockee/powerarrow
|
.. _romockee: https://github.com/romockee/powerarrow
|
||||||
.. _ok100: http://ok100.deviantart.com/art/DWM-January-2013-348656846
|
.. _ok100: http://ok100.deviantart.com/art/DWM-January-2013-348656846
|
||||||
.. _amouly: https://bbs.archlinux.org/viewtopic.php?pid=1307158#p1307158
|
.. _amouly: https://bbs.archlinux.org/viewtopic.php?pid=1307158#p1307158
|
||||||
.. _swordfischer: https://github.com/lcpz/awesome-copycats/issues/53
|
.. _swordfischer: https://github.com/lcpz/awesome-copycats/issues/53
|
||||||
.. _foozer: http://dotshare.it/dots/499
|
.. _foozer: http://dotshare.it/dots/499
|
||||||
.. _lain: https://github.com/lcpz/lain
|
.. _lain: https://github.com/lcpz/lain
|
||||||
.. _freedesktop: https://github.com/lcpz/awesome-freedesktop
|
.. _freedesktop: https://github.com/lcpz/awesome-freedesktop
|
||||||
.. _Terminus: http://terminus-font.sourceforge.net
|
.. _Terminus: http://terminus-font.sourceforge.net
|
||||||
.. _Roboto: https://fonts.google.com/specimen/Roboto
|
.. _Roboto: https://fonts.google.com/specimen/Roboto
|
||||||
.. _Tamzen: https://github.com/sunaku/tamzen-font
|
.. _Tamzen: https://github.com/sunaku/tamzen-font
|
||||||
.. _Icons: https://github.com/lcpz/dots/tree/master/.fonts
|
.. _Icons: https://github.com/lcpz/dots/tree/master/.fonts
|
||||||
.. _FontAwesome: https://github.com/FortAwesome/Font-Awesome
|
.. _FontAwesome: https://github.com/FortAwesome/Font-Awesome
|
||||||
.. _Ubuntu: https://wiki.ubuntu.com/Fonts#Enabling_Bitmapped_Fonts
|
.. _Ubuntu: https://wiki.ubuntu.com/Fonts#Enabling_Bitmapped_Fonts
|
||||||
.. _colorscheme: https://github.com/lcpz/dots/tree/master/.colors
|
.. _colorscheme: https://github.com/lcpz/dots/tree/master/.colors
|
||||||
.. _dependencies: https://github.com/lcpz/lain/wiki#dependencies
|
.. _dependencies: https://github.com/lcpz/lain/wiki#dependencies
|
||||||
.. _mail: https://github.com/lcpz/lain/wiki/mail
|
.. _mail: https://github.com/lcpz/lain/wiki/mail
|
||||||
.. _weather: https://github.com/lcpz/lain/wiki/weather
|
.. _weather: https://github.com/lcpz/lain/wiki/weather
|
||||||
|
|
|
||||||
3
themes/powerarrow-dark/README.md
Normal file
3
themes/powerarrow-dark/README.md
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
# Powerarrow-dark
|
||||||
|
|
||||||
|
###
|
||||||
|
|
@ -101,7 +101,7 @@ local themes = {
|
||||||
local chosen_theme = themes[7]
|
local chosen_theme = themes[7]
|
||||||
local modkey = "Mod4"
|
local modkey = "Mod4"
|
||||||
local altkey = "Mod1"
|
local altkey = "Mod1"
|
||||||
local terminal = "terminator"
|
local terminal = "alacritty"
|
||||||
local vi_focus = false -- vi-like client focus https://github.com/lcpz/awesome-copycats/issues/275
|
local vi_focus = false -- vi-like client focus https://github.com/lcpz/awesome-copycats/issues/275
|
||||||
local cycle_prev = true -- cycle with only the previously focused client or all https://github.com/lcpz/awesome-copycats/issues/274
|
local cycle_prev = true -- cycle with only the previously focused client or all https://github.com/lcpz/awesome-copycats/issues/274
|
||||||
local editor = os.getenv("EDITOR") or "nano"
|
local editor = os.getenv("EDITOR") or "nano"
|
||||||
|
|
@ -459,7 +459,8 @@ globalkeys = mytable.join( -- Destroy all notifications
|
||||||
-- end, {
|
-- end, {
|
||||||
-- description = "show weather",
|
-- description = "show weather",
|
||||||
-- group = "widgets"
|
-- group = "widgets"
|
||||||
-- }), -- Screen brightness
|
-- }),
|
||||||
|
-- Screen brightness
|
||||||
awful.key({}, "#233", function() os.execute("light -A 10") end,
|
awful.key({}, "#233", function() os.execute("light -A 10") end,
|
||||||
{
|
{
|
||||||
description = "Fn + f6 --- brightness +10%",
|
description = "Fn + f6 --- brightness +10%",
|
||||||
|
|
@ -469,13 +470,13 @@ globalkeys = mytable.join( -- Destroy all notifications
|
||||||
group = "hotkeys"
|
group = "hotkeys"
|
||||||
}), -- Max/Min Brightness
|
}), -- Max/Min Brightness
|
||||||
awful.key({altkey, "Control", "Shift"}, "0",
|
awful.key({altkey, "Control", "Shift"}, "0",
|
||||||
function() os.execute("adjust-brightness.lnk --min") end,
|
function() os.execute("light -S 0") end,
|
||||||
{description = "Min screen brightness", group = "hotkeys"}),
|
{description = "Min screen brightness", group = "hotkeys"}),
|
||||||
awful.key({altkey, "Control", "Shift"}, "9", function()
|
awful.key({altkey, "Control", "Shift"}, "9", function()
|
||||||
os.execute("adjust-brightness.lnk --max")
|
os.execute("light -S 100")
|
||||||
end, {description = "Max screen brightness", group = "hotkeys"}),
|
end, {description = "Max screen brightness", group = "hotkeys"}),
|
||||||
awful.key({altkey, "Control", "Shift"}, "m", function()
|
awful.key({altkey, "Control", "Shift"}, "m", function()
|
||||||
os.execute("adjust-brightness.lnk --mid")
|
os.execute("light -S 50")
|
||||||
end, {description = "Mid screen brightness", group = "hotkeys"}),
|
end, {description = "Mid screen brightness", group = "hotkeys"}),
|
||||||
-- Bluetooth toggle
|
-- Bluetooth toggle
|
||||||
awful.key({altkey, "Control", "Shift"}, "b", function()
|
awful.key({altkey, "Control", "Shift"}, "b", function()
|
||||||
|
|
@ -484,14 +485,12 @@ globalkeys = mytable.join( -- Destroy all notifications
|
||||||
naughty.notify({
|
naughty.notify({
|
||||||
title = "Bluetooth",
|
title = "Bluetooth",
|
||||||
text = "Bluetooth is ON",
|
text = "Bluetooth is ON",
|
||||||
icon = "~/.config/awesome/themes/powerarrow-dark/icons/bluetooth.png"
|
|
||||||
})
|
})
|
||||||
BLUESTATUS = true
|
BLUESTATUS = true
|
||||||
else
|
else
|
||||||
naughty.notify({
|
naughty.notify({
|
||||||
title = "Bluetooth",
|
title = "Bluetooth",
|
||||||
text = "Bluetooth is OFF",
|
text = "Bluetooth is OFF",
|
||||||
icon = "~/.config/awesome/themes/powerarrow-dark/icons/bluetooth.png"
|
|
||||||
})
|
})
|
||||||
BLUESTATUS = false
|
BLUESTATUS = false
|
||||||
end
|
end
|
||||||
|
|
@ -833,5 +832,7 @@ client.connect_signal("unfocus",
|
||||||
-- Gaps
|
-- Gaps
|
||||||
beautiful.useless_gap = 6
|
beautiful.useless_gap = 6
|
||||||
|
|
||||||
awful.spawn.with_shell("picom")
|
-- awful.spawn.with_shell("picom")
|
||||||
--awful.spawn.with_shell("nitrogen --set-zoom-fill --random ~/Pictures/SFW")
|
awful.spawn.with_shell("nitrogen --set-zoom-fill --random ~/Pictures/SFW")
|
||||||
|
awful.spawn.with_shell("optimus-manager-qt")
|
||||||
|
os.execute("picom --experimental-backends -b")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue