lcpz / awesome-copycats Goto Github PK
View Code? Open in Web Editor NEWAwesome WM themes
Awesome WM themes
When using one of these awesome wm themes, awesome wm using sometimes 7% of my CPU (Intel i7).
Thanks again for these excellent themes. I have one more error, and based off of searches i've made i'm not the only one. i get an error about every minute as follows:
/usr/share/awesome/lib/wibox/widget/textbox.lua:61: Value of 'foreground' attribute on tag on line 1 could not be parsed; should be a color specification, not 'nil'
I know powerarrow uses the markup command and sets background textbox colors. Any ideas how it can be cured?
thanks a million. MJ
I have issues with scratchdrop.
Somtimes, it doesn't open my terminal but it opens another window.
For example:
hotkey = Opens up dropdown terminal
hotkey = Hides terminal
hotkey = Opens up terminal again
hotkey = hides terminal
Everything is fine, until...
Open someapplication
hotkey = hides someapplication
hotkey = shows someapplication
Close someapplication
hotkey = opens up terminal (yay! it wasnt completely lost)
What happened there?
So I just discovered the Google Now wallpapers pack - https://plus.google.com/photos/+AtharvaWashimkar/albums/5891722540006243185?sort=1
I don't know about you but I quite like these.
Each of the sight/view has 4 versions - sunny, cloudy, sunset and at night. I thought that it'd be cool to create a new theme that automatically changes the wallpaper according to the current time (and weather?). For example, if it's sunny or it's around 10am - 4pm, set the sunny version. If it's 8pm - 6am, set the evening one.
It's just an idea. I'm not too comfortable with lua and the codebase but I can look into it.
I cloned the Git today, and tried to run the Holo theme, and it works, but I get errors spammed at a rate of 1 every two seconds.
[string "asyncshell.deliver(3)"]:1: attempt to index global 'asyncshell' (a nil value)
While I can tweak the rc.lua to my needs, I'm not proficient enough with LUA to figure out where the error actually lies.
Hi,
First of all, thank you for your awesome theme package.
I'm having some trouble with setting up imap widget to work with gpg. I store password in a gpg-encrypted file "password.gpg", then in rc.lua I tried to set password = "gpg2 -dq $HOME/password.gpg".
I would expect a prompt asking for passphrase. However, it seems to me that f:read("*all") in imap.lua returns nil.
Hey,
my default copycats-setup is starting up slowly. How can I share logfiles to find out why?
PS: Maybe a dependencie is missing?
My system is Fedora 19, awesome v3.5.1.
I have installed but i get an error when i restart:
error while running function
stack traceback:
[C]: in function 'lines'
/home/chris/.config/awesome/freedesktop/utils.lua:164: in function 'parse_desktop_file'
/home/chris/.config/awesome/freedesktop/utils.lua:220: in function 'parse_desktop_files'
/home/chris/.config/awesome/freedesktop/menu.lua:42: in function 'new'
...me/chris/.config/awesome/freedesktop/freedesktop.lua:17: in main chunk
[C]: in function 'require'
/home/chris/.config/awesome/rc.lua:111: in main chunk
error: /home/chris/.config/awesome/freedesktop/utils.lua:164: bad argument #1 to 'lines' (/home/chris/.local/share/applications/emacs-cmpitg.desktop: No such file or directory)
Any ideal for this?
Just ran a new clone of awesome-copycats, seems menugen.lua is missing.
I am using archlinux with the latest version of awesome 3.5.5-1.
I was able to get the file from here:
http://comments.gmane.org/gmane.comp.window-managers.awesome/10828
Also did you remove the wallpapers intentionally?
Thanks for the great awesome wm themes!
Awesome and theme is loaded so quickly that net interfaces don't have time to establish a working connection before the first weather update is pulled, 'N/A'ing the weather field until lain is re-called, usually by a user intervention (ctrl-hyper-r).
How about a timer, or better yet a net-check that loops (conservatively) until a weather state is defined? (or not if on battery..)
with global 'image' null error on line 106
mylauncher = awful.widget.launcher({ image = image(beautiful.awesome_icon),
menu = mymainmenu })
worked when i changed it to
mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon,
menu = mymainmenu })
The copland lua doesn't show any tag except "start" removing the requirement for eminent seems to sort it out and I haven't seen anything else break by doing so.
Hello,
I just clone the repo and tried to run it in awmtt. It gives the following error:
[string "asyncshell.deliver(N)"]:1: attempt to index global 'asyncshell' (a nil value)
where N is an id (digit).
By looking at lain/asyncshell.lua
i figured that line 44-46 have a bad format, and the substitution of '
is wrong.
Here is my proposed patch
diff --git a/asyncshell.lua b/asyncshell.lua
index 4a01caa..8e9277a 100644
--- a/asyncshell.lua
+++ b/asyncshell.lua
@@ -41,11 +41,11 @@ function asyncshell.request(command, callback)
local tmpfname = asyncshell.file_template .. id
asyncshell.request_table[id] = { callback = callback }
local req =
- string.format("sh -c '%s > %s; " ..
+ string.format("sh -c \"%s\" > '%s'; " ..
'echo "asyncshell.deliver(%s)" | ' ..
"awesome-client' 2> /dev/null",
- string.gsub(command, "'", "'\\''"), tmpfname,
- id, tmpfname)
+ string.gsub(command, "'", "\\'"):gsub('"', '\\"'),
+ tmpfname, id, tmpfname)
spawn(req, false)
return id
end
I googled around a bit to find the origin for that asyncshell stuff (couldnt find it though). It seems like some other repos on github contain the same bug.
Regards,
Immanuel
In which themes is the guake dropdown like terminal and how i can activate it?
It looks like Awesome is failing to locate a module called gears on ubuntu 13.10.
This is on a fresh install directly from github
Here is the output when debugging with xepher:
env DISPLAY=:1.0 awesome -c ~/.config/awesome/rc.lua.multicolor
/home/ellisgeek/.config/awesome/rc.lua:9: module 'gears' not found:
no field package.preload['gears']
no file './gears.lua'
no file '/usr/local/share/lua/5.1/gears.lua'
no file '/usr/local/share/lua/5.1/gears/init.lua'
no file '/usr/local/lib/lua/5.1/gears.lua'
no file '/usr/local/lib/lua/5.1/gears/init.lua'
no file '/usr/share/lua/5.1/gears.lua'
no file '/usr/share/lua/5.1/gears/init.lua'
no file '/home/ellisgeek/.config/awesome/gears.lua'
no file '/home/ellisgeek/.config/awesome/gears/init.lua'
no file '/etc/xdg/xdg-awesome/awesome/gears.lua'
no file '/etc/xdg/xdg-awesome/awesome/gears/init.lua'
no file '/etc/xdg/awesome/gears.lua'
no file '/etc/xdg/awesome/gears/init.lua'
no file '/usr/share/awesome/lib/gears.lua'
no file '/usr/share/awesome/lib/gears/init.lua'
no file './gears.so'
no file '/usr/local/lib/lua/5.1/gears.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.1/gears.so'
no file '/usr/lib/lua/5.1/gears.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
/home/ellisgeek/.config/awesome/rc.lua:9: module 'gears' not found:
no field package.preload['gears']
no file './gears.lua'
no file '/usr/local/share/lua/5.1/gears.lua'
no file '/usr/local/share/lua/5.1/gears/init.lua'
no file '/usr/local/lib/lua/5.1/gears.lua'
no file '/usr/local/lib/lua/5.1/gears/init.lua'
no file '/usr/share/lua/5.1/gears.lua'
no file '/usr/share/lua/5.1/gears/init.lua'
no file '/home/ellisgeek/.config/awesome/gears.lua'
no file '/home/ellisgeek/.config/awesome/gears/init.lua'
no file '/etc/xdg/xdg-awesome/awesome/gears.lua'
no file '/etc/xdg/xdg-awesome/awesome/gears/init.lua'
no file '/etc/xdg/awesome/gears.lua'
no file '/etc/xdg/awesome/gears/init.lua'
no file '/usr/share/awesome/lib/gears.lua'
no file '/usr/share/awesome/lib/gears/init.lua'
no file './gears.so'
no file '/usr/local/lib/lua/5.1/gears.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.1/gears.so'
no file '/usr/lib/lua/5.1/gears.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
Hi,
The bat.lua works but it makes an error (~/home/.config/awesome/lain/widgets/bat.lua "attempt to perform arithmetic on local 'rate' (a nill value)" line 83)
All the time, I have this message when my laptop is in full charge (and widget write 114% ok the charge).
P.S : I don't have /sys/class/power_supply/statuts
Sorry for my bad english, and really thanks for this beautifull awesome configs.
Hi, I'm having this error when running the script.
I know that typeset is a Bash's built-in function but here seems that sh is parsing the make file.
Any idea?
Running Ubuntu 14.04 LTS fully updated.
While trying to move to tag when tag is empty awesome shows an error.
I think that current code should be replaced by this one :
awful.key({ modkey, "Shift" }, "#" .. i + 9,
function ()
if client.focus then
local tag = awful.tag.gettags(client.focus.screen)[i]
if tag then
awful.client.movetotag(tag)
end
end
end),
your code with error:
awful.key({ modkey, "Shift" }, "#" .. i + 9,
function ()
local tag = awful.tag.gettags(client.focus.screen)[i]
if client.focus and tag then
awful.client.movetotag(tag)
end
end),
Hey, I've been trying to use Multicolor on ubuntu 14.04 to no avail. I've think I've updated my lua, (I did make linux test as the lua website described, I'm not sure if there's another step to make it so it gets used), I've updated my awesome to 3.55, and yet everytime I restart awesome to try out multicolor I get this:
Xephyr :1 -ac -br -noreset -screeDISPLAY=:1.0 awesome -c ~/.config/awesome/rc.lua
/bin/bash: urxvtd: command not found
/bin/bash: unclutter: command not found
error while running function
stack traceback:
[C]: in function 'load_image'
/usr/share/awesome/lib/gears/surface.lua:39: in function </usr/share/awesome/lib/gears/surface.lua:24>
(tail call): ?
(tail call): ?
/usr/share/awesome/lib/gears/wallpaper.lua:128: in function 'maximized'
/home/blahhh/.config/awesome/rc.lua:104: in main chunk
error: /usr/share/awesome/lib/gears/surface.lua:39: Failed to open file '/home/blahhh/.config/awesome/themes/multicolor/wall.png': No such file or directory
/bin/bash: urxvtd: command not found
error while running function
stack traceback:
[C]: in function 'load_image'
/usr/share/awesome/lib/gears/surface.lua:39: in function </usr/share/awesome/lib/gears/surface.lua:24>
(tail call): ?
(tail call): ?
/usr/share/awesome/lib/gears/wallpaper.lua:128: in function 'maximized'
/home/blahhh/.config/awesome/rc.lua:104: in main chunk
error: /usr/share/awesome/lib/gears/surface.lua:39: Failed to open file '/home/blahhh/.config/awesome/themes/multicolor/wall.png': No such file or directory
/bin/bash: unclutter: command not found
As detailed at http://awesome.naquadah.org/wiki/Scratchpad_manager, the scratchpad manager was written for awesome 3.4 and, at least for me using any of these default configs, breaks with awesome 3.5. It occasionally works on an empty tagspace, but most often even then stays almost completely hidden at the top. I can still use it, I just can't see what I'm writing because it only drops down a few pixels, exposing the very bottom of the terminal. I use terminator terminal, but I just tried it with urxvt and that failed as well.
I've followed your steps to setup the environment. But after I restart the awesome. I got a error like that "~/.config/awesome/freedesktop/utils.lua:155: can not opern file ''/etc/mime.types' (No such file or directory)". I there any way to fix it ? Thanks
Hello,
Thank you for the holo theme by the way! It is awesome :)
With every theme but copland, resizing windows with the mouse (SUPER + Right click + drag) is slow/buggy.
This has to do with the Signals function. Moving the copland signals function to other themes fixes the issue.
Maybe related to #42 ? (I have not investigated this)
cd ~/.config/awesome/lain
should be
cd ~/.config/awesome
as git submodules commands can only be executed on top of repository.
Hello.
I've been looking at your Awesome WM settings, and while trying blackburn I've noticed that some files are missing.
The files in question are referenced on your theme.lua on lines:
themes_bg_normal = "png:" .. themes_dir .. "/taskbar/bg_normal.png"
themes_bg_focus = "png:" .. themes_dir .. "/taskbar/bg_focus.png"
I've had to comment out these lines, or xserver would crash on me.
Thanks in advance for your time.
Hi, I tried to boot some of the themes but the Yawn module seems to be missing. So I tried to clone the https://github.com/copycat-killer/yawn repository, but apparently it no longer exists.
Thank you.
Hello there. I've just installed a fresh ubuntu server with awesome.
Installed all the required packages for the themes (curl, alsa-utils, imagemagick, lua5.2, Lua-lgi). Then did all the steps in manual and when i restart the awesome and open the awesome config trough mouse2 i see that the directory is /etc/xdg/awesome/rc.lua . As stated in rc.lua it could be duo the errors in the file. Am I missing something?
I use powerarrow-darker as my rc.lua. But I got a error "~/.config/awesome/lain/widget/bat.lua:72 bad argument #2 to 'format' (not a number in proper range)" after I restart awesome
When a .desktop file contains leading whitespace, this results in reading from nil. Issue is cause by function parse_file in freedesktop/utils.lua (line 174).
I solved the isssue by removing the whitespace from .desktop file, but I expect that regexp in line 179 could be modified to account for this possiblity.
I submit this here, since the original awesome-freedesktop does not contain this portion of the code (at least the current version).
I'm not sure if this is a problem with the lain widget itself or the themes, but whenever a notification comes up when a new song starts playing, the cover art isn't shown. This happens in every theme I've tried (powerarrow-darker, rainbow, and steamburn). I tried setting a default art path, and not even that is shown. I've already checked and made sure that the mpdcover script is executable.
Awesome was giving an error message about comparing a string to an integer so I changed the original:
elseif tostring(bat_now.perc) <= 5 then
baticon:set_image(beautiful.widget_battery_empty)
elseif tostring(bat_now.perc) <= 15 then
baticon:set_image(beautiful.widget_battery_low)
to:
elseif tonumber(bat_now.perc) <= 5 then
baticon:set_image(beautiful.widget_battery_empty)
elseif tonumber(bat_now.perc) <= 15 then
baticon:set_image(beautiful.widget_battery_low)
If you have a better solution please implement it. I have never written code in lua.
ncmpcpp will now ignore commands such as "next" and "prev" and instead just spawns another instance of ncmpcpp. This can cause issues if a user presses the mpd control keybinds multiple times without being aware of this, since there is no feedback and more instances of ncmpcpp will just keep appearing. It seems that the reason for this change was due to it being redundant with mpc, or something like that.
Many people probably still have ncmpcpp at 0.5.10 and don't have mpc/other clients, but I suggest that the mpd control keybinds should no longer have ncmpcpp commands by default, and add a brief note of explanation.
Hi there.
Not sure if this is an issue for BASH users, but for ZSH users it's a problem.
second line of install instructions state :
mv awesome-copycats/* ~/.config/awesome; rmdir awesome-copycats
However, ZSH does not grab hidden files if only the wildcard is given, thus creating issues with the last step
git submodule update --init
as it is expecting a .git, .gitmodules, and .gitignore -- which were not moved.
For the sake of compatibility, consider changing the second line to
mv awesome-copycats/* ~/.config/awesome; mv awesome-copycats/.* ~/.config/awesome; rmdir awesome-copycats
Thanks!
The util.lua file provided causes awesome 3.5 to crash due to attempt to index local 'program' freedesktop/utils.lua
It appears that replacing the file with this one: https://github.com/terceiro/awesome-freedesktop/blob/master/freedesktop/utils.lua fixed the issue.
When I open a terminal via Mod4-Enter, it shows on the titlebar that it's been opened but doesn't actually show until I click on it. Is this intended? How do I change this?
I have some problems getting client focusing to work in some cases. I'm using the powerarrow-darker theme.
Scenario:
Is there something that can be done to fix this issue?
Heya.
I love these themes, but every time I install them on a fresh computer I typically have to pull a few things from the copycat-killer/dots repo which are fantastic compliments to this repo if one omits user specific options.
Most of these elements, like the .ncmpcpp
and .colors
folders, are primarily theme elements (altough the .ncmpcpp
folder has some non-theme defaults)
Is it outside the scope of this theme package to bring those things aboard in this repo?
I can think of a few things I would consider to be appropriate for bringing over; the X windows options within .Xresources
, .colors
, the theme/ui options in .ncmpcpp
, .fonts
, some of the .bin
stuff, .compton
maybe, .config/htop
.
I can understand if you dislike the idea of including .ncmpcpp
, .compton
, and the htop
folders, as they are pretty specific software packages; but most WM/DEs honor .Xresources
still(and, by extension, .colors
) and the .colors
and .fonts
folders are even mentioned in the awesome-copycats install notes; seems we could just include it if it's within the scope of the repo.
If it's an idea that you choose to pursue, we could make up a set of 'theme-only' config files as a starting base for things like ncmpcpp, vim (maybe emacs? ๐ ) and so on, with the goal being that each theme has specific app-themes, as well.
Thoughts? I'd be more than happy to help with providing more machine-agnostic defaults where need be.
Hi,
your themes looks awesome. I wan't them to install but it is not working. If I start awesome the "default" theme is shown.
I did the installation description switch-theme.sh
and my ~/.config/awesome
looks like this:
froth@froth:~/.config/awesome$ ll
total 284
drwxrwxr-x 7 froth froth 4096 Jan 29 11:39 ./
drwx------ 29 froth froth 4096 Jan 28 15:00 ../
drwxrwxr-x 2 froth froth 4096 Jan 29 11:25 eminent/
drwxrwxr-x 8 froth froth 4096 Jan 29 11:25 lain/
drwxrwxr-x 2 froth froth 4096 Jan 29 11:25 menugen/
-rw-rw-r-- 1 froth froth 27325 Jan 29 11:39 rc.lua
-rw-rw-r-- 1 froth froth 24395 Jan 29 11:23 rc.lua.blackburn
-rw-rw-r-- 1 froth froth 26983 Jan 29 11:23 rc.lua.copland
-rw-rw-r-- 1 froth froth 23980 Jan 29 11:23 rc.lua.dremora
-rw-rw-r-- 1 froth froth 30417 Jan 29 11:23 rc.lua.holo
-rw-rw-r-- 1 froth froth 27325 Jan 29 11:23 rc.lua.multicolor
-rw-rw-r-- 1 froth froth 26796 Jan 29 11:23 rc.lua.powerarrow-darker
-rw-rw-r-- 1 froth froth 24720 Jan 29 11:23 rc.lua.rainbow
-rw-rw-r-- 1 froth froth 24534 Jan 29 11:23 rc.lua.steamburn
-rw-rw-r-- 1 froth froth 4338 Jan 29 11:23 README.rst
drwxrwxr-x 2 froth froth 4096 Jan 29 11:25 scratchdrop/
-rwxrwxr-x 1 froth froth 944 Jan 29 11:23 switch-theme.sh*
drwxrwxr-x 10 froth froth 4096 Jan 29 11:25 themes/
awesome v3.4.15
ubuntu v14.10
Before I installed:
and did this: https://wiki.ubuntu.com/Fonts#Enabling_Bitmapped_Fonts
Maybe it's just a small step I forgot. Some help would be awesome ;)
Greets!
I wanted to try out awesome copycat and try to figure out how certain them works so that I can incorporate certain elements into my own custome rc file. I have a few rc files that are sym-linked to rc.lua
HOWEVER, this switch-theme.sh
over rights my own rc.lua file that I have been worked on forever with one of the rc files here. I now have to reconfigure from scratch. Please if you are thinking about trying their stuff out, back up your theme. and for the folks writing awesome-copycats, please write a line or warning or backing up their original rc.lua.
Thanks
Hi,
I have completely different units in /sys/class/powersupply - how can I change batt widget in lain to work on my system? It's just throwing out errors.
I have charge_full charge_now, voltage_now, current_now. No power_now, energy_now.
Thanks
I know that there's code in rc that should make borders unvisible but I still have borders in some clients e.g. qutebrowser, weechat. Could you reproduce this behaviour?
Holo does not work, I've tried every other one and Holo seems to be the only one with an issue. Placing rc.lua.holo in ~/.config/awesome, renaming it to rc.lua and placing the holo folder in ~/.config/awesome/themes does NOT work. Theme won't load when logging in, will redirect you to the login screen again
Running v3.5.1-7 (ruby tuesday) w/ Lua 5.1.5
http://git.naquadah.org/?p=awesome.git;a=commitdiff;h=3cbdc2a79ff7230fe717ec71c0f7442043e93fd1;hp=bfc6065ad9d508c82189c73c7b61c9f658a5118c
The fix should be simple enough. Added here incase someone else also got the problem.
Why i can't get a battery widget in holo theme. I have a /sys/class/power_supply/BAT1
Please help me or show how i can get it
You have a typo in rc.lua.holo
on line 74, it says
musiplr
instead of musicplr
. Causes a dead button in the top bar.
The battery widget is always on "N/A".
I have ACPI installed, but alll acpi bat_now.perc ever returns is something like
Battery 0: Discharging, 35%, 01:18:48 remaining
?
Maybe add a keybindings.lua, add default keybindings to it and override theme-specific keybindings in rc.lua?
I'd really like to see an awesome theme based of Vertex.
Cheers!
Thanks for making these excellent Awesome themes. I have a persistent problem in /bat.lua:74 ( time_rat = rem / rate ) which gives the error : attempt to perform arithmetic on local 'rate' (a nil value).
I've confirmed that i have an AC and BAT0 in /sys/class/power_supply/
the values for charge_now and current_now are under BAT0/ , but somehow they're not being picked up by first_line(bstr .. xxx)
any help would be appreciated. MJ
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.