fix requires

This commit is contained in:
Izaya 2022-08-25 15:10:36 +10:00
parent 2528abf865
commit d9ce4d7da0

View File

@ -1,8 +1,16 @@
local gears = require("gears")
local awful = require("awful")
local wibox = require("wibox")
local switcherpopup = require("awesome-switcherpopup")
local launcherpopup = require("awesome-launcherpopup")
local longpress = require("awesome-longpress")
local navbar = { local navbar = {
iconSize = 96, iconSize = 96,
iconPath = gears.filesystem.get_configuration_dir() .. "/awesome-navbar/", iconPath = gears.filesystem.get_configuration_dir() .. "/awesome-navbar/",
navbar.launcher = "xfce4-appfinder" navbar.launcher = "xfce4-appfinder"
} }
function navbar.new(s) function navbar.new(s)
local landscape = s.geometry.width > s.geometry.height local landscape = s.geometry.width > s.geometry.height
local portrait = not landscape local portrait = not landscape
@ -55,6 +63,7 @@ function navbar.new(s)
screen = s screen = s
}) })
vkbd.spacing = 1
s.keyboard:setup ({ s.keyboard:setup ({
layout = wibox.layout.ratio.horizontal, layout = wibox.layout.ratio.horizontal,
vkbd vkbd