mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-06 13:06:35 +05:30
fix: profile not showing correctly
This commit is contained in:
@ -3,7 +3,7 @@ local watch = require("awful.widget.watch")
|
|||||||
local wibox = require("wibox")
|
local wibox = require("wibox")
|
||||||
|
|
||||||
local profile = wibox.widget.textbox("P: NA")
|
local profile = wibox.widget.textbox("P: NA")
|
||||||
watch("bash -c \"asusctl profile -p | awk '{print $NF}'\"", 10, function(_, stdout)
|
watch("bash -c \"asusctl profile -p | awk 'END {print $NF}'\"", 10, function(_, stdout)
|
||||||
profile.text = "P:" .. " " .. stdout
|
profile.text = "P:" .. " " .. stdout
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user