diff --git a/core/layout.lua b/core/layout.lua index 191e1a0..d7c8bd3 100644 --- a/core/layout.lua +++ b/core/layout.lua @@ -75,16 +75,7 @@ awful.screen.connect_for_each_screen(function(s) 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("core.widgets.menu_launcher"), --require("widgets.polylauncher")({vertical = false}), --s.mytaglist, s.mypromptbox, @@ -97,16 +88,14 @@ awful.screen.connect_for_each_screen(function(s) }, -- Middle widget { - --[[require("widgets.polytasklist")({ - vertical = false, - stretch = false, - constraint = 180, - names = true, - margins = 5 - })(s),]] - layout = wibox.layout.fixed.horizontal + 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")({ @@ -130,13 +119,7 @@ awful.screen.connect_for_each_screen(function(s) } }), require("widgets.battery")({ - percentage = true, - style = { - icon_bg_normal = beautiful.topbar_bg - } - }), - wibox.widget.textclock(), - require("widgets.username")({ + percentage = false, style = { icon_bg_normal = beautiful.topbar_bg } diff --git a/core/titlebar.lua b/core/titlebar.lua index d7d7f2d..e1ec92c 100644 --- a/core/titlebar.lua +++ b/core/titlebar.lua @@ -101,26 +101,10 @@ return function(c) 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 + 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, } diff --git a/core/vars.lua b/core/vars.lua index 9c6ef06..d7bc1cb 100644 --- a/core/vars.lua +++ b/core/vars.lua @@ -5,7 +5,7 @@ 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/unity/theme.lua" +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 diff --git a/presets/README.txt b/presets/README.txt new file mode 100644 index 0000000..5c37042 --- /dev/null +++ b/presets/README.txt @@ -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. diff --git a/presets/ubuntu-11.10/core/layout.lua b/presets/ubuntu-11.10/core/layout.lua new file mode 100644 index 0000000..191e1a0 --- /dev/null +++ b/presets/ubuntu-11.10/core/layout.lua @@ -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) +-- }}} diff --git a/presets/ubuntu-11.10/core/titlebar.lua b/presets/ubuntu-11.10/core/titlebar.lua new file mode 100644 index 0000000..d7d7f2d --- /dev/null +++ b/presets/ubuntu-11.10/core/titlebar.lua @@ -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 diff --git a/presets/ubuntu-11.10/core/vars.lua b/presets/ubuntu-11.10/core/vars.lua new file mode 100644 index 0000000..d7bc1cb --- /dev/null +++ b/presets/ubuntu-11.10/core/vars.lua @@ -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, +} +-- }}} diff --git a/presets/ubuntu-20.04/core/layout.lua b/presets/ubuntu-20.04/core/layout.lua new file mode 100644 index 0000000..d7c8bd3 --- /dev/null +++ b/presets/ubuntu-20.04/core/layout.lua @@ -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) +-- }}} diff --git a/presets/ubuntu-20.04/core/titlebar.lua b/presets/ubuntu-20.04/core/titlebar.lua new file mode 100644 index 0000000..e1ec92c --- /dev/null +++ b/presets/ubuntu-20.04/core/titlebar.lua @@ -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 diff --git a/presets/ubuntu-20.04/core/vars.lua b/presets/ubuntu-20.04/core/vars.lua new file mode 100644 index 0000000..d7bc1cb --- /dev/null +++ b/presets/ubuntu-20.04/core/vars.lua @@ -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, +} +-- }}} diff --git a/themes/unity2/Focal_Fossa_Wallpapers/Focal Fossa_orange_RGB.svg b/themes/unity2/Focal_Fossa_Wallpapers/Focal Fossa_orange_RGB.svg new file mode 100644 index 0000000..2ea2468 --- /dev/null +++ b/themes/unity2/Focal_Fossa_Wallpapers/Focal Fossa_orange_RGB.svg @@ -0,0 +1 @@ +Artboard 1 \ No newline at end of file diff --git a/themes/unity2/Focal_Fossa_Wallpapers/Focal Fossa_white_RGB.svg b/themes/unity2/Focal_Fossa_Wallpapers/Focal Fossa_white_RGB.svg new file mode 100644 index 0000000..db242ec --- /dev/null +++ b/themes/unity2/Focal_Fossa_Wallpapers/Focal Fossa_white_RGB.svg @@ -0,0 +1 @@ +Artboard 1 \ No newline at end of file diff --git a/themes/unity2/Focal_Fossa_Wallpapers/JPG/.DS_Store b/themes/unity2/Focal_Fossa_Wallpapers/JPG/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/JPG/.DS_Store differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_1920x1080.jpg b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_1920x1080.jpg new file mode 100644 index 0000000..deebd59 Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_1920x1080.jpg differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_1920x1080_GREY.jpg b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_1920x1080_GREY.jpg new file mode 100644 index 0000000..e8128ce Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_1920x1080_GREY.jpg differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_2560x1440.jpg b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_2560x1440.jpg new file mode 100644 index 0000000..9e032d5 Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_2560x1440.jpg differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_2560x1440_GREY.jpg b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_2560x1440_GREY.jpg new file mode 100644 index 0000000..3c62cd7 Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_2560x1440_GREY.jpg differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_4096x2304.jpg b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_4096x2304.jpg new file mode 100644 index 0000000..3ca217f Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_4096x2304.jpg differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_4096x2304_GREY.jpg b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_4096x2304_GREY.jpg new file mode 100644 index 0000000..706e90f Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_4096x2304_GREY.jpg differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_8192x4608.jpg b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_8192x4608.jpg new file mode 100644 index 0000000..f701374 Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_8192x4608.jpg differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_8192x4608_GREY.jpg b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_8192x4608_GREY.jpg new file mode 100644 index 0000000..9e3a012 Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_Plain_WP_8192x4608_GREY.jpg differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_1920x1080.jpg b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_1920x1080.jpg new file mode 100644 index 0000000..30383ba Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_1920x1080.jpg differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_1920x1080_GREY.jpg b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_1920x1080_GREY.jpg new file mode 100644 index 0000000..46df268 Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_1920x1080_GREY.jpg differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_2560x1440.jpg b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_2560x1440.jpg new file mode 100644 index 0000000..aede03e Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_2560x1440.jpg differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_2560x1440_GREY.jpg b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_2560x1440_GREY.jpg new file mode 100644 index 0000000..939a027 Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_2560x1440_GREY.jpg differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_4096x2304.jpg b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_4096x2304.jpg new file mode 100644 index 0000000..e4922df Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_4096x2304.jpg differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_4096x2304_GREY.jpg b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_4096x2304_GREY.jpg new file mode 100644 index 0000000..369d20d Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_4096x2304_GREY.jpg differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_8192x4608.jpg b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_8192x4608.jpg new file mode 100644 index 0000000..38f2e00 Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_8192x4608.jpg differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_8192x4608_GREY.jpg b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_8192x4608_GREY.jpg new file mode 100644 index 0000000..905f8e6 Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/JPG/Focal-Fossa_WP_8192x4608_GREY.jpg differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_1920x1080.png b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_1920x1080.png new file mode 100644 index 0000000..2ff7836 Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_1920x1080.png differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_1920x1080_GREY.png b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_1920x1080_GREY.png new file mode 100644 index 0000000..82dcb73 Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_1920x1080_GREY.png differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_2560x1440.png b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_2560x1440.png new file mode 100644 index 0000000..b157e00 Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_2560x1440.png differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_2560x1440_GREY.png b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_2560x1440_GREY.png new file mode 100644 index 0000000..2871a17 Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_2560x1440_GREY.png differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_4096x2304.png b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_4096x2304.png new file mode 100644 index 0000000..ccf8ed9 Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_4096x2304.png differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_4096x2304_GREY.png b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_4096x2304_GREY.png new file mode 100644 index 0000000..cf74c13 Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_Plain_WP_4096x2304_GREY.png differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_1920x1080.png b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_1920x1080.png new file mode 100644 index 0000000..1435237 Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_1920x1080.png differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_1920x1080_GREY.png b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_1920x1080_GREY.png new file mode 100644 index 0000000..9ff06fb Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_1920x1080_GREY.png differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_2560x1440.png b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_2560x1440.png new file mode 100644 index 0000000..d40c7bf Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_2560x1440.png differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_2560x1440_GREY.png b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_2560x1440_GREY.png new file mode 100644 index 0000000..ae43bdd Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_2560x1440_GREY.png differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_4096x2304.png b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_4096x2304.png new file mode 100644 index 0000000..68a0b5d Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_4096x2304.png differ diff --git a/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_4096x2304_GREY.png b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_4096x2304_GREY.png new file mode 100644 index 0000000..66b9505 Binary files /dev/null and b/themes/unity2/Focal_Fossa_Wallpapers/PNG/Focal-Fossa_WP_4096x2304_GREY.png differ diff --git a/themes/unity2/background.png b/themes/unity2/background.png new file mode 100644 index 0000000..2ff7836 Binary files /dev/null and b/themes/unity2/background.png differ diff --git a/themes/unity2/icons/README.md b/themes/unity2/icons/README.md new file mode 100644 index 0000000..d9f2e1b --- /dev/null +++ b/themes/unity2/icons/README.md @@ -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. diff --git a/themes/unity2/icons/battery-caution-charging-symbolic.svg b/themes/unity2/icons/battery-caution-charging-symbolic.svg new file mode 100644 index 0000000..56fe444 --- /dev/null +++ b/themes/unity2/icons/battery-caution-charging-symbolic.svg @@ -0,0 +1,12 @@ + + + + + diff --git a/themes/unity2/icons/battery-caution-symbolic.svg b/themes/unity2/icons/battery-caution-symbolic.svg new file mode 100644 index 0000000..3fb7d4a --- /dev/null +++ b/themes/unity2/icons/battery-caution-symbolic.svg @@ -0,0 +1,9 @@ + + + + + diff --git a/themes/unity2/icons/battery-empty-charging-symbolic.svg b/themes/unity2/icons/battery-empty-charging-symbolic.svg new file mode 100644 index 0000000..e3e8620 --- /dev/null +++ b/themes/unity2/icons/battery-empty-charging-symbolic.svg @@ -0,0 +1,12 @@ + + + + + diff --git a/themes/unity2/icons/battery-empty-symbolic.svg b/themes/unity2/icons/battery-empty-symbolic.svg new file mode 100644 index 0000000..710c02b --- /dev/null +++ b/themes/unity2/icons/battery-empty-symbolic.svg @@ -0,0 +1,9 @@ + + + + + diff --git a/themes/unity2/icons/battery-full-charged-symbolic.svg b/themes/unity2/icons/battery-full-charged-symbolic.svg new file mode 100644 index 0000000..ae88a8c --- /dev/null +++ b/themes/unity2/icons/battery-full-charged-symbolic.svg @@ -0,0 +1,70 @@ + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/themes/unity2/icons/battery-full-charging-symbolic.svg b/themes/unity2/icons/battery-full-charging-symbolic.svg new file mode 100644 index 0000000..2db325e --- /dev/null +++ b/themes/unity2/icons/battery-full-charging-symbolic.svg @@ -0,0 +1,69 @@ + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/themes/unity2/icons/battery-full-symbolic.svg b/themes/unity2/icons/battery-full-symbolic.svg new file mode 100644 index 0000000..7daa418 --- /dev/null +++ b/themes/unity2/icons/battery-full-symbolic.svg @@ -0,0 +1,62 @@ + + + + + + image/svg+xml + + + + + + + + + + diff --git a/themes/unity2/icons/battery-good-charging-symbolic.svg b/themes/unity2/icons/battery-good-charging-symbolic.svg new file mode 100644 index 0000000..0b54f56 --- /dev/null +++ b/themes/unity2/icons/battery-good-charging-symbolic.svg @@ -0,0 +1,69 @@ + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/themes/unity2/icons/battery-good-symbolic.svg b/themes/unity2/icons/battery-good-symbolic.svg new file mode 100644 index 0000000..b55a8e0 --- /dev/null +++ b/themes/unity2/icons/battery-good-symbolic.svg @@ -0,0 +1,62 @@ + + + + + + image/svg+xml + + + + + + + + + + diff --git a/themes/unity2/icons/battery-low-charging-symbolic.svg b/themes/unity2/icons/battery-low-charging-symbolic.svg new file mode 100644 index 0000000..56fb9cc --- /dev/null +++ b/themes/unity2/icons/battery-low-charging-symbolic.svg @@ -0,0 +1,71 @@ + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/themes/unity2/icons/battery-low-symbolic.svg b/themes/unity2/icons/battery-low-symbolic.svg new file mode 100644 index 0000000..ab50fc2 --- /dev/null +++ b/themes/unity2/icons/battery-low-symbolic.svg @@ -0,0 +1,62 @@ + + + + + + image/svg+xml + + + + + + + + + + diff --git a/themes/unity2/icons/battery-missing-symbolic.svg b/themes/unity2/icons/battery-missing-symbolic.svg new file mode 100644 index 0000000..f96c4b2 --- /dev/null +++ b/themes/unity2/icons/battery-missing-symbolic.svg @@ -0,0 +1,69 @@ + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/themes/unity2/icons/lock.svg b/themes/unity2/icons/lock.svg new file mode 100644 index 0000000..974b65c --- /dev/null +++ b/themes/unity2/icons/lock.svg @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/themes/unity2/icons/mail.svg b/themes/unity2/icons/mail.svg new file mode 100644 index 0000000..adfd904 --- /dev/null +++ b/themes/unity2/icons/mail.svg @@ -0,0 +1,295 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/unity2/icons/shutdown.svg b/themes/unity2/icons/shutdown.svg new file mode 100644 index 0000000..affd2a5 --- /dev/null +++ b/themes/unity2/icons/shutdown.svg @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/themes/unity2/icons/suspend.svg b/themes/unity2/icons/suspend.svg new file mode 100644 index 0000000..d64205d --- /dev/null +++ b/themes/unity2/icons/suspend.svg @@ -0,0 +1,13 @@ + + + + + + + + + diff --git a/themes/unity2/icons/system-log-out-symbolic.svg b/themes/unity2/icons/system-log-out-symbolic.svg new file mode 100644 index 0000000..9f1676e --- /dev/null +++ b/themes/unity2/icons/system-log-out-symbolic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/unity2/icons/volume-high.svg b/themes/unity2/icons/volume-high.svg new file mode 100644 index 0000000..486ec0b --- /dev/null +++ b/themes/unity2/icons/volume-high.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + diff --git a/themes/unity2/icons/volume-low.svg b/themes/unity2/icons/volume-low.svg new file mode 100644 index 0000000..824a3f6 --- /dev/null +++ b/themes/unity2/icons/volume-low.svg @@ -0,0 +1,14 @@ + + + + + + + + + + diff --git a/themes/unity2/icons/volume-medium.svg b/themes/unity2/icons/volume-medium.svg new file mode 100644 index 0000000..5e6dd1f --- /dev/null +++ b/themes/unity2/icons/volume-medium.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + diff --git a/themes/unity2/icons/volume-muted.svg b/themes/unity2/icons/volume-muted.svg new file mode 100644 index 0000000..bf8f17a --- /dev/null +++ b/themes/unity2/icons/volume-muted.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + diff --git a/themes/unity2/icons/wallpaper.svg b/themes/unity2/icons/wallpaper.svg new file mode 100644 index 0000000..67ede24 --- /dev/null +++ b/themes/unity2/icons/wallpaper.svg @@ -0,0 +1,127 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/unity2/layouts/cornerne.png b/themes/unity2/layouts/cornerne.png new file mode 100644 index 0000000..c85bd56 Binary files /dev/null and b/themes/unity2/layouts/cornerne.png differ diff --git a/themes/unity2/layouts/cornernew.png b/themes/unity2/layouts/cornernew.png new file mode 100644 index 0000000..c3fd986 Binary files /dev/null and b/themes/unity2/layouts/cornernew.png differ diff --git a/themes/unity2/layouts/cornernw.png b/themes/unity2/layouts/cornernw.png new file mode 100644 index 0000000..dfe78b3 Binary files /dev/null and b/themes/unity2/layouts/cornernw.png differ diff --git a/themes/unity2/layouts/cornernww.png b/themes/unity2/layouts/cornernww.png new file mode 100644 index 0000000..f489010 Binary files /dev/null and b/themes/unity2/layouts/cornernww.png differ diff --git a/themes/unity2/layouts/cornerse.png b/themes/unity2/layouts/cornerse.png new file mode 100644 index 0000000..023ae79 Binary files /dev/null and b/themes/unity2/layouts/cornerse.png differ diff --git a/themes/unity2/layouts/cornersew.png b/themes/unity2/layouts/cornersew.png new file mode 100644 index 0000000..f7cfa1c Binary files /dev/null and b/themes/unity2/layouts/cornersew.png differ diff --git a/themes/unity2/layouts/cornersw.png b/themes/unity2/layouts/cornersw.png new file mode 100644 index 0000000..c1453c9 Binary files /dev/null and b/themes/unity2/layouts/cornersw.png differ diff --git a/themes/unity2/layouts/cornersww.png b/themes/unity2/layouts/cornersww.png new file mode 100644 index 0000000..a65a043 Binary files /dev/null and b/themes/unity2/layouts/cornersww.png differ diff --git a/themes/unity2/layouts/dwindle.png b/themes/unity2/layouts/dwindle.png new file mode 100644 index 0000000..9902d22 Binary files /dev/null and b/themes/unity2/layouts/dwindle.png differ diff --git a/themes/unity2/layouts/dwindlew.png b/themes/unity2/layouts/dwindlew.png new file mode 100644 index 0000000..9199049 Binary files /dev/null and b/themes/unity2/layouts/dwindlew.png differ diff --git a/themes/unity2/layouts/fairh.png b/themes/unity2/layouts/fairh.png new file mode 100644 index 0000000..d41deea Binary files /dev/null and b/themes/unity2/layouts/fairh.png differ diff --git a/themes/unity2/layouts/fairhw.png b/themes/unity2/layouts/fairhw.png new file mode 100644 index 0000000..bb50e3a Binary files /dev/null and b/themes/unity2/layouts/fairhw.png differ diff --git a/themes/unity2/layouts/fairv.png b/themes/unity2/layouts/fairv.png new file mode 100644 index 0000000..f5f0288 Binary files /dev/null and b/themes/unity2/layouts/fairv.png differ diff --git a/themes/unity2/layouts/fairvw.png b/themes/unity2/layouts/fairvw.png new file mode 100644 index 0000000..4f4ed52 Binary files /dev/null and b/themes/unity2/layouts/fairvw.png differ diff --git a/themes/unity2/layouts/floating.png b/themes/unity2/layouts/floating.png new file mode 100644 index 0000000..b8061a0 Binary files /dev/null and b/themes/unity2/layouts/floating.png differ diff --git a/themes/unity2/layouts/floatingw.png b/themes/unity2/layouts/floatingw.png new file mode 100644 index 0000000..4815894 Binary files /dev/null and b/themes/unity2/layouts/floatingw.png differ diff --git a/themes/unity2/layouts/fullscreen.png b/themes/unity2/layouts/fullscreen.png new file mode 100644 index 0000000..d02f6fc Binary files /dev/null and b/themes/unity2/layouts/fullscreen.png differ diff --git a/themes/unity2/layouts/fullscreenw.png b/themes/unity2/layouts/fullscreenw.png new file mode 100644 index 0000000..5c35bfa Binary files /dev/null and b/themes/unity2/layouts/fullscreenw.png differ diff --git a/themes/unity2/layouts/magnifier.png b/themes/unity2/layouts/magnifier.png new file mode 100644 index 0000000..2925414 Binary files /dev/null and b/themes/unity2/layouts/magnifier.png differ diff --git a/themes/unity2/layouts/magnifierw.png b/themes/unity2/layouts/magnifierw.png new file mode 100644 index 0000000..6209556 Binary files /dev/null and b/themes/unity2/layouts/magnifierw.png differ diff --git a/themes/unity2/layouts/max.png b/themes/unity2/layouts/max.png new file mode 100644 index 0000000..8d20844 Binary files /dev/null and b/themes/unity2/layouts/max.png differ diff --git a/themes/unity2/layouts/maxw.png b/themes/unity2/layouts/maxw.png new file mode 100644 index 0000000..85f5ce3 Binary files /dev/null and b/themes/unity2/layouts/maxw.png differ diff --git a/themes/unity2/layouts/spiral.png b/themes/unity2/layouts/spiral.png new file mode 100644 index 0000000..d9434be Binary files /dev/null and b/themes/unity2/layouts/spiral.png differ diff --git a/themes/unity2/layouts/spiralw.png b/themes/unity2/layouts/spiralw.png new file mode 100644 index 0000000..b78dd86 Binary files /dev/null and b/themes/unity2/layouts/spiralw.png differ diff --git a/themes/unity2/layouts/tile.png b/themes/unity2/layouts/tile.png new file mode 100644 index 0000000..3ede21e Binary files /dev/null and b/themes/unity2/layouts/tile.png differ diff --git a/themes/unity2/layouts/tilebottom.png b/themes/unity2/layouts/tilebottom.png new file mode 100644 index 0000000..6f8c257 Binary files /dev/null and b/themes/unity2/layouts/tilebottom.png differ diff --git a/themes/unity2/layouts/tilebottomw.png b/themes/unity2/layouts/tilebottomw.png new file mode 100644 index 0000000..a1de7b2 Binary files /dev/null and b/themes/unity2/layouts/tilebottomw.png differ diff --git a/themes/unity2/layouts/tileleft.png b/themes/unity2/layouts/tileleft.png new file mode 100644 index 0000000..31d6870 Binary files /dev/null and b/themes/unity2/layouts/tileleft.png differ diff --git a/themes/unity2/layouts/tileleftw.png b/themes/unity2/layouts/tileleftw.png new file mode 100644 index 0000000..cf14c25 Binary files /dev/null and b/themes/unity2/layouts/tileleftw.png differ diff --git a/themes/unity2/layouts/tiletop.png b/themes/unity2/layouts/tiletop.png new file mode 100644 index 0000000..98cade2 Binary files /dev/null and b/themes/unity2/layouts/tiletop.png differ diff --git a/themes/unity2/layouts/tiletopw.png b/themes/unity2/layouts/tiletopw.png new file mode 100644 index 0000000..d1d0872 Binary files /dev/null and b/themes/unity2/layouts/tiletopw.png differ diff --git a/themes/unity2/layouts/tilew.png b/themes/unity2/layouts/tilew.png new file mode 100644 index 0000000..fde2ca4 Binary files /dev/null and b/themes/unity2/layouts/tilew.png differ diff --git a/themes/unity2/menu.lua b/themes/unity2/menu.lua new file mode 100644 index 0000000..34071bb --- /dev/null +++ b/themes/unity2/menu.lua @@ -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())) diff --git a/themes/unity2/submenu.png b/themes/unity2/submenu.png new file mode 100644 index 0000000..b2778e2 Binary files /dev/null and b/themes/unity2/submenu.png differ diff --git a/themes/unity2/taglist/squarefw.png b/themes/unity2/taglist/squarefw.png new file mode 100644 index 0000000..2a86430 Binary files /dev/null and b/themes/unity2/taglist/squarefw.png differ diff --git a/themes/unity2/taglist/squarew.png b/themes/unity2/taglist/squarew.png new file mode 100644 index 0000000..913f2ca Binary files /dev/null and b/themes/unity2/taglist/squarew.png differ diff --git a/themes/unity2/theme.lua b/themes/unity2/theme.lua new file mode 100644 index 0000000..9f49ecc --- /dev/null +++ b/themes/unity2/theme.lua @@ -0,0 +1,156 @@ +local theme_assets = require("beautiful.theme_assets") +local xresources = require("beautiful.xresources") +local dpi = xresources.apply_dpi + +local theme = {} + +theme.name = "unity2" + +theme.font = "Ubuntu Regular 10" +theme.unitybar_width = dpi(58) +theme.unitybar_bg = "#1D1D1DFF" +theme.unitybar_border_width = 0 +theme.icon_rounding = 5 +theme.username_container_spacing_horizontal = 3 +theme.launcher_button_size = 44 +theme.tasklist_button_size = 44 +theme.macbar_rounding = 5 +theme.macbar_height = 45 +theme.menu_button_inner_margin = 2 +theme.container_rounding = 4 +theme.button_rounding = 4 +theme.bg_normal = "#1D1D1D" +theme.bg_focus = "#E8551F" +theme.bg_urgent = "#3E3E3E" +theme.bg_minimize = "#3E3E3E" +theme.bg_systray = theme.bg_normal + +theme.fg_normal = "#e1dec7" +theme.fg_focus = "#e1dec7" +theme.fg_urgent = "#e1dec7" +theme.fg_minimize = "#e1dec7" + +theme.useless_gap = dpi(10) +theme.border_width = dpi(1) +theme.border_normal = theme.bg_normal +theme.border_focus = theme.bg_normal +theme.border_marked = theme.bg_marked + +theme.tasklist_bg_focus = "#464646" +theme.tasklist_bg_normal = theme.bg_normal + +-- There are other variable sets + +-- overriding the default one when +-- defined, the sets are: +-- taglist_[bg|fg]_[focus|urgent|occupied|empty|volatile] +-- tasklist_[bg|fg]_[focus|urgent] +-- titlebar_[bg|fg]_[normal|focus] +-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] +-- mouse_finder_[color|timeout|animate_timeout|radius|factor] +-- prompt_[fg|bg|fg_cursor|bg_cursor|font] +-- hotkeys_[bg|fg|border_width|border_color|shape|opacity|modifiers_fg|label_bg|label_fg|group_margin|font|description_font] +-- Example: +--theme.taglist_bg_focus = "#ff0000" +theme.hotkeys_border_color = "#262626" +theme.hotkeys_opacity = 0.2 + +theme.titlebar_bg_focus = { + type = "linear", + from = { 0, 15 }, + to = { 0, 0 }, + stops = { { 0, "#2B2B2B"} , { 1 , "#2E2E2E"} } +} + +theme.titlebar_bg_normal = "#3A3A3A" +theme.topbar_bg = "#1D1D1D" +theme.titlebar_rounding = 6 +theme.bg_systray = "#1D1D1D" +theme.prompt_bg = theme.titlebar_bg_normal +-- Generate taglist squares: +local taglist_square_size = dpi(4) +theme.taglist_squares_sel = theme_assets.taglist_squares_sel( + taglist_square_size, theme.fg_normal +) +theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel( + taglist_square_size, theme.fg_normal +) + +-- Variables set for theming notifications: +-- notification_font +-- not1ification_[bg|fg] +-- notification_[width|height|margin] +-- notification_[border_color|border_width|shape|opacity] +theme.notification_width = dpi(250) +theme.notification_height = dpi(80) +-- Variables set for theming the menu: +-- menu_[bg|fg]_[normal|focus] +-- menu_[border_color|border_width] +theme.menu_submenu_icon = global.themes_dir..theme.name.."/submenu.png" +theme.menu_height = dpi(18) +theme.menu_width = dpi(140) + +-- You can add as many variables as +-- you wish and access them by using +-- beautiful.variable in your rc.lua +--theme.bg_widget = "#cc0000" + +-- Define the image to load +theme.titlebar_close_button_normal = global.themes_dir..theme.name.."/titlebar/close_normal.svg" +theme.titlebar_close_button_focus = global.themes_dir..theme.name.."/titlebar/close_focus.svg" + +theme.titlebar_minimize_button_normal = global.themes_dir..theme.name.."/titlebar/minimize_normal.svg" +theme.titlebar_minimize_button_focus = global.themes_dir..theme.name.."/titlebar/minimize_focus.svg" + +theme.titlebar_ontop_button_normal_inactive = global.themes_dir..theme.name.."/titlebar/ontop_normal_inactive.png" +theme.titlebar_ontop_button_focus_inactive = global.themes_dir..theme.name.."/titlebar/ontop_focus_inactive.png" +theme.titlebar_ontop_button_normal_active = global.themes_dir..theme.name.."/titlebar/ontop_normal_active.png" +theme.titlebar_ontop_button_focus_active = global.themes_dir..theme.name.."/titlebar/ontop_focus_active.png" + +theme.titlebar_sticky_button_normal_inactive = global.themes_dir..theme.name.."/titlebar/sticky_normal_inactive.png" +theme.titlebar_sticky_button_focus_inactive = global.themes_dir..theme.name.."/titlebar/sticky_focus_inactive.png" +theme.titlebar_sticky_button_normal_active = global.themes_dir..theme.name.."/titlebar/sticky_normal_active.png" +theme.titlebar_sticky_button_focus_active = global.themes_dir..theme.name.."/titlebar/sticky_focus_active.png" + +theme.titlebar_floating_button_normal_inactive = global.themes_dir..theme.name.."/titlebar/floating_normal_inactive.png" +theme.titlebar_floating_button_focus_inactive = global.themes_dir..theme.name.."/titlebar/floating_focus_inactive.png" +theme.titlebar_floating_button_normal_active = global.themes_dir..theme.name.."/titlebar/floating_normal_active.png" +theme.titlebar_floating_button_focus_active = global.themes_dir..theme.name.."/titlebar/floating_focus_active.png" + +theme.titlebar_maximized_button_normal_inactive = global.themes_dir..theme.name.."/titlebar/maximized_normal_inactive.svg" +theme.titlebar_maximized_button_focus_inactive = global.themes_dir..theme.name.."/titlebar/maximized_focus_inactive.svg" +theme.titlebar_maximized_button_normal_active = global.themes_dir..theme.name.."/titlebar/maximized_normal_active.svg" +theme.titlebar_maximized_button_focus_active = global.themes_dir..theme.name.."/titlebar/maximized_focus_active.svg" + +theme.wallpaper = global.themes_dir..theme.name.."/background.png" + +-- You can use your own layout icons like this: +theme.layout_fairh = global.themes_dir..theme.name.."/layouts/fairhw.png" +theme.layout_fairv = global.themes_dir..theme.name.."/layouts/fairvw.png" +theme.layout_floating = global.themes_dir..theme.name.."/layouts/floatingw.png" +theme.layout_magnifier = global.themes_dir..theme.name.."/layouts/magnifierw.png" +theme.layout_max = global.themes_dir..theme.name.."/layouts/maxw.png" +theme.layout_fullscreen = global.themes_dir..theme.name.."/layouts/fullscreenw.png" +theme.layout_tilebottom = global.themes_dir..theme.name.."/layouts/tilebottomw.png" +theme.layout_tileleft = global.themes_dir..theme.name.."/layouts/tileleftw.png" +theme.layout_tile = global.themes_dir..theme.name.."/layouts/tilew.png" +theme.layout_tiletop = global.themes_dir..theme.name.."/layouts/tiletopw.png" +theme.layout_spiral = global.themes_dir..theme.name.."/layouts/spiralw.png" +theme.layout_dwindle = global.themes_dir..theme.name.."/layouts/dwindlew.png" +theme.layout_cornernw = global.themes_dir..theme.name.."/layouts/cornernww.png" +theme.layout_cornerne = global.themes_dir..theme.name.."/layouts/cornernew.png" +theme.layout_cornersw = global.themes_dir..theme.name.."/layouts/cornersww.png" +theme.layout_cornerse = global.themes_dir..theme.name.."/layouts/cornersew.png" +theme_assets.recolor_layout(theme, theme.fg_normal) + +-- Generate Awesome icon: +theme.awesome_icon = theme_assets.awesome_icon( + theme.menu_height, theme.bg_focus, theme.fg_focus +) +-- Define the icon theme for application icons. If not set then the icons +-- from /usr/share/icons and /usr/share/icons/hicolor will be used. +theme.icon_theme = "Adwaita" + +return theme + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/themes/unity2/titlebar/close_focus.svg b/themes/unity2/titlebar/close_focus.svg new file mode 100644 index 0000000..4eb3808 --- /dev/null +++ b/themes/unity2/titlebar/close_focus.svg @@ -0,0 +1,84 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/themes/unity2/titlebar/close_normal.svg b/themes/unity2/titlebar/close_normal.svg new file mode 100644 index 0000000..d3b52e5 --- /dev/null +++ b/themes/unity2/titlebar/close_normal.svg @@ -0,0 +1,85 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/themes/unity2/titlebar/floating_focus_active.png b/themes/unity2/titlebar/floating_focus_active.png new file mode 100644 index 0000000..82dcc7c Binary files /dev/null and b/themes/unity2/titlebar/floating_focus_active.png differ diff --git a/themes/unity2/titlebar/floating_focus_inactive.png b/themes/unity2/titlebar/floating_focus_inactive.png new file mode 100644 index 0000000..c19ba80 Binary files /dev/null and b/themes/unity2/titlebar/floating_focus_inactive.png differ diff --git a/themes/unity2/titlebar/floating_normal_active.png b/themes/unity2/titlebar/floating_normal_active.png new file mode 100644 index 0000000..62342d1 Binary files /dev/null and b/themes/unity2/titlebar/floating_normal_active.png differ diff --git a/themes/unity2/titlebar/floating_normal_inactive.png b/themes/unity2/titlebar/floating_normal_inactive.png new file mode 100644 index 0000000..e2bbdfa Binary files /dev/null and b/themes/unity2/titlebar/floating_normal_inactive.png differ diff --git a/themes/unity2/titlebar/maximized_focus_active.svg b/themes/unity2/titlebar/maximized_focus_active.svg new file mode 100644 index 0000000..c016597 --- /dev/null +++ b/themes/unity2/titlebar/maximized_focus_active.svg @@ -0,0 +1,143 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/unity2/titlebar/maximized_focus_inactive.svg b/themes/unity2/titlebar/maximized_focus_inactive.svg new file mode 100644 index 0000000..4a24e18 --- /dev/null +++ b/themes/unity2/titlebar/maximized_focus_inactive.svg @@ -0,0 +1,117 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/unity2/titlebar/maximized_normal_active.svg b/themes/unity2/titlebar/maximized_normal_active.svg new file mode 100644 index 0000000..ba3b621 --- /dev/null +++ b/themes/unity2/titlebar/maximized_normal_active.svg @@ -0,0 +1,143 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/unity2/titlebar/maximized_normal_inactive.svg b/themes/unity2/titlebar/maximized_normal_inactive.svg new file mode 100644 index 0000000..a110543 --- /dev/null +++ b/themes/unity2/titlebar/maximized_normal_inactive.svg @@ -0,0 +1,117 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/unity2/titlebar/minimize_focus.svg b/themes/unity2/titlebar/minimize_focus.svg new file mode 100644 index 0000000..22ac76f --- /dev/null +++ b/themes/unity2/titlebar/minimize_focus.svg @@ -0,0 +1,78 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/themes/unity2/titlebar/minimize_normal.svg b/themes/unity2/titlebar/minimize_normal.svg new file mode 100644 index 0000000..6934b90 --- /dev/null +++ b/themes/unity2/titlebar/minimize_normal.svg @@ -0,0 +1,78 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/themes/unity2/titlebar/ontop_focus_active.png b/themes/unity2/titlebar/ontop_focus_active.png new file mode 100644 index 0000000..312c00b Binary files /dev/null and b/themes/unity2/titlebar/ontop_focus_active.png differ diff --git a/themes/unity2/titlebar/ontop_focus_inactive.png b/themes/unity2/titlebar/ontop_focus_inactive.png new file mode 100644 index 0000000..a48e1c5 Binary files /dev/null and b/themes/unity2/titlebar/ontop_focus_inactive.png differ diff --git a/themes/unity2/titlebar/ontop_normal_active.png b/themes/unity2/titlebar/ontop_normal_active.png new file mode 100644 index 0000000..117a203 Binary files /dev/null and b/themes/unity2/titlebar/ontop_normal_active.png differ diff --git a/themes/unity2/titlebar/ontop_normal_inactive.png b/themes/unity2/titlebar/ontop_normal_inactive.png new file mode 100644 index 0000000..d3a10c8 Binary files /dev/null and b/themes/unity2/titlebar/ontop_normal_inactive.png differ diff --git a/themes/unity2/titlebar/sticky_focus_active.png b/themes/unity2/titlebar/sticky_focus_active.png new file mode 100644 index 0000000..814499b Binary files /dev/null and b/themes/unity2/titlebar/sticky_focus_active.png differ diff --git a/themes/unity2/titlebar/sticky_focus_inactive.png b/themes/unity2/titlebar/sticky_focus_inactive.png new file mode 100644 index 0000000..21b000d Binary files /dev/null and b/themes/unity2/titlebar/sticky_focus_inactive.png differ diff --git a/themes/unity2/titlebar/sticky_normal_active.png b/themes/unity2/titlebar/sticky_normal_active.png new file mode 100644 index 0000000..bdb5595 Binary files /dev/null and b/themes/unity2/titlebar/sticky_normal_active.png differ diff --git a/themes/unity2/titlebar/sticky_normal_inactive.png b/themes/unity2/titlebar/sticky_normal_inactive.png new file mode 100644 index 0000000..a96b9b1 Binary files /dev/null and b/themes/unity2/titlebar/sticky_normal_inactive.png differ diff --git a/themes/unity2/titlebar_normal/close_focus.png b/themes/unity2/titlebar_normal/close_focus.png new file mode 100644 index 0000000..01ef825 Binary files /dev/null and b/themes/unity2/titlebar_normal/close_focus.png differ diff --git a/themes/unity2/titlebar_normal/close_normal.png b/themes/unity2/titlebar_normal/close_normal.png new file mode 100644 index 0000000..5448ed8 Binary files /dev/null and b/themes/unity2/titlebar_normal/close_normal.png differ diff --git a/themes/unity2/titlebar_normal/floating_focus_active.png b/themes/unity2/titlebar_normal/floating_focus_active.png new file mode 100644 index 0000000..82dcc7c Binary files /dev/null and b/themes/unity2/titlebar_normal/floating_focus_active.png differ diff --git a/themes/unity2/titlebar_normal/floating_focus_inactive.png b/themes/unity2/titlebar_normal/floating_focus_inactive.png new file mode 100644 index 0000000..c19ba80 Binary files /dev/null and b/themes/unity2/titlebar_normal/floating_focus_inactive.png differ diff --git a/themes/unity2/titlebar_normal/floating_normal_active.png b/themes/unity2/titlebar_normal/floating_normal_active.png new file mode 100644 index 0000000..62342d1 Binary files /dev/null and b/themes/unity2/titlebar_normal/floating_normal_active.png differ diff --git a/themes/unity2/titlebar_normal/floating_normal_inactive.png b/themes/unity2/titlebar_normal/floating_normal_inactive.png new file mode 100644 index 0000000..e2bbdfa Binary files /dev/null and b/themes/unity2/titlebar_normal/floating_normal_inactive.png differ diff --git a/themes/unity2/titlebar_normal/maximized_focus_active.png b/themes/unity2/titlebar_normal/maximized_focus_active.png new file mode 100644 index 0000000..d7dffd7 Binary files /dev/null and b/themes/unity2/titlebar_normal/maximized_focus_active.png differ diff --git a/themes/unity2/titlebar_normal/maximized_focus_inactive.png b/themes/unity2/titlebar_normal/maximized_focus_inactive.png new file mode 100644 index 0000000..844389f Binary files /dev/null and b/themes/unity2/titlebar_normal/maximized_focus_inactive.png differ diff --git a/themes/unity2/titlebar_normal/maximized_normal_active.png b/themes/unity2/titlebar_normal/maximized_normal_active.png new file mode 100644 index 0000000..a705f81 Binary files /dev/null and b/themes/unity2/titlebar_normal/maximized_normal_active.png differ diff --git a/themes/unity2/titlebar_normal/maximized_normal_inactive.png b/themes/unity2/titlebar_normal/maximized_normal_inactive.png new file mode 100644 index 0000000..4c1ab1f Binary files /dev/null and b/themes/unity2/titlebar_normal/maximized_normal_inactive.png differ diff --git a/themes/unity2/titlebar_normal/minimize_focus.png b/themes/unity2/titlebar_normal/minimize_focus.png new file mode 100644 index 0000000..caaceb2 Binary files /dev/null and b/themes/unity2/titlebar_normal/minimize_focus.png differ diff --git a/themes/unity2/titlebar_normal/minimize_normal.png b/themes/unity2/titlebar_normal/minimize_normal.png new file mode 100644 index 0000000..36621d0 Binary files /dev/null and b/themes/unity2/titlebar_normal/minimize_normal.png differ diff --git a/themes/unity2/titlebar_normal/ontop_focus_active.png b/themes/unity2/titlebar_normal/ontop_focus_active.png new file mode 100644 index 0000000..312c00b Binary files /dev/null and b/themes/unity2/titlebar_normal/ontop_focus_active.png differ diff --git a/themes/unity2/titlebar_normal/ontop_focus_inactive.png b/themes/unity2/titlebar_normal/ontop_focus_inactive.png new file mode 100644 index 0000000..a48e1c5 Binary files /dev/null and b/themes/unity2/titlebar_normal/ontop_focus_inactive.png differ diff --git a/themes/unity2/titlebar_normal/ontop_normal_active.png b/themes/unity2/titlebar_normal/ontop_normal_active.png new file mode 100644 index 0000000..117a203 Binary files /dev/null and b/themes/unity2/titlebar_normal/ontop_normal_active.png differ diff --git a/themes/unity2/titlebar_normal/ontop_normal_inactive.png b/themes/unity2/titlebar_normal/ontop_normal_inactive.png new file mode 100644 index 0000000..d3a10c8 Binary files /dev/null and b/themes/unity2/titlebar_normal/ontop_normal_inactive.png differ diff --git a/themes/unity2/titlebar_normal/sticky_focus_active.png b/themes/unity2/titlebar_normal/sticky_focus_active.png new file mode 100644 index 0000000..814499b Binary files /dev/null and b/themes/unity2/titlebar_normal/sticky_focus_active.png differ diff --git a/themes/unity2/titlebar_normal/sticky_focus_inactive.png b/themes/unity2/titlebar_normal/sticky_focus_inactive.png new file mode 100644 index 0000000..21b000d Binary files /dev/null and b/themes/unity2/titlebar_normal/sticky_focus_inactive.png differ diff --git a/themes/unity2/titlebar_normal/sticky_normal_active.png b/themes/unity2/titlebar_normal/sticky_normal_active.png new file mode 100644 index 0000000..bdb5595 Binary files /dev/null and b/themes/unity2/titlebar_normal/sticky_normal_active.png differ diff --git a/themes/unity2/titlebar_normal/sticky_normal_inactive.png b/themes/unity2/titlebar_normal/sticky_normal_inactive.png new file mode 100644 index 0000000..a96b9b1 Binary files /dev/null and b/themes/unity2/titlebar_normal/sticky_normal_inactive.png differ diff --git a/widgets/current_window.lua b/widgets/current_window.lua index 18e4226..ff68dab 100644 --- a/widgets/current_window.lua +++ b/widgets/current_window.lua @@ -8,7 +8,7 @@ return function(args) local icon = style.icon({ { widget = wibox.widget.textbox, - markup = "This ain't no gnome", + markup = "", id = "widget_text" }, layout = wibox.layout.fixed.horizontal, @@ -16,7 +16,7 @@ return function(args) }) local text = icon:get_children_by_id("widget_text")[1] client.connect_signal("focus", function() - text.markup = "This ain't not gnome" + text.markup = ""..tostring(client.focus.icon_name).."" end) return icon end