From 7be1eefc5f0be7e3649c3d5ca43b14088f1896f7 Mon Sep 17 00:00:00 2001 From: Benjamin Kyd Date: Sun, 30 Apr 2023 23:04:04 +0100 Subject: [PATCH] status tab --- common/.config/awesome/TODO.md | 2 ++ common/.config/awesome/rc.lua | 11 ++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/common/.config/awesome/TODO.md b/common/.config/awesome/TODO.md index ef763ec..c5769c4 100644 --- a/common/.config/awesome/TODO.md +++ b/common/.config/awesome/TODO.md @@ -7,3 +7,5 @@ [x] Fix the brightness popup [x] Use white icons in both popups [x] Fix annoying fullscreen shit +[ ] Fix spotify widget being annoying as shit +[ ] TABS diff --git a/common/.config/awesome/rc.lua b/common/.config/awesome/rc.lua index 092c2de..0cf978c 100644 --- a/common/.config/awesome/rc.lua +++ b/common/.config/awesome/rc.lua @@ -54,6 +54,7 @@ nice({ titlebar_font = Ben.fonts.small, button_size = 14, mb_resize = nice.MB_MIDDLE, + titlebar_radius = 0, mb_contextmenu = nice.MB_RIGHT, titlebar_items = { left = {}, @@ -66,8 +67,12 @@ nice({ -- fix annoying fullscreen stuff client.connect_signal("property::fullscreen", function(c) - c.border_width = c.fullscreen and 0 or beautiful.border_width - c:geometry(c.screen.geometry) - awful.titlebar.hide(c) + if c.fullscreen then + c.border_width = c.fullscreen and 0 or beautiful.border_width + c:geometry(c.screen.geometry) + awful.titlebar.hide(c) + else + awful.titlebar.show(c) + end end)