diff --git a/desktop.conf b/desktop.conf index 0742fa3..b2b2b00 100644 --- a/desktop.conf +++ b/desktop.conf @@ -3,7 +3,7 @@ terminal = "$HOME/.local/bin/st" browser = "prime-run librewolf" modkey = "Mod4" -theme = "reno98" +theme = "unity" shell = "zsh" # Keybindings diff --git a/libs/awmtk2.lua b/libs/awmtk2.lua index fae9a8d..51b7a8c 100644 --- a/libs/awmtk2.lua +++ b/libs/awmtk2.lua @@ -183,6 +183,8 @@ awmtk.proto_templates = { bg = style.container.bg_normal, fg = style.container.fg_normal, shape = style.container.shape, + shape_border_color = style.container.shape_border_color, + shape_border_width = style.container.shape_border_width, widget = wibox.container.background },options or {}) end @@ -203,6 +205,8 @@ awmtk.proto_templates = { bg = style.button.bg_normal, fg = style.button.fg_normal, shape = style.button.shape, + shape_border_color = style.button.shape_border_color, + shape_border_width = style.button.shape_border_width, widget = wibox.container.background },options or {}) end diff --git a/modules/desktop.lua b/modules/desktop.lua index afc9d5b..a35ed92 100644 --- a/modules/desktop.lua +++ b/modules/desktop.lua @@ -66,7 +66,11 @@ awful.screen.connect_for_each_screen(function(s) client = c, style = style[v], buttons = buttons, - screen = s + screen = s, + passthrough = { + vertical = ((v == "wibar_left") or + (v == "wibar_right")) + } }) s[v] = awful.wibar({ -- There really isn't a better way to do this. I wish there was. @@ -111,6 +115,15 @@ table.insert(awful.rules.rules, }, properties = { titlebars_enabled = true } } ) + +client.connect_signal("manage", function(c) + local shape = beautiful.window_shape or function(cr, width, height) + return gears.shape.partially_rounded_rect(cr,width,height, + true,true,false,false,beautiful.window_rounding) + end + c.shape = shape +end) + client.connect_signal("request::titlebars",function(c) local buttons = gears.table.join( awful.button({}, 1, function() diff --git a/themes/reno98/theme.lua b/themes/reno98/theme.lua index 3ea214b..3b0513d 100644 --- a/themes/reno98/theme.lua +++ b/themes/reno98/theme.lua @@ -43,6 +43,8 @@ theme.border_normal = "#c0c0c0" theme.border_focus = "#c0c0c0" theme.border_marked = "#c0c0c0" +theme.window_rounding = 0 + theme.titlebar_bg_focus = { type = "linear", from = { 0, 0 }, diff --git a/themes/unity/COPYING.txt b/themes/unity/COPYING.txt new file mode 100644 index 0000000..0e259d4 --- /dev/null +++ b/themes/unity/COPYING.txt @@ -0,0 +1,121 @@ +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator +and subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for +the purpose of contributing to a commons of creative, cultural and +scientific works ("Commons") that the public can reliably and without fear +of later claims of infringement build upon, modify, incorporate in other +works, reuse and redistribute as freely as possible in any form whatsoever +and for any purposes, including without limitation commercial purposes. +These owners may contribute to the Commons to promote the ideal of a free +culture and the further production of creative, cultural and scientific +works, or to gain reputation or greater distribution for their Work in +part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any +expectation of additional consideration or compensation, the person +associating CC0 with a Work (the "Affirmer"), to the extent that he or she +is an owner of Copyright and Related Rights in the Work, voluntarily +elects to apply CC0 to the Work and publicly distribute the Work under its +terms, with knowledge of his or her Copyright and Related Rights in the +Work and the meaning and intended legal effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not +limited to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and +vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention +of, applicable law, Affirmer hereby overtly, fully, permanently, +irrevocably and unconditionally waives, abandons, and surrenders all of +Affirmer's Copyright and Related Rights and associated claims and causes +of action, whether now known or unknown (including existing as well as +future claims and causes of action), in the Work (i) in all territories +worldwide, (ii) for the maximum duration provided by applicable law or +treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional +purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each +member of the public at large and to the detriment of Affirmer's heirs and +successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public +as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason +be judged legally invalid or ineffective under applicable law, then the +Waiver shall be preserved to the maximum extent permitted taking into +account Affirmer's express Statement of Purpose. In addition, to the +extent the Waiver is so judged Affirmer hereby grants to each affected +person a royalty-free, non transferable, non sublicensable, non exclusive, +irrevocable and unconditional license to exercise Affirmer's Copyright and +Related Rights in the Work (i) in all territories worldwide, (ii) for the +maximum duration provided by applicable law or treaty (including future +time extensions), (iii) in any current or future medium and for any number +of copies, and (iv) for any purpose whatsoever, including without +limitation commercial, advertising or promotional purposes (the +"License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any +reason be judged legally invalid or ineffective under applicable law, such +partial invalidity or ineffectiveness shall not invalidate the remainder +of the License, and in such case Affirmer hereby affirms that he or she +will not (i) exercise any of his or her remaining Copyright and Related +Rights in the Work or (ii) assert any associated claims and causes of +action with respect to the Work, in either case contrary to Affirmer's +express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. diff --git a/themes/unity/background.png b/themes/unity/background.png new file mode 100644 index 0000000..2ff7836 Binary files /dev/null and b/themes/unity/background.png differ diff --git a/themes/unity/config/client_menu.json b/themes/unity/config/client_menu.json new file mode 100644 index 0000000..17fff5a --- /dev/null +++ b/themes/unity/config/client_menu.json @@ -0,0 +1,7 @@ +{ + "list": [ + {"widget": "widgets.clientcontrols"}, + {"widget": "widgets.clientbuttons"} + ], + "vertical":true +} diff --git a/themes/unity/config/global.json b/themes/unity/config/global.json new file mode 100644 index 0000000..dab1382 --- /dev/null +++ b/themes/unity/config/global.json @@ -0,0 +1,9 @@ +{ + "widgets.dismal":{ + "x":0, + "y":26 + }, + "widgets.rootmenu":{}, + "widgets.lockscreen":{}, + "widgets.base.keypopup":{} +} diff --git a/themes/unity/config/lockpanel.json b/themes/unity/config/lockpanel.json new file mode 100644 index 0000000..9c8ee56 --- /dev/null +++ b/themes/unity/config/lockpanel.json @@ -0,0 +1,5 @@ +{ + "widgets.lock.clock":{ + "format": "%a %b %d\n %H: %M" + } +} diff --git a/themes/unity/config/root_menu.json b/themes/unity/config/root_menu.json new file mode 100644 index 0000000..625d067 --- /dev/null +++ b/themes/unity/config/root_menu.json @@ -0,0 +1,23 @@ +{ + "list": [ + {"widget": "widgets.base.popuptitle", + "options":{ + "icon":"icons/reno98.png", + "title":"Reno 98" + } + }, + {"widget": "widgets.base.tagswitcher", + "screen":true + }, + {"widget": "widgets.rootcontrols"}, + {"widget": "widgets.xdgmenu", + "options": { + "exclude_category": [ + "Other" + ] + } + }, + {"widget": "widgets.rootbuttons"} + ], + "vertical": true +} diff --git a/themes/unity/config/titlebar_top.json b/themes/unity/config/titlebar_top.json new file mode 100644 index 0000000..d4a2c11 --- /dev/null +++ b/themes/unity/config/titlebar_top.json @@ -0,0 +1,42 @@ +{ +"align": { + "left": [ + { + "widget":"widgets.clientmenu", + "client":true + } + ], + "center": [ + { + "draggable": true + }, + { + "builtin": "titlewidget", + "client" : true, + "options": { + "align": "left" + } + } + ], + "right": [ + { "widget": "widgets.base.subpanel", + "layout": { + "list": [ + { + "builtin": "minimizebutton", + "client": true + }, + { + "builtin": "maximizedbutton", + "client": true + }, + { + "builtin": "closebutton", + "client": true + } + ] + } + } + ] +} +} diff --git a/themes/unity/config/wibar_left.json b/themes/unity/config/wibar_left.json new file mode 100644 index 0000000..c24d8b8 --- /dev/null +++ b/themes/unity/config/wibar_left.json @@ -0,0 +1,19 @@ +{ + "align": { + "left": [ + { + "widget": "widgets.tasklist", + "screen": true + } + ], + "center": [ + + ], + "right": [ + { + "widget": "widgets.launcher" + } + ] + }, + "vertical": true +} diff --git a/themes/unity/config/wibar_top.json b/themes/unity/config/wibar_top.json new file mode 100644 index 0000000..d1c6936 --- /dev/null +++ b/themes/unity/config/wibar_top.json @@ -0,0 +1,24 @@ +{ + "align": { + "left": [ + { "widget": "widgets.soundclown" } + ], + "center": [ + + ], + "right": [ + { "widget": "widgets.notifications", + "screen": true + }, + { "widget": "widgets.wallpapers", + "screen": true, + "options": { + "path": "$HOME/Pictures/Wallpapers" + } + }, + { "widget": "widgets.battery" }, + { "widget": "widgets.base.systray" }, + { "widget": "widgets.base.clock" } + ] + } +} diff --git a/themes/unity/icons/README b/themes/unity/icons/README new file mode 100644 index 0000000..7023132 --- /dev/null +++ b/themes/unity/icons/README @@ -0,0 +1,3 @@ +Licensed under conditions of CC0 (https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt) + +To the extent possible under law, Yessiest (yessiest@memeware.net) has waived all copyright and related or neighboring rights to Reno98 icons diff --git a/themes/unity/icons/ac-adapter-symbolic.png b/themes/unity/icons/ac-adapter-symbolic.png new file mode 100644 index 0000000..cdf53b7 Binary files /dev/null and b/themes/unity/icons/ac-adapter-symbolic.png differ diff --git a/themes/unity/icons/action-lock-screen-symbolic.png b/themes/unity/icons/action-lock-screen-symbolic.png new file mode 100644 index 0000000..cc3cdab Binary files /dev/null and b/themes/unity/icons/action-lock-screen-symbolic.png differ diff --git a/themes/unity/icons/action-poweroff-symbolic.png b/themes/unity/icons/action-poweroff-symbolic.png new file mode 100644 index 0000000..94be34c Binary files /dev/null and b/themes/unity/icons/action-poweroff-symbolic.png differ diff --git a/themes/unity/icons/action-suspend-symbolic.png b/themes/unity/icons/action-suspend-symbolic.png new file mode 100644 index 0000000..1000808 Binary files /dev/null and b/themes/unity/icons/action-suspend-symbolic.png differ diff --git a/themes/unity/icons/backlight-symbolic.png b/themes/unity/icons/backlight-symbolic.png new file mode 100644 index 0000000..828f571 Binary files /dev/null and b/themes/unity/icons/backlight-symbolic.png differ diff --git a/themes/unity/icons/battery-caution-charging-symbolic.png b/themes/unity/icons/battery-caution-charging-symbolic.png new file mode 100644 index 0000000..be0746b Binary files /dev/null and b/themes/unity/icons/battery-caution-charging-symbolic.png differ diff --git a/themes/unity/icons/battery-caution-symbolic.png b/themes/unity/icons/battery-caution-symbolic.png new file mode 100644 index 0000000..25e3572 Binary files /dev/null and b/themes/unity/icons/battery-caution-symbolic.png differ diff --git a/themes/unity/icons/battery-empty-charging-symbolic.png b/themes/unity/icons/battery-empty-charging-symbolic.png new file mode 100644 index 0000000..6628ab9 Binary files /dev/null and b/themes/unity/icons/battery-empty-charging-symbolic.png differ diff --git a/themes/unity/icons/battery-empty-symbolic.png b/themes/unity/icons/battery-empty-symbolic.png new file mode 100644 index 0000000..7b88252 Binary files /dev/null and b/themes/unity/icons/battery-empty-symbolic.png differ diff --git a/themes/unity/icons/battery-full-charged-symbolic.png b/themes/unity/icons/battery-full-charged-symbolic.png new file mode 100644 index 0000000..4735283 Binary files /dev/null and b/themes/unity/icons/battery-full-charged-symbolic.png differ diff --git a/themes/unity/icons/battery-full-charging-symbolic.png b/themes/unity/icons/battery-full-charging-symbolic.png new file mode 100644 index 0000000..c299736 Binary files /dev/null and b/themes/unity/icons/battery-full-charging-symbolic.png differ diff --git a/themes/unity/icons/battery-full-symbolic.png b/themes/unity/icons/battery-full-symbolic.png new file mode 100644 index 0000000..4735283 Binary files /dev/null and b/themes/unity/icons/battery-full-symbolic.png differ diff --git a/themes/unity/icons/battery-good-charging-symbolic.png b/themes/unity/icons/battery-good-charging-symbolic.png new file mode 100644 index 0000000..364fc94 Binary files /dev/null and b/themes/unity/icons/battery-good-charging-symbolic.png differ diff --git a/themes/unity/icons/battery-good-symbolic.png b/themes/unity/icons/battery-good-symbolic.png new file mode 100644 index 0000000..c9edfb0 Binary files /dev/null and b/themes/unity/icons/battery-good-symbolic.png differ diff --git a/themes/unity/icons/battery-low-charging-symbolic.png b/themes/unity/icons/battery-low-charging-symbolic.png new file mode 100644 index 0000000..f1a7544 Binary files /dev/null and b/themes/unity/icons/battery-low-charging-symbolic.png differ diff --git a/themes/unity/icons/battery-low-symbolic.png b/themes/unity/icons/battery-low-symbolic.png new file mode 100644 index 0000000..5f26e83 Binary files /dev/null and b/themes/unity/icons/battery-low-symbolic.png differ diff --git a/themes/unity/icons/battery-missing-symbolic.png b/themes/unity/icons/battery-missing-symbolic.png new file mode 100644 index 0000000..37d01b3 Binary files /dev/null and b/themes/unity/icons/battery-missing-symbolic.png differ diff --git a/themes/unity/icons/battery.png b/themes/unity/icons/battery.png new file mode 100644 index 0000000..4735283 Binary files /dev/null and b/themes/unity/icons/battery.png differ diff --git a/themes/unity/icons/mpc-next-symbolic.png b/themes/unity/icons/mpc-next-symbolic.png new file mode 100644 index 0000000..8d94bc7 Binary files /dev/null and b/themes/unity/icons/mpc-next-symbolic.png differ diff --git a/themes/unity/icons/mpc-pause-symbolic.png b/themes/unity/icons/mpc-pause-symbolic.png new file mode 100644 index 0000000..8e8a97f Binary files /dev/null and b/themes/unity/icons/mpc-pause-symbolic.png differ diff --git a/themes/unity/icons/mpc-play-symbolic.png b/themes/unity/icons/mpc-play-symbolic.png new file mode 100644 index 0000000..5a1cfaf Binary files /dev/null and b/themes/unity/icons/mpc-play-symbolic.png differ diff --git a/themes/unity/icons/mpc-previous-symbolic.png b/themes/unity/icons/mpc-previous-symbolic.png new file mode 100644 index 0000000..73120bf Binary files /dev/null and b/themes/unity/icons/mpc-previous-symbolic.png differ diff --git a/themes/unity/icons/notifications-area-symbolic.png b/themes/unity/icons/notifications-area-symbolic.png new file mode 100644 index 0000000..ceb0578 Binary files /dev/null and b/themes/unity/icons/notifications-area-symbolic.png differ diff --git a/themes/unity/icons/reno98.png b/themes/unity/icons/reno98.png new file mode 100644 index 0000000..b1e98ef Binary files /dev/null and b/themes/unity/icons/reno98.png differ diff --git a/themes/unity/icons/unknown-app.png b/themes/unity/icons/unknown-app.png new file mode 100644 index 0000000..0d0f8bd Binary files /dev/null and b/themes/unity/icons/unknown-app.png differ diff --git a/themes/unity/icons/wallpapers.png b/themes/unity/icons/wallpapers.png new file mode 100644 index 0000000..49e84e7 Binary files /dev/null and b/themes/unity/icons/wallpapers.png differ diff --git a/themes/unity/layouts/cornerne.png b/themes/unity/layouts/cornerne.png new file mode 100644 index 0000000..c85bd56 Binary files /dev/null and b/themes/unity/layouts/cornerne.png differ diff --git a/themes/unity/layouts/cornernew.png b/themes/unity/layouts/cornernew.png new file mode 100644 index 0000000..c3fd986 Binary files /dev/null and b/themes/unity/layouts/cornernew.png differ diff --git a/themes/unity/layouts/cornernw.png b/themes/unity/layouts/cornernw.png new file mode 100644 index 0000000..dfe78b3 Binary files /dev/null and b/themes/unity/layouts/cornernw.png differ diff --git a/themes/unity/layouts/cornernww.png b/themes/unity/layouts/cornernww.png new file mode 100644 index 0000000..f489010 Binary files /dev/null and b/themes/unity/layouts/cornernww.png differ diff --git a/themes/unity/layouts/cornerse.png b/themes/unity/layouts/cornerse.png new file mode 100644 index 0000000..023ae79 Binary files /dev/null and b/themes/unity/layouts/cornerse.png differ diff --git a/themes/unity/layouts/cornersew.png b/themes/unity/layouts/cornersew.png new file mode 100644 index 0000000..f7cfa1c Binary files /dev/null and b/themes/unity/layouts/cornersew.png differ diff --git a/themes/unity/layouts/cornersw.png b/themes/unity/layouts/cornersw.png new file mode 100644 index 0000000..c1453c9 Binary files /dev/null and b/themes/unity/layouts/cornersw.png differ diff --git a/themes/unity/layouts/cornersww.png b/themes/unity/layouts/cornersww.png new file mode 100644 index 0000000..a65a043 Binary files /dev/null and b/themes/unity/layouts/cornersww.png differ diff --git a/themes/unity/layouts/dwindle.png b/themes/unity/layouts/dwindle.png new file mode 100644 index 0000000..9902d22 Binary files /dev/null and b/themes/unity/layouts/dwindle.png differ diff --git a/themes/unity/layouts/dwindlew.png b/themes/unity/layouts/dwindlew.png new file mode 100644 index 0000000..9199049 Binary files /dev/null and b/themes/unity/layouts/dwindlew.png differ diff --git a/themes/unity/layouts/fairh.png b/themes/unity/layouts/fairh.png new file mode 100644 index 0000000..d41deea Binary files /dev/null and b/themes/unity/layouts/fairh.png differ diff --git a/themes/unity/layouts/fairhw.png b/themes/unity/layouts/fairhw.png new file mode 100644 index 0000000..bb50e3a Binary files /dev/null and b/themes/unity/layouts/fairhw.png differ diff --git a/themes/unity/layouts/fairv.png b/themes/unity/layouts/fairv.png new file mode 100644 index 0000000..f5f0288 Binary files /dev/null and b/themes/unity/layouts/fairv.png differ diff --git a/themes/unity/layouts/fairvw.png b/themes/unity/layouts/fairvw.png new file mode 100644 index 0000000..4f4ed52 Binary files /dev/null and b/themes/unity/layouts/fairvw.png differ diff --git a/themes/unity/layouts/floating.png b/themes/unity/layouts/floating.png new file mode 100644 index 0000000..b8061a0 Binary files /dev/null and b/themes/unity/layouts/floating.png differ diff --git a/themes/unity/layouts/floatingw.png b/themes/unity/layouts/floatingw.png new file mode 100644 index 0000000..4815894 Binary files /dev/null and b/themes/unity/layouts/floatingw.png differ diff --git a/themes/unity/layouts/fullscreen.png b/themes/unity/layouts/fullscreen.png new file mode 100644 index 0000000..d02f6fc Binary files /dev/null and b/themes/unity/layouts/fullscreen.png differ diff --git a/themes/unity/layouts/fullscreenw.png b/themes/unity/layouts/fullscreenw.png new file mode 100644 index 0000000..5c35bfa Binary files /dev/null and b/themes/unity/layouts/fullscreenw.png differ diff --git a/themes/unity/layouts/magnifier.png b/themes/unity/layouts/magnifier.png new file mode 100644 index 0000000..2925414 Binary files /dev/null and b/themes/unity/layouts/magnifier.png differ diff --git a/themes/unity/layouts/magnifierw.png b/themes/unity/layouts/magnifierw.png new file mode 100644 index 0000000..6209556 Binary files /dev/null and b/themes/unity/layouts/magnifierw.png differ diff --git a/themes/unity/layouts/max.png b/themes/unity/layouts/max.png new file mode 100644 index 0000000..8d20844 Binary files /dev/null and b/themes/unity/layouts/max.png differ diff --git a/themes/unity/layouts/maxw.png b/themes/unity/layouts/maxw.png new file mode 100644 index 0000000..85f5ce3 Binary files /dev/null and b/themes/unity/layouts/maxw.png differ diff --git a/themes/unity/layouts/spiral.png b/themes/unity/layouts/spiral.png new file mode 100644 index 0000000..d9434be Binary files /dev/null and b/themes/unity/layouts/spiral.png differ diff --git a/themes/unity/layouts/spiralw.png b/themes/unity/layouts/spiralw.png new file mode 100644 index 0000000..b78dd86 Binary files /dev/null and b/themes/unity/layouts/spiralw.png differ diff --git a/themes/unity/layouts/tile.png b/themes/unity/layouts/tile.png new file mode 100644 index 0000000..3ede21e Binary files /dev/null and b/themes/unity/layouts/tile.png differ diff --git a/themes/unity/layouts/tilebottom.png b/themes/unity/layouts/tilebottom.png new file mode 100644 index 0000000..6f8c257 Binary files /dev/null and b/themes/unity/layouts/tilebottom.png differ diff --git a/themes/unity/layouts/tilebottomw.png b/themes/unity/layouts/tilebottomw.png new file mode 100644 index 0000000..a1de7b2 Binary files /dev/null and b/themes/unity/layouts/tilebottomw.png differ diff --git a/themes/unity/layouts/tileleft.png b/themes/unity/layouts/tileleft.png new file mode 100644 index 0000000..31d6870 Binary files /dev/null and b/themes/unity/layouts/tileleft.png differ diff --git a/themes/unity/layouts/tileleftw.png b/themes/unity/layouts/tileleftw.png new file mode 100644 index 0000000..cf14c25 Binary files /dev/null and b/themes/unity/layouts/tileleftw.png differ diff --git a/themes/unity/layouts/tiletop.png b/themes/unity/layouts/tiletop.png new file mode 100644 index 0000000..98cade2 Binary files /dev/null and b/themes/unity/layouts/tiletop.png differ diff --git a/themes/unity/layouts/tiletopw.png b/themes/unity/layouts/tiletopw.png new file mode 100644 index 0000000..d1d0872 Binary files /dev/null and b/themes/unity/layouts/tiletopw.png differ diff --git a/themes/unity/layouts/tilew.png b/themes/unity/layouts/tilew.png new file mode 100644 index 0000000..fde2ca4 Binary files /dev/null and b/themes/unity/layouts/tilew.png differ diff --git a/themes/unity/submenu.png b/themes/unity/submenu.png new file mode 100644 index 0000000..b2778e2 Binary files /dev/null and b/themes/unity/submenu.png differ diff --git a/themes/unity/taglist/squarefw.png b/themes/unity/taglist/squarefw.png new file mode 100644 index 0000000..2a86430 Binary files /dev/null and b/themes/unity/taglist/squarefw.png differ diff --git a/themes/unity/taglist/squarew.png b/themes/unity/taglist/squarew.png new file mode 100644 index 0000000..913f2ca Binary files /dev/null and b/themes/unity/taglist/squarew.png differ diff --git a/themes/unity/theme.lua b/themes/unity/theme.lua new file mode 100644 index 0000000..ca26bfd --- /dev/null +++ b/themes/unity/theme.lua @@ -0,0 +1,532 @@ +-- Reno98 - a retro replica of a very recognizable theme +--[[ + Reno98 - A theme for Reno desktop + + Written in 2022 by Yessiest (yessiest@memeware.net) + + To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. + + You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see . +--]] +local theme_assets = require("beautiful.theme_assets") +local xresources = require("beautiful.xresources") +local dpi = xresources.apply_dpi +local gears = require("gears") + +local gfs = require("gears.filesystem") +local themes_path = root_path.."/themes/" + +local theme = {} + +theme.font = "Ubuntu 8" + +theme.bg_normal = "#19191D" +theme.bg_focus = "#3E3E3E" +theme.bg_urgent = "#2E2E2E" +theme.bg_minimize = "#2E2E2E" +theme.bg_highlight = "#45433D" +theme.bg_systray = theme.bg_normal + +theme.fg_normal = "#e1dec7" +theme.fg_focus = "#e1dec7" +theme.fg_urgent = "#e1dec7" +theme.fg_minimize = "#e1dec7" + +theme.window_rounding = 5 +theme.useless_gap = dpi(0) +-- technically speaking these are irrelevant since they're not exactly smart +-- borders +theme.border_width = dpi(0) +theme.border_normal = "#c0c0c0" +theme.border_focus = "#c0c0c0" +theme.border_marked = "#c0c0c0" + +local bsize = 50 + +theme.button_bg_focus = { + type = "radial", + from = {bsize/2,-0.5*bsize,bsize/10}, + to = {bsize/2,-0.5*bsize,bsize*2}, + stops = { + { 0 , "#FFFFFFBB"}, + { 0.45, "#DF744E99"}, + { 0.55, "#DF744E99"}, + { 1, "#FFFFFF44"} + } +} + +theme.button_bg_normal = { + type = "radial", + from = {bsize/2,-0.5*bsize,bsize/10}, + to = {bsize/2,-0.2*bsize,bsize*1.5}, + stops = { + { 0 , "#FFFFFFFF"}, + { 0.5, "#33333333"}, + { 1, "#FFFFFF22"} + } +} + +theme.button_shape = function(cr,width,height) + return require("gears").shape.rounded_rect(cr,width,height,2) +end + + +theme.bar_bg_focus = { + type = "linear", + from = { 0, 20 }, + to = { 0, 0 }, + stops = { { 0, "#3C3B37"} , { 1 , "#59574E"} } +} + +theme.bar_bg_normal = { + type = "linear", + from = { 0, 20 }, + to = { 0, 0 }, + stops = { { 0, "#3C3B37"} , { 1 , "#41403D"} } +} + +theme.bar_bg_inverted_normal = { + type = "linear", + from = { 0, 20 }, + to = { 0, 0 }, + stops = { { 0 , "#41403D"}, { 1, "#3C3B37"} } +} + +theme.bar_bg_inverted_focus = { + type = "linear", + from = { 0, 20 }, + to = { 0, 0 }, + stops = { { 0 , "#59574E"}, { 1, "#3C3B37"} } +} + +theme.bar_border_color = { + type = "radial", + from = {bsize/2,bsize/(-3),bsize/8}, + to = {bsize/2,bsize/(-5),bsize*1}, + stops = { + { 0 , "#FFFFFF66"}, + { 1, "#43434366"}, + } +} + +theme.titlebar_bg_focus = theme.bar_bg_focus +theme.titlebar_bg_normal = theme.bar_bg_normal + +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 +) +theme.menu_height = dpi(15) +theme.menu_width = dpi(100) +theme.systray_icon_spacing = 2 + +-- Define the image to load + +theme.titlebar_ontop_button_normal_inactive = themes_path.."unity/titlebar/ontop_normal_inactive.png" +theme.titlebar_ontop_button_focus_inactive = themes_path.."unity/titlebar/ontop_focus_inactive.png" +theme.titlebar_ontop_button_normal_active = themes_path.."unity/titlebar/ontop_normal_active.png" +theme.titlebar_ontop_button_focus_active = themes_path.."unity/titlebar/ontop_focus_active.png" + +theme.titlebar_sticky_button_normal_inactive = themes_path.."unity/titlebar/sticky_normal_inactive.png" +theme.titlebar_sticky_button_focus_inactive = themes_path.."unity/titlebar/sticky_focus_inactive.png" +theme.titlebar_sticky_button_normal_active = themes_path.."unity/titlebar/sticky_normal_active.png" +theme.titlebar_sticky_button_focus_active = themes_path.."unity/titlebar/sticky_focus_active.png" + +theme.titlebar_floating_button_normal_inactive = themes_path.."unity/titlebar/floating_normal_inactive.png" +theme.titlebar_floating_button_focus_inactive = themes_path.."unity/titlebar/floating_focus_inactive.png" +theme.titlebar_floating_button_normal_active = themes_path.."unity/titlebar/floating_normal_active.png" +theme.titlebar_floating_button_focus_active = themes_path.."unity/titlebar/floating_focus_active.png" + +theme = theme_assets.recolor_titlebar(theme,theme.fg_normal,"normal") +theme = theme_assets.recolor_titlebar(theme,theme.fg_focus,"focus") + +theme.titlebar_close_button_normal = themes_path.."unity/titlebar/close_normal.png" +theme.titlebar_close_button_focus = themes_path.."unity/titlebar/close_focus.png" + +theme.titlebar_minimize_button_normal = themes_path.."unity/titlebar/minimize_normal.png" +theme.titlebar_minimize_button_focus = themes_path.."unity/titlebar/minimize_focus.png" + +theme.titlebar_maximized_button_normal_inactive = themes_path.."unity/titlebar/maximized_normal_inactive.png" +theme.titlebar_maximized_button_focus_inactive = themes_path.."unity/titlebar/maximized_focus_inactive.png" +theme.titlebar_maximized_button_normal_active = themes_path.."unity/titlebar/maximized_normal_active.png" +theme.titlebar_maximized_button_focus_active = themes_path.."unity/titlebar/maximized_focus_active.png" + +theme.wallpaper = themes_path.."unity/background.png" +theme.wallpapers_icon = themes_path.."unity/icons/wallpapers.png" + +-- You can use your own layout icons like this: +theme.layout_fairh = themes_path.."unity/layouts/fairhw.png" +theme.layout_fairv = themes_path.."unity/layouts/fairvw.png" +theme.layout_floating = themes_path.."unity/layouts/floatingw.png" +theme.layout_magnifier = themes_path.."unity/layouts/magnifierw.png" +theme.layout_max = themes_path.."unity/layouts/maxw.png" +theme.layout_fullscreen = themes_path.."unity/layouts/fullscreenw.png" +theme.layout_tilebottom = themes_path.."unity/layouts/tilebottomw.png" +theme.layout_tileleft = themes_path.."unity/layouts/tileleftw.png" +theme.layout_tile = themes_path.."unity/layouts/tilew.png" +theme.layout_tiletop = themes_path.."unity/layouts/tiletopw.png" +theme.layout_spiral = themes_path.."unity/layouts/spiralw.png" +theme.layout_dwindle = themes_path.."unity/layouts/dwindlew.png" +theme.layout_cornernw = themes_path.."unity/layouts/cornernww.png" +theme.layout_cornerne = themes_path.."unity/layouts/cornernew.png" +theme.layout_cornersw = themes_path.."unity/layouts/cornersww.png" +theme.layout_cornerse = themes_path.."unity/layouts/cornersew.png" + +-- Generate Awesome icon: +theme.awesome_icon = theme_assets.awesome_icon( + theme.menu_height, theme.bg_focus, theme.fg_focus +) + +theme.hotkeys_border_width = 3 +theme.hotkeys_border_color = theme.bg_focus +theme.hotkeys_modifiers_fg = theme.fg_normal +theme.hotkeys_label_fg = theme.fg_normal + +---theme.bgimage_outset +-- 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 = "Chicago95" + +-- Icons +local icons = { + "battery-caution-charging-symbolic", + "battery-empty-charging-symbolic", + "battery-full-charging-symbolic", + "battery-good-charging-symbolic", + "battery-low-charging-symbolic" +} +for k,v in pairs(icons) do + theme[v] = themes_path.."unity/icons/"..v..".png" + theme[v:gsub("-charging","")] = themes_path.."unity/icons/"..v:gsub("-charging","")..".png" +end +theme["battery-full-charged-symbolic"] = themes_path.."unity/icons/battery-full-charged-symbolic.png" +theme["battery-missing-symbolic"] = themes_path.."unity/icons/battery-missing-symbolic.png" +theme["ac-adapter-symbolic"] = themes_path.."unity/icons/ac-adapter-symbolic.png" +theme["backlight-symbolic"] = themes_path.."unity/icons/backlight-symbolic.png" +theme["notifications-area-symbolic"] = themes_path.."unity/icons/notifications-area-symbolic.png" + +theme["mpc-previous-symbolic"] = themes_path.."unity/icons/mpc-previous-symbolic.png" + +theme["mpc-play-symbolic"] = themes_path.."unity/icons/mpc-play-symbolic.png" +theme["mpc-pause-symbolic"] = themes_path.."unity/icons/mpc-pause-symbolic.png" +theme["mpc-next-symbolic"] = themes_path.."unity/icons/mpc-next-symbolic.png" + +theme["action-poweroff-symbolic"] = themes_path.."unity/icons/action-poweroff-symbolic.png" +theme["action-lock-screen-symbolic"] = themes_path.."unity/icons/action-lock-screen-symbolic.png" +theme["action-suspend-symbolic"] = themes_path.."unity/icons/action-suspend-symbolic.png" +-- Notification popups settings +theme.notification_width = 240 +theme.notification_height = 60 + +-- Default icon for clients +-- This one has to be baked as a surface to avoid memory leaks +theme.icon_default = gears.surface(themes_path.."unity/icons/unknown-app.png") + +theme.widgets = { + -- {{{ Widget base + default = { + container = { + shape = function(cr,width,height) + return require("gears").shape.rounded_rect(cr,width,height,2) + end, + bgimage_highlight = theme.bgimage_inset + }, + button = { + shape = theme.button_shape, + onpress = function(widget) + widget:set_bg(theme.bg_focus) + end, + onrelease = function(widget) + widget:set_bg(theme.bg_normal) + end + }, + popup = { + shape = function(cr,width,height) + return gears.shape.rounded_rect(cr,width,height,4) + end, + }, + titlebar = { + top = 2, + bottom = 2, + left = 3, + right = 3 + }, + wibar = { + shape = function(cr,width,height) + return gears.shape.rounded_rect(cr,width,height,0) + end, + height = 26, + width = 60, + margins = 3, + stretch = true + }, + slider = { + shape = function(cr,width,height) + return gears.shape.rounded_rect(cr,width,height,0) + end, + height = 20, + width = 140, + handle_width = 8, + handle_border_color = theme.bg_focus, + handle_border_width = 2, + bar_height = 6 + } + }, + -- }}} + -- {{{ Menus + generic_menu = { + base = { + spacing = 2, + menu_slide = true + }, + button = { + bg_normal = theme.bg_highlight, + onpress = function(widget) + widget:set_bg(theme.bg_focus) + end, + onrelease = function(widget) + widget:set_bg(theme.bg_highlight) + end, + forced_height = 20, + forced_width = 160 + }, + }, + -- }}} + -- {{{ Popup activating icons + generic_iconified_widget = { + button = { + margins = 2, + bg_normal = "#00000000", + onpress = function(widget) + widget:set_bg(theme.bg_normal) + end, + onrelease = function(widget) + widget:set_bg("#00000000") + end + } + }, + -- }}} + -- {{{ Bars/Panels/Menu popups + generic_composite_widget = { + base = { + spacing = 2 + } + }, + -- }}} + -- {{{ Status panel widgets + generic_status_widget = { + container = { + margins = 2, + bg_normal = "#00000000", + }, + button = { + margins = 2, + bg_normal = "#00000000", + onpress = function() end, + onrelease = function() end, + } + }, + -- }}} + -- {{{ Various button lists + generic_button_list = { + button = { + bg_normal = theme.bg_highlight, + onpress = function(widget) + widget:set_bg(theme.bg_focus) + end, + onrelease = function(widget) + widget:set_bg(theme.bg_highlight) + end, + forced_width = 20, + forced_height = 20 + }, + base = { + spacing = 2 + } + }, + -- }}} + -- {{{ All widgets that fit into a single line + generic_oneline_widget = { + container = { + bgimage_normal = theme.bgimage_inset + }, + button = { + margins = 2, + onpress = function(widget) + widget:set_bg(theme.bg_normal) + end, + onrelease = function(widget) + widget:set_bg("#00000000") + end, + bg_normal = "#00000000" + } + }, + -- }}} + -- {{{ All kinds of widget popups + generic_popup = { + button = { + width = 180, + height = 40 + }, + article = { + icon_size = 30 + }, + }, + -- }}} + soundclown = { + --[[ --Uncomment to leetify that MPC + container = { + bg_normal = "#0c0c0c", + fg_normal = "#00FF00" + }, + ]] + base = { + width = 140 + }, + }, + subpanel = { + container = { + bgimage_normal = theme.bgimage_inset, + bg_normal = theme.bar_bg_inverted_normal, + margins = 0, + shape = function(cr,width,height) + return gears.shape.rounded_rect(cr,width,height,8) + end + } + }, + taglist = { + base = { + spacing = 2, + layout = require("wibox").layout.flex.horizontal + }, + button = { + bgimage_focus = theme.bgimage_inset, + bgimage_normal = theme.bgimage_outset, + }, + container = { + margins = 3 + } + }, + tasklist = { + button = { + width = 160, + height = 50, + shape_focus = theme.button_shape, + shape_normal = theme.button_shape, + shape_urgent = theme.button_shape, + shape_minimize = theme.button_shape, + bg_normal = theme.button_bg_normal, + bg_focus = theme.button_bg_focus, + bg_urgent = theme.bg_urgent, + bg_minimize = theme.bg_minimize, + shape_border_color_normal = theme.bar_border_color, + shape_border_color_focus = theme.bar_border_color, + shape_border_color_urgent = theme.bar_border_color, + shape_border_color_minimize = theme.bar_border_color, + shape_border_width_normal = dpi(1), + shape_border_width_focus = dpi(1), + shape_border_width_urgent = dpi(1), + shape_border_width_minimize = dpi(1), + } + }, + launcher = { + button = { + margins = 5, + bg_normal = theme.button_bg_normal, + bg_focus = theme.button_bg_focus, + shape_border_width = dpi(1), + shape_border_color = theme.bar_border_color, + onpress = function(widget) + widget:set_bg(theme.button_bg_focus) + end, + onrelease = function(widget) + widget:set_bg(theme.button_bg_normal) + end + } + }, + lockscreen = { + popup = { + margins = 0 + } + }, + lockbar = { + base = { + height = 22 + } + }, + lockpanel = { + base = { + icon_height = 60, + icon_width = 60, + panel_height = 300, + panel_width = 200, + panel_bgimage = theme.bgimage_outset + }, + container = { + shape = function(cr,width,height) + return gears.shape.rounded_rect(cr,width,height,8) + end, + shape_border_color = theme.bg_highlight, + shape_border_width = dpi(2) + } + }, + systray = { + container = { + margins = 2, + shape = function(cr,width,height) + return gears.shape.rounded_rect(cr,width,height,4) + end, + shape_border_color = theme.bg_normal, + shape_border_width = dpi(2) + } + }, + lock_clock = { + textbox = { + font = "Ubuntu Mono 20" + } + }, + titlebar = { + titlebar_top = { + bg_focus = theme.titlebar_bg_focus, + bg_normal = theme.titlebar_bg_normal, + fg_focus = "#FAFAFA", + fg_normal = theme.fg_normal, + size = 22, + spacing = 1 + }, + titlebar_left = { + size = 2, + bg_focus = "#3C3B37", + bg_normal = "#3C3B37", + }, + titlebar_right = { + size = 2, + bg_focus = "#3C3B37", + bg_normal = "#3C3B37", + }, + titlebar_bottom = { + size = 2, + bg_focus = "#3C3B37", + bg_normal = "#3C3B37", + } + }, + wibar = { + wibar_top = { + bg_normal = theme.bar_bg_normal, + fg_normal = theme.fg_normal, + size = 22 + }, + wibar_left = { + bg_normal = "#0D0D0966", + border_width = dpi(1), + border_color = "#26262666" + } + } +} + +return theme + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/themes/unity/theme_awmtk.lua b/themes/unity/theme_awmtk.lua new file mode 100644 index 0000000..c2ac851 --- /dev/null +++ b/themes/unity/theme_awmtk.lua @@ -0,0 +1,177 @@ +local theme_assets = require("beautiful.theme_assets") +local xresources = require("beautiful.xresources") +local dpi = xresources.apply_dpi + +local theme = {} + +theme.name = "unity" + +theme.font = "Ubuntu Regular 10" +theme.bg_normal = "#19191D" +theme.bg_focus = "#3E3E3E" +theme.bg_urgent = "#2E2E2E" +theme.bg_minimize = "#2E2E2E" +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_focus +theme.border_focus = theme.bg_focus +theme.border_marked = theme.bg_marked + +theme.tasklist_button_shape_border_width = dpi(1) +theme.tasklist_button_shape_border_color = { + type = "radial", + from = {bsize/2,bsize/(-3),bsize/8}, + to = {bsize/2,bsize/(-5),bsize*1}, + stops = { + { 0 , "#FFFFFF66"}, + { 1, "#43434366"}, + } +} + +theme.tasklist_bg_focus = { + type = "radial", + from = {bsize/2,-0.5*bsize,bsize/10}, + to = {bsize/2,-0.5*bsize,bsize*2}, + stops = { + { 0 , "#FFFFFFBB"}, + { 0.45, "#DF744E99"}, + { 0.55, "#DF744E99"}, + { 1, "#FFFFFF44"} + } +} + +theme.tasklist_bg_normal = { + type = "radial", + from = {bsize/2,-0.5*bsize,bsize/10}, + to = {bsize/2,-0.2*bsize,bsize*1.5}, + stops = { + { 0 , "#FFFFFFFF"}, + { 0.5, "#33333333"}, + { 1, "#FFFFFF22"} + } +} + +theme.tasklist_bg_minimize = "#23232366" +theme.tasklist_bg_minimize = "#23232366" +-- There are other variable sets + +theme.launcher_button_bg_focus = { + type = "radial", + from = {bsize/2,-0.5*bsize,bsize/10}, + to = {bsize/2,-0.5*bsize,bsize*2}, + stops = { + { 0 , "#FFFFFFBB"}, + { 0.45, "#66666699"}, + { 0.55, "#66666699"}, + { 1, "#FFFFFF44"} + } +} + +theme.launcher_button_bg_normal = { + type = "radial", + from = {bsize/2,-0.5*bsize,bsize/10}, + to = {bsize/2,-0.2*bsize,bsize*1.5}, + stops = { + { 0 , "#FFFFFFFF"}, + { 0.5, "#33333333"}, + { 1, "#FFFFFF22"} + } +} + +theme.hotkeys_border_color = "#262626" +theme.hotkeys_opacity = 1 + +theme.titlebar_bg_focus = { + type = "linear", + from = { 0, 20 }, + to = { 0, 0 }, + stops = { { 0, "#3C3B37"} , { 1 , "#59574E"} } +} + +theme.titlebar_bg_normal = { + type = "linear", + from = { 0, 20 }, + to = { 0, 0 }, + stops = { { 0, "#3C3B37"} , { 1 , "#41403D"} } +} + +theme.topbar_bg = { + type = "linear", + from = { 0, 20 }, + to = { 0, 0 }, + stops = { { 0, "#3C3B37"} , { 1 , "#545249"} } +} + +-- 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 +) + +theme.notification_width = dpi(250) +theme.notification_height = dpi(80) + +theme.titlebar_close_button_normal = global.themes_dir..theme.name.."/titlebar/close_normal.png" +theme.titlebar_close_button_focus = global.themes_dir..theme.name.."/titlebar/close_focus.png" + +theme.titlebar_minimize_button_normal = global.themes_dir..theme.name.."/titlebar/minimize_normal.png" +theme.titlebar_minimize_button_focus = global.themes_dir..theme.name.."/titlebar/minimize_focus.png" + +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.png" +theme.titlebar_maximized_button_focus_inactive = global.themes_dir..theme.name.."/titlebar/maximized_focus_inactive.png" +theme.titlebar_maximized_button_normal_active = global.themes_dir..theme.name.."/titlebar/maximized_normal_active.png" +theme.titlebar_maximized_button_focus_active = global.themes_dir..theme.name.."/titlebar/maximized_focus_active.png" + +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) + +-- 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/unity/titlebar/close_focus.png b/themes/unity/titlebar/close_focus.png new file mode 100644 index 0000000..51b1a80 Binary files /dev/null and b/themes/unity/titlebar/close_focus.png differ diff --git a/themes/unity/titlebar/close_normal.png b/themes/unity/titlebar/close_normal.png new file mode 100644 index 0000000..f6b83d2 Binary files /dev/null and b/themes/unity/titlebar/close_normal.png differ diff --git a/themes/unity/titlebar/floating_focus_active.png b/themes/unity/titlebar/floating_focus_active.png new file mode 100644 index 0000000..82dcc7c Binary files /dev/null and b/themes/unity/titlebar/floating_focus_active.png differ diff --git a/themes/unity/titlebar/floating_focus_inactive.png b/themes/unity/titlebar/floating_focus_inactive.png new file mode 100644 index 0000000..c19ba80 Binary files /dev/null and b/themes/unity/titlebar/floating_focus_inactive.png differ diff --git a/themes/unity/titlebar/floating_normal_active.png b/themes/unity/titlebar/floating_normal_active.png new file mode 100644 index 0000000..62342d1 Binary files /dev/null and b/themes/unity/titlebar/floating_normal_active.png differ diff --git a/themes/unity/titlebar/floating_normal_inactive.png b/themes/unity/titlebar/floating_normal_inactive.png new file mode 100644 index 0000000..e2bbdfa Binary files /dev/null and b/themes/unity/titlebar/floating_normal_inactive.png differ diff --git a/themes/unity/titlebar/maximized_focus_active.png b/themes/unity/titlebar/maximized_focus_active.png new file mode 100644 index 0000000..189d0f4 Binary files /dev/null and b/themes/unity/titlebar/maximized_focus_active.png differ diff --git a/themes/unity/titlebar/maximized_focus_inactive.png b/themes/unity/titlebar/maximized_focus_inactive.png new file mode 100644 index 0000000..199b853 Binary files /dev/null and b/themes/unity/titlebar/maximized_focus_inactive.png differ diff --git a/themes/unity/titlebar/maximized_normal_active.png b/themes/unity/titlebar/maximized_normal_active.png new file mode 100644 index 0000000..f3832ad Binary files /dev/null and b/themes/unity/titlebar/maximized_normal_active.png differ diff --git a/themes/unity/titlebar/maximized_normal_inactive.png b/themes/unity/titlebar/maximized_normal_inactive.png new file mode 100644 index 0000000..7af085e Binary files /dev/null and b/themes/unity/titlebar/maximized_normal_inactive.png differ diff --git a/themes/unity/titlebar/minimize_focus.png b/themes/unity/titlebar/minimize_focus.png new file mode 100644 index 0000000..8ec8e4c Binary files /dev/null and b/themes/unity/titlebar/minimize_focus.png differ diff --git a/themes/unity/titlebar/minimize_normal.png b/themes/unity/titlebar/minimize_normal.png new file mode 100644 index 0000000..9d46d90 Binary files /dev/null and b/themes/unity/titlebar/minimize_normal.png differ diff --git a/themes/unity/titlebar/ontop_focus_active.png b/themes/unity/titlebar/ontop_focus_active.png new file mode 100644 index 0000000..312c00b Binary files /dev/null and b/themes/unity/titlebar/ontop_focus_active.png differ diff --git a/themes/unity/titlebar/ontop_focus_inactive.png b/themes/unity/titlebar/ontop_focus_inactive.png new file mode 100644 index 0000000..a48e1c5 Binary files /dev/null and b/themes/unity/titlebar/ontop_focus_inactive.png differ diff --git a/themes/unity/titlebar/ontop_normal_active.png b/themes/unity/titlebar/ontop_normal_active.png new file mode 100644 index 0000000..117a203 Binary files /dev/null and b/themes/unity/titlebar/ontop_normal_active.png differ diff --git a/themes/unity/titlebar/ontop_normal_inactive.png b/themes/unity/titlebar/ontop_normal_inactive.png new file mode 100644 index 0000000..d3a10c8 Binary files /dev/null and b/themes/unity/titlebar/ontop_normal_inactive.png differ diff --git a/themes/unity/titlebar/sticky_focus_active.png b/themes/unity/titlebar/sticky_focus_active.png new file mode 100644 index 0000000..814499b Binary files /dev/null and b/themes/unity/titlebar/sticky_focus_active.png differ diff --git a/themes/unity/titlebar/sticky_focus_inactive.png b/themes/unity/titlebar/sticky_focus_inactive.png new file mode 100644 index 0000000..21b000d Binary files /dev/null and b/themes/unity/titlebar/sticky_focus_inactive.png differ diff --git a/themes/unity/titlebar/sticky_normal_active.png b/themes/unity/titlebar/sticky_normal_active.png new file mode 100644 index 0000000..bdb5595 Binary files /dev/null and b/themes/unity/titlebar/sticky_normal_active.png differ diff --git a/themes/unity/titlebar/sticky_normal_inactive.png b/themes/unity/titlebar/sticky_normal_inactive.png new file mode 100644 index 0000000..a96b9b1 Binary files /dev/null and b/themes/unity/titlebar/sticky_normal_inactive.png differ diff --git a/widgets/launcher.lua b/widgets/launcher.lua index 86692f0..5b1322c 100644 --- a/widgets/launcher.lua +++ b/widgets/launcher.lua @@ -39,10 +39,10 @@ return function(args) local files = synchronous_ls(path) for k,v in pairs(files) do local data = menubar_utils.parse_desktop_file(path.."/"..v) - local new_widget = wibox.widget(t.button({ + local new_widget = wibox.widget(t.button(t.center({ image = menubar_utils.lookup_icon_uncached(data.Icon), widget = wibox.widget.imagebox, - })) + }))) local exec = data.Exec:gsub("%%%w","") new_widget:connect_signal("button::press",style.button.onpress) new_widget:connect_signal("button::release",style.button.onrelease)