change awful.utils.get_dir to gears.filesystem.configuration_dir

This commit is contained in:
Rene Kievits
2022-09-22 18:37:48 +02:00
parent 6cdda097c1
commit 747b8a9787
35 changed files with 49 additions and 40 deletions

View File

@@ -9,13 +9,14 @@ local gobject = require("gears").object
local gtable = require("gears").table
local gcolor = require("gears").color
local gshape = require("gears").shape
local gfilesystem = require("gears").filesystem
local wibox = require("wibox")
local capi = {
awesome = awesome,
}
local icondir = awful.util.getdir("config") .. "src/assets/icons/bluetooth/"
local icondir = gfilesystem.get_configuration_dir() .. "src/assets/icons/bluetooth/"
local device = { mt = {} }

View File

@@ -9,13 +9,14 @@ local gobject = require("gears").object
local gtable = require("gears").table
local gcolor = require("gears").color
local gshape = require("gears").shape
local gfilesystem = require("gears").filesystem
local wibox = require("wibox")
local bt_device = require("src.modules.bluetooth.device")
local rubato = require("src.lib.rubato")
local icondir = awful.util.getdir("config") .. "src/assets/icons/bluetooth/"
local icondir = gfilesystem.get_configuration_dir() .. "src/assets/icons/bluetooth/"
local capi = {
awesome = awesome,