tyrannical
awesome-wm-widgets
Our great sponsors
tyrannical | awesome-wm-widgets | |
---|---|---|
3 | 47 | |
211 | 2,038 | |
- | - | |
1.8 | 6.8 | |
almost 4 years ago | 29 days ago | |
Lua | Lua | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tyrannical
- Client in different tags?
-
automate creating multiple terminals with i3 and running cli programs after login
I'm using awesomewm, and we have implemented this feature from elv13, https://github.com/Elv13/tyrannical
-
What intrusive = true means in the properties of awful.spawn?
Thanks, I found out that this property (and others such as new_tag) is only useful if you use the tyrannical module. I updated my post.
awesome-wm-widgets
-
Widgets: which are the alternatives?
I'm trying to get the most out of my OS (Arch with X11 and Awesomewm), but I'm stuck with the widgets. I would like to create/use some utilities like an interactive calendar, small TODO list, dropdown menu, etc. but using the awesomewm widgets is too difficult and limiting. I found eww but it seems as difficult as the former widgets.
-
How do I get the batteryarc-widget to work properly?
Hello, I am new to Linux (using Mint rn) and very new to Awesome. I installed Pavel Makhov's awesome-wm-widgets pack since that seems very cool and widely used. While the arc portion of the widget works perfectly fine, the actual charge isn't showing in the middle of the arc. Here's what I mean.
-
Widget help.
I am a noob to awesome wm, and have tried several times to get the widgets from https://github.com/streetturtle/awesome-wm-widgets to work. I am not understanding the directions, and whenever I try it always throws me errors that i cannot figure out. Can anyone give me detailed instructions on how to setup these up?
-
Were can I study aligning widgets on wibar (or writing awesome widgets in general)?
Check tips & tricks section here, there are two tutorials on widget creation: https://pavelmakhov.com/awesome-wm-widgets/ You can also have a look at the source code of https://github.com/streetturtle/awesome-wm-widgets
-
Get Off My Desktop Windows Needs to Stop Showing Tabloid News
> What widgets are you referring to that you found to have leaks?
I'll cite myself here: https://github.com/streetturtle/awesome-wm-widgets/issues/11...
I've had similar issues wherever GTK interacts with awful.spawn . Hence my GTK + awful.spawn.easy_async = extremely leak-prone
Here's another affected library [1]: https://github.com/deficient/volume-control
[1]: No bug under the main repo because they're considering it as a framework bug. See here for discussion: https://github.com/awesomeWM/awesome/issues/3584#issuecommen...
-
How do i add a power button to the wibar
You can try this widget: https://github.com/streetturtle/awesome-wm-widgets/tree/master/logout-menu-widget
-
Awesome WM customizer/configurator
u/BaigGam3rss I still have some work to do to make my own widgets but you probably start with the documentation [1][2]. And then look at some other projects that use Awesome API to build widgets (ex: [3][4][5][6][7]).
-
button click interpreted twice
------------------------------------------------- -- Logout Menu Widget for Awesome Window Manager -- More details could be found here: -- https://github.com/streetturtle/awesome-wm-widgets/tree/master/logout-menu-widget -- @author Pavel Makhov -- @copyright 2020 Pavel Makhov ------------------------------------------------- local awful = require("awful") local wibox = require("wibox") local gears = require("gears") local beautiful = require("beautiful") local naughty = require("naughty") local HOME = os.getenv('HOME') local ICON_DIR = HOME .. '/.config/awesome/awesome-wm-widgets/logout-menu-widget/icons/' local logout_menu_widget = wibox.widget { { { image = ICON_DIR .. 'power_w.svg', resize = true, id = "iimage", widget = wibox.widget.imagebox, }, margins = 4, layout = wibox.container.margin }, shape = function(cr, width, height) gears.shape.rounded_rect(cr, width, height, 4) end, widget = wibox.container.background, } local popup = awful.popup { ontop = true, visible = false, shape = function(cr, width, height) gears.shape.rounded_rect(cr, width, height, 4) end, border_width = 1, border_color = beautiful.bg_focus, maximum_width = 400, offset = { y = 5 }, widget = {} } local function worker(user_args) local rows = { layout = wibox.layout.fixed.vertical } local args = user_args or {} local font = args.font or beautiful.font local onlogout = args.onlogout or function () awesome.quit() end local onlock = args.onlock or function() awful.spawn.with_shell("i3lock") end local onreboot = args.onreboot or function() awful.spawn.with_shell("reboot") end local onsuspend = args.onsuspend or function() awful.spawn.with_shell("systemctl suspend") end local onpoweroff = args.onpoweroff or function() awful.spawn.with_shell("shutdown now") end local menu_items = { { name = 'Log out', icon_name = 'log-out.svg', command = onlogout }, { name = 'Lock', icon_name = 'lock.svg', command = onlock }, { name = 'Reboot', icon_name = 'refresh-cw.svg', command = onreboot }, { name = 'Suspend', icon_name = 'moon.svg', command = onsuspend }, { name = 'Power off', icon_name = 'power.svg', command = onpoweroff }, } for _, item in ipairs(menu_items) do local row = wibox.widget { { { { image = ICON_DIR .. item.icon_name, resize = false, widget = wibox.widget.imagebox }, { text = item.name, font = font, widget = wibox.widget.textbox }, spacing = 12, layout = wibox.layout.fixed.horizontal }, margins = 8, layout = wibox.container.margin }, bg = beautiful.bg_normal, widget = wibox.container.background } row:connect_signal("mouse::enter", function(c) c:set_bg(beautiful.bg_focus) end) row:connect_signal("mouse::leave", function(c) c:set_bg(beautiful.bg_normal) end) local old_cursor, old_wibox row:connect_signal("mouse::enter", function() local wb = mouse.current_wibox old_cursor, old_wibox = wb.cursor, wb wb.cursor = "hand1" end) row:connect_signal("mouse::leave", function() if old_wibox then old_wibox.cursor = old_cursor old_wibox = nil end end) --row:buttons(awful.util.table.join(awful.button({}, 1, function() -- popup.visible = not popup.visible -- item.command() --end))) row:add_button(awful.button({}, 1, function() popup.visible = not popup.visible item.command() end)) table.insert(rows, row) end popup:setup(rows) -- logout_menu_widget:buttons( -- awful.util.table.join( -- awful.button({}, 1, function() -- if popup.visible then -- popup.visible = not popup.visible -- logout_menu_widget:set_bg('#00000000') -- else -- popup:move_next_to(mouse.current_widget_geometry) -- logout_menu_widget:set_bg(beautiful.bg_focus) -- end -- end) -- ) -- ) logout_menu_widget:add_button( awful.button({}, 1, function() naughty.notify({text = "button pressed"}) if popup.visible then naughty.notify({text = "visible"}) popup.visible = not popup.visible logout_menu_widget:set_bg('#00000000') else naughty.notify({text = "invisible"}) popup:move_next_to(mouse.current_widget_geometry) logout_menu_widget:set_bg(beautiful.bg_focus) end end, function() naughty.notify({text = "button released"}) end) ) return logout_menu_widget end return setmetatable(logout_menu_widget, { __call = function(_, ...) return worker(...) end })
- General help with widgets
- Need help installing awesome-wm-widgets widgets, I tried with the volume widget and then spotify and both times adding the code in the read me to different places in the rc.lua and each time saving and reloading awesomewm caused it to reset to default settings with a slew of errors and no widget
What are some alternatives?
awesome-copycats - Awesome WM themes
polybar-themes - A huge collection of polybar themes with different styles, colors and variants.
dotfiles - My desktop and WSL configuration files
rofi - A huge collection of Rofi based custom Applets, Launchers & Powermenus.
awesome - awesome window manager
the-glorious-dotfiles - A glorified personal dot files
rofi-power-menu - Configurable power menu mode for Rofi and dmenu
dotfiles - :wrench: .files, including ~/.macos — sensible hacker defaults for macOS
lain - Awesome WM complements
bling - Utilities for the awesome window manager
ssui-conky - Collection of conky modules