mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-05 20:56:33 +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 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
|
||||
end)
|
||||
|
||||
|
Reference in New Issue
Block a user