mirror of
https://github.com/morgan9e/gnome-shell-extension-freon
synced 2026-04-15 00:44:22 +09:00
Migrate Plugin to Gnome 45 Shell (#267)
* Migrate Plugin to Gnome 45 Shell * Use TextDecoder instead of ByteArray or toString() * use the Glib timeout functions * remove unused imports
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
// Provide sensor data from liquidctl.
|
||||
import GLib from 'gi://GLib';
|
||||
|
||||
const GLib = imports.gi.GLib;
|
||||
import CommandLineUtil from './commandLineUtil.js';
|
||||
|
||||
const Me = imports.misc.extensionUtils.getCurrentExtension();
|
||||
const commandLineUtil = Me.imports.commandLineUtil;
|
||||
export default class LiquidctlUtil extends CommandLineUtil {
|
||||
|
||||
var LiquidctlUtil = class extends commandLineUtil.CommandLineUtil {
|
||||
constructor() {
|
||||
super();
|
||||
const path = GLib.find_program_in_path('liquidctl');
|
||||
|
||||
Reference in New Issue
Block a user