GithubHelp home page GithubHelp logo

sanguinawer / awesome-wm-widgets Goto Github PK

View Code? Open in Web Editor NEW

This project forked from streetturtle/awesome-wm-widgets

0.0 2.0 0.0 12.22 MB

Widgets for Awesome Window Manager

Home Page: http://pavelmakhov.com/awesome-wm-widgets/

License: MIT License

Lua 88.43% Python 10.72% Shell 0.85%

awesome-wm-widgets's Introduction

AwesomeWM

Set of super simple widgets compatible with Awesome Window Manager v.4.

screenshot

From left to right:

These widgets use Arc icon theme by default but it could be easily changed to any other icon theme. If you want to have separators between widgets like on the screenshot create text widget with : and place it between widgets:

...
sprtr = wibox.widget.textbox()
sprtr:set_text(" : ")
...
sprtr,
volume_icon,
sprtr,
battery_widget,
sprtr,
...

Installation

Install Arc icon theme and follow installation instructions of each widget.

Or you can clone this repo under ~/.config/awesome/ and then add widgets you'd like to use in wibox:

cd ~/.config/awesome/
git clone https://github.com/streetturtle/awesome-wm-widgets.git

and in rc.lua

require("awesome-wm-widgets.battery-widget.battery")
...
 -- Add widgets to the wibox
     s.mywibox:setup {
         layout = wibox.layout.align.horizontal,
         { -- Left widgets
         ...
         },
         s.mytasklist, -- Middle widget
         { -- Right widgets
         ...
             battery_widget,
         ...
         }

Icons

If you don't want to install Arc icon theme you can just download the icons which are used from the Arc repository. Or create your own icons with the same name. Here is the list of icons used:

Widget Icon name Arc Path
email-widget mail-message-new.png
/usr/share/icons/Arc/actions/22/
mail-mark-unread.png
brightness-widget display-brightness-symbolic.svg /usr/share/icons/Arc/status/symbolic/
volume-widget audio-volume-muted-symbolic.svg /usr/share/icons/Arc/status/symbolic/
audio-volume-low-symbolic.svg
audio-volume-medium-symbolic.svg
audio-volume-high-symbolic.svg
battery-widget battery-caution-symbolic.svg /usr/share/icons/Arc/status/symbolic/
battery-caution-charging-symbolic.svg
battery-low-symbolic.svg
battery-low-charging-symbolic.svg
battery-good-symbolic.svg
battery-good-charging-symbolic.svg
battery-full-symbolic.svg
battery-full-charging-symbolic.svg

In case of any questions/suggestions don't hesitate to contact me, I would be happy to help :)

PRs/issues and st★rs are welcome!

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.