mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
nicer looking hyprland config dir in tooltip (closes #1213)
This commit is contained in:
parent
75c6156754
commit
62c46f537e
1 changed files with 2 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
const { GLib } = imports.gi;
|
||||||
import * as Utils from 'resource:///com/github/Aylur/ags/utils.js';
|
import * as Utils from 'resource:///com/github/Aylur/ags/utils.js';
|
||||||
const { execAsync, exec } = Utils;
|
const { execAsync, exec } = Utils;
|
||||||
|
|
||||||
|
|
@ -5,7 +6,7 @@ import { getNestedProperty, updateNestedProperty } from "../.miscutils/objects.j
|
||||||
import { ConfigSpinButton, ConfigToggle } from "./configwidgets.js";
|
import { ConfigSpinButton, ConfigToggle } from "./configwidgets.js";
|
||||||
|
|
||||||
const AGS_CONFIG_FILE = `${App.configDir}/user_options.jsonc`;
|
const AGS_CONFIG_FILE = `${App.configDir}/user_options.jsonc`;
|
||||||
const HYPRLAND_CONFIG_FILE = `\${XDG_CONFIG_HOME:-$HOME/.config}/hypr/custom/general.conf`;
|
const HYPRLAND_CONFIG_FILE = `${GLib.get_user_config_dir()}/hypr/custom/general.conf`;
|
||||||
|
|
||||||
export const AgsToggle = ({
|
export const AgsToggle = ({
|
||||||
icon, name, desc = null,
|
icon, name, desc = null,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue