Quality changes or something, idk

This commit is contained in:
Lucas Hernán Tarche 2021-07-15 10:44:53 -03:00
parent 17c5b6d71a
commit 052a88fa5d

View File

@ -180,8 +180,7 @@ os_menu = awful.widget.launcher({
menu = awful.menu({ menu = awful.menu({
items = { items = {
{ "Hotkeys", function() hotkeys_popup.show_help(nil, awful.screen.focused()) end }, { "Hotkeys", function() hotkeys_popup.show_help(nil, awful.screen.focused()) end },
{ "Manual", config.awesome.terminal .. " -e man awesome" }, { "Edit config", config.awesome.editor .. " .config/awesome/" },
{ "Edit config", config.awesome.editor_cmd .. " " .. awesome.conffile },
{ "Open terminal", config.awesome.terminal }, { "Open terminal", config.awesome.terminal },
{ "Lock", lockScreen, lock_icon }, { "Lock", lockScreen, lock_icon },
{ "Logout", function() awesome.quit() end, logout_icon }, { "Logout", function() awesome.quit() end, logout_icon },
@ -198,6 +197,8 @@ os_menu = awful.widget.launcher({
-- {{{ Wibar -- {{{ Wibar
-- Create a textclock widget -- Create a textclock widget
mytextclock = wibox.widget.textclock() mytextclock = wibox.widget.textclock()
mytextclock.format = " %H:%M:%S "
mytextclock.refresh = 0.5
-- Create a wibox for each screen and add it -- Create a wibox for each screen and add it
local taglist_buttons = gears.table.join(awful.button({}, 1, function(t) t:view_only() end), local taglist_buttons = gears.table.join(awful.button({}, 1, function(t) t:view_only() end),
@ -254,7 +255,7 @@ awful.screen.connect_for_each_screen(function(s)
set_wallpaper(s) set_wallpaper(s)
-- Each screen has its own tag table. -- Each screen has its own tag table.
awful.tag({ "1", "2", "3", "4", "5", "6", "7", "8", "9" }, s, awful.layout.layouts[1]) awful.tag({ "1", "2", "3", "4", "5", "6" }, s, awful.layout.layouts[1])
-- Create a promptbox for each screen -- Create a promptbox for each screen
s.mypromptbox = awful.widget.prompt() s.mypromptbox = awful.widget.prompt()
@ -351,8 +352,8 @@ end)
-- {{{ Mouse bindings -- {{{ Mouse bindings
root.buttons(gears.table.join(awful.button({}, 3, function() mymainmenu:toggle() end), root.buttons(gears.table.join(awful.button({}, 3, function() mymainmenu:toggle() end),
awful.button({}, 4, awful.tag.viewnext), awful.button({}, 4, awful.tag.viewprev),
awful.button({}, 5, awful.tag.viewprev))) awful.button({}, 5, awful.tag.viewnext)))
-- }}} -- }}}
-- {{{ Key bindings -- {{{ Key bindings
@ -382,8 +383,8 @@ hotkey.registerKeys(
awful.client.focus.byidx(-1) awful.client.focus.byidx(-1)
end, end,
{ description = "focus previous by index", group = "client" }), { description = "focus previous by index", group = "client" }),
awful.key({ config.keys.modkey, }, "w", function() mymainmenu:show() end, -- awful.key({ config.keys.modkey, }, "w", function() mymainmenu:show() end,
{ description = "show main menu", group = "awesome" }), -- { description = "show main menu", group = "awesome" }),
-- Layout manipulation -- Layout manipulation
awful.key({ config.keys.modkey, "Shift" }, "j", function() awful.client.swap.byidx(1) end, awful.key({ config.keys.modkey, "Shift" }, "j", function() awful.client.swap.byidx(1) end,