-
33core/layout.lua
-
24core/titlebar.lua
-
2core/vars.lua
-
4presets/README.txt
-
149presets/ubuntu-11.10/core/layout.lua
-
127presets/ubuntu-11.10/core/titlebar.lua
-
31presets/ubuntu-11.10/core/vars.lua
-
132presets/ubuntu-20.04/core/layout.lua
-
111presets/ubuntu-20.04/core/titlebar.lua
-
31presets/ubuntu-20.04/core/vars.lua
-
1themes/unity2/Focal_Fossa_Wallpapers/Focal Fossa_orange_RGB.svg
-
1themes/unity2/Focal_Fossa_Wallpapers/Focal Fossa_white_RGB.svg
-
BINthemes/unity2/Focal_Fossa_Wallpapers/JPG/.DS_Store
-
BINthemes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_1920x1080.jpg
-
BINthemes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_1920x1080_GREY.jpg
-
BINthemes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_2560x1440.jpg
-
BINthemes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_2560x1440_GREY.jpg
-
BINthemes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_4096x2304.jpg
-
BINthemes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_4096x2304_GREY.jpg
-
BINthemes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_8192x4608.jpg
-
BINthemes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_8192x4608_GREY.jpg
-
BINthemes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_1920x1080.jpg
-
BINthemes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_1920x1080_GREY.jpg
-
BINthemes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_2560x1440.jpg
-
BINthemes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_2560x1440_GREY.jpg
-
BINthemes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_4096x2304.jpg
-
BINthemes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_4096x2304_GREY.jpg
-
BINthemes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_8192x4608.jpg
-
BINthemes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_8192x4608_GREY.jpg
-
BINthemes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_1920x1080.png
-
BINthemes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_1920x1080_GREY.png
-
BINthemes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_2560x1440.png
-
BINthemes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_2560x1440_GREY.png
-
BINthemes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_4096x2304.png
-
BINthemes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_4096x2304_GREY.png
-
BINthemes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_1920x1080.png
-
BINthemes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_1920x1080_GREY.png
-
BINthemes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_2560x1440.png
-
BINthemes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_2560x1440_GREY.png
-
BINthemes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_4096x2304.png
-
BINthemes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_4096x2304_GREY.png
-
BINthemes/unity2/background.png
-
7themes/unity2/icons/README.md
-
12themes/unity2/icons/battery-caution-charging-symbolic.svg
-
9themes/unity2/icons/battery-caution-symbolic.svg
-
12themes/unity2/icons/battery-empty-charging-symbolic.svg
-
9themes/unity2/icons/battery-empty-symbolic.svg
-
70themes/unity2/icons/battery-full-charged-symbolic.svg
-
69themes/unity2/icons/battery-full-charging-symbolic.svg
-
62themes/unity2/icons/battery-full-symbolic.svg
-
69themes/unity2/icons/battery-good-charging-symbolic.svg
-
62themes/unity2/icons/battery-good-symbolic.svg
-
71themes/unity2/icons/battery-low-charging-symbolic.svg
-
62themes/unity2/icons/battery-low-symbolic.svg
-
69themes/unity2/icons/battery-missing-symbolic.svg
-
12themes/unity2/icons/lock.svg
-
295themes/unity2/icons/mail.svg
-
12themes/unity2/icons/shutdown.svg
-
13themes/unity2/icons/suspend.svg
-
1themes/unity2/icons/system-log-out-symbolic.svg
-
15themes/unity2/icons/volume-high.svg
-
14themes/unity2/icons/volume-low.svg
-
15themes/unity2/icons/volume-medium.svg
-
23themes/unity2/icons/volume-muted.svg
-
127themes/unity2/icons/wallpaper.svg
-
BINthemes/unity2/layouts/cornerne.png
-
BINthemes/unity2/layouts/cornernew.png
-
BINthemes/unity2/layouts/cornernw.png
-
BINthemes/unity2/layouts/cornernww.png
-
BINthemes/unity2/layouts/cornerse.png
-
BINthemes/unity2/layouts/cornersew.png
-
BINthemes/unity2/layouts/cornersw.png
-
BINthemes/unity2/layouts/cornersww.png
-
BINthemes/unity2/layouts/dwindle.png
-
BINthemes/unity2/layouts/dwindlew.png
-
BINthemes/unity2/layouts/fairh.png
-
BINthemes/unity2/layouts/fairhw.png
-
BINthemes/unity2/layouts/fairv.png
-
BINthemes/unity2/layouts/fairvw.png
-
BINthemes/unity2/layouts/floating.png
-
BINthemes/unity2/layouts/floatingw.png
-
BINthemes/unity2/layouts/fullscreen.png
-
BINthemes/unity2/layouts/fullscreenw.png
-
BINthemes/unity2/layouts/magnifier.png
-
BINthemes/unity2/layouts/magnifierw.png
-
BINthemes/unity2/layouts/max.png
-
BINthemes/unity2/layouts/maxw.png
-
BINthemes/unity2/layouts/spiral.png
-
BINthemes/unity2/layouts/spiralw.png
-
BINthemes/unity2/layouts/tile.png
-
BINthemes/unity2/layouts/tilebottom.png
-
BINthemes/unity2/layouts/tilebottomw.png
-
BINthemes/unity2/layouts/tileleft.png
-
BINthemes/unity2/layouts/tileleftw.png
-
BINthemes/unity2/layouts/tiletop.png
-
BINthemes/unity2/layouts/tiletopw.png
-
BINthemes/unity2/layouts/tilew.png
-
117themes/unity2/menu.lua
-
BINthemes/unity2/submenu.png
-
BINthemes/unity2/taglist/squarefw.png
@ -0,0 +1,4 @@ |
|||
This is some configuration examples. |
|||
Simply drop in one of those into the root directory of the config and watch it |
|||
work (hopefully). It should setup the layout and everything required for the |
|||
theme. |
@ -0,0 +1,149 @@ |
|||
local beautiful = require("beautiful") |
|||
local awful = require("awful") |
|||
local gears = require("gears") |
|||
local wibox = require("wibox") |
|||
-- {{{ Wibar |
|||
|
|||
-- Create a wibox for each screen and add it |
|||
|
|||
local function set_wallpaper(s) |
|||
-- Wallpaper |
|||
if beautiful.wallpaper then |
|||
local wallpaper = beautiful.wallpaper |
|||
-- If wallpaper is a function, call it with the screen |
|||
if type(wallpaper) == "function" then |
|||
wallpaper = wallpaper(s) |
|||
end |
|||
gears.wallpaper.maximized(wallpaper, s, true) |
|||
end |
|||
end |
|||
|
|||
-- Re-set wallpaper when a screen's geometry changes (e.g. different resolution) |
|||
screen.connect_signal("property::geometry", set_wallpaper) |
|||
|
|||
-- {{{ Non-widget modules |
|||
-- The following modules are not exactly widgets, however they are part of the ui. |
|||
|
|||
-- Load the keybindings list |
|||
require("core.widgets.hotkeys_popup") |
|||
|
|||
-- Load the menubar |
|||
require("core.widgets.menubar") |
|||
-- }}} |
|||
|
|||
awful.screen.connect_for_each_screen(function(s) |
|||
-- Wallpaper |
|||
set_wallpaper(s) |
|||
|
|||
-- Each screen has its own tag table. |
|||
awful.tag({ "1", "2", "3", "4", "5", "6", "7", "8", "9" }, s, awful.layout.layouts[1]) |
|||
|
|||
-- Create a promptbox for each screen |
|||
s.mypromptbox = require("core.widgets.prompt")() |
|||
require("widgets.stickers")(s) |
|||
-- Create an imagebox widget which will contain an icon indicating which layout we're using. |
|||
-- Create the taglist |
|||
s.mytaglist = require("core.widgets.taglist")(s) |
|||
-- We need one layoutbox per screen. |
|||
s.mylayoutbox = require("core.widgets.layout_box")(s) |
|||
-- Create a tasklist widget |
|||
s.mytasklist = require("core.widgets.tasklist")(s) |
|||
-- Create the wibox |
|||
s.mywibox = awful.wibar({ |
|||
position = "top", |
|||
screen = s, |
|||
bg = beautiful.topbar_bg, |
|||
}) |
|||
-- Add screen lock |
|||
require("widgets.lock")({screen = s, obscure = true}) |
|||
require("widgets.unitybar")(s,{ |
|||
top_widgets = { |
|||
require("widgets.polytasklist")({ |
|||
vertical = true, |
|||
stretch = false, |
|||
--constraint = 180, |
|||
names = false, |
|||
margins = 5 |
|||
})(s), |
|||
}, |
|||
bottom_widgets = { |
|||
require("widgets.polylauncher")({vertical = true}) |
|||
} |
|||
}) |
|||
-- Add widgets to the wibox |
|||
s.mywibox:setup { |
|||
layout = wibox.layout.align.horizontal, |
|||
{ -- Left widgets |
|||
layout = wibox.layout.fixed.horizontal, |
|||
{ |
|||
{ |
|||
require("core.widgets.menu_launcher"), |
|||
widget = wibox.container.place, |
|||
halign = "center" |
|||
}, |
|||
bg = "#26262633", |
|||
widget = wibox.container.background, |
|||
forced_width = require("beautiful.xresources").apply_dpi(61), |
|||
}, |
|||
--require("widgets.polylauncher")({vertical = false}), |
|||
--s.mytaglist, |
|||
s.mypromptbox, |
|||
require("widgets.current_window")({ |
|||
style = { |
|||
icon_bg_normal = beautiful.topbar_bg |
|||
} |
|||
}), |
|||
spacing = 3 |
|||
}, |
|||
-- Middle widget |
|||
{ |
|||
--[[require("widgets.polytasklist")({ |
|||
vertical = false, |
|||
stretch = false, |
|||
constraint = 180, |
|||
names = true, |
|||
margins = 5 |
|||
})(s),]] |
|||
layout = wibox.layout.fixed.horizontal |
|||
}, |
|||
{ -- Right widgets |
|||
layout = wibox.layout.fixed.horizontal, |
|||
awful.widget.keyboardlayout(), |
|||
require("widgets.wallpapers")({ |
|||
screen = s, |
|||
path = os.getenv("HOME").."/Pictures/Wallpapers/", |
|||
style = { |
|||
icon_bg_normal = beautiful.topbar_bg |
|||
} |
|||
}), |
|||
require("widgets.mailbox")({ |
|||
screen = s, |
|||
style = { |
|||
rounding = 1, |
|||
icon_bg_normal = beautiful.topbar_bg |
|||
} |
|||
}), |
|||
--wibox.widget.systray(), |
|||
require("widgets.volume")({ |
|||
style = { |
|||
icon_bg_normal = beautiful.topbar_bg |
|||
} |
|||
}), |
|||
require("widgets.battery")({ |
|||
percentage = true, |
|||
style = { |
|||
icon_bg_normal = beautiful.topbar_bg |
|||
} |
|||
}), |
|||
wibox.widget.textclock(), |
|||
require("widgets.username")({ |
|||
style = { |
|||
icon_bg_normal = beautiful.topbar_bg |
|||
} |
|||
}), |
|||
s.mylayoutbox, |
|||
spacing = 4 |
|||
}, |
|||
} |
|||
end) |
|||
-- }}} |
@ -0,0 +1,127 @@ |
|||
local awful = require("awful") |
|||
local gears = require("gears") |
|||
local wibox = require("wibox") |
|||
local menu = require("widgets.polymenu") |
|||
local move_screentags = {} |
|||
local toggle_screentags = {} |
|||
awful.screen.connect_for_each_screen(function(s) |
|||
local move_tags = {} |
|||
local toggle_tags = {} |
|||
for _,tag in pairs(s.tags) do |
|||
table.insert(move_tags,{ |
|||
tag.name, |
|||
function() |
|||
if client.focus then |
|||
client.focus:tags({tag}) |
|||
end |
|||
end |
|||
}) |
|||
table.insert(toggle_tags,{ |
|||
tag.name, |
|||
function() |
|||
if client.focus then |
|||
local tags = client.focus:tags() |
|||
for k,v in pairs(tags) do |
|||
if v == tag then |
|||
table.remove(tags,k) |
|||
client.focus:tags(tags) |
|||
return |
|||
end |
|||
end |
|||
table.insert(tags,tag) |
|||
client.focus:tags(tags) |
|||
end |
|||
end |
|||
}) |
|||
end |
|||
table.insert(move_screentags,{ |
|||
"Screen "..tostring(s.index), |
|||
move_tags |
|||
}) |
|||
table.insert(toggle_screentags,{ |
|||
"Screen "..tostring(s.index), |
|||
toggle_tags |
|||
}) |
|||
end) |
|||
return function(c) |
|||
local buttons = gears.table.join( |
|||
awful.button({ }, 1, function() |
|||
c:emit_signal("request::activate", "titlebar", {raise = true}) |
|||
awful.mouse.client.move(c) |
|||
end), |
|||
awful.button({ }, 3, function() |
|||
c:emit_signal("request::activate", "titlebar", {raise = true}) |
|||
awful.mouse.client.resize(c) |
|||
end) |
|||
) |
|||
c.menu = menu({ |
|||
before = { |
|||
{ |
|||
awful.titlebar.widget.floatingbutton (c), |
|||
awful.titlebar.widget.stickybutton (c), |
|||
awful.titlebar.widget.ontopbutton (c), |
|||
forced_width = 72, |
|||
forced_height = 24, |
|||
layout = wibox.layout.fixed.horizontal, |
|||
} |
|||
}, |
|||
items = { |
|||
{ "Move to tag" , |
|||
move_screentags |
|||
}, |
|||
{ "Toggle on tag", |
|||
toggle_screentags |
|||
} |
|||
}, |
|||
vertical = true |
|||
}) |
|||
c.menu_button = awful.titlebar.widget.iconwidget(c) |
|||
c.menu_button:connect_signal("button::press", function() |
|||
c.menu.toggle() |
|||
c:emit_signal("request::activate", "titlebar", {raise = true}) |
|||
end) |
|||
c:connect_signal("unfocus",function() |
|||
if c.menu.visible then |
|||
c.menu.toggle(0,0) |
|||
end |
|||
end) |
|||
return awful.titlebar(c) : setup { |
|||
{ -- Left |
|||
c.menu_button, |
|||
{ -- Title |
|||
align = "center", |
|||
widget = awful.titlebar.widget.titlewidget(c), |
|||
buttons = buttons |
|||
}, |
|||
spacing = 10, |
|||
layout = wibox.layout.fixed.horizontal |
|||
}, |
|||
{ -- Middle |
|||
buttons = buttons, |
|||
layout = wibox.layout.flex.horizontal |
|||
}, |
|||
{ -- Right |
|||
{ |
|||
{ |
|||
awful.titlebar.widget.maximizedbutton(c), |
|||
awful.titlebar.widget.minimizebutton (c), |
|||
awful.titlebar.widget.closebutton (c), |
|||
layout = wibox.layout.fixed.horizontal(), |
|||
widget = wibox.container.margin, |
|||
margins = 3 |
|||
}, |
|||
widget = wibox.container.background, |
|||
shape = gears.shape.rounded_bar, |
|||
bg = { |
|||
type = "linear", |
|||
from = { 0, 15 }, |
|||
to = { 0, 0}, |
|||
stops = { { 0, "#5d5d5955"} , {1, "39383555"} } |
|||
}, |
|||
}, |
|||
widget = wibox.container.margin, |
|||
margins = 2 |
|||
}, |
|||
layout = wibox.layout.align.horizontal, |
|||
} |
|||
end |
@ -0,0 +1,31 @@ |
|||
local awful = require("awful") |
|||
local gears = require("gears") |
|||
-- {{{ Variable definitions |
|||
global = {} |
|||
global.awesome_dir = os.getenv("HOME").."/.config/awesome/" |
|||
global.config_dir = os.getenv("HOME").."/.awesome/" |
|||
global.themes_dir = os.getenv("HOME").."/.config/awesome/themes/" |
|||
global.theme = global.awesome_dir .. "themes/unity2/theme.lua" |
|||
global.terminal = "xterm" |
|||
global.editor = os.getenv("EDITOR") or "vim" |
|||
global.editor_cmd = global.terminal .. " -e ".. global.editor |
|||
global.modkey = "Mod4" |
|||
awful.layout.layouts = { |
|||
awful.layout.suit.floating, |
|||
awful.layout.suit.tile, |
|||
awful.layout.suit.tile.left, |
|||
awful.layout.suit.tile.bottom, |
|||
awful.layout.suit.tile.top, |
|||
awful.layout.suit.fair, |
|||
awful.layout.suit.fair.horizontal, |
|||
awful.layout.suit.spiral, |
|||
awful.layout.suit.spiral.dwindle, |
|||
awful.layout.suit.max, |
|||
awful.layout.suit.max.fullscreen, |
|||
awful.layout.suit.magnifier, |
|||
awful.layout.suit.corner.nw, |
|||
-- awful.layout.suit.corner.ne, |
|||
-- awful.layout.suit.corner.sw, |
|||
-- awful.layout.suit.corner.se, |
|||
} |
|||
-- }}} |
@ -0,0 +1,132 @@ |
|||
local beautiful = require("beautiful") |
|||
local awful = require("awful") |
|||
local gears = require("gears") |
|||
local wibox = require("wibox") |
|||
-- {{{ Wibar |
|||
|
|||
-- Create a wibox for each screen and add it |
|||
|
|||
local function set_wallpaper(s) |
|||
-- Wallpaper |
|||
if beautiful.wallpaper then |
|||
local wallpaper = beautiful.wallpaper |
|||
-- If wallpaper is a function, call it with the screen |
|||
if type(wallpaper) == "function" then |
|||
wallpaper = wallpaper(s) |
|||
end |
|||
gears.wallpaper.maximized(wallpaper, s, true) |
|||
end |
|||
end |
|||
|
|||
-- Re-set wallpaper when a screen's geometry changes (e.g. different resolution) |
|||
screen.connect_signal("property::geometry", set_wallpaper) |
|||
|
|||
-- {{{ Non-widget modules |
|||
-- The following modules are not exactly widgets, however they are part of the ui. |
|||
|
|||
-- Load the keybindings list |
|||
require("core.widgets.hotkeys_popup") |
|||
|
|||
-- Load the menubar |
|||
require("core.widgets.menubar") |
|||
-- }}} |
|||
|
|||
awful.screen.connect_for_each_screen(function(s) |
|||
-- Wallpaper |
|||
set_wallpaper(s) |
|||
|
|||
-- Each screen has its own tag table. |
|||
awful.tag({ "1", "2", "3", "4", "5", "6", "7", "8", "9" }, s, awful.layout.layouts[1]) |
|||
|
|||
-- Create a promptbox for each screen |
|||
s.mypromptbox = require("core.widgets.prompt")() |
|||
require("widgets.stickers")(s) |
|||
-- Create an imagebox widget which will contain an icon indicating which layout we're using. |
|||
-- Create the taglist |
|||
s.mytaglist = require("core.widgets.taglist")(s) |
|||
-- We need one layoutbox per screen. |
|||
s.mylayoutbox = require("core.widgets.layout_box")(s) |
|||
-- Create a tasklist widget |
|||
s.mytasklist = require("core.widgets.tasklist")(s) |
|||
-- Create the wibox |
|||
s.mywibox = awful.wibar({ |
|||
position = "top", |
|||
screen = s, |
|||
bg = beautiful.topbar_bg, |
|||
}) |
|||
-- Add screen lock |
|||
require("widgets.lock")({screen = s, obscure = true}) |
|||
require("widgets.unitybar")(s,{ |
|||
top_widgets = { |
|||
require("widgets.polytasklist")({ |
|||
vertical = true, |
|||
stretch = false, |
|||
--constraint = 180, |
|||
names = false, |
|||
margins = 5 |
|||
})(s), |
|||
}, |
|||
bottom_widgets = { |
|||
require("widgets.polylauncher")({vertical = true}) |
|||
} |
|||
}) |
|||
-- Add widgets to the wibox |
|||
s.mywibox:setup { |
|||
layout = wibox.layout.align.horizontal, |
|||
{ -- Left widgets |
|||
layout = wibox.layout.fixed.horizontal, |
|||
require("core.widgets.menu_launcher"), |
|||
--require("widgets.polylauncher")({vertical = false}), |
|||
--s.mytaglist, |
|||
s.mypromptbox, |
|||
require("widgets.current_window")({ |
|||
style = { |
|||
icon_bg_normal = beautiful.topbar_bg |
|||
} |
|||
}), |
|||
spacing = 3 |
|||
}, |
|||
-- Middle widget |
|||
{ |
|||
widget = wibox.container.background |
|||
}, |
|||
{ -- Right widgets |
|||
wibox.widget.textclock(), |
|||
{ |
|||
widget = wibox.container.background, |
|||
forced_width = (math.abs(s.geometry.width/2)-200) |
|||
}, |
|||
layout = wibox.layout.fixed.horizontal, |
|||
awful.widget.keyboardlayout(), |
|||
require("widgets.wallpapers")({ |
|||
screen = s, |
|||
path = os.getenv("HOME").."/Pictures/Wallpapers/", |
|||
style = { |
|||
icon_bg_normal = beautiful.topbar_bg |
|||
} |
|||
}), |
|||
require("widgets.mailbox")({ |
|||
screen = s, |
|||
style = { |
|||
rounding = 1, |
|||
icon_bg_normal = beautiful.topbar_bg |
|||
} |
|||
}), |
|||
--wibox.widget.systray(), |
|||
require("widgets.volume")({ |
|||
style = { |
|||
icon_bg_normal = beautiful.topbar_bg |
|||
} |
|||
}), |
|||
require("widgets.battery")({ |
|||
percentage = false, |
|||
style = { |
|||
icon_bg_normal = beautiful.topbar_bg |
|||
} |
|||
}), |
|||
s.mylayoutbox, |
|||
spacing = 4 |
|||
}, |
|||
} |
|||
end) |
|||
-- }}} |
@ -0,0 +1,111 @@ |
|||
local awful = require("awful") |
|||
local gears = require("gears") |
|||
local wibox = require("wibox") |
|||
local menu = require("widgets.polymenu") |
|||
local move_screentags = {} |
|||
local toggle_screentags = {} |
|||
awful.screen.connect_for_each_screen(function(s) |
|||
local move_tags = {} |
|||
local toggle_tags = {} |
|||
for _,tag in pairs(s.tags) do |
|||
table.insert(move_tags,{ |
|||
tag.name, |
|||
function() |
|||
if client.focus then |
|||
client.focus:tags({tag}) |
|||
end |
|||
end |
|||
}) |
|||
table.insert(toggle_tags,{ |
|||
tag.name, |
|||
function() |
|||
if client.focus then |
|||
local tags = client.focus:tags() |
|||
for k,v in pairs(tags) do |
|||
if v == tag then |
|||
table.remove(tags,k) |
|||
client.focus:tags(tags) |
|||
return |
|||
end |
|||
end |
|||
table.insert(tags,tag) |
|||
client.focus:tags(tags) |
|||
end |
|||
end |
|||
}) |
|||
end |
|||
table.insert(move_screentags,{ |
|||
"Screen "..tostring(s.index), |
|||
move_tags |
|||
}) |
|||
table.insert(toggle_screentags,{ |
|||
"Screen "..tostring(s.index), |
|||
toggle_tags |
|||
}) |
|||
end) |
|||
return function(c) |
|||
local buttons = gears.table.join( |
|||
awful.button({ }, 1, function() |
|||
c:emit_signal("request::activate", "titlebar", {raise = true}) |
|||
awful.mouse.client.move(c) |
|||
end), |
|||
awful.button({ }, 3, function() |
|||
c:emit_signal("request::activate", "titlebar", {raise = true}) |
|||
awful.mouse.client.resize(c) |
|||
end) |
|||
) |
|||
c.menu = menu({ |
|||
before = { |
|||
{ |
|||
awful.titlebar.widget.floatingbutton (c), |
|||
awful.titlebar.widget.stickybutton (c), |
|||
awful.titlebar.widget.ontopbutton (c), |
|||
forced_width = 72, |
|||
forced_height = 24, |
|||
layout = wibox.layout.fixed.horizontal, |
|||
} |
|||
}, |
|||
items = { |
|||
{ "Move to tag" , |
|||
move_screentags |
|||
}, |
|||
{ "Toggle on tag", |
|||
toggle_screentags |
|||
} |
|||
}, |
|||
vertical = true |
|||
}) |
|||
c.menu_button = awful.titlebar.widget.iconwidget(c) |
|||
c.menu_button:connect_signal("button::press", function() |
|||
c.menu.toggle() |
|||
c:emit_signal("request::activate", "titlebar", {raise = true}) |
|||
end) |
|||
c:connect_signal("unfocus",function() |
|||
if c.menu.visible then |
|||
c.menu.toggle(0,0) |
|||
end |
|||
end) |
|||
return awful.titlebar(c) : setup { |
|||
{ -- Left |
|||
c.menu_button, |
|||
{ -- Title |
|||
align = "center", |
|||
widget = awful.titlebar.widget.titlewidget(c), |
|||
buttons = buttons |
|||
}, |
|||
spacing = 10, |
|||
layout = wibox.layout.fixed.horizontal |
|||
}, |
|||
{ -- Middle |
|||
buttons = buttons, |
|||
layout = wibox.layout.flex.horizontal |
|||
}, |
|||
{ -- Right |
|||
awful.titlebar.widget.maximizedbutton(c), |
|||
awful.titlebar.widget.minimizebutton (c), |
|||
awful.titlebar.widget.closebutton (c), |
|||
layout = wibox.layout.fixed.horizontal(), |
|||
}, |
|||
layout = wibox.layout.align.horizontal, |
|||
} |
|||
end |
@ -0,0 +1,31 @@ |
|||
local awful = require("awful") |
|||
local gears = require("gears") |
|||
-- {{{ Variable definitions |
|||
global = {} |
|||
global.awesome_dir = os.getenv("HOME").."/.config/awesome/" |
|||
global.config_dir = os.getenv("HOME").."/.awesome/" |
|||
global.themes_dir = os.getenv("HOME").."/.config/awesome/themes/" |
|||
global.theme = global.awesome_dir .. "themes/unity2/theme.lua" |
|||
global.terminal = "xterm" |
|||
global.editor = os.getenv("EDITOR") or "vim" |
|||
global.editor_cmd = global.terminal .. " -e ".. global.editor |
|||
global.modkey = "Mod4" |
|||
awful.layout.layouts = { |
|||
awful.layout.suit.floating, |
|||
awful.layout.suit.tile, |
|||
awful.layout.suit.tile.left, |
|||
awful.layout.suit.tile.bottom, |
|||
awful.layout.suit.tile.top, |
|||
awful.layout.suit.fair, |
|||
awful.layout.suit.fair.horizontal, |
|||
awful.layout.suit.spiral, |
|||
awful.layout.suit.spiral.dwindle, |
|||
awful.layout.suit.max, |
|||
awful.layout.suit.max.fullscreen, |
|||
awful.layout.suit.magnifier, |
|||
awful.layout.suit.corner.nw, |
|||
-- awful.layout.suit.corner.ne, |
|||
-- awful.layout.suit.corner.sw, |
|||
-- awful.layout.suit.corner.se, |
|||
} |
|||
-- }}} |
1
themes/unity2/Focal_Fossa_Wallpapers/Focal Fossa_orange_RGB.svg
File diff suppressed because it is too large
View File
1
themes/unity2/Focal_Fossa_Wallpapers/Focal Fossa_white_RGB.svg
File diff suppressed because it is too large
View File
After Width: 1920 | Height: 1080 | Size: 305 KiB |
After Width: 1920 | Height: 1080 | Size: 363 KiB |
After Width: 2560 | Height: 1440 | Size: 584 KiB |
After Width: 2560 | Height: 1440 | Size: 623 KiB |
After Width: 4096 | Height: 2304 | Size: 1.5 MiB |
After Width: 4096 | Height: 2304 | Size: 834 KiB |
After Width: 8192 | Height: 4608 | Size: 1.7 MiB |
After Width: 8192 | Height: 4608 | Size: 1.6 MiB |
After Width: 1920 | Height: 1080 | Size: 179 KiB |
After Width: 1920 | Height: 1080 | Size: 404 KiB |
After Width: 2560 | Height: 1440 | Size: 350 KiB |
After Width: 2560 | Height: 1440 | Size: 222 KiB |
After Width: 4096 | Height: 2304 | Size: 1.5 MiB |
After Width: 4096 | Height: 2304 | Size: 909 KiB |
After Width: 8192 | Height: 4608 | Size: 1.8 MiB |
After Width: 8192 | Height: 4608 | Size: 1.8 MiB |
After Width: 1920 | Height: 1080 | Size: 524 KiB |
After Width: 1920 | Height: 1080 | Size: 703 KiB |
After Width: 2560 | Height: 1440 | Size: 879 KiB |
After Width: 2560 | Height: 1440 | Size: 925 KiB |
After Width: 4096 | Height: 2304 | Size: 1.3 MiB |
After Width: 4096 | Height: 2304 | Size: 1.9 MiB |
After Width: 1920 | Height: 1080 | Size: 780 KiB |
After Width: 1920 | Height: 1080 | Size: 703 KiB |
After Width: 2560 | Height: 1440 | Size: 1.0 MiB |
After Width: 2560 | Height: 1440 | Size: 813 KiB |
After Width: 4096 | Height: 2304 | Size: 2.1 MiB |
After Width: 4096 | Height: 2304 | Size: 1.9 MiB |
After Width: 1920 | Height: 1080 | Size: 524 KiB |
@ -0,0 +1,7 @@ |
|||
battery status icons, lock/shutdown/suspend icons, volume status icons were taken from the Breeze icons theme. (https://develop.kde.org/frameworks/breeze-icons/, copyright KDE and licensed under the GNU LGPL version 3 or later) |
|||
|
|||
logout icon is taken from the adwaita project |
|||
|
|||
battery status icons in particular were modified to look somewhat less ugly when recolored to a single color. this was done because the config automatically recolors all icons to the color value of the foreground (text) color. |
|||
|
|||
the author of this config does not claim copyright of any icons present in this folder unless stated otherwise in the icon's license metadata. |
@ -0,0 +1,12 @@ |
|||
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"> |
|||
<defs id="defs1"> |
|||
<style type="text/css" id="current-color-scheme"> |
|||
.ColorScheme-NegativeText { |
|||
color:#da4453; |
|||
} |
|||
.ColorScheme-PositiveText { |
|||
color:#27ae60; |
|||
} |
|||
</style> |
|||
</defs> |
|||
<path style="fill:currentColor;fill-opacity:1;stroke:none" class="ColorScheme-NegativeText" d="M3 4l1 8H2V4zM0 2v12h15v-4h.5c.277 0 .5-.223.5-.5v-3c0-.277-.223-.5-.5-.5H15V2zm1 1h13v10H1z"/><path d="M9 5a3 3 0 0 0-2.826 2H5v2h1.176A3 3 0 0 0 9 11v-1h2V9H9V7h2V6H9z" class="ColorScheme-PositiveText" fill="currentColor"/></svg> |
@ -0,0 +1,9 @@ |
|||
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"> |
|||
<defs id="defs1"> |
|||
<style type="text/css" id="current-color-scheme"> |
|||
.ColorScheme-NegativeText { |
|||
color:#da4453; |
|||
} |
|||
</style> |
|||
</defs> |
|||
<path style="fill:currentColor;fill-opacity:1;stroke:none" class="ColorScheme-NegativeText" d="M3 4l1 8H2V4zM0 2v12h15v-4h.5c.277 0 .5-.223.5-.5v-3c0-.277-.223-.5-.5-.5H15V2zm1 1h13v10H1z"/></svg> |
@ -0,0 +1,12 @@ |
|||
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"> |
|||
<defs id="defs1"> |
|||
<style type="text/css" id="current-color-scheme"> |
|||
.ColorScheme-NegativeText { |
|||
color:#da4453; |
|||
} |
|||
.ColorScheme-PositiveText { |
|||
color:#27ae60; |
|||
} |
|||
</style> |
|||
</defs> |
|||
<path style="fill:currentColor;fill-opacity:1;stroke:none" class="ColorScheme-NegativeText" d="M0 2v12h15v-4h.5c.277 0 .5-.223.5-.5v-3c0-.277-.223-.5-.5-.5H15V2zm1 1h13v10H1z"/><path d="M9 5a3 3 0 0 0-2.826 2H5v2h1.176A3 3 0 0 0 9 11v-1h2V9H9V7h2V6H9z" class="ColorScheme-PositiveText" fill="currentColor"/></svg> |
@ -0,0 +1,9 @@ |
|||
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"> |
|||
<defs id="defs1"> |
|||
<style type="text/css" id="current-color-scheme"> |
|||
.ColorScheme-NegativeText { |
|||
color:#da4453; |
|||
} |
|||
</style> |
|||
</defs> |
|||
<path style="fill:currentColor;fill-opacity:1;stroke:none" class="ColorScheme-NegativeText" d="M0 2v12h15v-4h.5c.277 0 .5-.223.5-.5v-3c0-.277-.223-.5-.5-.5H15V2zm1 1h13v10H1z"/></svg> |
@ -0,0 +1,70 @@ |
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
|||
<svg |
|||
xmlns:dc="http://purl.org/dc/elements/1.1/" |
|||
xmlns:cc="http://creativecommons.org/ns#" |
|||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
|||
xmlns:svg="http://www.w3.org/2000/svg" |
|||
xmlns="http://www.w3.org/2000/svg" |
|||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
|||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |
|||
height="16" |
|||
width="16" |
|||
version="1.1" |
|||
id="svg2037" |
|||
sodipodi:docname="battery-full-charged-symbolic.svg" |
|||
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> |
|||
<metadata |
|||
id="metadata2041"> |
|||
<rdf:RDF> |
|||
<cc:Work |
|||
rdf:about=""> |
|||
<dc:format>image/svg+xml</dc:format> |
|||
<dc:type |
|||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |
|||
</cc:Work> |
|||
</rdf:RDF> |
|||
</metadata> |
|||
<sodipodi:namedview |
|||
pagecolor="#ffffff" |
|||
bordercolor="#666666" |
|||
borderopacity="1" |
|||
objecttolerance="10" |
|||
gridtolerance="10" |
|||
guidetolerance="10" |
|||
inkscape:pageopacity="0" |
|||
inkscape:pageshadow="2" |
|||
inkscape:window-width="1918" |
|||
inkscape:window-height="1036" |
|||
id="namedview2039" |
|||
showgrid="false" |
|||
inkscape:zoom="55.625" |
|||
inkscape:cx="8" |
|||
inkscape:cy="8" |
|||
inkscape:window-x="0" |
|||
inkscape:window-y="0" |
|||
inkscape:window-maximized="1" |
|||
inkscape:current-layer="svg2037" /> |
|||
<defs |
|||
id="defs1"> |
|||
<style |
|||
type="text/css" |
|||
id="current-color-scheme"> |
|||
.ColorScheme-Text { |
|||
color:#232629; |
|||
} |
|||
.ColorScheme-PositiveText { |
|||
color:#27ae60; |
|||
} |
|||
</style> |
|||
</defs> |
|||
<path |
|||
id="path2033" |
|||
style="fill:currentColor;fill-opacity:1;stroke:none" |
|||
d="M 0 2 L 0 14 L 15 14 L 15 10 L 15.5 10 C 15.777 10 16 9.777 16 9.5 L 16 6.5 C 16 6.223 15.777 6 15.5 6 L 15 6 L 15 2 L 0 2 z M 1 3 L 14 3 L 14 13 L 1 13 L 1 3 z M 2 4 L 2 12 L 13 12 L 13 4 L 2 4 z M 9 4.5 L 9.5 4.5 L 9.5 5.5 L 11.5 5.5 L 11.5 7.5 L 9.5 7.5 L 9.5 8.5 L 11.5 8.5 L 11.5 10.5 L 9.5 10.5 L 9.5 11.5 L 9 11.5 C 7.666557 11.498032 6.5431396 10.671338 5.9570312 9.5 L 4.5 9.5 L 4.5 6.5 L 5.9550781 6.5 C 6.5415944 5.3280543 7.6657892 4.5010796 9 4.5 z M 8.5 5.6601562 C 7.6694626 5.8434029 6.9366841 6.3396817 6.6445312 7.1660156 L 6.5273438 7.5 L 5.5 7.5 L 5.5 8.5 L 6.5292969 8.5 L 6.6464844 8.8339844 C 6.9384669 9.6598387 7.6700159 10.156243 8.5 10.339844 L 8.5 9.5 L 8.5 6.5 L 8.5 5.6601562 z " /> |
|||
<path |
|||
d="M9 5a3 3 0 0 0-2.826 2H5v2h1.176A3 3 0 0 0 9 11v-1h2V9H9V7h2V6H9z" |
|||
class="ColorScheme-PositiveText" |
|||
fill="currentColor" |
|||
id="path2035" |
|||
style="fill:#27ae60;stroke:none;stroke-opacity:1;fill-opacity:1" /> |
|||
</svg> |
@ -0,0 +1,69 @@ |
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
|||
<svg |
|||
xmlns:dc="http://purl.org/dc/elements/1.1/" |
|||
xmlns:cc="http://creativecommons.org/ns#" |
|||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
|||
xmlns:svg="http://www.w3.org/2000/svg" |
|||
xmlns="http://www.w3.org/2000/svg" |
|||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
|||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |
|||
height="16" |
|||
width="16" |
|||
version="1.1" |
|||
id="svg942" |
|||
sodipodi:docname="battery-full-charging-symbolic.svg" |
|||
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> |
|||
<metadata |
|||
id="metadata946"> |
|||
<rdf:RDF> |
|||
<cc:Work |
|||
rdf:about=""> |
|||
<dc:format>image/svg+xml</dc:format> |
|||
<dc:type |
|||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |
|||
</cc:Work> |
|||
</rdf:RDF> |
|||
</metadata> |
|||
<sodipodi:namedview |
|||
pagecolor="#ffffff" |
|||
bordercolor="#666666" |
|||
borderopacity="1" |
|||
objecttolerance="10" |
|||
gridtolerance="10" |
|||
guidetolerance="10" |
|||
inkscape:pageopacity="0" |
|||
inkscape:pageshadow="2" |
|||
inkscape:window-width="1918" |
|||
inkscape:window-height="1036" |
|||
id="namedview944" |
|||
showgrid="false" |
|||
inkscape:zoom="48.6875" |
|||
inkscape:cx="8" |
|||
inkscape:cy="8" |
|||
inkscape:window-x="0" |
|||
inkscape:window-y="0" |
|||
inkscape:window-maximized="1" |
|||
inkscape:current-layer="svg942" /> |
|||
<defs |
|||
id="defs1"> |
|||
<style |
|||
type="text/css" |
|||
id="current-color-scheme"> |
|||
.ColorScheme-Text { |
|||
color:#232629; |
|||
} |
|||
.ColorScheme-PositiveText { |
|||
color:#27ae60; |
|||
} |
|||
</style> |
|||
</defs> |
|||
<path |
|||
id="path938" |
|||
style="fill:currentColor;fill-opacity:1;stroke:none" |
|||
d="M 0 2 L 0 14 L 15 14 L 15 10 L 15.5 10 C 15.777 10 16 9.777 16 9.5 L 16 6.5 C 16 6.223 15.777 6 15.5 6 L 15 6 L 15 2 L 0 2 z M 1 3 L 14 3 L 14 13 L 1 13 L 1 3 z M 2 4 L 2 12 L 13 12 L 13 4 L 2 4 z M 9 4.5 L 9.5 4.5 L 9.5 5.5 L 11.5 5.5 L 11.5 7.5 L 9.5 7.5 L 9.5 8.5 L 11.5 8.5 L 11.5 10.5 L 9.5 10.5 L 9.5 11.5 L 9 11.5 C 7.666557 11.498032 6.5431396 10.671338 5.9570312 9.5 L 4.5 9.5 L 4.5 6.5 L 5.9550781 6.5 C 6.5415944 5.3280543 7.6657892 4.5010796 9 4.5 z M 8.5 5.6601562 C 7.6694626 5.8434029 6.9366841 6.3396817 6.6445312 7.1660156 L 6.5273438 7.5 L 5.5 7.5 L 5.5 8.5 L 6.5292969 8.5 L 6.6464844 8.8339844 C 6.9384669 9.6598387 7.6700159 10.156243 8.5 10.339844 L 8.5 9.5 L 8.5 6.5 L 8.5 5.6601562 z " /> |
|||
<path |
|||
d="M9 5a3 3 0 0 0-2.826 2H5v2h1.176A3 3 0 0 0 9 11v-1h2V9H9V7h2V6H9z" |
|||
class="ColorScheme-PositiveText" |
|||
fill="currentColor" |
|||
id="path940" /> |
|||
</svg> |
@ -0,0 +1,62 @@ |
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
|||
<svg |
|||
xmlns:dc="http://purl.org/dc/elements/1.1/" |
|||
xmlns:cc="http://creativecommons.org/ns#" |
|||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
|||
xmlns:svg="http://www.w3.org/2000/svg" |
|||
xmlns="http://www.w3.org/2000/svg" |
|||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
|||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |
|||
height="16" |
|||
width="16" |
|||
version="1.1" |
|||
id="svg1375" |
|||
sodipodi:docname="battery-full-symbolic.svg" |
|||
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> |
|||
<metadata |
|||
id="metadata1379"> |
|||
<rdf:RDF> |
|||
<cc:Work |
|||
rdf:about=""> |
|||
<dc:format>image/svg+xml</dc:format> |
|||
<dc:type |
|||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |
|||
</cc:Work> |
|||
</rdf:RDF> |
|||
</metadata> |
|||
<sodipodi:namedview |
|||
pagecolor="#ffffff" |
|||
bordercolor="#666666" |
|||
borderopacity="1" |
|||
objecttolerance="10" |
|||
gridtolerance="10" |
|||
guidetolerance="10" |
|||
inkscape:pageopacity="0" |
|||
inkscape:pageshadow="2" |
|||
inkscape:window-width="1918" |
|||
inkscape:window-height="1036" |
|||
id="namedview1377" |
|||
showgrid="false" |
|||
inkscape:zoom="55.625" |
|||
inkscape:cx="8" |
|||
inkscape:cy="8" |
|||
inkscape:window-x="0" |
|||
inkscape:window-y="0" |
|||
inkscape:window-maximized="1" |
|||
inkscape:current-layer="svg1375" /> |
|||
<defs |
|||
id="defs1"> |
|||
<style |
|||
type="text/css" |
|||
id="current-color-scheme"> |
|||
.ColorScheme-Text { |
|||
color:#232629; |
|||
} |
|||
</style> |
|||
</defs> |
|||
<path |
|||
style="fill:#000000;fill-opacity:1;stroke:none" |
|||
class="ColorScheme-Text" |
|||
d="M2 4h11v8H2zM0 2v12h15v-4h.5c.277 0 .5-.223.5-.5v-3c0-.277-.223-.5-.5-.5H15V2zm1 1h13v10H1z" |
|||
id="path1373" /> |
|||
</svg> |
@ -0,0 +1,69 @@ |
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
|||
<svg |
|||
xmlns:dc="http://purl.org/dc/elements/1.1/" |
|||
xmlns:cc="http://creativecommons.org/ns#" |
|||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
|||
xmlns:svg="http://www.w3.org/2000/svg" |
|||
xmlns="http://www.w3.org/2000/svg" |
|||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
|||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |
|||
height="16" |
|||
width="16" |
|||
version="1.1" |
|||
id="svg1149" |
|||
sodipodi:docname="battery-good-charging-symbolic.svg" |
|||
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> |
|||
<metadata |
|||
id="metadata1153"> |
|||
<rdf:RDF> |
|||
<cc:Work |
|||
rdf:about=""> |
|||
<dc:format>image/svg+xml</dc:format> |
|||
<dc:type |
|||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |
|||
</cc:Work> |
|||
</rdf:RDF> |
|||
</metadata> |
|||
<sodipodi:namedview |
|||
pagecolor="#ffffff" |
|||
bordercolor="#666666" |
|||
borderopacity="1" |
|||
objecttolerance="10" |
|||
gridtolerance="10" |
|||
guidetolerance="10" |
|||
inkscape:pageopacity="0" |
|||
inkscape:pageshadow="2" |
|||
inkscape:window-width="1918" |
|||
inkscape:window-height="1036" |
|||
id="namedview1151" |
|||
showgrid="false" |
|||
inkscape:zoom="55.625" |
|||
inkscape:cx="8" |
|||
inkscape:cy="8" |
|||
inkscape:window-x="0" |
|||
inkscape:window-y="0" |
|||
inkscape:window-maximized="1" |
|||
inkscape:current-layer="svg1149" /> |
|||
<defs |
|||
id="defs1"> |
|||
<style |
|||
type="text/css" |
|||
id="current-color-scheme"> |
|||
.ColorScheme-Text { |
|||
color:#232629; |
|||
} |
|||
.ColorScheme-PositiveText { |
|||
color:#27ae60; |
|||
} |
|||
</style> |
|||
</defs> |
|||
<path |
|||
id="path1145" |
|||
style="fill:currentColor;fill-opacity:1;stroke:none" |
|||
d="M 0 2 L 0 14 L 15 14 L 15 10 L 15.5 10 C 15.777 10 16 9.777 16 9.5 L 16 6.5 C 16 6.223 15.777 6 15.5 6 L 15 6 L 15 2 L 0 2 z M 1 3 L 14 3 L 14 13 L 1 13 L 1 3 z M 2 4 L 2 12 L 10 12 L 9.8125 10.5 L 9.5 10.5 L 9.5 11.5 L 9 11.5 C 7.666557 11.498032 6.5431396 10.671338 5.9570312 9.5 L 4.5 9.5 L 4.5 6.5 L 5.9550781 6.5 C 6.5415944 5.3280543 7.6657892 4.5010796 9 4.5 L 9.0625 4.5 L 9 4 L 2 4 z M 8.5 5.6601562 C 7.6694626 5.8434029 6.9366841 6.3396817 6.6445312 7.1660156 L 6.5273438 7.5 L 5.5 7.5 L 5.5 8.5 L 6.5292969 8.5 L 6.6464844 8.8339844 C 6.9384669 9.6598387 7.6700159 10.156243 8.5 10.339844 L 8.5 9.5 L 8.5 6.5 L 8.5 5.6601562 z M 9.5 8 L 9.5 8.5 L 9.5625 8.5 L 9.5 8 z " /> |
|||
<path |
|||
d="M9 5a3 3 0 0 0-2.826 2H5v2h1.176A3 3 0 0 0 9 11v-1h2V9H9V7h2V6H9z" |
|||
class="ColorScheme-PositiveText" |
|||
fill="currentColor" |
|||
id="path1147" /> |
|||
</svg> |
@ -0,0 +1,62 @@ |
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
|||
<svg |
|||
xmlns:dc="http://purl.org/dc/elements/1.1/" |
|||
xmlns:cc="http://creativecommons.org/ns#" |
|||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
|||
xmlns:svg="http://www.w3.org/2000/svg" |
|||
xmlns="http://www.w3.org/2000/svg" |
|||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
|||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |
|||
height="16" |
|||
width="16" |
|||
version="1.1" |
|||
id="svg2062" |
|||
sodipodi:docname="battery-good-symbolic.svg" |
|||
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> |
|||
<metadata |
|||
id="metadata2066"> |
|||
<rdf:RDF> |
|||
<cc:Work |
|||
rdf:about=""> |
|||
<dc:format>image/svg+xml</dc:format> |
|||
<dc:type |
|||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |
|||
</cc:Work> |
|||
</rdf:RDF> |
|||
</metadata> |
|||
<sodipodi:namedview |
|||
pagecolor="#ffffff" |
|||
bordercolor="#666666" |
|||
borderopacity="1" |
|||
objecttolerance="10" |
|||
gridtolerance="10" |
|||
guidetolerance="10" |
|||
inkscape:pageopacity="0" |
|||
inkscape:pageshadow="2" |
|||
inkscape:window-width="1918" |
|||
inkscape:window-height="1036" |
|||
id="namedview2064" |
|||
showgrid="false" |
|||
inkscape:zoom="55.625" |
|||
inkscape:cx="8" |
|||
inkscape:cy="8" |
|||
inkscape:window-x="0" |
|||
inkscape:window-y="0" |
|||
inkscape:window-maximized="1" |
|||
inkscape:current-layer="svg2062" /> |
|||
<defs |
|||
id="defs1"> |
|||
<style |
|||
type="text/css" |
|||
id="current-color-scheme"> |
|||
.ColorScheme-Text { |
|||
color:#232629; |
|||
} |
|||
</style> |
|||
</defs> |
|||
<path |
|||
style="fill:#000000;fill-opacity:1;stroke:none" |
|||
class="ColorScheme-Text" |
|||
d="M2 4h7l1 8H2zM0 2v12h15v-4h.5c.277 0 .5-.223.5-.5v-3c0-.277-.223-.5-.5-.5H15V2zm1 1h13v10H1z" |
|||
id="path2060" /> |
|||
</svg> |
@ -0,0 +1,71 @@ |
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
|||
<svg |
|||
xmlns:dc="http://purl.org/dc/elements/1.1/" |
|||
xmlns:cc="http://creativecommons.org/ns#" |
|||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
|||
xmlns:svg="http://www.w3.org/2000/svg" |
|||
xmlns="http://www.w3.org/2000/svg" |
|||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
|||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |
|||
height="16" |
|||
width="16" |
|||
version="1.1" |
|||
id="svg186" |
|||
sodipodi:docname="battery-low-charging-symbolic.svg" |
|||
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> |
|||
<metadata |
|||
id="metadata190"> |
|||
<rdf:RDF> |
|||
<cc:Work |
|||
rdf:about=""> |
|||
<dc:format>image/svg+xml</dc:format> |
|||
<dc:type |
|||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |
|||
</cc:Work> |
|||
</rdf:RDF> |
|||
</metadata> |
|||
<sodipodi:namedview |
|||
pagecolor="#ffffff" |
|||
bordercolor="#666666" |
|||
borderopacity="1" |
|||
objecttolerance="10" |
|||
gridtolerance="10" |
|||
guidetolerance="10" |
|||
inkscape:pageopacity="0" |
|||
inkscape:pageshadow="2" |
|||
inkscape:window-width="1918" |
|||
inkscape:window-height="1036" |
|||
id="namedview188" |
|||
showgrid="false" |
|||
inkscape:zoom="55.625" |
|||
inkscape:cx="4.8629213" |
|||
inkscape:cy="8" |
|||
inkscape:window-x="0" |
|||
inkscape:window-y="0" |
|||
inkscape:window-maximized="1" |
|||
inkscape:current-layer="svg186" |
|||
inkscape:document-rotation="0" /> |
|||
<defs |
|||
id="defs1"> |
|||
<style |
|||
type="text/css" |
|||
id="current-color-scheme"> |
|||
.ColorScheme-Text { |
|||
color:#232629; |
|||
} |
|||
.ColorScheme-PositiveText { |
|||
color:#27ae60; |
|||
} |
|||
</style> |
|||
</defs> |
|||
<path |
|||
id="path182" |
|||
style="fill:currentColor;fill-opacity:1;stroke:none" |
|||
d="M 0 2 L 0 14 L 15 14 L 15 10 L 15.5 10 C 15.777 10 16 9.777 16 9.5 L 16 6.5 C 16 6.223 15.777 6 15.5 6 L 15 6 L 15 2 L 0 2 z M 1 3 L 14 3 L 14 13 L 1 13 L 1 3 z M 2 4 L 2 12 L 7 12 L 6.9023438 11.216797 C 6.3121937 10.79667 5.8272405 10.219642 5.5019531 9.5390625 L 3.8105469 9.5390625 L 3.8105469 6.1386719 L 5.5 6.1386719 C 5.6724011 5.7776582 5.8893752 5.4445919 6.1425781 5.1484375 L 6 4 L 2 4 z M 6.3164062 6.5195312 C 6.2712485 6.6120311 6.2247627 6.704817 6.1894531 6.8046875 L 6.0722656 7.1386719 L 4.8105469 7.1386719 L 4.8105469 8.5390625 L 6.0742188 8.5390625 L 6.1933594 8.8710938 C 6.3129661 9.2093939 6.4966297 9.5009695 6.71875 9.7539062 L 6.3164062 6.5195312 z " /> |
|||
<path |
|||
d="M 9.1101126,4.2382021 A 3.6000002,3.6000001 0 0 0 5.7189123,6.6382022 H 4.3101122 v 2.4000001 h 1.4112001 a 3.6000002,3.6000001 0 0 0 3.3888003,2.3999997 v -1.2 H 11.510112 V 9.0382023 H 9.1101126 V 6.6382022 H 11.510112 V 5.4382021 H 9.1101126 Z" |
|||
class="ColorScheme-PositiveText" |
|||
fill="currentColor" |
|||
id="path184" |
|||
style="color:#27ae60;stroke-width:1.2;stroke-miterlimit:4;stroke-dasharray:none;fill:#44ae60;fill-opacity:1;paint-order:markers fill stroke" /> |
|||
</svg> |
@ -0,0 +1,62 @@ |
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
|||
<svg |
|||
xmlns:dc="http://purl.org/dc/elements/1.1/" |
|||
xmlns:cc="http://creativecommons.org/ns#" |
|||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
|||
xmlns:svg="http://www.w3.org/2000/svg" |
|||
xmlns="http://www.w3.org/2000/svg" |
|||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
|||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |
|||
height="16" |
|||
width="16" |
|||
version="1.1" |
|||
id="svg2762" |
|||
sodipodi:docname="battery-low-symbolic.svg" |
|||
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> |
|||
<metadata |
|||
id="metadata2766"> |
|||
<rdf:RDF> |
|||
<cc:Work |
|||
rdf:about=""> |
|||
<dc:format>image/svg+xml</dc:format> |
|||
<dc:type |
|||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |
|||
</cc:Work> |
|||
</rdf:RDF> |
|||
</metadata> |
|||
<sodipodi:namedview |
|||
pagecolor="#ffffff" |
|||
bordercolor="#666666" |
|||
borderopacity="1" |
|||
objecttolerance="10" |
|||
gridtolerance="10" |
|||
guidetolerance="10" |
|||
inkscape:pageopacity="0" |
|||
inkscape:pageshadow="2" |
|||
inkscape:window-width="1918" |
|||
inkscape:window-height="1036" |
|||
id="namedview2764" |
|||
showgrid="false" |
|||
inkscape:zoom="55.625" |
|||
inkscape:cx="8" |
|||
inkscape:cy="8" |
|||
inkscape:window-x="0" |
|||
inkscape:window-y="0" |
|||
inkscape:window-maximized="1" |
|||
inkscape:current-layer="svg2762" /> |
|||
<defs |
|||
id="defs1"> |
|||
<style |
|||
type="text/css" |
|||
id="current-color-scheme"> |
|||
.ColorScheme-Text { |
|||
color:#232629; |
|||
} |
|||
</style> |
|||
</defs> |
|||
<path |
|||
style="fill:#000000;fill-opacity:1;stroke:none" |
|||
class="ColorScheme-Text" |
|||
d="M2 4h4l1 8H2zM0 2v12h15v-4h.5c.277 0 .5-.223.5-.5v-3c0-.277-.223-.5-.5-.5H15V2zm1 1h13v10H1z" |
|||
id="path2760" /> |
|||
</svg> |
@ -0,0 +1,69 @@ |
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
|||
<svg |
|||
xmlns:dc="http://purl.org/dc/elements/1.1/" |
|||
xmlns:cc="http://creativecommons.org/ns#" |
|||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
|||
xmlns:svg="http://www.w3.org/2000/svg" |
|||
xmlns="http://www.w3.org/2000/svg" |
|||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
|||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |
|||
height="16" |
|||
width="16" |
|||
version="1.1" |
|||
id="svg258" |
|||
sodipodi:docname="battery-missing-symbolic.svg" |
|||
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> |
|||
<metadata |
|||
id="metadata262"> |
|||
<rdf:RDF> |
|||
<cc:Work |
|||
rdf:about=""> |
|||
<dc:format>image/svg+xml</dc:format> |
|||
<dc:type |
|||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |
|||
</cc:Work> |
|||
</rdf:RDF> |
|||
</metadata> |
|||
<sodipodi:namedview |
|||
pagecolor="#ffffff" |
|||
bordercolor="#666666" |
|||
borderopacity="1" |
|||
objecttolerance="10" |
|||
gridtolerance="10" |
|||
guidetolerance="10" |
|||
inkscape:pageopacity="0" |
|||
inkscape:pageshadow="2" |
|||
inkscape:window-width="1026" |
|||
inkscape:window-height="856" |
|||
id="namedview260" |
|||
showgrid="true" |
|||
inkscape:zoom="32" |
|||
inkscape:cx="5.2458034" |
|||
inkscape:cy="7.7083638" |
|||
inkscape:window-x="49" |
|||
inkscape:window-y="143" |
|||
inkscape:window-maximized="0" |
|||
inkscape:current-layer="svg258" |
|||
showguides="true"> |
|||
<inkscape:grid |
|||
type="xygrid" |
|||
id="grid348" /> |
|||
</sodipodi:namedview> |
|||
<defs |
|||
id="defs1"> |
|||
<style |
|||
type="text/css" |
|||
id="current-color-scheme"> |
|||
.ColorScheme-Text { |
|||
color:#232629; |
|||
} |
|||
.ColorScheme-NegativeText { |
|||
color:#da4453; |
|||
} |
|||
</style> |
|||
</defs> |
|||
<path |
|||
id="path252" |
|||
style="fill:currentColor;fill-opacity:1;stroke:none" |
|||
d="M 0 2 L 0 14 L 15 14 L 15 10 L 15.5 10 C 15.777 10 16 9.777 16 9.5 L 16 6.5 C 16 6.223 15.777 6 15.5 6 L 15 6 L 15 2 L 3 2 L 0 2 z M 1 3 L 14 3 L 14 13 L 1 13 L 1 3 z M 2 4 L 2 12 L 13 12 L 13 4 L 2 4 z M 5.4140625 5 L 7.7070312 7.2929688 L 10 5 L 10.707031 5.7070312 L 8.4140625 8 L 10.707031 10.292969 L 10 11 L 7.7070312 8.7070312 L 5.4140625 11 L 4.7070312 10.292969 L 7 8 L 4.7070312 5.7070312 L 5.4140625 5 z " /> |
|||
</svg> |
@ -0,0 +1,12 @@ |
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"> |
|||
<defs id="defs3051"> |
|||
<style type="text/css" id="current-color-scheme"> |
|||
.ColorScheme-Text { |
|||
color:#232629; |
|||
} |
|||
</style> |
|||
</defs> |
|||
<g transform="translate(1,1)"> |
|||
<path style="fill:currentColor;fill-opacity:1;stroke:none" d="M 11 3 C 6.568 3 3 6.568 3 11 C 3 15.432 6.568 19 11 19 C 15.432 19 19 15.432 19 11 C 19 6.568 15.432 3 11 3 z M 11 4 C 14.878 4 18 7.122 18 11 C 18 14.878 14.878 18 11 18 C 7.122 18 4 14.878 4 11 C 4 7.122 7.122 4 11 4 z M 11 6 A 2.0000021 2.0000014 0 0 0 9 8 L 9 10 L 7 10 L 7 15 L 15 15 L 15 10 L 13 10 L 13 8 A 2.0000021 2.0000014 0 0 0 11 6 z M 11 7 A 1 1 0 0 1 12 8 L 12 10 L 10 10 L 10 8 A 1 1 0 0 1 11 7 z M 8 11 L 9 11 L 10 11 L 12 11 L 13 11 L 14 11 L 14 14 L 8 14 L 8 11 z " class="ColorScheme-Text"/> |
|||
</g> |
|||
</svg> |
@ -0,0 +1,295 @@ |
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
|||
<!-- Created with Inkscape (http://www.inkscape.org/) --> |
|||
|
|||
<svg |
|||
width="48" |
|||
height="48" |
|||
viewBox="0 0 12.7 12.7" |
|||
version="1.1" |
|||
id="svg5" |
|||
inkscape:version="1.1 (c68e22c387, 2021-05-23)" |
|||
sodipodi:docname="mail.svg" |
|||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |
|||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
|||
xmlns="http://www.w3.org/2000/svg" |
|||
xmlns:svg="http://www.w3.org/2000/svg" |
|||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
|||
xmlns:cc="http://creativecommons.org/ns#"> |
|||
<sodipodi:namedview |
|||
id="namedview7" |
|||
pagecolor="#ffffff" |
|||
bordercolor="#666666" |
|||
borderopacity="1.0" |
|||
inkscape:pageshadow="2" |
|||
inkscape:pageopacity="0.0" |
|||
inkscape:pagecheckerboard="0" |
|||
inkscape:document-units="mm" |
|||
showgrid="false" |
|||
units="px" |
|||
inkscape:zoom="16" |
|||
inkscape:cx="16.90625" |
|||
inkscape:cy="17.625" |
|||
inkscape:window-width="1861" |
|||
inkscape:window-height="1036" |
|||
inkscape:window-x="57" |
|||
inkscape:window-y="21" |
|||
inkscape:window-maximized="1" |
|||
inkscape:current-layer="layer1" /> |
|||
<defs |
|||
id="defs2"> |
|||
<inkscape:path-effect |
|||
effect="powermask" |
|||
id="path-effect1636" |
|||
is_visible="true" |
|||
lpeversion="1" |
|||
uri="#mask-powermask-path-effect1636" |
|||
invert="false" |
|||
hide_mask="false" |
|||
background="true" |
|||
background_color="#ffffffff" /> |
|||
<inkscape:path-effect |
|||
effect="powermask" |
|||
id="path-effect4593" |
|||
is_visible="true" |
|||
lpeversion="1" |
|||
uri="#mask-powermask-path-effect4593" |
|||
invert="false" |
|||
hide_mask="false" |
|||
background="true" |
|||
background_color="#ffffffff" /> |
|||
<inkscape:path-effect |
|||
effect="powermask" |
|||
id="path-effect2911" |
|||
is_visible="true" |
|||
lpeversion="1" |
|||
uri="#mask-powermask-path-effect2911" |
|||
invert="false" |
|||
hide_mask="false" |
|||
background="true" |
|||
background_color="#ffffffff" /> |
|||
<inkscape:perspective |
|||
sodipodi:type="inkscape:persp3d" |
|||
inkscape:vp_x="0 : 6.35 : 1" |
|||
inkscape:vp_y="0 : 1000 : 0" |
|||
inkscape:vp_z="12.7 : 6.35 : 1" |
|||
inkscape:persp3d-origin="6.35 : 4.2333333 : 1" |
|||
id="perspective1831" /> |
|||
<inkscape:path-effect |
|||
effect="powermask" |
|||
id="path-effect1426" |
|||
is_visible="true" |
|||
lpeversion="1" |
|||
uri="#mask-powermask-path-effect1426" |
|||
invert="false" |
|||
hide_mask="false" |
|||
background="true" |
|||
background_color="#ffffffff" /> |
|||
<mask |
|||
maskUnits="userSpaceOnUse" |
|||
id="mask-powermask-path-effect1426"> |
|||
<g |
|||
id="g1424" |
|||
style=""> |
|||
<rect |
|||
style="fill:#000000;stroke-width:0.211917;paint-order:markers fill stroke" |
|||
id="rect1412" |
|||
width="3.4200001" |
|||
height="0.30000001" |
|||
x="8" |
|||
y="3" /> |
|||
<rect |
|||
style="fill:#000000;stroke-width:0.211917;paint-order:markers fill stroke" |
|||
id="rect1414" |
|||
width="3.4200001" |
|||
height="0.30000001" |
|||
x="8" |
|||
y="3.5" /> |
|||
<rect |
|||
style="fill:#000000;stroke-width:0.165668;paint-order:markers fill stroke" |
|||
id="rect1416" |
|||
width="2.0901213" |
|||
height="0.30000001" |
|||
x="8" |
|||
y="4" /> |
|||
<g |
|||
id="g1422" |
|||
transform="translate(0.37425409,0.82359072)"> |
|||
<rect |
|||
style="fill:#000000;stroke-width:0.280281;paint-order:markers fill stroke" |
|||
id="rect1418" |
|||
width="8" |
|||
height="0.60000002" |
|||
x="0.12422053" |
|||
y="3.3848631" |
|||
transform="rotate(22.288197)" /> |
|||
<rect |
|||
style="fill:#000000;stroke-width:0.280281;paint-order:markers fill stroke" |
|||
id="rect1420" |
|||
width="8" |
|||
height="0.60000002" |
|||
x="2.9901919" |
|||
y="-8.5405416" |
|||
transform="matrix(0.92528787,-0.37926556,-0.37926556,-0.92528787,0,0)" /> |
|||
</g> |
|||
</g> |
|||
</mask> |
|||
<filter |
|||
id="mask-powermask-path-effect1596_inverse" |
|||
inkscape:label="filtermask-powermask-path-effect1596" |
|||
style="color-interpolation-filters:sRGB" |
|||
height="100" |
|||
width="100" |
|||
x="-50" |
|||
y="-50"> |
|||
<feColorMatrix |
|||
id="mask-powermask-path-effect1596_primitive1" |
|||
values="1" |
|||
type="saturate" |
|||
result="fbSourceGraphic" /> |
|||
<feColorMatrix |
|||
id="mask-powermask-path-effect1596_primitive2" |
|||
values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0 " |
|||
in="fbSourceGraphic" /> |
|||
</filter> |
|||
<mask |
|||
maskUnits="userSpaceOnUse" |
|||
id="mask-powermask-path-effect2911"> |
|||
<g |
|||
id="g2909" |
|||
style=""> |
|||
<g |
|||
id="g2903" |
|||
transform="translate(0.0392767,0.898719)"> |
|||
<path |
|||
style="fill:none;stroke:#000000;stroke-width:0.246849px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" |
|||
d="M 2.0575721,3.0272162 6.3107233,5.7803674" |
|||
id="path2899" /> |
|||
<path |
|||
style="display:inline;fill:none;stroke:#000000;stroke-width:0.246848px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" |
|||
d="M 6.3107233,5.7803674 10.563875,3.0272158" |
|||
id="path2901" /> |
|||
</g> |
|||
<path |
|||
style="fill:none;stroke:#000000;stroke-width:0.257994px;stroke-linecap:round;stroke-linejoin:bevel;stroke-opacity:1" |
|||
d="M 6.9110499,6.3222782 9.653056,8.064284" |
|||
id="path2905" /> |
|||
<path |
|||
style="display:inline;fill:none;stroke:#000000;stroke-width:0.257994px;stroke-linecap:round;stroke-linejoin:bevel;stroke-opacity:1" |
|||
d="M 3.0469441,8.0642842 5.7889499,6.3222782" |
|||
id="path2907" /> |
|||
</g> |
|||
</mask> |
|||
<mask |
|||
maskUnits="userSpaceOnUse" |
|||
id="mask-powermask-path-effect4593"> |
|||
<g |
|||
id="g4591" |
|||
style="display:inline;opacity:1"> |
|||
<path |
|||
style="fill:none;stroke:#000000;stroke-width:0.296715px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" |
|||
d="M 1.8370382,3.1020348 5.6640803,5.861039" |
|||
id="path4583" /> |
|||
<path |
|||
style="display:inline;fill:none;stroke:#000000;stroke-width:0.296715px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" |
|||
d="M 5.6640803,5.861039 9.4911222,3.1020348" |
|||
id="path4585" /> |
|||
<path |
|||
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" |
|||
d="M 6.6208408,5.171288 9.4911224,7.2405413" |
|||
id="path4587" /> |
|||
<path |
|||
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" |
|||
d="M 1.8370383,7.2405414 4.7073198,5.1712881" |
|||
id="path4589" /> |
|||
</g> |
|||
</mask> |
|||
<mask |
|||
maskUnits="userSpaceOnUse" |
|||
id="mask-powermask-path-effect1636"> |
|||
<path |
|||
id="mask-powermask-path-effect1636_box" |
|||
style="fill:#ffffff;fill-opacity:1" |
|||
d="M 0.30833316,2.2057128 H 12.39567 V 11.218726 H 0.30833316 Z" /> |
|||
<g |
|||
id="g1634" |
|||
style="display:inline;opacity:1"> |
|||
<path |
|||
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" |
|||
d="M 1.6927236,3.5901471 6.3520016,8.249957" |
|||
id="path1626" /> |
|||
<path |
|||
style="display:inline;fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" |
|||
d="M 6.3520016,8.249957 11.01128,3.5901471" |
|||
id="path1628" /> |
|||
<path |
|||
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" |
|||
d="M 7.8895634,6.7122197 11.01128,9.8342921" |
|||
id="path1630" /> |
|||
<path |
|||
style="display:inline;fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" |
|||
d="M 1.6927232,9.8342917 4.8144398,6.7122197" |
|||
id="path1632" /> |
|||
</g> |
|||
</mask> |
|||
<filter |
|||
id="mask-powermask-path-effect1636_inverse" |
|||
inkscape:label="filtermask-powermask-path-effect1636" |
|||
style="color-interpolation-filters:sRGB" |
|||
height="100" |
|||
width="100" |
|||
x="-50" |
|||
y="-50"> |
|||
<feColorMatrix |
|||
id="mask-powermask-path-effect1636_primitive1" |
|||
values="1" |
|||
type="saturate" |
|||
result="fbSourceGraphic" /> |
|||
<feColorMatrix |
|||
id="mask-powermask-path-effect1636_primitive2" |
|||
values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0 " |
|||
in="fbSourceGraphic" /> |
|||
</filter> |
|||
</defs> |
|||
<g |
|||
inkscape:label="Layer 1" |
|||
inkscape:groupmode="layer" |
|||
id="layer1" |
|||
style="display:inline;opacity:1"> |
|||
<path |
|||
style="display:inline;fill:#000000;stroke-width:0.499999;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers fill stroke" |
|||
id="rect1371" |
|||
width="10.087337" |
|||
height="7.0130129" |
|||
x="1.3083332" |
|||
y="3.2057128" |
|||
mask="url(#mask-powermask-path-effect1636)" |
|||
inkscape:path-effect="#path-effect1636" |
|||
d="M 1.3083332,3.2057128 H 11.39567 V 10.218726 H 1.3083332 Z" |
|||
sodipodi:type="rect" |
|||
transform="translate(-0.00200143,-0.36221924)" /> |
|||
</g> |
|||
<g |
|||
inkscape:groupmode="layer" |
|||
id="layer2" |
|||
inkscape:label="Layer 2" |
|||
style="display:inline" /> |
|||
<metadata |
|||
id="metadata1469"> |
|||
<rdf:RDF> |
|||
<cc:Work |
|||
rdf:about=""> |
|||
<cc:license |
|||
rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/" /> |
|||
</cc:Work> |
|||
<cc:License |
|||
rdf:about="http://creativecommons.org/publicdomain/zero/1.0/"> |
|||
<cc:permits |
|||
rdf:resource="http://creativecommons.org/ns#Reproduction" /> |
|||
<cc:permits |
|||
rdf:resource="http://creativecommons.org/ns#Distribution" /> |
|||
<cc:permits |
|||
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> |
|||
</cc:License> |
|||
</rdf:RDF> |
|||
</metadata> |
|||
</svg> |
@ -0,0 +1,12 @@ |
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"> |
|||
<defs id="defs3051"> |
|||
<style type="text/css" id="current-color-scheme"> |
|||
.ColorScheme-Text { |
|||
color:#232629; |
|||
} |
|||
</style> |
|||
</defs> |
|||
<g transform="translate(1,1)"> |
|||
<path style="fill:currentColor;fill-opacity:1;stroke:none" d="M 10 3 L 10 10 L 12 10 L 12 3 L 10 3 z M 9 3.265625 C 5.5444518 4.1502188 3 7.2610109 3 11 C 3 15.432 6.568 19 11 19 C 15.432 19 19 15.432 19 11 C 19 7.2610109 16.455548 4.1502188 13 3.265625 L 13 4.3027344 C 15.895041 5.15992 18 7.819625 18 11 C 18 14.878 14.878 18 11 18 C 7.122 18 4 14.878 4 11 C 4 7.819625 6.1049587 5.15992 9 4.3027344 L 9 3.265625 z " class="ColorScheme-Text"/> |
|||
</g> |
|||
</svg> |
@ -0,0 +1,13 @@ |
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"> |
|||
<style type="text/css" id="current-color-scheme"> |
|||
.ColorScheme-Text { |
|||
color:#232629; |
|||
} |
|||
</style> |
|||
<g transform="translate(1,1)"> |
|||
<g class="ColorScheme-Text" fill="currentColor"> |
|||
<path d="M7.047 4.049A7.995 8 0 0 0 3 11a7.995 8 0 0 0 7.994 8 7.995 8 0 0 0 6.938-4.043 7.995 8 0 0 0 .01-.006l-.739-.738a6.996 7 0 0 1-.004.006 6.996 7 0 0 1-3.207.781 6.996 7 0 0 1-6.994-7 6.996 7 0 0 1 .785-3.213zM6.303 5.82A7.995 8 0 0 0 5.998 8a7.995 8 0 0 0 7.994 8 7.995 8 0 0 0 2.188-.313A6.996 7 0 0 1 10.994 18 6.996 7 0 0 1 4 11a6.996 7 0 0 1 2.303-5.18z"/> |
|||
<path d="M10 6v1h2.293l-2 2-.293.293V10h4V9h-2.293l2-2L14 6.707V6h-.707zm5-3v1h2.293l-2 2-.293.293V7h4V6h-2.293l2-2L19 3.707V3h-.707z"/> |
|||
</g> |
|||
</g> |
|||
</svg> |
@ -0,0 +1 @@ |
|||
<svg xmlns="http://www.w3.org/2000/svg" width="16.014" height="16"><g color="#000" fill="#2e3436"><path d="M4 1s-.459-.014-.947.23C2.564 1.475 2 2.167 2 3v10c0 .833.564 1.525 1.053 1.77.488.244.947.23.947.23h8c.833 0 1.525-.564 1.77-1.053.244-.488.23-.947.23-.947v-2a1 1 0 10-2 0v2H4V3h8v2a1 1 0 102 0V3c0-.833-.564-1.525-1.053-1.77C12.46.986 12 1 12 1z" style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal" font-weight="400" font-family="sans-serif" overflow="visible" fill-rule="evenodd"/><path d="M8.293 5.293L5.586 8l2.707 2.707 1.414-1.414L8.414 8l1.293-1.293z" style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal;marker:none" font-weight="400" font-family="sans-serif" overflow="visible"/><path d="M9 10h1v1H9zm0-5h1v1H9z" style="marker:none" overflow="visible"/><path d="M9 5c.554 0 1 .446 1 1s-.446 1-1 1-1-.446-1-1 .446-1 1-1zm0 4c.554 0 1 .446 1 1s-.446 1-1 1-1-.446-1-1 .446-1 1-1z" style="marker:none" overflow="visible"/><path d="M8 7a1 1 0 100 2h7a1 1 0 100-2z" style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal" font-weight="400" font-family="sans-serif" overflow="visible" fill-rule="evenodd"/></g></svg> |
@ -0,0 +1,15 @@ |
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"> |
|||
<style id="current-color-scheme" type="text/css"> |
|||
.ColorScheme-Text { |
|||
color:#232629; |
|||
} |
|||
</style> |
|||
<g transform="translate(1,1)"> |
|||
<g class="ColorScheme-Text" fill="currentColor"> |
|||
<path d="m14.324219 7.28125-.539063.8613281a4 4 0 0 1 1.214844 2.8574219 4 4 0 0 1 -1.210938 2.861328l.539063.863281a5 5 0 0 0 1.671875-3.724609 5 5 0 0 0 -1.675781-3.71875z"/> |
|||
<path d="m13.865234 3.5371094-.24414.9765625a7 7 0 0 1 4.378906 6.4863281 7 7 0 0 1 -4.380859 6.478516l.24414.974609a8 8 0 0 0 5.136719-7.453125 8 8 0 0 0 -5.134766-7.4628906z"/> |
|||
<path d="m3 8h2v6h-2z" fill-rule="evenodd"/> |
|||
<path d="m6 14 5 5h1v-16h-1l-5 5z"/> |
|||
</g> |
|||
</g> |
|||
</svg> |
@ -0,0 +1,14 @@ |
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"> |
|||
<style id="current-color-scheme" type="text/css"> |
|||
.ColorScheme-Text { |
|||
color:#232629; |
|||
} |
|||
</style> |
|||
<g transform="translate(1,1)"> |
|||
<g class="ColorScheme-Text" fill="currentColor"> |
|||
<path d="m13.865234 3.5371094-.24414.9765625a7 7 0 0 1 4.378906 6.4863281 7 7 0 0 1 -4.380859 6.478516l.24414.974609a8 8 0 0 0 5.136719-7.453125 8 8 0 0 0 -5.134766-7.4628906zm.458985 3.7441406-.539063.8613281a4 4 0 0 1 1.214844 2.8574219 4 4 0 0 1 -1.210938 2.861328l.539063.863281a5 5 0 0 0 1.671875-3.724609 5 5 0 0 0 -1.675781-3.71875z" fill-opacity=".35"/> |
|||
<path d="m3 8h2v6h-2z" fill-rule="evenodd"/> |
|||
<path d="m6 14 5 5h1v-16h-1l-5 5z"/> |
|||
</g> |
|||
</g> |
|||
</svg> |
@ -0,0 +1,15 @@ |
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"> |
|||
<style id="current-color-scheme" type="text/css"> |
|||
.ColorScheme-Text { |
|||
color:#232629; |
|||
} |
|||
</style> |
|||
<g transform="translate(1,1)"> |
|||
<g class="ColorScheme-Text" fill="currentColor"> |
|||
<path d="m14.324219 7.28125-.539063.8613281a4 4 0 0 1 1.214844 2.8574219 4 4 0 0 1 -1.210938 2.861328l.539063.863281a5 5 0 0 0 1.671875-3.724609 5 5 0 0 0 -1.675781-3.71875z"/> |
|||
<path d="m13.865234 3.5371094-.24414.9765625a7 7 0 0 1 4.378906 6.4863281 7 7 0 0 1 -4.380859 6.478516l.24414.974609a8 8 0 0 0 5.136719-7.453125 8 8 0 0 0 -5.134766-7.4628906z" fill-opacity=".35"/> |
|||
<path d="m3.0000005 8h2v6h-2z" fill-rule="evenodd"/> |
|||
<path d="m6.0000005 14 5.0000005 5h.999999v-16h-1l-4.9999995 5z"/> |
|||
</g> |
|||
</g> |
|||
</svg> |
@ -0,0 +1,23 @@ |
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"> |
|||
<style id="current-color-scheme" type="text/css"> |
|||
.ColorScheme-Text { |
|||
color:#232629; |
|||
} |
|||
.ColorScheme-NegativeText { |
|||
color:#da4453; |
|||
} |
|||
</style> |
|||
<g transform="translate(1,1)"> |
|||
<g class="ColorScheme-Text" fill="currentColor"> |
|||
<path d="m3 8v6h2v-6z"/> |
|||
<path d="m6 8v6l5 5h1v-5z"/> |
|||
<path d="m11 3-3 3 4 4v-7z"/> |
|||
<g opacity=".35"> |
|||
<path d="m14.832031 16.832031a7 7 0 0 1 -1.21289.646485l.24414.974609a8 8 0 0 0 1.681641-.908203z"/> |
|||
<path d="m14.324219 7.28125-.539063.8613281a4 4 0 0 1 1.214844 2.8574219 4 4 0 0 1 -.371094 1.628906l.75.75a5 5 0 0 0 .621094-2.378906 5 5 0 0 0 -1.675781-3.71875z"/> |
|||
<path d="m13.865234 3.5371094-.24414.9765625a7 7 0 0 1 4.378906 6.4863281 7 7 0 0 1 -1.166016 3.833984l.716797.716797a8 8 0 0 0 1.449219-4.550781 8 8 0 0 0 -5.134766-7.4628906z"/> |
|||
</g> |
|||
</g> |
|||
<path d="m-.50000006 4.7426407 1-.0000001v21.6274174h-1z" class="ColorScheme-NegativeText" fill="currentColor" transform="matrix(.70710678 -.70710678 .70710678 .70710678 0 0)"/> |
|||
</g> |
|||
</svg> |
@ -0,0 +1,127 @@ |
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
|||
<!-- Created with Inkscape (http://www.inkscape.org/) --> |
|||
|
|||
<svg |
|||
width="48" |
|||
height="48" |
|||
viewBox="0 0 12.7 12.7" |
|||
version="1.1" |
|||
id="svg5" |
|||
inkscape:version="1.1 (c68e22c387, 2021-05-23)" |
|||
sodipodi:docname="wallpaper.svg" |
|||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |
|||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
|||
xmlns="http://www.w3.org/2000/svg" |
|||
xmlns:svg="http://www.w3.org/2000/svg" |
|||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
|||
xmlns:cc="http://creativecommons.org/ns#"> |
|||
<sodipodi:namedview |
|||
id="namedview7" |
|||
pagecolor="#ffffff" |
|||
bordercolor="#666666" |
|||
borderopacity="1.0" |
|||
inkscape:pageshadow="2" |
|||
inkscape:pageopacity="0.0" |
|||
inkscape:pagecheckerboard="0" |
|||
inkscape:document-units="mm" |
|||
showgrid="false" |
|||
units="px" |
|||
inkscape:zoom="8.7887579" |
|||
inkscape:cx="13.028007" |
|||
inkscape:cy="33.224262" |
|||
inkscape:window-width="1861" |
|||
inkscape:window-height="1036" |
|||
inkscape:window-x="57" |
|||
inkscape:window-y="21" |
|||
inkscape:window-maximized="1" |
|||
inkscape:current-layer="layer1" /> |
|||
<defs |
|||
id="defs2"> |
|||
<inkscape:path-effect |
|||
effect="powermask" |
|||
id="path-effect1223" |
|||
is_visible="true" |
|||
lpeversion="1" |
|||
uri="#mask-powermask-path-effect1223" |
|||
invert="false" |
|||
hide_mask="false" |
|||
background="true" |
|||
background_color="#ffffffff" /> |
|||
<mask |
|||
maskUnits="userSpaceOnUse" |
|||
id="mask-powermask-path-effect1223"> |
|||
<path |
|||
id="mask-powermask-path-effect1223_box" |
|||
style="fill:#ffffff;fill-opacity:1" |
|||
d="M -0.65000001,1.0999999 H 13.35 V 11.6 H -0.65000001 Z" /> |
|||
<g |
|||
id="g1221" |
|||
style=""> |
|||
<path |
|||
style="fill:none;stroke:#000000;stroke-width:0.565;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" |
|||
d="m 0.0949415,6.9698846 c 0,0 2.8336941,-3.6936048 6.2996354,-0.063817 C 9.860518,10.535855 12.596156,6.5435112 12.596156,6.5435112" |
|||
id="path1217" /> |
|||
<circle |
|||
style="fill:#000000;stroke-width:0.564999;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers fill stroke" |
|||
id="circle1219" |
|||
cx="9.5882559" |
|||
cy="3.6883583" |
|||
r="1.2" |
|||
d="M 10.788256,3.6883583 A 1.2,1.2 0 0 1 9.5882559,4.8883584 1.2,1.2 0 0 1 8.3882558,3.6883583 a 1.2,1.2 0 0 1 1.2000001,-1.2 1.2,1.2 0 0 1 1.2000001,1.2 z" /> |
|||
</g> |
|||
</mask> |
|||
<filter |
|||
id="mask-powermask-path-effect1223_inverse" |
|||
inkscape:label="filtermask-powermask-path-effect1223" |
|||
style="color-interpolation-filters:sRGB" |
|||
height="100" |
|||
width="100" |
|||
x="-50" |
|||
y="-50"> |
|||
<feColorMatrix |
|||
id="mask-powermask-path-effect1223_primitive1" |
|||
values="1" |
|||
type="saturate" |
|||
result="fbSourceGraphic" /> |
|||
<feColorMatrix |
|||
id="mask-powermask-path-effect1223_primitive2" |
|||
values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0 " |
|||
in="fbSourceGraphic" /> |
|||
</filter> |
|||
</defs> |
|||
<g |
|||
inkscape:label="Layer 1" |
|||
inkscape:groupmode="layer" |
|||
id="layer1"> |
|||
<path |
|||
style="fill:#000000;stroke-width:0.358658;paint-order:markers fill stroke" |
|||
id="rect910" |
|||
width="12" |
|||
height="8.5" |
|||
x="0.34999999" |
|||
y="2.0999999" |
|||
mask="url(#mask-powermask-path-effect1223)" |
|||
inkscape:path-effect="#path-effect1223" |
|||
d="M 0.34999999,2.0999999 H 12.35 V 10.6 H 0.34999999 Z" |
|||
sodipodi:type="rect" /> |
|||
</g> |
|||
<metadata |
|||
id="metadata886"> |
|||
<rdf:RDF> |
|||
<cc:Work |
|||
rdf:about=""> |
|||
<cc:license |
|||
rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/" /> |
|||
</cc:Work> |
|||
<cc:License |
|||
rdf:about="http://creativecommons.org/publicdomain/zero/1.0/"> |
|||
<cc:permits |
|||
rdf:resource="http://creativecommons.org/ns#Reproduction" /> |
|||
<cc:permits |
|||
rdf:resource="http://creativecommons.org/ns#Distribution" /> |
|||
<cc:permits |
|||
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> |
|||
</cc:License> |
|||
</rdf:RDF> |
|||
</metadata> |
|||
</svg> |
After Width: 64 | Height: 64 | Size: 272 B |
After Width: 64 | Height: 64 | Size: 272 B |
After Width: 64 | Height: 64 | Size: 263 B |
After Width: 64 | Height: 64 | Size: 264 B |
After Width: 64 | Height: 64 | Size: 264 B |
After Width: 64 | Height: 64 | Size: 264 B |
After Width: 64 | Height: 64 | Size: 263 B |
After Width: 64 | Height: 64 | Size: 264 B |
After Width: 64 | Height: 64 | Size: 320 B |
After Width: 64 | Height: 64 | Size: 320 B |
After Width: 64 | Height: 64 | Size: 245 B |
After Width: 64 | Height: 64 | Size: 245 B |
After Width: 64 | Height: 64 | Size: 246 B |
After Width: 64 | Height: 64 | Size: 246 B |
After Width: 64 | Height: 64 | Size: 282 B |
After Width: 64 | Height: 64 | Size: 282 B |
After Width: 64 | Height: 64 | Size: 866 B |
After Width: 64 | Height: 64 | Size: 865 B |
After Width: 64 | Height: 64 | Size: 345 B |
After Width: 64 | Height: 64 | Size: 345 B |
After Width: 64 | Height: 64 | Size: 574 B |
After Width: 64 | Height: 64 | Size: 581 B |
After Width: 64 | Height: 64 | Size: 328 B |
After Width: 64 | Height: 64 | Size: 328 B |
After Width: 64 | Height: 64 | Size: 265 B |
After Width: 64 | Height: 64 | Size: 264 B |
After Width: 64 | Height: 64 | Size: 264 B |
After Width: 64 | Height: 64 | Size: 266 B |
After Width: 64 | Height: 64 | Size: 266 B |
After Width: 56 | Height: 56 | Size: 260 B |
After Width: 64 | Height: 64 | Size: 265 B |
After Width: 64 | Height: 64 | Size: 265 B |
@ -0,0 +1,117 @@ |
|||
local temp = io.open(os.getenv("HOME").."/.config/awesome/file.lua","r") |
|||
local filehelper = loadstring(temp:read("*a"))() |
|||
temp:close() |
|||
--get a giant list of xdg data |
|||
log = function(...) |
|||
local params = {} |
|||
for k,v in pairs({...}) do |
|||
params[#params+1] = tostring(v) |
|||
end |
|||
local str = table.concat(params," ") |
|||
filehelper.write("./awesome_log",filehelper.read("./awesome_log").."\n"..str) |
|||
end |
|||
local function parse_xdg() |
|||
local output = {} |
|||
local temp = io.popen("find /usr/share/applications","r") |
|||
local file_table = temp:read("*a") |
|||
temp:close() |
|||
local temp = io.popen("find "..os.getenv("HOME").."/.local/share/applications","r") |
|||
file_table = file_table.."\n"..temp:read("*a") |
|||
temp:close() |
|||
local lines = {} |
|||
file_table:gsub("[^\n]+",function(capt) lines[#lines+1] = capt end) |
|||
for k,v in pairs(lines) do |
|||
local data = filehelper.read(v,"*a") |
|||
--check if its an app, if it has a name, and if it's even readable. |
|||
if data and data:match("Type=([^\n]+)") and data:match("Type=([^\n]+)") == "Application" and data:match("Name=([^\n]+)") then |
|||
--get the tags |
|||
local tags = data:match("Categories=([^\n]+)") |
|||
local categories = {} |
|||
if tags then |
|||
tags:gsub("[^;]+",function(capt) categories[#categories+1] = capt:match("%w+") end) |
|||
end |
|||
--remove a bunch of useless category extensions |
|||
while true do |
|||
local occurences = 0 |
|||
local whitelist = { |
|||
Network = true, |
|||
Game = true, |
|||
Education = true, |
|||
Development = true, |
|||
Graphics = true, |
|||
Utility = true, |
|||
System = true, |
|||
AudioVideo = true, |
|||
Office = true, |
|||
Settings = true, |
|||
} |
|||
for k,v in pairs(categories) do |
|||
if not whitelist[v] then |
|||
table.remove(categories,k) |
|||
occurences = occurences + 1 |
|||
end |
|||
end |
|||
if occurences == 0 then |
|||
break |
|||
end |
|||
end |
|||
--add this to the end so it'll be detected like a path. |
|||
categories[#categories+1]=data:match("Name=([^\n]+)") |
|||
output[#output+1] = {data:match("Exec=([^\n%%]+)"),categories = categories} |
|||
end |
|||
end |
|||
return output |
|||
end |
|||
|
|||
--fuck |
|||
local function sort_by_categories(input) |
|||
local output = {} |
|||
assert(type(input) == "table") |
|||
for k,v in pairs(input) do |
|||
local categories = v.categories |
|||
local function sort(tab,list,value) |
|||
local found = nil |
|||
for k,v in pairs(tab) do |
|||
if v[1] == list[1] then |
|||
found = v |
|||
end |
|||
end |
|||
if not found then |
|||
if list[2] then |
|||
tab[#tab+1] = {list[1],{}} |
|||
found = tab[#tab] |
|||
elseif list[1] then |
|||
tab[#tab+1] = {list[1],value} |
|||
found = tab[#tab] |
|||
end |
|||
end |
|||
if list[2] then |
|||
table.remove(list,1) |
|||
found[2] = sort(found[2],list,value) |
|||
end |
|||
return tab |
|||
end |
|||
output = sort(output,categories,v[1]) |
|||
end |
|||
return output |
|||
end |
|||
|
|||
local function sort_untagged(input) |
|||
local output = input |
|||
local other = {} |
|||
for k,v in pairs(input) do |
|||
log(k,v[1],v[2]) |
|||
if type(v[2]) == "string" then |
|||
other[#other+1] = {v[1],v[2]} |
|||
output[k] = nil |
|||
end |
|||
end |
|||
local new_output = {} |
|||
for k,v in pairs(output) do |
|||
new_output[#new_output+1] = v |
|||
end |
|||
new_output[#new_output+1] = {"Other",other} |
|||
return new_output |
|||
end |
|||
|
|||
return sort_untagged(sort_by_categories(parse_xdg())) |
After Width: 25 | Height: 25 | Size: 440 B |
After Width: 8 | Height: 32 | Size: 187 B |