forked from Shinonome/dots-hyprland
remove useless stuff
This commit is contained in:
@@ -1,8 +1,5 @@
|
|||||||
import Service from 'resource:///com/github/Aylur/ags/service.js';
|
import Service from 'resource:///com/github/Aylur/ags/service.js';
|
||||||
import * as Utils from 'resource:///com/github/Aylur/ags/utils.js';
|
import * as Utils from 'resource:///com/github/Aylur/ags/utils.js';
|
||||||
const { exec, execAsync } = Utils;
|
|
||||||
|
|
||||||
const clamp = (num, min, max) => Math.min(Math.max(num, min), max);
|
|
||||||
|
|
||||||
class IndicatorService extends Service {
|
class IndicatorService extends Service {
|
||||||
static {
|
static {
|
||||||
|
|||||||
@@ -3,12 +3,6 @@ import Service from 'resource:///com/github/Aylur/ags/service.js';
|
|||||||
import * as Utils from 'resource:///com/github/Aylur/ags/utils.js';
|
import * as Utils from 'resource:///com/github/Aylur/ags/utils.js';
|
||||||
const { exec, execAsync } = Utils;
|
const { exec, execAsync } = Utils;
|
||||||
|
|
||||||
const clamp = (num, min, max) => Math.min(Math.max(num, min), max);
|
|
||||||
function fileExists(filePath) {
|
|
||||||
let file = Gio.File.new_for_path(filePath);
|
|
||||||
return file.query_exists(null);
|
|
||||||
}
|
|
||||||
|
|
||||||
class TodoService extends Service {
|
class TodoService extends Service {
|
||||||
static {
|
static {
|
||||||
Service.register(
|
Service.register(
|
||||||
|
|||||||
@@ -1,16 +1,9 @@
|
|||||||
const { Gdk, Gio, GLib } = imports.gi;
|
const { Gdk, GLib } = imports.gi;
|
||||||
import Service from 'resource:///com/github/Aylur/ags/service.js';
|
import Service from 'resource:///com/github/Aylur/ags/service.js';
|
||||||
import * as Utils from 'resource:///com/github/Aylur/ags/utils.js';
|
import * as Utils from 'resource:///com/github/Aylur/ags/utils.js';
|
||||||
const { exec, execAsync } = Utils;
|
|
||||||
|
|
||||||
const WALLPAPER_CONFIG_PATH = `${GLib.get_user_cache_dir()}/ags/user/wallpaper.json`;
|
const WALLPAPER_CONFIG_PATH = `${GLib.get_user_cache_dir()}/ags/user/wallpaper.json`;
|
||||||
|
|
||||||
const clamp = (num, min, max) => Math.min(Math.max(num, min), max);
|
|
||||||
function fileExists(filePath) {
|
|
||||||
let file = Gio.File.new_for_path(filePath);
|
|
||||||
return file.query_exists(null);
|
|
||||||
}
|
|
||||||
|
|
||||||
class WallpaperService extends Service {
|
class WallpaperService extends Service {
|
||||||
static {
|
static {
|
||||||
Service.register(
|
Service.register(
|
||||||
|
|||||||
Reference in New Issue
Block a user