Evernight & Caelestia
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
pragma Singleton
|
||||
|
||||
import Quickshell
|
||||
|
||||
Singleton {
|
||||
// Literally just here to shorten accessing stuff :woe:
|
||||
// Also kinda so I can keep accessing it with `Appearance.xxx` instead of `Config.appearance.xxx`
|
||||
readonly property AppearanceConfig.Rounding rounding: Config.appearance.rounding
|
||||
readonly property AppearanceConfig.Spacing spacing: Config.appearance.spacing
|
||||
readonly property AppearanceConfig.Padding padding: Config.appearance.padding
|
||||
readonly property AppearanceConfig.FontStuff font: Config.appearance.font
|
||||
readonly property AppearanceConfig.Anim anim: Config.appearance.anim
|
||||
readonly property AppearanceConfig.Transparency transparency: Config.appearance.transparency
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
import Quickshell.Io
|
||||
|
||||
JsonObject {
|
||||
property Rounding rounding: Rounding {}
|
||||
property Spacing spacing: Spacing {}
|
||||
property Padding padding: Padding {}
|
||||
property FontStuff font: FontStuff {}
|
||||
property Anim anim: Anim {}
|
||||
property Transparency transparency: Transparency {}
|
||||
|
||||
component Rounding: JsonObject {
|
||||
property real scale: 1
|
||||
property int small: 12 * scale
|
||||
property int normal: 17 * scale
|
||||
property int large: 25 * scale
|
||||
property int full: 1000 * scale
|
||||
}
|
||||
|
||||
component Spacing: JsonObject {
|
||||
property real scale: 1
|
||||
property int small: 7 * scale
|
||||
property int smaller: 10 * scale
|
||||
property int normal: 12 * scale
|
||||
property int larger: 15 * scale
|
||||
property int large: 20 * scale
|
||||
}
|
||||
|
||||
component Padding: JsonObject {
|
||||
property real scale: 1
|
||||
property int small: 5 * scale
|
||||
property int smaller: 7 * scale
|
||||
property int normal: 10 * scale
|
||||
property int larger: 12 * scale
|
||||
property int large: 15 * scale
|
||||
}
|
||||
|
||||
component FontFamily: JsonObject {
|
||||
property string sans: "Rubik"
|
||||
property string mono: "CaskaydiaCove NF"
|
||||
property string material: "Material Symbols Rounded"
|
||||
property string clock: "Rubik"
|
||||
}
|
||||
|
||||
component FontSize: JsonObject {
|
||||
property real scale: 1
|
||||
property int small: 11 * scale
|
||||
property int smaller: 12 * scale
|
||||
property int normal: 13 * scale
|
||||
property int larger: 15 * scale
|
||||
property int large: 18 * scale
|
||||
property int extraLarge: 28 * scale
|
||||
}
|
||||
|
||||
component FontStuff: JsonObject {
|
||||
property FontFamily family: FontFamily {}
|
||||
property FontSize size: FontSize {}
|
||||
}
|
||||
|
||||
component AnimCurves: JsonObject {
|
||||
property list<real> emphasized: [0.05, 0, 2 / 15, 0.06, 1 / 6, 0.4, 5 / 24, 0.82, 0.25, 1, 1, 1]
|
||||
property list<real> emphasizedAccel: [0.3, 0, 0.8, 0.15, 1, 1]
|
||||
property list<real> emphasizedDecel: [0.05, 0.7, 0.1, 1, 1, 1]
|
||||
property list<real> standard: [0.2, 0, 0, 1, 1, 1]
|
||||
property list<real> standardAccel: [0.3, 0, 1, 1, 1, 1]
|
||||
property list<real> standardDecel: [0, 0, 0, 1, 1, 1]
|
||||
property list<real> expressiveFastSpatial: [0.42, 1.67, 0.21, 0.9, 1, 1]
|
||||
property list<real> expressiveDefaultSpatial: [0.38, 1.21, 0.22, 1, 1, 1]
|
||||
property list<real> expressiveEffects: [0.34, 0.8, 0.34, 1, 1, 1]
|
||||
}
|
||||
|
||||
component AnimDurations: JsonObject {
|
||||
property real scale: 1
|
||||
property int small: 200 * scale
|
||||
property int normal: 400 * scale
|
||||
property int large: 600 * scale
|
||||
property int extraLarge: 1000 * scale
|
||||
property int expressiveFastSpatial: 350 * scale
|
||||
property int expressiveDefaultSpatial: 500 * scale
|
||||
property int expressiveEffects: 200 * scale
|
||||
}
|
||||
|
||||
component Anim: JsonObject {
|
||||
property AnimCurves curves: AnimCurves {}
|
||||
property AnimDurations durations: AnimDurations {}
|
||||
}
|
||||
|
||||
component Transparency: JsonObject {
|
||||
property bool enabled: false
|
||||
property real base: 0.85
|
||||
property real layers: 0.4
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
import Quickshell.Io
|
||||
|
||||
JsonObject {
|
||||
property bool enabled: true
|
||||
property DesktopClock desktopClock: DesktopClock {}
|
||||
property Visualiser visualiser: Visualiser {}
|
||||
|
||||
component DesktopClock: JsonObject {
|
||||
property bool enabled: false
|
||||
}
|
||||
|
||||
component Visualiser: JsonObject {
|
||||
property bool enabled: false
|
||||
property bool autoHide: true
|
||||
property real rounding: 1
|
||||
property real spacing: 1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
import Quickshell.Io
|
||||
|
||||
JsonObject {
|
||||
property bool persistent: true
|
||||
property bool showOnHover: true
|
||||
property int dragThreshold: 20
|
||||
property ScrollActions scrollActions: ScrollActions {}
|
||||
property Workspaces workspaces: Workspaces {}
|
||||
property Tray tray: Tray {}
|
||||
property Status status: Status {}
|
||||
property Clock clock: Clock {}
|
||||
property Sizes sizes: Sizes {}
|
||||
|
||||
property list<var> entries: [
|
||||
{
|
||||
id: "logo",
|
||||
enabled: true
|
||||
},
|
||||
{
|
||||
id: "workspaces",
|
||||
enabled: true
|
||||
},
|
||||
{
|
||||
id: "spacer",
|
||||
enabled: true
|
||||
},
|
||||
{
|
||||
id: "activeWindow",
|
||||
enabled: true
|
||||
},
|
||||
{
|
||||
id: "spacer",
|
||||
enabled: true
|
||||
},
|
||||
{
|
||||
id: "tray",
|
||||
enabled: true
|
||||
},
|
||||
{
|
||||
id: "clock",
|
||||
enabled: true
|
||||
},
|
||||
{
|
||||
id: "statusIcons",
|
||||
enabled: true
|
||||
},
|
||||
{
|
||||
id: "power",
|
||||
enabled: true
|
||||
}
|
||||
]
|
||||
|
||||
component ScrollActions: JsonObject {
|
||||
property bool workspaces: true
|
||||
property bool volume: true
|
||||
property bool brightness: true
|
||||
}
|
||||
|
||||
component Workspaces: JsonObject {
|
||||
property int shown: 5
|
||||
property bool activeIndicator: true
|
||||
property bool occupiedBg: false
|
||||
property bool showWindows: true
|
||||
property bool showWindowsOnSpecialWorkspaces: showWindows
|
||||
property bool activeTrail: false
|
||||
property bool perMonitorWorkspaces: true
|
||||
property string label: " " // if empty, will show workspace name's first letter
|
||||
property string occupiedLabel: ""
|
||||
property string activeLabel: ""
|
||||
property string capitalisation: "preserve" // upper, lower, or preserve - relevant only if label is empty
|
||||
property list<var> specialWorkspaceIcons: []
|
||||
}
|
||||
|
||||
component Tray: JsonObject {
|
||||
property bool background: false
|
||||
property bool recolour: false
|
||||
property bool compact: false
|
||||
property list<var> iconSubs: []
|
||||
}
|
||||
|
||||
component Status: JsonObject {
|
||||
property bool showAudio: false
|
||||
property bool showMicrophone: false
|
||||
property bool showKbLayout: false
|
||||
property bool showNetwork: true
|
||||
property bool showBluetooth: true
|
||||
property bool showBattery: true
|
||||
property bool showLockStatus: true
|
||||
}
|
||||
|
||||
component Clock: JsonObject {
|
||||
property bool showIcon: true
|
||||
}
|
||||
|
||||
component Sizes: JsonObject {
|
||||
property int innerWidth: 40
|
||||
property int windowPreviewSize: 400
|
||||
property int trayMenuWidth: 300
|
||||
property int batteryWidth: 250
|
||||
property int networkWidth: 320
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import Quickshell.Io
|
||||
|
||||
JsonObject {
|
||||
property int thickness: Appearance.padding.normal
|
||||
property int rounding: Appearance.rounding.large
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
pragma Singleton
|
||||
|
||||
import qs.utils
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
|
||||
Singleton {
|
||||
id: root
|
||||
|
||||
property alias appearance: adapter.appearance
|
||||
property alias general: adapter.general
|
||||
property alias background: adapter.background
|
||||
property alias bar: adapter.bar
|
||||
property alias border: adapter.border
|
||||
property alias dashboard: adapter.dashboard
|
||||
property alias controlCenter: adapter.controlCenter
|
||||
property alias launcher: adapter.launcher
|
||||
property alias notifs: adapter.notifs
|
||||
property alias osd: adapter.osd
|
||||
property alias session: adapter.session
|
||||
property alias winfo: adapter.winfo
|
||||
property alias lock: adapter.lock
|
||||
property alias utilities: adapter.utilities
|
||||
property alias sidebar: adapter.sidebar
|
||||
property alias services: adapter.services
|
||||
property alias paths: adapter.paths
|
||||
|
||||
ElapsedTimer {
|
||||
id: timer
|
||||
}
|
||||
|
||||
FileView {
|
||||
path: `${Paths.config}/shell.json`
|
||||
watchChanges: true
|
||||
onFileChanged: {
|
||||
timer.restart();
|
||||
reload();
|
||||
}
|
||||
onLoaded: {
|
||||
try {
|
||||
JSON.parse(text());
|
||||
if (adapter.utilities.toasts.configLoaded)
|
||||
Toaster.toast(qsTr("Config loaded"), qsTr("Config loaded in %1ms").arg(timer.elapsedMs()), "rule_settings");
|
||||
} catch (e) {
|
||||
Toaster.toast(qsTr("Failed to load config"), e.message, "settings_alert", Toast.Error);
|
||||
}
|
||||
}
|
||||
onLoadFailed: err => {
|
||||
if (err !== FileViewError.FileNotFound)
|
||||
Toaster.toast(qsTr("Failed to read config file"), FileViewError.toString(err), "settings_alert", Toast.Warning);
|
||||
}
|
||||
onSaveFailed: err => Toaster.toast(qsTr("Failed to save config"), FileViewError.toString(err), "settings_alert", Toast.Error)
|
||||
|
||||
JsonAdapter {
|
||||
id: adapter
|
||||
|
||||
property AppearanceConfig appearance: AppearanceConfig {}
|
||||
property GeneralConfig general: GeneralConfig {}
|
||||
property BackgroundConfig background: BackgroundConfig {}
|
||||
property BarConfig bar: BarConfig {}
|
||||
property BorderConfig border: BorderConfig {}
|
||||
property DashboardConfig dashboard: DashboardConfig {}
|
||||
property ControlCenterConfig controlCenter: ControlCenterConfig {}
|
||||
property LauncherConfig launcher: LauncherConfig {}
|
||||
property NotifsConfig notifs: NotifsConfig {}
|
||||
property OsdConfig osd: OsdConfig {}
|
||||
property SessionConfig session: SessionConfig {}
|
||||
property WInfoConfig winfo: WInfoConfig {}
|
||||
property LockConfig lock: LockConfig {}
|
||||
property UtilitiesConfig utilities: UtilitiesConfig {}
|
||||
property SidebarConfig sidebar: SidebarConfig {}
|
||||
property ServiceConfig services: ServiceConfig {}
|
||||
property UserPaths paths: UserPaths {}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import Quickshell.Io
|
||||
|
||||
JsonObject {
|
||||
property Sizes sizes: Sizes {}
|
||||
|
||||
component Sizes: JsonObject {
|
||||
property real heightMult: 0.7
|
||||
property real ratio: 16 / 9
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
import Quickshell.Io
|
||||
|
||||
JsonObject {
|
||||
property bool enabled: true
|
||||
property bool showOnHover: true
|
||||
property int mediaUpdateInterval: 500
|
||||
property int dragThreshold: 50
|
||||
property Sizes sizes: Sizes {}
|
||||
|
||||
component Sizes: JsonObject {
|
||||
readonly property int tabIndicatorHeight: 3
|
||||
readonly property int tabIndicatorSpacing: 5
|
||||
readonly property int infoWidth: 200
|
||||
readonly property int infoIconSize: 25
|
||||
readonly property int dateTimeWidth: 110
|
||||
readonly property int mediaWidth: 200
|
||||
readonly property int mediaProgressSweep: 180
|
||||
readonly property int mediaProgressThickness: 8
|
||||
readonly property int resourceProgessThickness: 10
|
||||
readonly property int weatherWidth: 250
|
||||
readonly property int mediaCoverArtSize: 150
|
||||
readonly property int mediaVisualiserSize: 80
|
||||
readonly property int resourceSize: 200
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
import Quickshell.Io
|
||||
|
||||
JsonObject {
|
||||
property Apps apps: Apps {}
|
||||
property Idle idle: Idle {}
|
||||
property Battery battery: Battery {}
|
||||
|
||||
component Apps: JsonObject {
|
||||
property list<string> terminal: ["foot"]
|
||||
property list<string> audio: ["pavucontrol"]
|
||||
property list<string> playback: ["mpv"]
|
||||
property list<string> explorer: ["thunar"]
|
||||
}
|
||||
|
||||
component Idle: JsonObject {
|
||||
property bool lockBeforeSleep: true
|
||||
property bool inhibitWhenAudio: true
|
||||
property list<var> timeouts: [
|
||||
{
|
||||
timeout: 180,
|
||||
idleAction: "lock"
|
||||
},
|
||||
{
|
||||
timeout: 300,
|
||||
idleAction: "dpms off",
|
||||
returnAction: "dpms on"
|
||||
},
|
||||
{
|
||||
timeout: 600,
|
||||
idleAction: ["systemctl", "suspend-then-hibernate"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
component Battery: JsonObject {
|
||||
property list<var> warnLevels: [
|
||||
{
|
||||
level: 20,
|
||||
title: qsTr("Low battery"),
|
||||
message: qsTr("You might want to plug in a charger"),
|
||||
icon: "battery_android_frame_2"
|
||||
},
|
||||
{
|
||||
level: 10,
|
||||
title: qsTr("Did you see the previous message?"),
|
||||
message: qsTr("You should probably plug in a charger <b>now</b>"),
|
||||
icon: "battery_android_frame_1"
|
||||
},
|
||||
{
|
||||
level: 5,
|
||||
title: qsTr("Critical battery level"),
|
||||
message: qsTr("PLUG THE CHARGER RIGHT NOW!!"),
|
||||
icon: "battery_android_alert",
|
||||
critical: true
|
||||
},
|
||||
]
|
||||
property int criticalLevel: 3
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
import Quickshell.Io
|
||||
|
||||
JsonObject {
|
||||
property bool enabled: true
|
||||
property bool showOnHover: false
|
||||
property int maxShown: 7
|
||||
property int maxWallpapers: 9 // Warning: even numbers look bad
|
||||
property string specialPrefix: "@"
|
||||
property string actionPrefix: ">"
|
||||
property bool enableDangerousActions: false // Allow actions that can cause losing data, like shutdown, reboot and logout
|
||||
property int dragThreshold: 50
|
||||
property bool vimKeybinds: false
|
||||
property list<string> hiddenApps: []
|
||||
property UseFuzzy useFuzzy: UseFuzzy {}
|
||||
property Sizes sizes: Sizes {}
|
||||
|
||||
component UseFuzzy: JsonObject {
|
||||
property bool apps: false
|
||||
property bool actions: false
|
||||
property bool schemes: false
|
||||
property bool variants: false
|
||||
property bool wallpapers: false
|
||||
}
|
||||
|
||||
component Sizes: JsonObject {
|
||||
property int itemWidth: 600
|
||||
property int itemHeight: 57
|
||||
property int wallpaperWidth: 280
|
||||
property int wallpaperHeight: 200
|
||||
}
|
||||
|
||||
property list<var> actions: [
|
||||
{
|
||||
name: "Calculator",
|
||||
icon: "calculate",
|
||||
description: "Do simple math equations (powered by Qalc)",
|
||||
command: ["autocomplete", "calc"],
|
||||
enabled: true,
|
||||
dangerous: false
|
||||
},
|
||||
{
|
||||
name: "Scheme",
|
||||
icon: "palette",
|
||||
description: "Change the current colour scheme",
|
||||
command: ["autocomplete", "scheme"],
|
||||
enabled: true,
|
||||
dangerous: false
|
||||
},
|
||||
{
|
||||
name: "Wallpaper",
|
||||
icon: "image",
|
||||
description: "Change the current wallpaper",
|
||||
command: ["autocomplete", "wallpaper"],
|
||||
enabled: true,
|
||||
dangerous: false
|
||||
},
|
||||
{
|
||||
name: "Variant",
|
||||
icon: "colors",
|
||||
description: "Change the current scheme variant",
|
||||
command: ["autocomplete", "variant"],
|
||||
enabled: true,
|
||||
dangerous: false
|
||||
},
|
||||
{
|
||||
name: "Transparency",
|
||||
icon: "opacity",
|
||||
description: "Change shell transparency",
|
||||
command: ["autocomplete", "transparency"],
|
||||
enabled: false,
|
||||
dangerous: false
|
||||
},
|
||||
{
|
||||
name: "Random",
|
||||
icon: "casino",
|
||||
description: "Switch to a random wallpaper",
|
||||
command: ["caelestia", "wallpaper", "-r"],
|
||||
enabled: true,
|
||||
dangerous: false
|
||||
},
|
||||
{
|
||||
name: "Light",
|
||||
icon: "light_mode",
|
||||
description: "Change the scheme to light mode",
|
||||
command: ["setMode", "light"],
|
||||
enabled: true,
|
||||
dangerous: false
|
||||
},
|
||||
{
|
||||
name: "Dark",
|
||||
icon: "dark_mode",
|
||||
description: "Change the scheme to dark mode",
|
||||
command: ["setMode", "dark"],
|
||||
enabled: true,
|
||||
dangerous: false
|
||||
},
|
||||
{
|
||||
name: "Shutdown",
|
||||
icon: "power_settings_new",
|
||||
description: "Shutdown the system",
|
||||
command: ["systemctl", "poweroff"],
|
||||
enabled: true,
|
||||
dangerous: true
|
||||
},
|
||||
{
|
||||
name: "Reboot",
|
||||
icon: "cached",
|
||||
description: "Reboot the system",
|
||||
command: ["systemctl", "reboot"],
|
||||
enabled: true,
|
||||
dangerous: true
|
||||
},
|
||||
{
|
||||
name: "Logout",
|
||||
icon: "exit_to_app",
|
||||
description: "Log out of the current session",
|
||||
command: ["loginctl", "terminate-user", ""],
|
||||
enabled: true,
|
||||
dangerous: true
|
||||
},
|
||||
{
|
||||
name: "Lock",
|
||||
icon: "lock",
|
||||
description: "Lock the current session",
|
||||
command: ["loginctl", "lock-session"],
|
||||
enabled: true,
|
||||
dangerous: false
|
||||
},
|
||||
{
|
||||
name: "Sleep",
|
||||
icon: "bedtime",
|
||||
description: "Suspend then hibernate",
|
||||
command: ["systemctl", "suspend-then-hibernate"],
|
||||
enabled: true,
|
||||
dangerous: false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
import Quickshell.Io
|
||||
|
||||
JsonObject {
|
||||
property bool recolourLogo: false
|
||||
property bool enableFprint: true
|
||||
property int maxFprintTries: 3
|
||||
property Sizes sizes: Sizes {}
|
||||
|
||||
component Sizes: JsonObject {
|
||||
property real heightMult: 0.7
|
||||
property real ratio: 16 / 9
|
||||
property int centerWidth: 600
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
import Quickshell.Io
|
||||
|
||||
JsonObject {
|
||||
property bool expire: true
|
||||
property int defaultExpireTimeout: 5000
|
||||
property real clearThreshold: 0.3
|
||||
property int expandThreshold: 20
|
||||
property bool actionOnClick: false
|
||||
property int groupPreviewNum: 3
|
||||
property Sizes sizes: Sizes {}
|
||||
|
||||
component Sizes: JsonObject {
|
||||
property int width: 400
|
||||
property int image: 41
|
||||
property int badge: 20
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
import Quickshell.Io
|
||||
|
||||
JsonObject {
|
||||
property bool enabled: true
|
||||
property int hideDelay: 2000
|
||||
property bool enableBrightness: true
|
||||
property bool enableMicrophone: false
|
||||
property Sizes sizes: Sizes {}
|
||||
|
||||
component Sizes: JsonObject {
|
||||
property int sliderWidth: 30
|
||||
property int sliderHeight: 150
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
import Quickshell.Io
|
||||
import QtQuick
|
||||
|
||||
JsonObject {
|
||||
property string weatherLocation: "" // A lat,long pair or empty for autodetection, e.g. "37.8267,-122.4233"
|
||||
property bool useFahrenheit: [Locale.ImperialUSSystem, Locale.ImperialSystem].includes(Qt.locale().measurementSystem)
|
||||
property bool useTwelveHourClock: Qt.locale().timeFormat(Locale.ShortFormat).toLowerCase().includes("a")
|
||||
property string gpuType: ""
|
||||
property int visualiserBars: 45
|
||||
property real audioIncrement: 0.1
|
||||
property real maxVolume: 1.0
|
||||
property bool smartScheme: true
|
||||
property string defaultPlayer: "Spotify"
|
||||
property list<var> playerAliases: [
|
||||
{
|
||||
"from": "com.github.th_ch.youtube_music",
|
||||
"to": "YT Music"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
import Quickshell.Io
|
||||
|
||||
JsonObject {
|
||||
property bool enabled: true
|
||||
property int dragThreshold: 30
|
||||
property bool vimKeybinds: false
|
||||
property Commands commands: Commands {}
|
||||
|
||||
property Sizes sizes: Sizes {}
|
||||
|
||||
component Commands: JsonObject {
|
||||
property list<string> logout: ["loginctl", "terminate-user", ""]
|
||||
property list<string> shutdown: ["systemctl", "poweroff"]
|
||||
property list<string> hibernate: ["systemctl", "hibernate"]
|
||||
property list<string> reboot: ["systemctl", "reboot"]
|
||||
}
|
||||
|
||||
component Sizes: JsonObject {
|
||||
property int button: 80
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import Quickshell.Io
|
||||
|
||||
JsonObject {
|
||||
property bool enabled: true
|
||||
property int dragThreshold: 80
|
||||
property Sizes sizes: Sizes {}
|
||||
|
||||
component Sizes: JsonObject {
|
||||
property int width: 430
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import qs.utils
|
||||
import Quickshell.Io
|
||||
|
||||
JsonObject {
|
||||
property string wallpaperDir: `${Paths.pictures}/Wallpapers`
|
||||
property string sessionGif: "root:/assets/kurukuru.gif"
|
||||
property string mediaGif: "root:/assets/bongocat.gif"
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
import Quickshell.Io
|
||||
|
||||
JsonObject {
|
||||
property bool enabled: true
|
||||
property int maxToasts: 4
|
||||
|
||||
property Sizes sizes: Sizes {}
|
||||
property Toasts toasts: Toasts {}
|
||||
property Vpn vpn: Vpn {}
|
||||
|
||||
component Sizes: JsonObject {
|
||||
property int width: 430
|
||||
property int toastWidth: 430
|
||||
}
|
||||
|
||||
component Toasts: JsonObject {
|
||||
property bool configLoaded: true
|
||||
property bool chargingChanged: true
|
||||
property bool gameModeChanged: true
|
||||
property bool dndChanged: true
|
||||
property bool audioOutputChanged: true
|
||||
property bool audioInputChanged: true
|
||||
property bool capsLockChanged: true
|
||||
property bool numLockChanged: true
|
||||
property bool kbLayoutChanged: true
|
||||
property bool vpnChanged: true
|
||||
property bool nowPlaying: false
|
||||
}
|
||||
|
||||
component Vpn: JsonObject {
|
||||
property bool enabled: false
|
||||
property list<var> provider: ["netbird"]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import Quickshell.Io
|
||||
|
||||
JsonObject {
|
||||
property Sizes sizes: Sizes {}
|
||||
|
||||
component Sizes: JsonObject {
|
||||
property real heightMult: 0.7
|
||||
property real detailsWidth: 500
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user