awesomewm/assets/icons.lua

181 lines
5.9 KiB
Lua
Raw Normal View History

2022-07-16 12:33:59 -07:00
local gears = require("gears")
local conf_dir = gears.filesystem.get_configuration_dir()
-- Some subdir variables,
-- to make switching icon sets easy.
local brightnessdir = conf_dir .. "assets/icons/brightness/clockwise/"
local titlebardir = conf_dir .. "assets/icons/titlebar/"
2021-08-01 07:24:26 -07:00
return {
2022-07-16 12:33:59 -07:00
submenu = conf_dir .. "assets/icons/submenu.svg",
launcher = conf_dir .. "assets/icons/arch.svg",
2021-08-01 07:24:26 -07:00
2022-07-16 12:33:59 -07:00
-- Used for i3lock, MUST be a png.
lockicon = conf_dir .. "assets/icons/arch.png",
2021-11-28 19:49:38 -08:00
2021-08-01 07:24:26 -07:00
music = {
grey = {
2022-07-16 12:33:59 -07:00
playing = conf_dir .. "assets/icons/music/pause-grey.svg",
paused = conf_dir .. "assets/icons/music/play-grey.svg",
stopped = conf_dir .. "assets/icons/music/stop-grey.svg"
2021-08-01 07:24:26 -07:00
},
blue = {
2022-07-16 12:33:59 -07:00
playing = conf_dir .. "assets/icons/music/pause-blue.svg",
paused = conf_dir .. "assets/icons/music/play-blue.svg",
stopped = conf_dir .. "assets/icons/music/stop-blue.svg"
2021-08-01 07:24:26 -07:00
}
},
-- Layout icons
layout = {
2022-07-16 12:33:59 -07:00
cornerne = conf_dir .. "assets/icons/layout/cornerne.svg",
cornernw = conf_dir .. "assets/icons/layout/cornernw.svg",
cornerse = conf_dir .. "assets/icons/layout/cornerse.svg",
cornersw = conf_dir .. "assets/icons/layout/cornersw.svg",
dwindle = conf_dir .. "assets/icons/layout/dwindle.svg",
fairh = conf_dir .. "assets/icons/layout/fairh.svg",
fairv = conf_dir .. "assets/icons/layout/fairv.svg",
floating = conf_dir .. "assets/icons/layout/floating.svg",
fullscreen = conf_dir .. "assets/icons/layout/fullscreen.svg",
magnifier = conf_dir .. "assets/icons/layout/magnifier.svg",
max = conf_dir .. "assets/icons/layout/max.svg",
spiral = conf_dir .. "assets/icons/layout/spiral.svg",
tile = conf_dir .. "assets/icons/layout/tile.svg",
tilebottom = conf_dir .. "assets/icons/layout/tilebottom.svg",
tileleft = conf_dir .. "assets/icons/layout/tileleft.svg",
tiletop = conf_dir .. "assets/icons/layout/tiletop.svg"
2021-08-01 07:24:26 -07:00
},
-- Battery icons
battery = {
2022-07-16 12:33:59 -07:00
missing = conf_dir .. "assets/icons/battery/missing.svg",
2021-08-01 07:24:26 -07:00
charging = {
2022-07-16 12:33:59 -07:00
full = conf_dir .. "assets/icons/battery/full-charging.svg",
good = conf_dir .. "assets/icons/battery/good-charging.svg",
low = conf_dir .. "assets/icons/battery/low-charging.svg",
caution = conf_dir .. "assets/icons/battery/caution-charging.svg",
empty = conf_dir .. "assets/icons/battery/empty-charging.svg"
2021-08-01 07:24:26 -07:00
},
2022-07-16 12:33:59 -07:00
full = conf_dir .. "assets/icons/battery/full.svg",
good = conf_dir .. "assets/icons/battery/good.svg",
low = conf_dir .. "assets/icons/battery/low.svg",
caution = conf_dir .. "assets/icons/battery/caution.svg",
empty = conf_dir .. "assets/icons/battery/empty.svg"
2021-08-01 07:24:26 -07:00
},
-- Volume indicator
volume = {
2022-07-16 12:33:59 -07:00
high = conf_dir .. "assets/icons/volume/high.svg",
medium = conf_dir .. "assets/icons/volume/medium.svg",
low = conf_dir .. "assets/icons/volume/low.svg",
off = conf_dir .. "assets/icons/volume/off.svg",
mute = conf_dir .. "assets/icons/volume/mute-red.svg",
error = conf_dir .. "assets/icons/volume/error.svg"
2021-08-01 07:24:26 -07:00
},
-- Brightness icons
brightness = {
a = brightnessdir .. "brightness-0.svg",
b = brightnessdir .. "brightness-1.svg",
c = brightnessdir .. "brightness-2.svg",
d = brightnessdir .. "brightness-3.svg",
e = brightnessdir .. "brightness-4.svg",
f = brightnessdir .. "brightness-5.svg",
g = brightnessdir .. "brightness-6.svg",
h = brightnessdir .. "brightness-7.svg",
i = brightnessdir .. "brightness-8.svg"
},
-- RAID status
raid = {
healthy = {
2022-07-16 12:33:59 -07:00
normal = conf_dir .. "assets/icons/raid/healthy.svg",
recover = conf_dir .. "assets/icons/raid/healthy-recover.svg"
2021-08-01 07:24:26 -07:00
},
degraded = {
2022-07-16 12:33:59 -07:00
normal = conf_dir .. "assets/icons/raid/degraded.svg",
recover = conf_dir .. "assets/icons/raid/degraded-recover.svg"
2021-08-01 07:24:26 -07:00
}
},
-- Icons shown on window bars
titlebar = {
close = {
focus_hover = titlebardir .. "hover/close.svg",
normal_hover = titlebardir .. "hover/close.svg",
focus = titlebardir .. "regular/close.svg",
normal = titlebardir .. "regular/close.svg"
},
floating = {
inactive = {
focus_hover = titlebardir .. "hover/float.svg",
normal_hover = titlebardir .. "hover/float.svg",
focus = titlebardir .. "regular/float.svg",
normal = titlebardir .. "regular/float.svg"
},
active = {
focus_hover = titlebardir .. "regular/float.svg",
normal_hover = titlebardir .. "regular/float.svg",
focus = titlebardir .. "hover/float.svg",
normal = titlebardir .. "hover/float.svg"
}
},
maximize = {
inactive = {
focus_hover = titlebardir .. "hover/maximize.svg",
normal_hover = titlebardir .. "hover/maximize.svg",
focus = titlebardir .. "regular/maximize.svg",
normal = titlebardir .. "regular/maximize.svg"
},
active = {
focus_hover = titlebardir .. "regular/maximize.svg",
normal_hover = titlebardir .. "regular/maximize.svg",
focus = titlebardir .. "hover/maximize.svg",
normal = titlebardir .. "hover/maximize.svg"
}
},
minimize = {
focus_hover = titlebardir .. "hover/minimize.svg",
normal_hover = titlebardir .. "hover/minimize.svg",
focus = titlebardir .. "regular/minimize.svg",
normal = titlebardir .. "regular/minimize.svg"
},
ontop = {
inactive = {
focus_hover = titlebardir .. "hover/ontop.svg",
normal_hover = titlebardir .. "hover/ontop.svg",
focus = titlebardir .. "regular/ontop.svg",
normal = titlebardir .. "regular/ontop.svg"
},
active = {
focus_hover = titlebardir .. "regular/ontop.svg",
normal_hover = titlebardir .. "regular/ontop.svg",
focus = titlebardir .. "hover/ontop.svg",
normal = titlebardir .. "hover/ontop.svg"
}
},
sticky = {
inactive = {
focus_hover = titlebardir .. "hover/stick.svg",
normal_hover = titlebardir .. "hover/stick.svg",
focus = titlebardir .. "regular/stick.svg",
normal = titlebardir .. "regular/stick.svg"
},
active = {
focus_hover = titlebardir .. "regular/stick.svg",
normal_hover = titlebardir .. "regular/stick.svg",
focus = titlebardir .. "hover/stick.svg",
normal = titlebardir .. "hover/stick.svg"
}
}
}
}