lazy push before updates
This commit is contained in:
29
theme/widgets.lua
Normal file
29
theme/widgets.lua
Normal file
@@ -0,0 +1,29 @@
|
||||
local gmc = require("theme.gmc")
|
||||
local icon_path = "/usr/share/icons/Papirus-Dark/22x22"
|
||||
|
||||
local widgets = {}
|
||||
|
||||
function widgets.battery_icon(icon)
|
||||
icon = icon or "battery-missing"
|
||||
return icon_path .. "/panel/" .. icon:gsub("'", "") .. ".svg"
|
||||
end
|
||||
|
||||
widgets.battery_text_color_charging = gmc.color["green900"]
|
||||
widgets.battery_text_color_full = gmc.color["green900"]
|
||||
widgets.battery_text_color_medium = gmc.color["yellow900"]
|
||||
widgets.battery_text_color_low = gmc.color["orange900"]
|
||||
widgets.battery_text_color_critical = gmc.color["red900"]
|
||||
|
||||
widgets.clock_icon = icon_path .. "/actions/clock.svg"
|
||||
widgets.clock_text_color = gmc.color["black"]
|
||||
widgets.clock_date_color = gmc.color["green300"]
|
||||
|
||||
widgets.net_internt_connected_icon = icon_path .. "/status/network-wireless-connected.svg"
|
||||
widgets.net_internt_disconnected_icon = icon_path .. "/status/network-wireless-disconnected.svg"
|
||||
|
||||
widgets.volume_high_icon = icon_path .. "/panel/audio-volume-high.svg"
|
||||
widgets.volume_medium_icon = icon_path .. "/panel/audio-volume-medium.svg"
|
||||
widgets.volume_low_icon = icon_path .. "/panel/audio-volume-low.svg"
|
||||
widgets.volume_muted_icon = icon_path .. "/panel/audio-volume-muted.svg"
|
||||
|
||||
return widgets
|
||||
Reference in New Issue
Block a user