working ish

This commit is contained in:
ari committed 2026-09-11 14:12:50 -04:00
1 parent ba85d9658d
commit 7d58533539
14 files changed
+367 -130

No files matched your search

Generated Vendored
+239 -42
View File
@@ -3,6 +3,10 @@
"manifest": {
"schema-version": "1.14.0",
"install": {
"flox-mcp-server": {
"pkg-path": "flox/flox-mcp-server",
"pkg-group": "flox-mcp-server"
},
"qtdeclarative": {
"pkg-path": "qt6.qtdeclarative",
"outputs": [
@@ -11,7 +15,18 @@
]
},
"qtdoc": {
"pkg-path": "qt6.qtdoc"
"pkg-path": "qt6.qtdoc",
"outputs": [
"dev",
"out"
]
},
"qtwebengine": {
"pkg-path": "qt6Packages.qtwebengine",
"outputs": [
"dev",
"out"
]
},
"quickshell": {
"pkg-path": "quickshell",
@@ -21,11 +36,112 @@
]
}
},
"hook": {},
"vars": {
"INTRO_MESSAGE": "It's gettin' Flox in here"
},
"hook": {
"on-activate": " export NIXPKGS_QT6_QML_IMPORT_PATH=\"$FLOX_ENV/lib/qt-6/qml${NIXPKGS_QT6_QML_IMPORT_PATH:+:$NIXPKGS_QT6_QML_IMPORT_PATH}\"\n export QTWEBENGINEPROCESS_PATH=\"$FLOX_ENV/libexec/QtWebEngineProcess\"\n export SKYG_APP_CAROUSEL=$FLOX_ENV_PROJECT/example.json\n"
},
"profile": {},
"options": {}
},
"packages": [
{
"attr_path": "flox-mcp-server",
"broken": false,
"derivation": "/nix/store/81niy9nvs7dqivb43h3v2nhvvxbcvxfr-flox-mcp-server-0.2.2.drv",
"description": "MCP server for Flox package manager",
"install_id": "flox-mcp-server",
"license": "MIT",
"locked_url": "https://github.com/flox/mcp-server?rev=97aa112badd2c6ac25d70229088a1a3317463725",
"name": "flox-mcp-server-0.2.2",
"pname": "flox-mcp-server",
"rev": "97aa112badd2c6ac25d70229088a1a3317463725",
"rev_count": 37,
"rev_date": "2026-08-19T14:52:11Z",
"scrape_date": "2026-09-11T14:43:30.324006818Z",
"stabilities": [
"staging",
"unstable",
"stable"
],
"unfree": false,
"version": "0.2.2",
"outputs_to_install": [
"out"
],
"outputs": {
"dist": "/nix/store/3nh50p6nqj50vf3x1ns2b27djwv58cv7-flox-mcp-server-0.2.2-dist",
"out": "/nix/store/gybr0dgyvb8w85riywiwc16gvl0yzsxw-flox-mcp-server-0.2.2"
},
"system": "aarch64-darwin",
"group": "flox-mcp-server",
"priority": 5
},
{
"attr_path": "flox-mcp-server",
"broken": false,
"derivation": "/nix/store/m1bvcw4kbcx02k2kq3kiw9qc03pl0msp-flox-mcp-server-0.2.2.drv",
"description": "MCP server for Flox package manager",
"install_id": "flox-mcp-server",
"license": "MIT",
"locked_url": "https://github.com/flox/mcp-server?rev=97aa112badd2c6ac25d70229088a1a3317463725",
"name": "flox-mcp-server-0.2.2",
"pname": "flox-mcp-server",
"rev": "97aa112badd2c6ac25d70229088a1a3317463725",
"rev_count": 37,
"rev_date": "2026-08-19T14:52:11Z",
"scrape_date": "2026-09-11T14:43:30.324020589Z",
"stabilities": [
"staging",
"unstable",
"stable"
],
"unfree": false,
"version": "0.2.2",
"outputs_to_install": [
"out"
],
"outputs": {
"dist": "/nix/store/givi9a1vmq7n4icskbja6n4410zz1c3m-flox-mcp-server-0.2.2-dist",
"out": "/nix/store/xa9r62ig2nxpiy7272pm2g909z634d70-flox-mcp-server-0.2.2"
},
"system": "aarch64-linux",
"group": "flox-mcp-server",
"priority": 5
},
{
"attr_path": "flox-mcp-server",
"broken": false,
"derivation": "/nix/store/rf04dhnll2q5aiqkc5pyw34cgvi7z613-flox-mcp-server-0.2.2.drv",
"description": "MCP server for Flox package manager",
"install_id": "flox-mcp-server",
"license": "MIT",
"locked_url": "https://github.com/flox/mcp-server?rev=97aa112badd2c6ac25d70229088a1a3317463725",
"name": "flox-mcp-server-0.2.2",
"pname": "flox-mcp-server",
"rev": "97aa112badd2c6ac25d70229088a1a3317463725",
"rev_count": 37,
"rev_date": "2026-08-19T14:52:11Z",
"scrape_date": "2026-09-11T14:43:30.324022853Z",
"stabilities": [
"staging",
"unstable",
"stable"
],
"unfree": false,
"version": "0.2.2",
"outputs_to_install": [
"out"
],
"outputs": {
"dist": "/nix/store/7n1lgkxly8yyf51jlv3wnx0swksa18xa-flox-mcp-server-0.2.2-dist",
"out": "/nix/store/cxc72y42r7crkk9v650r601ibcxydxkl-flox-mcp-server-0.2.2"
},
"system": "x86_64-linux",
"group": "flox-mcp-server",
"priority": 5
},
{
"attr_path": "qt6.qtdeclarative",
"broken": false,
@@ -33,13 +149,13 @@
"description": "Cross-platform application framework for C++",
"install_id": "qtdeclarative",
"license": "[ GFDL-1.3-or-later, GPL-2.0-or-later, LGPL-2.1-or-later, LGPL-3.0-or-later ]",
"locked_url": "https://github.com/flox/nixpkgs?rev=d6524aaca2ff07876657ae2b323f24be4874944b",
"locked_url": "https://github.com/flox/nixpkgs?rev=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"name": "qtdeclarative-6.11.2",
"pname": "qtdeclarative",
"rev": "d6524aaca2ff07876657ae2b323f24be4874944b",
"rev_count": 1069856,
"rev_date": "2026-09-08T15:35:43Z",
"scrape_date": "2026-09-09T04:59:37.007322Z",
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"rev_count": 1070770,
"rev_date": "2026-09-10T02:20:05Z",
"scrape_date": "2026-09-11T04:59:40.457470Z",
"stabilities": [
"unstable"
],
@@ -60,13 +176,13 @@
"description": "Cross-platform application framework for C++",
"install_id": "qtdeclarative",
"license": "[ GFDL-1.3-or-later, GPL-2.0-or-later, LGPL-2.1-or-later, LGPL-3.0-or-later ]",
"locked_url": "https://github.com/flox/nixpkgs?rev=d6524aaca2ff07876657ae2b323f24be4874944b",
"locked_url": "https://github.com/flox/nixpkgs?rev=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"name": "qtdeclarative-6.11.2",
"pname": "qtdeclarative",
"rev": "d6524aaca2ff07876657ae2b323f24be4874944b",
"rev_count": 1069856,
"rev_date": "2026-09-08T15:35:43Z",
"scrape_date": "2026-09-09T05:32:39.524792Z",
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"rev_count": 1070770,
"rev_date": "2026-09-10T02:20:05Z",
"scrape_date": "2026-09-11T05:32:27.306031Z",
"stabilities": [
"unstable"
],
@@ -88,13 +204,13 @@
"description": "Cross-platform application framework for C++",
"install_id": "qtdeclarative",
"license": "[ GFDL-1.3-or-later, GPL-2.0-or-later, LGPL-2.1-or-later, LGPL-3.0-or-later ]",
"locked_url": "https://github.com/flox/nixpkgs?rev=d6524aaca2ff07876657ae2b323f24be4874944b",
"locked_url": "https://github.com/flox/nixpkgs?rev=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"name": "qtdeclarative-6.11.2",
"pname": "qtdeclarative",
"rev": "d6524aaca2ff07876657ae2b323f24be4874944b",
"rev_count": 1069856,
"rev_date": "2026-09-08T15:35:43Z",
"scrape_date": "2026-09-09T06:09:51.818503Z",
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"rev_count": 1070770,
"rev_date": "2026-09-10T02:20:05Z",
"scrape_date": "2026-09-11T06:08:51.183312Z",
"stabilities": [
"unstable"
],
@@ -116,13 +232,13 @@
"description": "Cross-platform application framework for C++",
"install_id": "qtdoc",
"license": "[ GFDL-1.3-or-later, GPL-2.0-or-later, LGPL-2.1-or-later, LGPL-3.0-or-later ]",
"locked_url": "https://github.com/flox/nixpkgs?rev=d6524aaca2ff07876657ae2b323f24be4874944b",
"locked_url": "https://github.com/flox/nixpkgs?rev=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"name": "qtdoc-6.11.2",
"pname": "qtdoc",
"rev": "d6524aaca2ff07876657ae2b323f24be4874944b",
"rev_count": 1069856,
"rev_date": "2026-09-08T15:35:43Z",
"scrape_date": "2026-09-09T04:59:37.010093Z",
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"rev_count": 1070770,
"rev_date": "2026-09-10T02:20:05Z",
"scrape_date": "2026-09-11T04:59:40.460170Z",
"stabilities": [
"unstable"
],
@@ -143,13 +259,13 @@
"description": "Cross-platform application framework for C++",
"install_id": "qtdoc",
"license": "[ GFDL-1.3-or-later, GPL-2.0-or-later, LGPL-2.1-or-later, LGPL-3.0-or-later ]",
"locked_url": "https://github.com/flox/nixpkgs?rev=d6524aaca2ff07876657ae2b323f24be4874944b",
"locked_url": "https://github.com/flox/nixpkgs?rev=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"name": "qtdoc-6.11.2",
"pname": "qtdoc",
"rev": "d6524aaca2ff07876657ae2b323f24be4874944b",
"rev_count": 1069856,
"rev_date": "2026-09-08T15:35:43Z",
"scrape_date": "2026-09-09T05:32:39.528164Z",
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"rev_count": 1070770,
"rev_date": "2026-09-10T02:20:05Z",
"scrape_date": "2026-09-11T05:32:27.309163Z",
"stabilities": [
"unstable"
],
@@ -171,13 +287,13 @@
"description": "Cross-platform application framework for C++",
"install_id": "qtdoc",
"license": "[ GFDL-1.3-or-later, GPL-2.0-or-later, LGPL-2.1-or-later, LGPL-3.0-or-later ]",
"locked_url": "https://github.com/flox/nixpkgs?rev=d6524aaca2ff07876657ae2b323f24be4874944b",
"locked_url": "https://github.com/flox/nixpkgs?rev=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"name": "qtdoc-6.11.2",
"pname": "qtdoc",
"rev": "d6524aaca2ff07876657ae2b323f24be4874944b",
"rev_count": 1069856,
"rev_date": "2026-09-08T15:35:43Z",
"scrape_date": "2026-09-09T06:09:51.821658Z",
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"rev_count": 1070770,
"rev_date": "2026-09-10T02:20:05Z",
"scrape_date": "2026-09-11T06:08:51.186521Z",
"stabilities": [
"unstable"
],
@@ -192,6 +308,87 @@
"group": "toplevel",
"priority": 5
},
{
"attr_path": "qt6Packages.qtwebengine",
"broken": false,
"derivation": "/nix/store/d71jnni7r0cxccwr0k0y3p1qwnab2f3r-qtwebengine-6.11.2.drv",
"description": "Web engine based on the Chromium web browser",
"install_id": "qtwebengine",
"license": "[ GFDL-1.3-or-later, GPL-2.0-or-later, LGPL-2.1-or-later, LGPL-3.0-or-later ]",
"locked_url": "https://github.com/flox/nixpkgs?rev=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"name": "qtwebengine-6.11.2",
"pname": "qtwebengine",
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"rev_count": 1070770,
"rev_date": "2026-09-10T02:20:05Z",
"scrape_date": "2026-09-11T04:59:40.708486Z",
"stabilities": [
"unstable"
],
"version": "6.11.2",
"outputs_to_install": [],
"outputs": {
"dev": "/nix/store/ipjpwwj4s1iblhcak7544pmfmcn1lymp-qtwebengine-6.11.2-dev",
"out": "/nix/store/f722ihlxfjbijx8rqw4fr0kibzvjhlrz-qtwebengine-6.11.2"
},
"system": "aarch64-darwin",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "qt6Packages.qtwebengine",
"broken": false,
"derivation": "/nix/store/yn1z099k73cyj6mrqfcv7b4h5lrsjkmh-qtwebengine-6.11.2.drv",
"description": "Web engine based on the Chromium web browser",
"install_id": "qtwebengine",
"license": "[ GFDL-1.3-or-later, GPL-2.0-or-later, LGPL-2.1-or-later, LGPL-3.0-or-later ]",
"locked_url": "https://github.com/flox/nixpkgs?rev=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"name": "qtwebengine-6.11.2",
"pname": "qtwebengine",
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"rev_count": 1070770,
"rev_date": "2026-09-10T02:20:05Z",
"scrape_date": "2026-09-11T05:32:27.695867Z",
"stabilities": [
"unstable"
],
"version": "6.11.2",
"outputs_to_install": [],
"outputs": {
"dev": "/nix/store/p59kgnizkbx1h5h15w510jrrdj9vy115-qtwebengine-6.11.2-dev",
"out": "/nix/store/4vij6ii82jjbg3vjiaw8gz7ff5jh5lm8-qtwebengine-6.11.2"
},
"system": "aarch64-linux",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "qt6Packages.qtwebengine",
"broken": false,
"derivation": "/nix/store/qd69i09fwhqjx9cd8vp4ayjyac0p7nxi-qtwebengine-6.11.2.drv",
"description": "Web engine based on the Chromium web browser",
"install_id": "qtwebengine",
"license": "[ GFDL-1.3-or-later, GPL-2.0-or-later, LGPL-2.1-or-later, LGPL-3.0-or-later ]",
"locked_url": "https://github.com/flox/nixpkgs?rev=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"name": "qtwebengine-6.11.2",
"pname": "qtwebengine",
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"rev_count": 1070770,
"rev_date": "2026-09-10T02:20:05Z",
"scrape_date": "2026-09-11T06:08:51.571396Z",
"stabilities": [
"unstable"
],
"version": "6.11.2",
"outputs_to_install": [],
"outputs": {
"dev": "/nix/store/71bbhg1hxr5rfd78fs7d6l5v95ahcbl5-qtwebengine-6.11.2-dev",
"out": "/nix/store/j1xfqka1qhpyf7i7r1f417npv1h6j970-qtwebengine-6.11.2"
},
"system": "x86_64-linux",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "quickshell",
"broken": false,
@@ -199,13 +396,13 @@
"description": "Flexible QtQuick based desktop shell toolkit",
"install_id": "quickshell",
"license": "LGPL-3.0-only",
"locked_url": "https://github.com/flox/nixpkgs?rev=d6524aaca2ff07876657ae2b323f24be4874944b",
"locked_url": "https://github.com/flox/nixpkgs?rev=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"name": "quickshell-0.3.1",
"pname": "quickshell",
"rev": "d6524aaca2ff07876657ae2b323f24be4874944b",
"rev_count": 1069856,
"rev_date": "2026-09-08T15:35:43Z",
"scrape_date": "2026-09-09T05:32:40.204839Z",
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"rev_count": 1070770,
"rev_date": "2026-09-10T02:20:05Z",
"scrape_date": "2026-09-11T05:32:27.967609Z",
"stabilities": [
"unstable"
],
@@ -229,13 +426,13 @@
"description": "Flexible QtQuick based desktop shell toolkit",
"install_id": "quickshell",
"license": "LGPL-3.0-only",
"locked_url": "https://github.com/flox/nixpkgs?rev=d6524aaca2ff07876657ae2b323f24be4874944b",
"locked_url": "https://github.com/flox/nixpkgs?rev=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"name": "quickshell-0.3.1",
"pname": "quickshell",
"rev": "d6524aaca2ff07876657ae2b323f24be4874944b",
"rev_count": 1069856,
"rev_date": "2026-09-08T15:35:43Z",
"scrape_date": "2026-09-09T06:09:52.499504Z",
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"rev_count": 1070770,
"rev_date": "2026-09-10T02:20:05Z",
"scrape_date": "2026-09-11T06:08:51.870682Z",
"stabilities": [
"unstable"
],
+11 -12
View File
@@ -10,32 +10,31 @@ schema-version = "1.14.0"
qtdeclarative.pkg-path = "qt6.qtdeclarative"
qtdeclarative.outputs = ["dev", "out"]
qtdoc.pkg-path = "qt6.qtdoc"
qtdoc.outputs = ["dev", "out"]
quickshell.pkg-path = "quickshell"
quickshell.systems = ["aarch64-linux", "x86_64-linux"]
# gum.pkg-path = "gum"
# gum.version = "^0.14.5"
flox-mcp-server.pkg-path = "flox/flox-mcp-server"
flox-mcp-server.pkg-group = "flox-mcp-server"
qtwebengine.pkg-path = "qt6Packages.qtwebengine"
qtwebengine.outputs = ["dev", "out"]
## Environment Variables ---------------------------------------------
## ... available for use in the activated environment
## as well as [hook], [profile] scripts and [services] below.
## -------------------------------------------------------------------
[vars]
# INTRO_MESSAGE = "It's gettin' Flox in here"
INTRO_MESSAGE = "It's gettin' Flox in here"
## Activation Hook ---------------------------------------------------
## ... run by _bash_ shell when you run 'flox activate'.
## -------------------------------------------------------------------
[hook]
# on-activate = '''
# # -> Set variables, create files and directories
# # -> Perform initialization steps, e.g. create a python venv
# # -> Useful environment variables:
# # - FLOX_ENV_PROJECT=/home/user/example
# # - FLOX_ENV=/home/user/example/.flox/run
# # - FLOX_ENV_CACHE=/home/user/example/.flox/cache
# '''
on-activate = '''
export NIXPKGS_QT6_QML_IMPORT_PATH="$FLOX_ENV/lib/qt-6/qml${NIXPKGS_QT6_QML_IMPORT_PATH:+:$NIXPKGS_QT6_QML_IMPORT_PATH}"
export QTWEBENGINEPROCESS_PATH="$FLOX_ENV/libexec/QtWebEngineProcess"
export SKYG_APP_CAROUSEL=$FLOX_ENV_PROJECT/example.json
'''
## Profile script ----------------------------------------------------
+6 -1
View File
@@ -1 +1,6 @@
{}
{
"qt-qml.qmlls.customExePath": "${workspaceFolder}/.flox/run/x86_64-linux.skygqts-dev/bin/qmlls",
"qt-qml.qmlls.additionalImportPaths": [
"${workspaceFolder}/.flox/run/x86_64-linux.skygqts-dev/lib/qt-6/qml"
]
}
File renamed without changes.
File renamed without changes.
+7
View File
@@ -0,0 +1,7 @@
pragma Singleton
import QtQuick
import Quickshell
QtObject {
readonly property string appConfigPath: Quickshell.env("SKYG_APP_CAROUSEL")
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
+41
View File
@@ -0,0 +1,41 @@
import Quickshell
import QtQuick
import Quickshell.Io
ShellRoot {
id: shell
property bool launcherOpen: true
property var appConfig: []
FileView {
id: configFile
path: Config.appConfigPath
watchChanges: true
onFileChanged: reload()
onLoaded: {
shell.appConfig = JSON.parse(configFile.text());
console.log("here", configFile.__data);
}
}
IpcHandler {
target: "launcher"
function toggle(): void {
shell.launcherOpen = !shell.launcherOpen;
}
function open(): void {
shell.launcherOpen = true;
}
function close(): void {
shell.launcherOpen = false;
}
}
LauncherWindow {
shellOpen: shell.launcherOpen
onRequestClose: shell.launcherOpen = false
apps: shell.appConfig
}
}
+30 -21
View File
@@ -1,21 +1,30 @@
{
"apps":[
{
"name": "Chromium",
"image": "chromium",
"isIcon": true,
"exec": ["chromium"]
},
{
"name": "Netflix",
"image": "https://assets.nflxext.com/us/ffe/siteui/common/icons/nficon2023.ico",
"exec": ["chromium", "--app=https://www.netflix.com"]
},
{
"name": "Settings",
"image": "system-settings",
"isIcon": true,
"exec": ["dms", "ipc", "call", "settings", "toggle"]
}
]
}
[
{
"name": "Chromium",
"image": "chromium",
"isIcon": true,
"exec": [
"chromium"
]
},
{
"name": "Netflix",
"image": "https://assets.nflxext.com/us/ffe/siteui/common/icons/nficon2023.ico",
"exec": [
"chromium",
"--app=https://www.netflix.com"
]
},
{
"name": "Settings",
"image": "system-settings",
"isIcon": true,
"exec": [
"dms",
"ipc",
"call",
"settings",
"toggle"
]
}
]
-7
View File
@@ -1,7 +0,0 @@
pragma Singleton
import QtQuick
import Quickshell
QtObject {
readonly property string appConfigPath: Quickshell.env("SKYG_APP_CAROUSEL")
}
-47
View File
@@ -1,47 +0,0 @@
import Quickshell
import QtQuick
import Quickshell.Io
ShellRoot {
id: shell
property bool launcherOpen: true
FileView {
id: config
path: Config.appConfigPath
watchChanges: true
onFileChanged: reload()
onAdapterUpdated: writeAdapter()
JsonAdapter {
id: adapter
property var apps
}
}
Component.onCompleted: {
console.log("Current config:", Config.appConfigPath, config.adapter.apps)
}
IpcHandler {
target: "launcher"
function toggle(): void {
shell.launcherOpen = !shell.launcherOpen;
}
function open(): void {
shell.launcherOpen = true;
}
function close(): void {
shell.launcherOpen = false;
}
}
// LauncherWindow {
// shellOpen: shell.launcherOpen
// onRequestClose: shell.launcherOpen = false
// apps: adapter.apps
// }
}
+33
View File
@@ -0,0 +1,33 @@
import QtQuick
import QtWebEngine
import Quickshell
ShellRoot {
// Ensure the WebEngine is initialized
Component.onCompleted: WebEngine.initialize()
PanelWindow {
id: webWindow
width: 800
height: 600
// Background container
Rectangle {
anchors.fill: parent
color: "#1e1e2e" // Match your desktop theme
// The embedded Web Page Component
WebEngineView {
anchors.fill: parent
url: "https://quickshell.org" // The URL you want to embed
// Optional: Handle loading status
onLoadingChanged: (loadingInfo) => {
if (loadingInfo.status === WebEngineView.LoadFailedStatus) {
console.log("Failed to load page: " + loadingInfo.errorString);
}
}
}
}
}
}