2023-01-30 15:23:16 +00:00
|
|
|
local gears = require('gears')
|
|
|
|
local settings = require('theme.settings')
|
|
|
|
|
|
|
|
local show_battery = settings['show_battery'] == true
|
2023-02-05 11:37:57 +00:00
|
|
|
local show_volume = settings['show_volume'] == true
|
2023-01-30 15:23:16 +00:00
|
|
|
|
|
|
|
return gears.table.join(
|
|
|
|
require('theme.info.net'),
|
|
|
|
show_battery and require('theme.info.battery') or {},
|
2023-02-05 11:37:57 +00:00
|
|
|
show_volume and require('theme.info.volume') or {},
|
2023-01-30 15:23:16 +00:00
|
|
|
require('theme.info.mem'),
|
|
|
|
require('theme.info.cpu'),
|
|
|
|
require('theme.info.fs'),
|
|
|
|
require('theme.info.clock')
|
|
|
|
)
|