Giter Site home page Giter Site logo

hramezani / 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 13.16 MB

Widgets for Awesome Window Manager

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

License: MIT License

Lua 96.62% Python 3.38%

awesome-wm-widgets's Introduction

Awesome WM widgets

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

screenshot

or with separators

screenshot

Some more screenshots in this reddit post

From left to right:

Some of these widgets use Arc icon theme by default but it could be easily changed to any other icon theme or custom icons. 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

Clone the repo under ~/.config/awesome/, then in rc.lua add the import of the widget you'd like to use in "require" section on the top of the file:

local battery_widget = require("awesome-wm-widgets.battery-widget.battery")

and then add widget to the wibox (you can search for mytextclock and add widget before):

 -- Add widgets to the wibox
     s.mywibox:setup {
         layout = wibox.layout.align.horizontal,
         { -- Left widgets
         ...
         },
         s.mytasklist, -- Middle widget
         { -- Right widgets
         ...
             battery_widget,
             mytextclock
         ...
         }

You will also need to install Arc icon theme if widget uses icons. By default it should be installed under /usr/share/icons/Arc. If you prefer different installation folder then you'll have to change path to the icons in the source code of the widget you want to use.

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.

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.