awesome-branding-openSUSE/awesome-branding-without-calendar.patch
Dominique Leuenberger ac92184bfc Accepting request 893111 from home:dimstar:Factory
- Add awesome-branding-without-calendar.patch: Disable the calendar
  widget for now (boo#1182240).

As I'm not an awesome user (pun intended), I'm just patching the
  broken widget out.

This at least should allow awesomeWM to start again with the default
config. Better than what happens now.

OBS-URL: https://build.opensuse.org/request/show/893111
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/awesome-branding-openSUSE?expand=0&rev=13
2021-05-18 12:27:35 +00:00

23 lines
876 B
Diff

Index: awesome-branding-openSUSE-4.0-v0.1/rc.lua
===================================================================
--- awesome-branding-openSUSE-4.0-v0.1.orig/rc.lua
+++ awesome-branding-openSUSE-4.0-v0.1/rc.lua
@@ -38,7 +38,7 @@ local gtk = lgi.require("Gtk", "3.0")
-- Freedesktop integration
local freedesktop = require("freedesktop")
-- calendar functions
-local calendar2 = require("calendar2")
+-- local calendar2 = require("calendar2")
-- Extra widgets
local vicious = require("vicious")
@@ -184,7 +184,7 @@ separator:set_text("|")
-- Create a textclock widget
mytextclock = wibox.widget.textclock()
-calendar2.addCalendarToWidget(mytextclock, "<span color='green'>%s</span>")
+-- calendar2.addCalendarToWidget(mytextclock, "<span color='green'>%s</span>")
mycpuwidget = wibox.widget.textbox()
vicious.register(mycpuwidget, vicious.widgets.cpu, "$1%")