From 675ef22654dd240219d1b84a518dd9dda0db62b6 Mon Sep 17 00:00:00 2001 From: zachir Date: Mon, 23 Oct 2023 00:19:23 -0500 Subject: Fix awesome tabs->spaces and set net-widget width --- awesome/rc.lua | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/awesome/rc.lua b/awesome/rc.lua index 914e222..82b2af7 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -418,6 +418,7 @@ awful.screen.connect_for_each_screen(function(s) mpd_widget, net_speed { font = beautiful.font2, + width = 100, interface = wlan0 }, ram_widget({ @@ -454,24 +455,24 @@ awful.screen.connect_for_each_screen(function(s) mute_color = "#ff111111", device = "pulse", }, - battery = battery_widget { - font = font, - arc_thickness = 2, - show_current_level = false, - size = 18, - timeout = 10, - main_color = beautiful.fg_color, - bg_color = "#ffffff11", - low_level_color = "#e53935", - medium_level_color = "#c0ca33", - warning_msg_title = "Houston, we have a problem", - warning_msg_text = "Battery is dying", - warning_msg_position = "bottom_right", -- "bottom_right" is default, or top_right, top_left, bottom_left, bottom_right, top_middle, bottom_middle - warning_msg_icon = "~/.config/awesome/awesome-wm-widgets/batteryarc-widget/spaceman.jpg", - enable_battery_warning = true, - show_notification_mode = "on_click", -- "on_hover" is default, or "on_click" or "off" - notification_position = "top_right" -- "top_left is default, or top_right, top_left, bottom_left, bottom_right, top_middle, bottom_middle - }, + battery = battery_widget { + font = font, + arc_thickness = 2, + show_current_level = false, + size = 18, + timeout = 10, + main_color = beautiful.fg_color, + bg_color = "#ffffff11", + low_level_color = "#e53935", + medium_level_color = "#c0ca33", + warning_msg_title = "Houston, we have a problem", + warning_msg_text = "Battery is dying", + warning_msg_position = "bottom_right", -- "bottom_right" is default, or top_right, top_left, bottom_left, bottom_right, top_middle, bottom_middle + warning_msg_icon = "~/.config/awesome/awesome-wm-widgets/batteryarc-widget/spaceman.jpg", + enable_battery_warning = true, + show_notification_mode = "on_click", -- "on_hover" is default, or "on_click" or "off" + notification_position = "top_right" -- "top_left is default, or top_right, top_left, bottom_left, bottom_right, top_middle, bottom_middle + }, mykeyboardlayout, wibox.widget.systray(), mytextclock, -- cgit v1.2.3