getting used to it

This commit is contained in:
Benjamin Kyd
2023-04-30 23:25:44 +01:00
parent 7be1eefc5f
commit 3b079e2fe4
3 changed files with 5 additions and 25 deletions

View File

@@ -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

View File

@@ -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 ",

View File

@@ -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,