From 3b079e2fe4a4745f6de94b3a4253076160489a87 Mon Sep 17 00:00:00 2001 From: Benjamin Kyd Date: Sun, 30 Apr 2023 23:25:44 +0100 Subject: [PATCH] getting used to it --- common/.config/awesome/TODO.md | 4 ++++ common/.config/awesome/ben/widgets.lua | 25 ------------------------- common/.config/awesome/core/bars.lua | 1 + 3 files changed, 5 insertions(+), 25 deletions(-) diff --git a/common/.config/awesome/TODO.md b/common/.config/awesome/TODO.md index c5769c4..510604d 100644 --- a/common/.config/awesome/TODO.md +++ b/common/.config/awesome/TODO.md @@ -9,3 +9,7 @@ [x] Fix annoying fullscreen shit [ ] Fix spotify widget being annoying as shit [ ] TABS +[ ] Lock, suspend, shutdown, reboot hotkeys +[ ] Get rid of i3 deps +[ ] Figure out wtf is up with tags + [ ] Switchback easy diff --git a/common/.config/awesome/ben/widgets.lua b/common/.config/awesome/ben/widgets.lua index f05229c..000408b 100644 --- a/common/.config/awesome/ben/widgets.lua +++ b/common/.config/awesome/ben/widgets.lua @@ -1,32 +1,7 @@ -local awful = require("awful") local wibox = require("wibox") -local beautiful = require("beautiful") local widgets = {} -widgets.menu = awful.menu({ - items = { - { "Restart", awesome.restart }, - { - "👋", - function() - awesome.quit() - end - }, - { - "Shutdown", - function() - os.execute("shutdown now") - end, - }, - }, -}) - -widgets.launcher = awful.widget.launcher({ - image = beautiful.awesome_icon, - menu = widgets.menu, -}) - widgets.clock = wibox.widget({ widget = wibox.widget.textclock, format = " %H:%M:%S %a %d/%m/%Y ", diff --git a/common/.config/awesome/core/bars.lua b/common/.config/awesome/core/bars.lua index 9949082..43f5b0e 100644 --- a/common/.config/awesome/core/bars.lua +++ b/common/.config/awesome/core/bars.lua @@ -70,6 +70,7 @@ awful.screen.connect_for_each_screen(function(screen) battery_widget({ font = Ben.fonts.normal, show_current_level = true, + display_notification = true, charging_color = Ben.colors.green, low_level_color = Ben.colors.red, medium_level_color = Ben.colors.yellow,