Skip to content

dcfreire/awesomewm-dualsense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dualsense widget for Awesome WM

Displays battery of a connected dualsense controller, and turns off the controller if you middle-click the widget.

dualsense_widget

Installation

Clone the repo under "~/.config/awesome/widgets/" then add it to your theme.lua

local dualsensebat_widget = require("dualsense.dualsense")

local dualsense = dualsensebat_widget{font=theme.font}
function theme.at_screen_connect(s)
    s.mywibox = awful.wibar({ position = "top", screen = s, height = dpi(22), bg = theme.bg_normal, fg = theme.fg_normal })

    s.mywibox:setup {
            layout = wibox.layout.align.horizontal,
            dualsense
            }
end

Dependencies

This widget depends on dualsensectl.

About

Dualsense widget for Awesome WM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages