diff --git a/lib/beautiful/gtk.lua b/lib/beautiful/gtk.lua index 1ff79383..7518417f 100644 --- a/lib/beautiful/gtk.lua +++ b/lib/beautiful/gtk.lua @@ -70,7 +70,8 @@ function gtk.get_theme_variables() local result = {} local _gtk_status, Gtk = pcall(function() - return require('lgi').Gtk + local lgi = require('lgi') + return lgi.require('Gtk', '3.0') end) if not _gtk_status or not Gtk then gears_debug.print_warning(