From 690205156a221f1cb4eec6a83c8283cddaf4c5a8 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Thu, 18 Mar 2021 06:21:05 +0100 Subject: [PATCH] awesome rc.lua update --- .config/awesome/jupiter_taskbar.lua | 2 +- .config/awesome/rc.lua | 40 ++++++++++++++--------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.config/awesome/jupiter_taskbar.lua b/.config/awesome/jupiter_taskbar.lua index 261b22cc..fc929b93 100644 --- a/.config/awesome/jupiter_taskbar.lua +++ b/.config/awesome/jupiter_taskbar.lua @@ -48,7 +48,7 @@ awful.screen.connect_for_each_screen(function(s) cpuwidget, ---batterywidget, --thermalwidget, - myweather.icon, + --myweather.icon, wibox.widget.systray(), mytextclock, s.mylayoutbox, diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index c352185c..a88535e0 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -126,29 +126,29 @@ menubar.utils.terminal = terminal -- Set the terminal for applications that requ -- }}} -- {{{ Vicious widgets -batterywidget = wibox.widget.textbox() -vicious.register(batterywidget, vicious.widgets.bat, "$1$2% / ", 20, config.battery) +--batterywidget = wibox.widget.textbox() +--vicious.register(batterywidget, vicious.widgets.bat, "$1$2% / ", 20, config.battery) -netwidget = wibox.widget.textbox() -vicious.register(netwidget, vicious.widgets.net, -'⇩${'..config.net_device..' down_kb} / ${'..config.net_device..' up_kb}⇧ ', 1) +--netwidget = wibox.widget.textbox() +--vicious.register(netwidget, vicious.widgets.net, +--'⇩${'..config.net_device..' down_kb} / ${'..config.net_device..' up_kb}⇧ ', 1) -thermalwidget = wibox.widget.textbox() -vicious.register(thermalwidget, vicious.widgets.thermal, "$1°C ", 20, config.thermal_zone ) +--thermalwidget = wibox.widget.textbox() +--vicious.register(thermalwidget, vicious.widgets.thermal, "$1°C ", 20, config.thermal_zone ) -myweather = lain.widget.weather({ - APPID = config.openweather_api_key, - city_id = config.cityid, - notification_preset = { font = beautiful.font }, - notification_text_fun = function (wn) - local day = os.date("%a %d", wn["dt"]) - local tmin = math.floor(wn["temp"]["min"]) - local tmax = math.floor(wn["temp"]["max"]) - local desc = wn["weather"][1]["description"] - return string.format("%s: %s, %d°C/%d°C ", day, desc, tmin, tmax) - end, -}) -myweather.attach(myweather.icon) +--myweather = lain.widget.weather({ +-- APPID = config.openweather_api_key, +-- city_id = config.cityid, +-- notification_preset = { font = beautiful.font }, +-- notification_text_fun = function (wn) +-- local day = os.date("%a %d", wn["dt"]) +-- local tmin = math.floor(wn["temp"]["min"]) +-- local tmax = math.floor(wn["temp"]["max"]) +-- local desc = wn["weather"][1]["description"] +-- return string.format("%s: %s, %d°C/%d°C ", day, desc, tmin, tmax) +-- end, +--}) +--myweather.attach(myweather.icon) cpuwidget = awful.widget.graph() cpuwidget:set_width(100)