Add revelation

Update and add bling task_preview, tag_preview and window_switcher
Add catppuccin-macchiato
Use my weather key
Update keybindings
Update autorun
Fix sliders
This commit is contained in:
Hydroxycarbamide 2023-03-20 09:51:48 +01:00
parent 4f850f7173
commit 2401cfcee2
56 changed files with 2040 additions and 858 deletions

View file

@ -15,25 +15,29 @@ local helpers = require("libs.helpers")
local temprature = wibox.widget.textbox()
temprature.font = theme.font
watch('bash -c "sensors | awk \'/Core 0/ {print substr($3, 2) }\'"', 30, function(_, stdout)
temprature.text = stdout
watch([[ bash -c "sensors | grep 'Tctl:' | awk '{print $2}'" ]], 30, function(_, stdout)
local temp_num = tonumber(stdout:match("%d+"))
if temp_num == nil then
temp_num = -1
end
temprature.text = math.floor(temp_num) .. "°C"
end)
-- Icon :
local widget_icon = ""
local icon = wibox.widget{
font = theme.icon_font,
markup = helpers.colorize_text(widget_icon, colors.main_scheme),
widget = wibox.widget.textbox,
valign = "center",
align = "center"
local icon = wibox.widget {
font = theme.icon_font,
markup = helpers.colorize_text(widget_icon, colors.main_scheme),
widget = wibox.widget.textbox,
valign = "center",
align = "center"
}
return wibox.widget {
icon,
wibox.widget{
temprature,
icon,
wibox.widget {
temprature,
fg = colors.brightwhite,
widget = wibox.container.background
},