Giter Club home page Giter Club logo

material-awesome's Introduction

Material and Mouse driven theme for AwesomeWM 4.3

This project was a workflow prototype and was the base of my new project Material Shell and therefore is now unmaintained.

You should check HikariKnight/material-awesome or ChrisTitusTech/material-awesome forks for updated versions.

An almost desktop environment made with AwesomeWM following the Material Design guidelines with a performant opiniated mouse/keyboard workflow to increase daily productivity and comfort.

Click to view in high quality

Tiled Panel Exit screen

Installation

1) Get all the dependencies

2) Clone the configuration

git clone https://github.com/PapyElGringo/material-awesome.git ~/.config/awesome

Awesome 4.3 is so new that most of the distribution didn't updated yet. If you want to install this config on Awesome 4.2 (current version on depo) use the specific awesome-4.2 branch

git clone -b awesome-4.2 https://github.com/PapyElGringo/material-awesome.git ~/.config/awesome

3) Set the themes

Start lxappearance to active the icon theme and GTK theme

4) Read the documentation

The documentation live within the source code.

The project is split in functional directories and in each of them there is a readme where you can get additionnal informations about the them.

  • Configuration is about all the settings available
  • Layout hold the disposition of all the widgets
  • Module contain all the features available
  • Theme hold all the aestetic aspects
  • Widget contain all the widgets available

material-awesome's People

Contributors

jjo148 avatar papyelgringo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

material-awesome's Issues

issues with compton

On the 4.2 branch. Built and installed compton from the link in the readme. When it is running, blur effects don't show, and I get the following messages:

[    60.93 ] error    9 BadDrawable  request  139 minor    4 serial  68069: "BadDrawable (invalid Pixmap or Window parameter)"
[    60.94 ] error  143 BadPicture   request  139 minor    8 serial  68070: "RenderBadPicture (invalid Picture parameter)"
[    60.94 ] error  143 BadPicture   request  139 minor    7 serial  68103: "RenderBadPicture (invalid Picture parameter)"
[    60.94 ] error    4 BadPixmap    request   54 minor    0 serial  68104: "BadPixmap (invalid Pixmap parameter)"

Everything is huge

So, first off, apologies for the command windows. With everything being as big as it is I'm having trouble working my way around the WM, so please bare with me.

I have freshly installed awesome on my system, and followed your instructions in README.md to install material-awesome. The installation went over without any errors, and I am able to successfully log into the awesome session with your theme working, with just one small (or rather, quite large...lol) issue, that being that everything is HUGE. You can see what I'm talking about here: https://imgur.com/a/y7Nwap2

As you can see, the bars and workspaces, etc are taking up most of my screen space, as well as the bottom of the side bar being cut off entirely past the connections widget.

I'm new to awesomeWM entirely, so sorry if this is something obvious that I'm missing. Thanks in advance for any support.

Icons on the left aren't appearing

Additionally, the time font looks to be a bit too fat.

Running on Arch Linux with all the optional prereqs installed.

Let me know if there is any more detail I can add, mostly just looking for some help troubleshooting whats going on here.

image

Where to adjust keybinds?

Not really an issue, I might have just missed it. Could use some help to find where keybinds can be added and change what opens what.

Fullscreen program is hidden

Hi,

First off, I love this setup you've created. It's beautiful!

My only problem is some programs launch hidden. Kodi, for example. If I run it, I hear the sounds it makes when it launches, I see it as a running process, but I can't find the window anywhere. I looked through the config files for a window rule that might cause this but I found nothing. This issue doesn't exist on other WMs, such as bspwm, for example.

Extra info:
Fresh Arch install
Multi-monitor set up
AMDGPU Driver

Problem also exists on another computer, single monitor laptop, intel drivers. I see this error when I try to launch Kodi:

Oops, an error happened
/home/redmask/.config/awesome/layout/init.lua:44: attempt to index a nil value (field first_tag)

EDIT: Looks like it's not limited to fullscreen apps. I also can't see Steam.
EDIT2: Kodi and Steam work fine with the stock awesomewm config.

Config not working as expected

System

  • MacOS 10.14.3
  • Parallels Desktop 14.1.0
  • Debian 9.7 Stretch (2 Virtual Cores, 8GB RAM, 512MB VRAM)

Packages

  • Awesome 4.3 (Lua 5.3)
  • Rofi 1.3.1
  • Compton 0.1_beta2

Issues

  • Awesome is not launching is fullscreen but in 4:3 aspect ratio, and ignores the window scaling settings. The cursor though is very small so the resolution of the screen is detected. My Gnome DE is fine.
  • At time it becomes very slow or even unresponsive, without having any excessive CPU usage.
  • Materia Theme and Papirus Icons are not loading even though they are the one set in the Tweak Tool.
  • I can't lock the machine, just log out. Clicking on the lock just flashes the screen for a split second.
  • The app search function in the sidebar doesn't work, and the standard Rofi prompt pops up instead. EDIT: Rofi doens't pop up anymore, the sidebar simply closes when clicking on the search textfield.

EDIT:

  • Transparency and animations are missing.

window management options

on top right i see two tiling modes. max and tile. can we have floating or other options there. with keybind to switch mode for each tag.?

Send Programs automatically to another Tag

I want to automatically start a few applications like Firefox and krusader. On my old Config the rules looked like this:
{ rule = { class = "firefox" },
properties = {tag = tags[1][3] }
},

I am not sure how to change it, the problem seems to be with the tags, im not sure how to solve it

Incoming V2 - How to talk about it and beta testers

Hello everyone !

Im currently working hard on the next step of the project and very soon it's will be ready to be beta tested before the big release.

But unfortunately I don't know how to communicate with you guys, I'll start with an issue here but we need to found a better way for me to push some informations. Any idea??

Why a V2 and What is inside?

When I released Material Awesome I had 3 frustrations:
The first was the lack of animations. The Material design guidelines are full of delightful animations and I wanted to have some to help understand how the system work and to propose a nicer interface.
The second was the difficulty to install. I had a tons of messages telling me that the project was awesome and they would like to have a system like that but they had no clue how to install it or AwesomeWM. And after working hard on this I wanted it to be available for the maximum of peoples.
The last frustration was the feeling that I had to redevelop all the basic features of the system If i wanted them to be well integrated with my system. Like a calendar or a wifi picker like basic stuff. I would have prefer to focus on the desktop UX that's it.

So I started the V2: Material Shell.

A Gnome-shell extension bringing all the features of Awesome Material but directly inside GNOME and available in 2 clicks ! GNOME is the most used system in the linux community and provide a nice Javascript Animation API. And a full featured desktop with a high level of customization. It's was perfect for the evolution of the project.

But it's required basically a complete rewrite of the project and much more. I never planned to work so much time on this project but I had a tons of good feedback on this and I want to bring the best experience possible !

The Beta should be available later this month and I will need some help to test it and fix the most obvious bugs before releasing it.

Thanks to all of you guys. If you a reading this lines, know that I worked hard for you and it's was a pleasure !

lock widget

lock widget also not working. leaving my laptop without lock. :( lets pray no one use it. :)

Config errors on mirror of multiple displays

I'm on the awesome-4.2 branch.

I set my secondary display to mirror my primary using xrandr:

xrandr --output HDMI-1 --mode 1920x1080 --same-as eDP-1

This works great but causes some error popups, seen here in the attached screenshot.

screenshot from 2019-02-07 09-48-01

module/auto-start.lua: bad argument #1 to ipairs (table expected, got strings)

The error is raised at startup.

the function "run_once" expects a table but in lines 17 and 19 it's given a string.

When replacing
run_once('compton --config ' .. filesystem.get_configuration_dir() .. '/conf/compton.conf')
-- To allow gnome tools to ask authentication like pamac
run_once(
'/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg)'
)

With
run_once({'compton --config ' .. filesystem.get_configuration_dir() .. '/conf/compton.conf'})
-- To allow gnome tools to ask authentication like pamac
run_once({
'/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg)'}
)

The error disappears.

Allow certain windows to float by default in tiling mode

Certain types of windows do not lend themselves well to tiling, and usually work better when allowed to float even in an otherwise tiling setup.

Examples:

  • Gnome settings panel (forces fixed width/height on its windows; mainly used in a transient way where the tiled workspace is not of interest as long as the settings window is open anyway)
  • Synapse launcher and similar programs. The small launcher/search window (launched by keyboard shortcut) should not be tiled, as this disturbs the tiled layout very much and the user typically expects the (transient) window to be found overlaid in the center of the screen.

In vanilla awesome, this works as expected by default, but not in material-awesome.

Debian Buster No keyboard input once config applied

Running inside virtual box with 3 cores 4GB ram
4.49.0-6-amd64
Debian Buster
AwesomeWM 4.3 / Lua 5.3.3 LGI 0.9.2
Rofi 1.5.1
Compton 0.1~beta2+20150922

I go through the install instructions and after I clone the config and reload I get a white background with the proper theme. I can click on everything but no key presses appear to be registered. I have tried the fork from Chris Titus and in his i get the expected background but still no key presses are being registered.
Capture

print screen

i cant figure out printscreen. when i hit the print screen button on laptop its flicks but there is nothing saved in pictures folder or prompt for where to save.

No Panels after quiting fullscreen apps

If I go full-screen in an app (with Windows key+F) and quit the app (with Windows key + Q), then I am left with no panels. Both top and left panels fail to reappear after quitting.

make notification via awful

Hey,

is there some chance to generate custom notification via awful?

I am creating my own sh script for toggling keyboard layouts like this

#!/bin/bash

actual_layout=$(setxkbmap -query | grep layout)

if [[ $actual_layout == *"us"* ]]; then
        setxkbmap -layout "cz(qwerty)"
else
        setxkbmap -layout "us"
fi

xmodmap $HOME/.Xmodmap

and rebind the keys/global.lua shortcut mod+space, like this

awful.key(
    {modkey},
    'space',
    function()
      -- _G.screen.primary.left_panel:toggle(true)
      awful.spawn('nextkblayout.sh')
      -- HERE I WANT SHOW NOTIFICATION WITH CUSTOM MESSAGE
    end,
    {description = 'show main menu', group = 'awesome'}
  ),

is it possible?

Feature Request: Automatic Detection of Closed Laptop

It would be nice if having the laptop lid closed would automatically mirror displays, or switch primary displays. Currently, I open my laptop, do this manually on login, then close my laptop again.

Just a small QOL thing.

more workspaces or tags

i like to have more workspaces. maybe 10 like i3gaps i get used to it. which file to modify? i have a feeling this one is the most stupidest question from all i have asked.

launch rofi

on i3gaps and some other awesome configuration when i press super+D rofi shows up. is there anything like that in this config. when mouse is away i like to just reach rofi faster.

Rofi key shortuct immediately closes

I can open the Rofi side-menu by clicking the top-left icon (though I can't type anything to search...), but if I open it via cmd+e, it instantly opens and closes. All configs are unmodified.

Any help would be greatly appreciated

Widgets not working

On the 4.2 branch:

The bluetooth widget does not appear, and the other two (battery and wifi) are only partially working. They show accurate information, and the hovertext works, but clicking on them does nothing.

icons

from where u get icons for tags? like chrome and stuff. I use firefox so want to replace them but dont want things to get out of hand or look different from each other.

visual studio code full screen

basically i was using visual studio code. and some how it was showing buttons for maximize, minimize and close. i clicked on maximize or full screen and from that point its not honoring layouts of any sort. tried everything. any idea?

how to change wallpaper

trying to change it to some jps in my home/pictures but its not working.

file i am editing is default-theme.lua


  theme.wallpaper = '/home/najam/Pictures/mexican.jpg'
  --theme.wallpaper = '#000000'

if i set wallpaper to color code it turns black but for some reason cant show image

networking icon

system tray kind of thing on bottom has wifi icon. now i am connected to wire and dont want to use wifi but i am connected to it. on i3gaps i was able to click it and it shows all the wired and wireless connection which i can switch to. missing this badly in awesome.

Failed to load widgets/battery/icons/battery--nan.svg

The error is printed on console when testing with Xephyr:

$ Xephyr :1 -ac -br -noreset -screen 1152x720
$ DISPLAY=:1.0 awesome -c ~/.config/awesome/rc.lua

I assume that it's because I'm on desktop (so no battery).

When adding that file (for example, cp battery-unknown.svg battery--nan.svg) the error disappears

Automatic task-list truncation breaks with Pango tags

Sometimes when receiving a title, it contains Pango tags. A simple window title that breaks the parser is " + Why doesn’t this work?????????????" It’s long enough to trigger the shortener, which is quite simple:

text = text:gsub(">(.-)<", ">" .. textOnly:sub(1,21) .. "...<")

Unfortunately, sometimes when Pango tags are used, the text is truncated to
"+ Why does&a" (the &a is a fragment from the apostrophe). Then set_markup_silently(text) fails and the box simply says Invalid Text. Even if it succeeded, the text inside would be much shorter than intended.

I’m suspecting we may need gears.string.xml_escape(), but then the title loses formatting. We might need an extra parsing library for this.

Nextcloud-Client

I am currently experiencing an issue with the system tray. If you try to start "nextcloud-client", the according window does not open as a regular application but as some sort of pop-up in the middle of the screen. This causes the window to close automatically when you focus a different window, since it does not belong to a tag.
If you, however, want to sign in with your nextcloud-client, you are forced to do so in you browser. WIth the previous sign in prompt closing automatically when clicking into the browser, it is impossible to sign in.

I tried to start the application from console and noticed that the process nextcloud does not stop, when the window disappears. In order to check whether it is a problem caused by awesome wm in general, I loaded the backup conf, which, however, opened the nextcloud prompt in its own, full window with top bar and minimise, maximise buttons, etc. The singing in task worked out as well.

Therefore, this weird window/prompt treatment must be caused by the material-theme.

Do you have any ideas on how to force the material theme to open prompt in its own window or at least which part of the configuration causes the prompt to open in some sort of magnified, tag-unrelated window?

Edit_1: I have been tinkering around with the loaded modules and noticed that leaving out "module.backdrop" causes the prompt to stay open when switching applications, with the disadvantage of staying in the foreground and centered until you close it. So it still not treated as a "normal" window.

Some issues related to fullscreen, especially about hiding the bars

First thank you for the great configuration! I am rewriting my awesomewm configs and borrowed a lot of ideas from you.

There are three issues related to fullscreen I found when trying your configs:

  1. The signals used in layout/init.lua is not perfect. Follow the steps you will find it doesn't work as expected:

    1. start two apps (A, B)
    2. fullscreen A, switch to B
    3. fullscreen B
    4. un-fullscreen the current fullscreened app (B)
    5. switch to the other fullscreened one (A)
    6. now you see the bars when focusing a fullscreen window (A)

    Or you can close window B in step 4, it's the same.

    The problem is that the signal handling does not cover all possibilities. Here is my setup. It might not be perfect but it does not have the issues and only hide the bars if the focused window is in fullscreen:

local function fullscreen_toggle(c)
    for _, panel in ipairs({c.screen.topbar, c.screen.leftbar}) do
        if (c.active and c.fullscreen == panel.visible) or  -- has focus
            (not c.active and c.fullscreen and not panel.visible) then -- losing focus
            panel.visible = not panel.visible
        end
    end
end
client.connect_signal("focus", fullscreen_toggle)
client.connect_signal("unfocus", fullscreen_toggle)
client.connect_signal("property::fullscreen", fullscreen_toggle)
  1. After the step 2 and step 4 above, the focused window (B) is maximized but has rounded border.

  2. This one I am not sure if it's just me: if you are focusing one slave window and then toggle fullscreen on and off, the focus will go to other windows. The issue is gone if I disable the sloppy focus, i.e. remove the mouse::enter signal.

Dolphin colors not changing

I use Arch Linux, and followed this tutorial for installation.
When i set my colors using lxappearance, everything except the Dolphin colors changed.
I also have Kvantum Engine installed and Materia set as my global theme for KDE Plasma, if that helps.

I'm new to this whole thing, so help would be nice.

image

Old filename still in use

I am really enjoying your theme but I have been having a little trouble setting it up but in my tinkering I found a that ./config/app.lua has a wrong line

'compton --config ' .. filesystem.get_configuration_dir() .. '/conf/compton.conf',

/conf/compton.conf should be /configuration/compton.conf

I am new to using github so if this is the wrong way to show issues please tell me

Failed to execute rofind

Hello, I'm having the following error every time I tried to open any app in search application

Failed to execute: 'rofind'
Error: 'Failed to execute child process "rofind" (No such file or directory)'

I'm using:
awesome v4.3-14-ga7474412
rofi v1.5.2

I've attached a screenshot with more details
manjaro

Thanks for your great job creating this.

module "theme" not found at line 7

i may be missing something, but i cloned the repo in ~/.config/awesome/material-awesome/...

From ~/.config/awesome/rc.lua, it loads ~/.config/awesome/material-awesome/rc.lua, but facing "module 'theme' not found at line 7.
Any ideas?

Sidebar alignment off in multi-monitor configuration

Love this awesomewm theme. It's great to work in and clean/minimal. Thanks for making it.

I'm seeing an issue where the alignment of the sidebar is off when there are multiple monitors connected and the furthest to the left is not the primary. The sidebar seems to go into negative space when collapsed.

Also, would it be possible to add a sidebar to each monitor? Awesomewm supports workspaces per monitor, but the theme only allows switching via the UI on the primary. Happy to move this to another issue if you'd like. The two just seemed related.

screenshot

ranger image previews

ranger was installed with i3gaps on same laptop i have installed awesome and your configuration. somehow ranger now not showing image files previews clearly instead showing some wired ascii kind of preview. i wanted to take screenshot but couldnt figure out how. so open filed separate issue for that.

themes not loading

On 4.2 branch, the materia theme is installed and works on gnome, but doesn't show up properly in this WM. Screenshot attached:

screenshot from 2019-02-07 10-50-48

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.