lifesyle
This commit is contained in:
1 parent
f5a0a53f89
commit
5ca9471513
19 files changed
+142
-1036
No files matched your search
+116
-116
@@ -61,7 +61,7 @@
|
||||
"rev": "97aa112badd2c6ac25d70229088a1a3317463725",
|
||||
"rev_count": 37,
|
||||
"rev_date": "2026-08-19T14:52:11Z",
|
||||
"scrape_date": "2026-09-11T14:43:30.324006818Z",
|
||||
"scrape_date": "2026-09-14T18:00:09.352894191Z",
|
||||
"stabilities": [
|
||||
"staging",
|
||||
"unstable",
|
||||
@@ -93,7 +93,7 @@
|
||||
"rev": "97aa112badd2c6ac25d70229088a1a3317463725",
|
||||
"rev_count": 37,
|
||||
"rev_date": "2026-08-19T14:52:11Z",
|
||||
"scrape_date": "2026-09-11T14:43:30.324020589Z",
|
||||
"scrape_date": "2026-09-14T18:00:09.352902216Z",
|
||||
"stabilities": [
|
||||
"staging",
|
||||
"unstable",
|
||||
@@ -125,7 +125,7 @@
|
||||
"rev": "97aa112badd2c6ac25d70229088a1a3317463725",
|
||||
"rev_count": 37,
|
||||
"rev_date": "2026-08-19T14:52:11Z",
|
||||
"scrape_date": "2026-09-11T14:43:30.324022853Z",
|
||||
"scrape_date": "2026-09-14T18:00:09.352904861Z",
|
||||
"stabilities": [
|
||||
"staging",
|
||||
"unstable",
|
||||
@@ -147,17 +147,17 @@
|
||||
{
|
||||
"attr_path": "nushell",
|
||||
"broken": false,
|
||||
"derivation": "/nix/store/2pzb6jhvlkkiijdayq2wx9n2mw0xpaz1-nushell-0.115.1.drv",
|
||||
"derivation": "/nix/store/vnxh873z2104c3rwi51sza4kmk5nn9ps-nushell-0.115.1.drv",
|
||||
"description": "Modern shell written in Rust",
|
||||
"install_id": "nushell",
|
||||
"license": "MIT",
|
||||
"locked_url": "https://github.com/flox/nixpkgs?rev=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"locked_url": "https://github.com/flox/nixpkgs?rev=eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"name": "nushell-0.115.1",
|
||||
"pname": "nushell",
|
||||
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"rev_count": 1070770,
|
||||
"rev_date": "2026-09-10T02:20:05Z",
|
||||
"scrape_date": "2026-09-11T04:58:31.873641Z",
|
||||
"rev": "eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"rev_count": 1072397,
|
||||
"rev_date": "2026-09-11T18:00:29Z",
|
||||
"scrape_date": "2026-09-13T05:02:38.461477Z",
|
||||
"stabilities": [
|
||||
"unstable"
|
||||
],
|
||||
@@ -167,7 +167,7 @@
|
||||
"out"
|
||||
],
|
||||
"outputs": {
|
||||
"out": "/nix/store/4wgp25hm6h6j3axk068ab5zjabcqjmrh-nushell-0.115.1"
|
||||
"out": "/nix/store/f45b1irl2b58az10jlhyz3nq4zz2gld7-nushell-0.115.1"
|
||||
},
|
||||
"system": "aarch64-darwin",
|
||||
"group": "toplevel",
|
||||
@@ -176,17 +176,17 @@
|
||||
{
|
||||
"attr_path": "nushell",
|
||||
"broken": false,
|
||||
"derivation": "/nix/store/9x7zbxf92yh0vmnz4aavx2bnk8s8ymm0-nushell-0.115.1.drv",
|
||||
"derivation": "/nix/store/d1g3w10v92zizzkbd6jbi92bdavj05ij-nushell-0.115.1.drv",
|
||||
"description": "Modern shell written in Rust",
|
||||
"install_id": "nushell",
|
||||
"license": "MIT",
|
||||
"locked_url": "https://github.com/flox/nixpkgs?rev=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"locked_url": "https://github.com/flox/nixpkgs?rev=eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"name": "nushell-0.115.1",
|
||||
"pname": "nushell",
|
||||
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"rev_count": 1070770,
|
||||
"rev_date": "2026-09-10T02:20:05Z",
|
||||
"scrape_date": "2026-09-11T05:31:01.279819Z",
|
||||
"rev": "eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"rev_count": 1072397,
|
||||
"rev_date": "2026-09-11T18:00:29Z",
|
||||
"scrape_date": "2026-09-13T05:38:00.911394Z",
|
||||
"stabilities": [
|
||||
"unstable"
|
||||
],
|
||||
@@ -196,7 +196,7 @@
|
||||
"out"
|
||||
],
|
||||
"outputs": {
|
||||
"out": "/nix/store/zwzgkzkzjny50rkvnwyq5lf19d34mkr5-nushell-0.115.1"
|
||||
"out": "/nix/store/a6p41p3n7ywkf0vn1ii9ff0i91x46ywf-nushell-0.115.1"
|
||||
},
|
||||
"system": "aarch64-linux",
|
||||
"group": "toplevel",
|
||||
@@ -205,17 +205,17 @@
|
||||
{
|
||||
"attr_path": "nushell",
|
||||
"broken": false,
|
||||
"derivation": "/nix/store/fk1adk9fwg1007pws5lmv9k6r0qav8fc-nushell-0.115.1.drv",
|
||||
"derivation": "/nix/store/h8pasaqij210yffi761avknwfj3r2vkj-nushell-0.115.1.drv",
|
||||
"description": "Modern shell written in Rust",
|
||||
"install_id": "nushell",
|
||||
"license": "MIT",
|
||||
"locked_url": "https://github.com/flox/nixpkgs?rev=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"locked_url": "https://github.com/flox/nixpkgs?rev=eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"name": "nushell-0.115.1",
|
||||
"pname": "nushell",
|
||||
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"rev_count": 1070770,
|
||||
"rev_date": "2026-09-10T02:20:05Z",
|
||||
"scrape_date": "2026-09-11T06:07:22.808797Z",
|
||||
"rev": "eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"rev_count": 1072397,
|
||||
"rev_date": "2026-09-11T18:00:29Z",
|
||||
"scrape_date": "2026-09-13T06:17:23.979332Z",
|
||||
"stabilities": [
|
||||
"unstable"
|
||||
],
|
||||
@@ -225,7 +225,7 @@
|
||||
"out"
|
||||
],
|
||||
"outputs": {
|
||||
"out": "/nix/store/3nggi9yb3pgi89h6z1hw11v6if0vmqia-nushell-0.115.1"
|
||||
"out": "/nix/store/jqq7qdcpb5dcwkig4hcfpkhg40hvbi4d-nushell-0.115.1"
|
||||
},
|
||||
"system": "x86_64-linux",
|
||||
"group": "toplevel",
|
||||
@@ -234,25 +234,25 @@
|
||||
{
|
||||
"attr_path": "qt6.qtdeclarative",
|
||||
"broken": false,
|
||||
"derivation": "/nix/store/6vf4wd2dglyvack38rz8wyi1ip3i8n9n-qtdeclarative-6.11.2.drv",
|
||||
"derivation": "/nix/store/gywif97zvrck7hwhnwj9427sv73mhayp-qtdeclarative-6.11.2.drv",
|
||||
"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=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"locked_url": "https://github.com/flox/nixpkgs?rev=eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"name": "qtdeclarative-6.11.2",
|
||||
"pname": "qtdeclarative",
|
||||
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"rev_count": 1070770,
|
||||
"rev_date": "2026-09-10T02:20:05Z",
|
||||
"scrape_date": "2026-09-11T04:59:40.457470Z",
|
||||
"rev": "eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"rev_count": 1072397,
|
||||
"rev_date": "2026-09-11T18:00:29Z",
|
||||
"scrape_date": "2026-09-13T05:03:46.017245Z",
|
||||
"stabilities": [
|
||||
"unstable"
|
||||
],
|
||||
"version": "6.11.2",
|
||||
"outputs_to_install": [],
|
||||
"outputs": {
|
||||
"dev": "/nix/store/5n87lrv6igwrbbas82cni0bamdlpgbb0-qtdeclarative-6.11.2-dev",
|
||||
"out": "/nix/store/kmk6xvimcy29fnq6nzsdhmz5rfbzn3gd-qtdeclarative-6.11.2"
|
||||
"dev": "/nix/store/g1zrabsmh9ss3vpndg334z8zn2dh5c6x-qtdeclarative-6.11.2-dev",
|
||||
"out": "/nix/store/a20prkky64hwy6wh3zj1yh2axm7068pd-qtdeclarative-6.11.2"
|
||||
},
|
||||
"system": "aarch64-darwin",
|
||||
"group": "toplevel",
|
||||
@@ -261,26 +261,26 @@
|
||||
{
|
||||
"attr_path": "qt6.qtdeclarative",
|
||||
"broken": false,
|
||||
"derivation": "/nix/store/cjf0yxnmcd3j16gkbnlifglc3n6h60kl-qtdeclarative-6.11.2.drv",
|
||||
"derivation": "/nix/store/0pshpxxgh7ddl9zvyjy4b2yjk52qwgrw-qtdeclarative-6.11.2.drv",
|
||||
"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=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"locked_url": "https://github.com/flox/nixpkgs?rev=eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"name": "qtdeclarative-6.11.2",
|
||||
"pname": "qtdeclarative",
|
||||
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"rev_count": 1070770,
|
||||
"rev_date": "2026-09-10T02:20:05Z",
|
||||
"scrape_date": "2026-09-11T05:32:27.306031Z",
|
||||
"rev": "eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"rev_count": 1072397,
|
||||
"rev_date": "2026-09-11T18:00:29Z",
|
||||
"scrape_date": "2026-09-13T05:39:24.210078Z",
|
||||
"stabilities": [
|
||||
"unstable"
|
||||
],
|
||||
"version": "6.11.2",
|
||||
"outputs_to_install": [],
|
||||
"outputs": {
|
||||
"debug": "/nix/store/hc79jsmms5g74abm3skbri43g39za0kl-qtdeclarative-6.11.2-debug",
|
||||
"dev": "/nix/store/cncx0kwg751pxg1rr2v8d6g08kvbd9zl-qtdeclarative-6.11.2-dev",
|
||||
"out": "/nix/store/8qfd1w03nvs0lz0fx1i3sx9pma1zi8bw-qtdeclarative-6.11.2"
|
||||
"debug": "/nix/store/0hsngnp7q8g5lhglvrvv7pn7hgkpbq8l-qtdeclarative-6.11.2-debug",
|
||||
"dev": "/nix/store/5ymhi7h6drajg4n3jnwpxk6vqdy9p48l-qtdeclarative-6.11.2-dev",
|
||||
"out": "/nix/store/yshwh5hrvmrhlr07fr2j5hm4c95v5dxr-qtdeclarative-6.11.2"
|
||||
},
|
||||
"system": "aarch64-linux",
|
||||
"group": "toplevel",
|
||||
@@ -289,26 +289,26 @@
|
||||
{
|
||||
"attr_path": "qt6.qtdeclarative",
|
||||
"broken": false,
|
||||
"derivation": "/nix/store/ji775hi29892mdxqp84zblmw3abgd2m7-qtdeclarative-6.11.2.drv",
|
||||
"derivation": "/nix/store/jarlif8x2ixzx5wnlkv98x33szgwc0bq-qtdeclarative-6.11.2.drv",
|
||||
"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=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"locked_url": "https://github.com/flox/nixpkgs?rev=eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"name": "qtdeclarative-6.11.2",
|
||||
"pname": "qtdeclarative",
|
||||
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"rev_count": 1070770,
|
||||
"rev_date": "2026-09-10T02:20:05Z",
|
||||
"scrape_date": "2026-09-11T06:08:51.183312Z",
|
||||
"rev": "eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"rev_count": 1072397,
|
||||
"rev_date": "2026-09-11T18:00:29Z",
|
||||
"scrape_date": "2026-09-13T06:18:50.662979Z",
|
||||
"stabilities": [
|
||||
"unstable"
|
||||
],
|
||||
"version": "6.11.2",
|
||||
"outputs_to_install": [],
|
||||
"outputs": {
|
||||
"debug": "/nix/store/dj2p8dk1lin46rfqmi9ir6g512y4r335-qtdeclarative-6.11.2-debug",
|
||||
"dev": "/nix/store/xq9lyq13d8npfx26adhm1d8d38gfqgjv-qtdeclarative-6.11.2-dev",
|
||||
"out": "/nix/store/fx21gyydnjdcy7r3ricmsq1iijdivdwl-qtdeclarative-6.11.2"
|
||||
"debug": "/nix/store/p3dqd7khk2snbiwqp2hnzcyfhkl99b9k-qtdeclarative-6.11.2-debug",
|
||||
"dev": "/nix/store/fyxfkgh8sjjkd36sc5773k2rbq4c6nza-qtdeclarative-6.11.2-dev",
|
||||
"out": "/nix/store/10553j4116y6jllliqpg5kz7d35bblab-qtdeclarative-6.11.2"
|
||||
},
|
||||
"system": "x86_64-linux",
|
||||
"group": "toplevel",
|
||||
@@ -317,25 +317,25 @@
|
||||
{
|
||||
"attr_path": "qt6.qtdoc",
|
||||
"broken": false,
|
||||
"derivation": "/nix/store/bp8jysx95r6gyfw4mkz6lyxkap7jm8nj-qtdoc-6.11.2.drv",
|
||||
"derivation": "/nix/store/kffwrgfyp0dd9w86rng4cyamq1agq00f-qtdoc-6.11.2.drv",
|
||||
"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=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"locked_url": "https://github.com/flox/nixpkgs?rev=eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"name": "qtdoc-6.11.2",
|
||||
"pname": "qtdoc",
|
||||
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"rev_count": 1070770,
|
||||
"rev_date": "2026-09-10T02:20:05Z",
|
||||
"scrape_date": "2026-09-11T04:59:40.460170Z",
|
||||
"rev": "eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"rev_count": 1072397,
|
||||
"rev_date": "2026-09-11T18:00:29Z",
|
||||
"scrape_date": "2026-09-13T05:03:46.020088Z",
|
||||
"stabilities": [
|
||||
"unstable"
|
||||
],
|
||||
"version": "6.11.2",
|
||||
"outputs_to_install": [],
|
||||
"outputs": {
|
||||
"dev": "/nix/store/dyzg6vg6n0y2rzwkg5h21c8j236c6z1w-qtdoc-6.11.2-dev",
|
||||
"out": "/nix/store/z7j9kmpgbbh1ssdp557acg7q7zf906bf-qtdoc-6.11.2"
|
||||
"dev": "/nix/store/vw5140z4al8f5k1i8yq57sdww5n6hli0-qtdoc-6.11.2-dev",
|
||||
"out": "/nix/store/bms8l63z2ca2r9l1y65fgsj5smqpkdh8-qtdoc-6.11.2"
|
||||
},
|
||||
"system": "aarch64-darwin",
|
||||
"group": "toplevel",
|
||||
@@ -344,26 +344,26 @@
|
||||
{
|
||||
"attr_path": "qt6.qtdoc",
|
||||
"broken": false,
|
||||
"derivation": "/nix/store/fp4r5rf5iq34kfyn9ccjpg150nikdgzf-qtdoc-6.11.2.drv",
|
||||
"derivation": "/nix/store/n2k6yn8ikb8b5l1r8nafdik88cnsk8s2-qtdoc-6.11.2.drv",
|
||||
"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=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"locked_url": "https://github.com/flox/nixpkgs?rev=eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"name": "qtdoc-6.11.2",
|
||||
"pname": "qtdoc",
|
||||
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"rev_count": 1070770,
|
||||
"rev_date": "2026-09-10T02:20:05Z",
|
||||
"scrape_date": "2026-09-11T05:32:27.309163Z",
|
||||
"rev": "eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"rev_count": 1072397,
|
||||
"rev_date": "2026-09-11T18:00:29Z",
|
||||
"scrape_date": "2026-09-13T05:39:24.213139Z",
|
||||
"stabilities": [
|
||||
"unstable"
|
||||
],
|
||||
"version": "6.11.2",
|
||||
"outputs_to_install": [],
|
||||
"outputs": {
|
||||
"debug": "/nix/store/p66qpgf5qbp3fhd7c8pwgm4dz30mckk2-qtdoc-6.11.2-debug",
|
||||
"dev": "/nix/store/80lhjxc0zh4shg8z461629z9afa3a5yj-qtdoc-6.11.2-dev",
|
||||
"out": "/nix/store/hlfdacc6qh1p3jvy33p9jxmv3si47vz7-qtdoc-6.11.2"
|
||||
"debug": "/nix/store/8b8cimfv7sqfsr91bkzfrh9b2jiaizkb-qtdoc-6.11.2-debug",
|
||||
"dev": "/nix/store/pp74vzvhknzzn0kzhmbygzv74xygfd7k-qtdoc-6.11.2-dev",
|
||||
"out": "/nix/store/rwmnq5jac97xk97kycgp4b408qz0wk9y-qtdoc-6.11.2"
|
||||
},
|
||||
"system": "aarch64-linux",
|
||||
"group": "toplevel",
|
||||
@@ -372,26 +372,26 @@
|
||||
{
|
||||
"attr_path": "qt6.qtdoc",
|
||||
"broken": false,
|
||||
"derivation": "/nix/store/hhkjf8lfz7bqwyzq7495z1nn1jsiay3y-qtdoc-6.11.2.drv",
|
||||
"derivation": "/nix/store/hm9yln54isbs0mh4k19dwxxrwxfqhi7q-qtdoc-6.11.2.drv",
|
||||
"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=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"locked_url": "https://github.com/flox/nixpkgs?rev=eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"name": "qtdoc-6.11.2",
|
||||
"pname": "qtdoc",
|
||||
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"rev_count": 1070770,
|
||||
"rev_date": "2026-09-10T02:20:05Z",
|
||||
"scrape_date": "2026-09-11T06:08:51.186521Z",
|
||||
"rev": "eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"rev_count": 1072397,
|
||||
"rev_date": "2026-09-11T18:00:29Z",
|
||||
"scrape_date": "2026-09-13T06:18:50.666262Z",
|
||||
"stabilities": [
|
||||
"unstable"
|
||||
],
|
||||
"version": "6.11.2",
|
||||
"outputs_to_install": [],
|
||||
"outputs": {
|
||||
"debug": "/nix/store/ys29n58nsqvv6qzfipcw39w01kfaipis-qtdoc-6.11.2-debug",
|
||||
"dev": "/nix/store/8x5jwyp99lk018ljarxhvy7zl0lmxlw3-qtdoc-6.11.2-dev",
|
||||
"out": "/nix/store/hxr8rdv629c2hqb5y7a6jlysfcn40zx9-qtdoc-6.11.2"
|
||||
"debug": "/nix/store/sx7425dwmm7bnywhjv2vc7cyg8vf8jhw-qtdoc-6.11.2-debug",
|
||||
"dev": "/nix/store/79h7dbk20higw6sadxp3ayfij5nk06ri-qtdoc-6.11.2-dev",
|
||||
"out": "/nix/store/ripj5l6zjvanr9gsd347jagn68ywd0g0-qtdoc-6.11.2"
|
||||
},
|
||||
"system": "x86_64-linux",
|
||||
"group": "toplevel",
|
||||
@@ -400,25 +400,25 @@
|
||||
{
|
||||
"attr_path": "qt6Packages.qtwebengine",
|
||||
"broken": false,
|
||||
"derivation": "/nix/store/d71jnni7r0cxccwr0k0y3p1qwnab2f3r-qtwebengine-6.11.2.drv",
|
||||
"derivation": "/nix/store/cbdv835cgqrhmppsvpbdlal8qz17xhhd-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",
|
||||
"locked_url": "https://github.com/flox/nixpkgs?rev=eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"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",
|
||||
"rev": "eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"rev_count": 1072397,
|
||||
"rev_date": "2026-09-11T18:00:29Z",
|
||||
"scrape_date": "2026-09-13T05:03:46.274272Z",
|
||||
"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"
|
||||
"dev": "/nix/store/5q8wrmlin620y6877gr9il3529pkp7j7-qtwebengine-6.11.2-dev",
|
||||
"out": "/nix/store/hwyn3bcqbnk3344ynn2big2zhb7d51ng-qtwebengine-6.11.2"
|
||||
},
|
||||
"system": "aarch64-darwin",
|
||||
"group": "toplevel",
|
||||
@@ -427,25 +427,25 @@
|
||||
{
|
||||
"attr_path": "qt6Packages.qtwebengine",
|
||||
"broken": false,
|
||||
"derivation": "/nix/store/yn1z099k73cyj6mrqfcv7b4h5lrsjkmh-qtwebengine-6.11.2.drv",
|
||||
"derivation": "/nix/store/iwczwv0cb2vd739dfhd64wk0d4n99ddj-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",
|
||||
"locked_url": "https://github.com/flox/nixpkgs?rev=eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"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",
|
||||
"rev": "eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"rev_count": 1072397,
|
||||
"rev_date": "2026-09-11T18:00:29Z",
|
||||
"scrape_date": "2026-09-13T05:39:24.588051Z",
|
||||
"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"
|
||||
"dev": "/nix/store/a5s82i8ic0zslx71jf7bgck04jz89ndd-qtwebengine-6.11.2-dev",
|
||||
"out": "/nix/store/h0vc5zpdq8g4jlf14p5yzhq23nnbh34g-qtwebengine-6.11.2"
|
||||
},
|
||||
"system": "aarch64-linux",
|
||||
"group": "toplevel",
|
||||
@@ -454,25 +454,25 @@
|
||||
{
|
||||
"attr_path": "qt6Packages.qtwebengine",
|
||||
"broken": false,
|
||||
"derivation": "/nix/store/qd69i09fwhqjx9cd8vp4ayjyac0p7nxi-qtwebengine-6.11.2.drv",
|
||||
"derivation": "/nix/store/j0lpjpxcg7gghanvigsj2d9mpsk8pyxd-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",
|
||||
"locked_url": "https://github.com/flox/nixpkgs?rev=eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"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",
|
||||
"rev": "eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"rev_count": 1072397,
|
||||
"rev_date": "2026-09-11T18:00:29Z",
|
||||
"scrape_date": "2026-09-13T06:18:51.063618Z",
|
||||
"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"
|
||||
"dev": "/nix/store/3ikw69hwhhpjkd20hz15qfn4fl9dadbd-qtwebengine-6.11.2-dev",
|
||||
"out": "/nix/store/ixiigagvk4lwp5mncm2dy44gd8il9dfc-qtwebengine-6.11.2"
|
||||
},
|
||||
"system": "x86_64-linux",
|
||||
"group": "toplevel",
|
||||
@@ -481,17 +481,17 @@
|
||||
{
|
||||
"attr_path": "quickshell",
|
||||
"broken": false,
|
||||
"derivation": "/nix/store/28k3b6m29774k1g4wihhviib9kzrp8zv-quickshell-0.3.1.drv",
|
||||
"derivation": "/nix/store/6fqcznzbzky48b2rf7jrrmfld5g8qsgq-quickshell-0.3.1.drv",
|
||||
"description": "Flexible QtQuick based desktop shell toolkit",
|
||||
"install_id": "quickshell",
|
||||
"license": "LGPL-3.0-only",
|
||||
"locked_url": "https://github.com/flox/nixpkgs?rev=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"locked_url": "https://github.com/flox/nixpkgs?rev=eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"name": "quickshell-0.3.1",
|
||||
"pname": "quickshell",
|
||||
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"rev_count": 1070770,
|
||||
"rev_date": "2026-09-10T02:20:05Z",
|
||||
"scrape_date": "2026-09-11T05:32:27.967609Z",
|
||||
"rev": "eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"rev_count": 1072397,
|
||||
"rev_date": "2026-09-11T18:00:29Z",
|
||||
"scrape_date": "2026-09-13T05:39:24.852265Z",
|
||||
"stabilities": [
|
||||
"unstable"
|
||||
],
|
||||
@@ -501,8 +501,8 @@
|
||||
"out"
|
||||
],
|
||||
"outputs": {
|
||||
"debug": "/nix/store/m9iaq00x3wj9d56hxbmbnnbzhfi86rgi-quickshell-0.3.1-debug",
|
||||
"out": "/nix/store/hnw9kk48z8jqp0pqha5gwnpyawpcxq34-quickshell-0.3.1"
|
||||
"debug": "/nix/store/fpsdq01500gakw3kx260x3j236gc0ipr-quickshell-0.3.1-debug",
|
||||
"out": "/nix/store/v9da6skhk63r8n7w8dcxffdf18agkl28-quickshell-0.3.1"
|
||||
},
|
||||
"system": "aarch64-linux",
|
||||
"group": "toplevel",
|
||||
@@ -511,17 +511,17 @@
|
||||
{
|
||||
"attr_path": "quickshell",
|
||||
"broken": false,
|
||||
"derivation": "/nix/store/i74mbh5kis1q2018lj8bi14dmhrx5kv1-quickshell-0.3.1.drv",
|
||||
"derivation": "/nix/store/ir205s6ryfkc39ydq7i3skim76q44zjp-quickshell-0.3.1.drv",
|
||||
"description": "Flexible QtQuick based desktop shell toolkit",
|
||||
"install_id": "quickshell",
|
||||
"license": "LGPL-3.0-only",
|
||||
"locked_url": "https://github.com/flox/nixpkgs?rev=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"locked_url": "https://github.com/flox/nixpkgs?rev=eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"name": "quickshell-0.3.1",
|
||||
"pname": "quickshell",
|
||||
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
|
||||
"rev_count": 1070770,
|
||||
"rev_date": "2026-09-10T02:20:05Z",
|
||||
"scrape_date": "2026-09-11T06:08:51.870682Z",
|
||||
"rev": "eaad089433ca2bb662274377d33df3d0e51ef28b",
|
||||
"rev_count": 1072397,
|
||||
"rev_date": "2026-09-11T18:00:29Z",
|
||||
"scrape_date": "2026-09-13T06:18:51.362147Z",
|
||||
"stabilities": [
|
||||
"unstable"
|
||||
],
|
||||
@@ -531,8 +531,8 @@
|
||||
"out"
|
||||
],
|
||||
"outputs": {
|
||||
"debug": "/nix/store/12gf9sg9k944fsjg2zi718mkbaxbwiqc-quickshell-0.3.1-debug",
|
||||
"out": "/nix/store/bizld3m6skqh1fsjf6invqgaicyfvkyz-quickshell-0.3.1"
|
||||
"debug": "/nix/store/vixmqk7p3s23bfjidjdhc8rrp76p55lw-quickshell-0.3.1-debug",
|
||||
"out": "/nix/store/gvgrz4bh8hryjzrvkqjiwyh4acpn27aj-quickshell-0.3.1"
|
||||
},
|
||||
"system": "x86_64-linux",
|
||||
"group": "toplevel",
|
||||
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
# Points qmlls at the Qt and Quickshell modules from the flox env, so completion
|
||||
# and go-to-definition work without any editor-specific setup.
|
||||
#
|
||||
# Paths must be absolute: qmlls resolves relative ones against the working
|
||||
# directory, not against this file. Separate several with ":".
|
||||
# The .flox/run/... symlink is stable across env rebuilds - do not hardcode the
|
||||
# /nix/store target it points at.
|
||||
#
|
||||
# The repo is reachable under two paths; both are listed so either one works.
|
||||
[General]
|
||||
no-cmake-calls=true
|
||||
importPaths=/mnt/Data/Projects/skygqts/.flox/run/x86_64-linux.skygqts-dev/lib/qt-6/qml:/home/ari/Projects/skygqts/.flox/run/x86_64-linux.skygqts-dev/lib/qt-6/qml
|
||||
Vendored
+2
-1
@@ -2,5 +2,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"
|
||||
]
|
||||
],
|
||||
"nixEnvSelector.suggestion": false
|
||||
}
|
||||
+2
-1
@@ -10,7 +10,8 @@
|
||||
"lsp": {
|
||||
"qmljs": {
|
||||
"binary": {
|
||||
"arguments": ["-E"]
|
||||
"path": "/mnt/Data/Projects/skygqts/.flox/run/x86_64-linux.skygqts-dev/bin/qmlls",
|
||||
"arguments": []
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,6 +35,6 @@ Describe what you would do and ask the user for permission.
|
||||
|
||||
## Commit / Branch / Git Policy
|
||||
|
||||
- Do not commit changes or create branches unless the user explicitly asks
|
||||
- Do not `git add`, `git commit`, or `git push` autonomously
|
||||
- Do not commit changes or create branches unless the user explicitly asks. Instead just don't do it.
|
||||
- Do not `git add`, `git commit`, or `git push` autonomously. Instead just don't ever do it.
|
||||
- Describe what you changed in your final message so the user can review before committing
|
||||
@@ -1,215 +0,0 @@
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
import Quickshell.Wayland
|
||||
import Quickshell.Hyprland
|
||||
import "types"
|
||||
|
||||
// Snapshot of monitors / workspaces / windows for the overview.
|
||||
// Call refresh() when the overlay is shown; browsing a monitor only rebuilds.
|
||||
Scope {
|
||||
id: root
|
||||
|
||||
required property string browsedMonitor
|
||||
|
||||
property list<Monitor> monitors
|
||||
property list<MonitorStats> monitorStats
|
||||
property list<OverviewRow> rows
|
||||
property QtObject snapshotRoot
|
||||
readonly property bool rebuildPending: delayedRebuild.running
|
||||
|
||||
signal rebuilt()
|
||||
|
||||
Component { id: snapRootComp; QtObject {} }
|
||||
Component { id: monitorComp; Monitor {} }
|
||||
Component { id: monitorStatsComp; MonitorStats {} }
|
||||
Component { id: workspaceInfoComp; WorkspaceInfo {} }
|
||||
Component { id: windowInfoComp; WindowInfo {} }
|
||||
Component { id: overviewRowComp; OverviewRow {} }
|
||||
|
||||
Timer {
|
||||
id: delayedRebuild
|
||||
interval: 80
|
||||
repeat: false
|
||||
onTriggered: root.rebuild()
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: Hyprland.monitors
|
||||
function onValuesChanged() { delayedRebuild.restart(); }
|
||||
}
|
||||
Connections {
|
||||
target: Hyprland.workspaces
|
||||
function onValuesChanged() { delayedRebuild.restart(); }
|
||||
}
|
||||
Connections {
|
||||
target: Hyprland.toplevels
|
||||
function onValuesChanged() { delayedRebuild.restart(); }
|
||||
}
|
||||
|
||||
function refresh() {
|
||||
Hyprland.refreshMonitors();
|
||||
Hyprland.refreshWorkspaces();
|
||||
Hyprland.refreshToplevels();
|
||||
delayedRebuild.restart();
|
||||
root.rebuild();
|
||||
}
|
||||
|
||||
function monitorNameOf(tl, ws) {
|
||||
if (tl?.monitor?.name)
|
||||
return tl.monitor.name;
|
||||
if (ws?.monitor?.name)
|
||||
return ws.monitor.name;
|
||||
const ipcMon = tl?.lastIpcObject?.monitor;
|
||||
if (typeof ipcMon === "string" && ipcMon.length)
|
||||
return ipcMon;
|
||||
if (typeof ipcMon === "number") {
|
||||
const m = (Hyprland.monitors?.values ?? []).find(mon => mon.id === ipcMon);
|
||||
if (m)
|
||||
return m.name;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
function resolveWayland(tl) {
|
||||
if (tl?.wayland)
|
||||
return tl.wayland;
|
||||
const title = tl?.title ?? "";
|
||||
const appId = tl?.lastIpcObject?.class ?? "";
|
||||
const list = ToplevelManager?.toplevels?.values ?? [];
|
||||
let match = list.find(t => t.title === title && (!appId || t.appId === appId));
|
||||
if (match)
|
||||
return match;
|
||||
return list.find(t => title && t.title === title) ?? null;
|
||||
}
|
||||
|
||||
function snapshotWindow(tl) {
|
||||
const ipc = tl.lastIpcObject;
|
||||
return windowInfoComp.createObject(root.snapshotRoot, {
|
||||
address: tl.address ?? ipc?.address ?? "",
|
||||
title: tl.title ?? ipc?.title ?? "",
|
||||
appClass: ipc?.class ?? "",
|
||||
size: (ipc && ipc.size) ? [ipc.size[0], ipc.size[1]] : [0, 0],
|
||||
at: (ipc && ipc.at) ? [ipc.at[0], ipc.at[1]] : [0, 0],
|
||||
wayland: root.resolveWayland(tl),
|
||||
activated: !!tl.activated,
|
||||
monitorName: "",
|
||||
});
|
||||
}
|
||||
|
||||
function collectToplevels() {
|
||||
const seen = {};
|
||||
const out = [];
|
||||
function add(tl) {
|
||||
if (!tl)
|
||||
return;
|
||||
const key = tl.address ?? tl.lastIpcObject?.address ?? "";
|
||||
if (key) {
|
||||
if (seen[key])
|
||||
return;
|
||||
seen[key] = true;
|
||||
}
|
||||
out.push(tl);
|
||||
}
|
||||
for (const tl of (Hyprland.toplevels?.values ?? []))
|
||||
add(tl);
|
||||
for (const ws of (Hyprland.workspaces?.values ?? [])) {
|
||||
for (const tl of (ws.toplevels?.values ?? []))
|
||||
add(tl);
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
function collectMonitor() {
|
||||
return (Hyprland.monitors?.values ?? []).slice()
|
||||
.sort((a, b) => a.id - b.id)
|
||||
.map(m => monitorComp.createObject(root.snapshotRoot, {
|
||||
monitorId: m.id,
|
||||
name: m.name,
|
||||
x: m.x,
|
||||
y: m.y,
|
||||
width: m.width,
|
||||
height: m.height,
|
||||
scale: m.scale || 1,
|
||||
}));
|
||||
}
|
||||
|
||||
function rebuild() {
|
||||
const oldRoot = root.snapshotRoot;
|
||||
root.snapshotRoot = snapRootComp.createObject(root);
|
||||
|
||||
const monitorSnaps = collectMonitor();
|
||||
|
||||
const byId = {};
|
||||
for (const ws of (Hyprland.workspaces?.values ?? [])) {
|
||||
byId[ws.id] = {
|
||||
id: ws.id,
|
||||
active: !!ws.active,
|
||||
monitorName: ws.monitor?.name ?? "",
|
||||
windows: [],
|
||||
};
|
||||
}
|
||||
|
||||
for (const tl of root.collectToplevels()) {
|
||||
if (tl.mapped === false)
|
||||
continue;
|
||||
const ws = tl.workspace;
|
||||
const ipcWs = tl.lastIpcObject?.workspace;
|
||||
const wsId = ws?.id ?? (typeof ipcWs === "object" ? ipcWs?.id : ipcWs);
|
||||
if (!(wsId in byId)) {
|
||||
byId[wsId] = {
|
||||
id: wsId,
|
||||
active: !!(ws && ws.active),
|
||||
monitorName: "",
|
||||
windows: [],
|
||||
};
|
||||
}
|
||||
const monName = root.monitorNameOf(tl, ws) || byId[wsId].monitorName;
|
||||
if (!byId[wsId].monitorName)
|
||||
byId[wsId].monitorName = monName;
|
||||
const win = root.snapshotWindow(tl);
|
||||
win.monitorName = monName;
|
||||
byId[wsId].windows.push(win);
|
||||
}
|
||||
|
||||
for (const w of Object.values(byId))
|
||||
w.windows.sort((a, b) => (a.at?.[0] ?? 0) - (b.at?.[0] ?? 0));
|
||||
|
||||
const stats = monitorSnaps.map(mon => {
|
||||
const wss = Object.values(byId).filter(w => w.monitorName === mon.name);
|
||||
const windows = Object.values(byId).reduce(
|
||||
(n, w) => n + w.windows.filter(win => win.monitorName === mon.name).length,
|
||||
0
|
||||
);
|
||||
return monitorStatsComp.createObject(root.snapshotRoot, {
|
||||
workspaces: wss.length,
|
||||
windows: windows,
|
||||
});
|
||||
});
|
||||
|
||||
const browsed = root.browsedMonitor;
|
||||
const rows = Object.values(byId)
|
||||
.filter(w => {
|
||||
if (!browsed)
|
||||
return false;
|
||||
return w.monitorName === browsed
|
||||
|| w.windows.some(win => win.monitorName === browsed);
|
||||
})
|
||||
.sort((a, b) => a.id - b.id)
|
||||
.map(w => overviewRowComp.createObject(root.snapshotRoot, {
|
||||
workspace: workspaceInfoComp.createObject(root.snapshotRoot, {
|
||||
workspaceId: w.id,
|
||||
active: w.active,
|
||||
}),
|
||||
toplevels: w.monitorName === browsed
|
||||
? w.windows
|
||||
: w.windows.filter(win => win.monitorName === browsed),
|
||||
}));
|
||||
|
||||
root.monitors = monitorSnaps;
|
||||
root.monitorStats = stats;
|
||||
root.rows = rows;
|
||||
if (oldRoot)
|
||||
oldRoot.destroy();
|
||||
root.rebuilt();
|
||||
}
|
||||
}
|
||||
@@ -1,87 +0,0 @@
|
||||
import QtQuick
|
||||
|
||||
// Mini-map of the real monitor layout: each pill is positioned and sized
|
||||
// proportionally to its monitor's actual x/y/resolution in Hyprland's
|
||||
// compositor space (see conf/monitors.lua), like a display-arrangement UI.
|
||||
Item {
|
||||
id: root
|
||||
|
||||
required property var theme
|
||||
required property var monitors
|
||||
required property var monitorStats
|
||||
required property string focusedMonitorName
|
||||
|
||||
signal monitorClicked(int index)
|
||||
|
||||
readonly property real mapWidth: 240
|
||||
readonly property real minPillWidth: 34
|
||||
readonly property real minPillHeight: 26
|
||||
|
||||
// Hyprland reports width/height as raw output resolution but x/y in
|
||||
// scaled/logical space, so divide by scale to put everything in the
|
||||
// same coordinate system before computing positions/sizes.
|
||||
function logicalRect(m) {
|
||||
return { x: m.x, y: m.y, w: m.width / m.scale, h: m.height / m.scale };
|
||||
}
|
||||
|
||||
readonly property var rects: root.monitors.map(root.logicalRect)
|
||||
readonly property var bounds: {
|
||||
if (root.rects.length === 0) return { minX: 0, minY: 0, maxX: 1, maxY: 1 };
|
||||
return {
|
||||
minX: Math.min(...root.rects.map(r => r.x)),
|
||||
minY: Math.min(...root.rects.map(r => r.y)),
|
||||
maxX: Math.max(...root.rects.map(r => r.x + r.w)),
|
||||
maxY: Math.max(...root.rects.map(r => r.y + r.h)),
|
||||
};
|
||||
}
|
||||
readonly property real totalWidth: Math.max(1, root.bounds.maxX - root.bounds.minX)
|
||||
readonly property real totalHeight: Math.max(1, root.bounds.maxY - root.bounds.minY)
|
||||
readonly property real scaleFactor: root.mapWidth / root.totalWidth
|
||||
|
||||
visible: monitors.length > 1
|
||||
width: root.totalWidth * root.scaleFactor
|
||||
height: root.totalHeight * root.scaleFactor
|
||||
|
||||
Repeater {
|
||||
model: root.monitors
|
||||
|
||||
Rectangle {
|
||||
id: pill
|
||||
required property var modelData
|
||||
required property int index
|
||||
|
||||
readonly property bool active: modelData.name === root.focusedMonitorName
|
||||
readonly property var rect: root.logicalRect(modelData)
|
||||
|
||||
x: (rect.x - root.bounds.minX) * root.scaleFactor
|
||||
y: (rect.y - root.bounds.minY) * root.scaleFactor
|
||||
width: Math.max(rect.w * root.scaleFactor, root.minPillWidth)
|
||||
height: Math.max(rect.h * root.scaleFactor, root.minPillHeight)
|
||||
radius: 6
|
||||
color: pill.active ? root.theme.selectedBorder : root.theme.cardBg
|
||||
border.width: 1
|
||||
border.color: root.theme.cardBorder
|
||||
clip: true
|
||||
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
width: parent.width - 4
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
elide: Text.ElideRight
|
||||
text: {
|
||||
const s = root.monitorStats[pill.index];
|
||||
return (pill.index + 1) + ": " + pill.modelData.name
|
||||
+ (s ? " " + s.workspaces + "/" + s.windows : "");
|
||||
}
|
||||
color: root.theme.textColor
|
||||
font.pixelSize: Math.max(9, Math.min(11, pill.height * 0.3))
|
||||
font.bold: pill.active
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onClicked: root.monitorClicked(pill.index)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,327 +0,0 @@
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
import Quickshell.Wayland
|
||||
import Quickshell.Hyprland
|
||||
|
||||
PanelWindow {
|
||||
id: root
|
||||
|
||||
required property bool shellOpen
|
||||
required property string browsedMonitor
|
||||
signal requestClose()
|
||||
signal requestBrowseMonitor(string name)
|
||||
|
||||
visible: root.shellOpen
|
||||
|
||||
color: "transparent"
|
||||
|
||||
WlrLayershell.namespace: "quickshell:overview"
|
||||
WlrLayershell.layer: WlrLayer.Overlay
|
||||
WlrLayershell.exclusiveZone: -1
|
||||
WlrLayershell.keyboardFocus: root.visible ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
|
||||
|
||||
anchors {
|
||||
top: true
|
||||
left: true
|
||||
right: true
|
||||
bottom: true
|
||||
}
|
||||
|
||||
property Theme theme: Theme {}
|
||||
|
||||
property bool resetOnRebuild: false
|
||||
|
||||
property HyprlandWindowState windowState: HyprlandWindowState {
|
||||
id: winState
|
||||
browsedMonitor: root.browsedMonitor
|
||||
onRebuilt: {
|
||||
if (root.resetOnRebuild) {
|
||||
root.resetOnRebuild = winState.rebuildPending;
|
||||
root.resetSelection();
|
||||
} else {
|
||||
root.clampSelection();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
readonly property var rows: windowState.rows
|
||||
readonly property var sortedMonitors: windowState.monitors
|
||||
readonly property var monitorStats: windowState.monitorStats
|
||||
|
||||
property int selectedRow: 0
|
||||
property int selectedCol: 0
|
||||
|
||||
function clampSelection() {
|
||||
if (root.rows.length === 0) {
|
||||
root.selectedRow = 0;
|
||||
root.selectedCol = 0;
|
||||
return;
|
||||
}
|
||||
if (root.selectedRow >= root.rows.length) root.selectedRow = root.rows.length - 1;
|
||||
if (root.selectedRow < 0) root.selectedRow = 0;
|
||||
const count = root.rows[root.selectedRow].toplevels.length;
|
||||
if (root.selectedCol >= count) root.selectedCol = Math.max(0, count - 1);
|
||||
if (root.selectedCol < 0) root.selectedCol = 0;
|
||||
}
|
||||
|
||||
// Reset the selection to the active workspace/window whenever the
|
||||
// overview opens.
|
||||
function resetSelection() {
|
||||
const activeRowIndex = root.rows.findIndex(r => r.workspace.active);
|
||||
root.selectedRow = activeRowIndex >= 0 ? activeRowIndex : 0;
|
||||
const row = root.rows[root.selectedRow];
|
||||
const activeColIndex = row ? row.toplevels.findIndex(tl => tl.activated) : -1;
|
||||
root.selectedCol = activeColIndex >= 0 ? activeColIndex : 0;
|
||||
root.clampSelection();
|
||||
}
|
||||
|
||||
function moveSelection(dRow, dCol) {
|
||||
if (root.rows.length === 0) return;
|
||||
if (dRow !== 0) {
|
||||
root.selectedRow = (root.selectedRow + dRow + root.rows.length) % root.rows.length;
|
||||
root.clampSelection();
|
||||
}
|
||||
if (dCol !== 0) {
|
||||
const count = root.rows[root.selectedRow].toplevels.length;
|
||||
if (count > 0) root.selectedCol = (root.selectedCol + dCol + count) % count;
|
||||
}
|
||||
}
|
||||
|
||||
function activateSelection() {
|
||||
const row = root.rows[root.selectedRow];
|
||||
if (!row) { root.requestClose(); return; }
|
||||
if (!row.workspace.active) {
|
||||
Quickshell.execDetached(["hyprctl", "dispatch", `hl.dsp.focus({workspace = ${row.workspace.workspaceId}})`]);
|
||||
}
|
||||
const tl = row.toplevels[root.selectedCol];
|
||||
if (tl) {
|
||||
const addr = tl.address.startsWith("0x") ? tl.address : "0x" + tl.address;
|
||||
Quickshell.execDetached(["hyprctl", "dispatch", `hl.dsp.focus({window = "address:${addr}"})`]);
|
||||
}
|
||||
root.requestClose();
|
||||
}
|
||||
|
||||
// Advances which monitor's overview is being browsed (see shell.qml) —
|
||||
// purely local UI state, doesn't touch Hyprland's real focused monitor.
|
||||
function cycleMonitor() {
|
||||
const mons = root.sortedMonitors;
|
||||
if (mons.length === 0) return;
|
||||
const curIdx = Math.max(0, mons.findIndex(m => m.name === root.browsedMonitor));
|
||||
const mon = mons[(curIdx + 1) % mons.length];
|
||||
root.requestBrowseMonitor(mon.name);
|
||||
}
|
||||
|
||||
// Jump straight to the Nth monitor's overview (0-based), bound to number
|
||||
// keys 1-9 and the monitor bar.
|
||||
function focusMonitorByIndex(i) {
|
||||
const mon = root.sortedMonitors[i];
|
||||
if (!mon) return;
|
||||
root.requestBrowseMonitor(mon.name);
|
||||
}
|
||||
|
||||
onBrowsedMonitorChanged: {
|
||||
if (root.visible) {
|
||||
root.resetOnRebuild = true;
|
||||
root.windowState.rebuild();
|
||||
}
|
||||
}
|
||||
|
||||
onVisibleChanged: {
|
||||
if (root.visible) {
|
||||
root.resetOnRebuild = true;
|
||||
root.windowState.refresh();
|
||||
Qt.callLater(() => focusScope.forceActiveFocus());
|
||||
}
|
||||
}
|
||||
|
||||
HyprlandFocusGrab {
|
||||
windows: [root]
|
||||
active: root.visible
|
||||
onCleared: {
|
||||
if (root.visible) root.requestClose();
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: root.theme.backdrop
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onClicked: root.requestClose()
|
||||
}
|
||||
}
|
||||
|
||||
FocusScope {
|
||||
id: focusScope
|
||||
anchors.fill: parent
|
||||
focus: root.visible
|
||||
|
||||
// Hovering a card recenters the carousel, which can slide a
|
||||
// different card under an otherwise-stationary cursor and retrigger
|
||||
// hover on it ("combo hover"). A pure movement-distance check isn't
|
||||
// enough — ordinary mouse/trackpad jitter (a few px) clears a small
|
||||
// threshold on its own. So: hard-lock all hover triggers for the
|
||||
// duration of the recentering animation (nothing can retrigger while
|
||||
// cards are still sliding), and additionally require the cursor to
|
||||
// have moved well past jitter range since the last accepted trigger.
|
||||
HoverHandler {
|
||||
id: mouseTracker
|
||||
}
|
||||
property point lastHoverAcceptPos: Qt.point(-1, -1)
|
||||
property bool hoverLocked: false
|
||||
Timer {
|
||||
id: hoverLockTimer
|
||||
interval: root.theme.carouselDuration
|
||||
onTriggered: focusScope.hoverLocked = false
|
||||
}
|
||||
function shouldAcceptHover() {
|
||||
if (focusScope.hoverLocked) return false;
|
||||
const cur = mouseTracker.point.position;
|
||||
const dx = cur.x - focusScope.lastHoverAcceptPos.x;
|
||||
const dy = cur.y - focusScope.lastHoverAcceptPos.y;
|
||||
if ((dx * dx + dy * dy) <= 1600) return false; // 40px
|
||||
focusScope.lastHoverAcceptPos = cur;
|
||||
focusScope.hoverLocked = true;
|
||||
hoverLockTimer.restart();
|
||||
return true;
|
||||
}
|
||||
|
||||
Keys.onPressed: event => {
|
||||
switch (event.key) {
|
||||
case Qt.Key_Left:
|
||||
root.moveSelection(0, -1);
|
||||
break;
|
||||
case Qt.Key_Right:
|
||||
root.moveSelection(0, 1);
|
||||
break;
|
||||
case Qt.Key_Up:
|
||||
root.moveSelection(-1, 0);
|
||||
break;
|
||||
case Qt.Key_Down:
|
||||
root.moveSelection(1, 0);
|
||||
break;
|
||||
case Qt.Key_Return:
|
||||
case Qt.Key_Enter:
|
||||
root.activateSelection();
|
||||
break;
|
||||
case Qt.Key_Escape:
|
||||
root.requestClose();
|
||||
break;
|
||||
case Qt.Key_M:
|
||||
root.cycleMonitor();
|
||||
break;
|
||||
case Qt.Key_1:
|
||||
case Qt.Key_2:
|
||||
case Qt.Key_3:
|
||||
case Qt.Key_4:
|
||||
case Qt.Key_5:
|
||||
case Qt.Key_6:
|
||||
case Qt.Key_7:
|
||||
case Qt.Key_8:
|
||||
case Qt.Key_9:
|
||||
root.focusMonitorByIndex(event.key - Qt.Key_1);
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
event.accepted = true;
|
||||
}
|
||||
|
||||
// Two-finger trackpad swipe moves the selection like the arrow keys:
|
||||
// vertical swipe = workspace rows, horizontal swipe = windows in a
|
||||
// row. High-res trackpads report swipes as pixel deltas (angleDelta is
|
||||
// tiny/zero), so prefer pixelDelta and fall back to angleDelta (for
|
||||
// notch-style mice). Deltas accumulate on the dominant axis and a
|
||||
// single step is taken once the swipe crosses the threshold.
|
||||
WheelHandler {
|
||||
id: swipeHandler
|
||||
target: focusScope
|
||||
property real accY: 0
|
||||
property real accX: 0
|
||||
|
||||
function step(dRow, dCol) {
|
||||
root.moveSelection(dRow, dCol);
|
||||
swipeHandler.accY = 0;
|
||||
swipeHandler.accX = 0;
|
||||
}
|
||||
|
||||
onWheel: event => {
|
||||
console.log("WHEEL px=" + event.pixelDelta.x + "," + event.pixelDelta.y
|
||||
+ " ang=" + event.angleDelta.x + "," + event.angleDelta.y);
|
||||
const px = event.pixelDelta;
|
||||
const ang = event.angleDelta;
|
||||
const dx = px.x !== 0 ? px.x : ang.x;
|
||||
const dy = px.y !== 0 ? px.y : ang.y;
|
||||
swipeHandler.accX += dx;
|
||||
swipeHandler.accY += dy;
|
||||
|
||||
if (Math.abs(swipeHandler.accY) >= Math.abs(swipeHandler.accX)) {
|
||||
if (swipeHandler.accY <= -root.theme.swipeThreshold) swipeHandler.step(-1, 0);
|
||||
else if (swipeHandler.accY >= root.theme.swipeThreshold) swipeHandler.step(1, 0);
|
||||
} else {
|
||||
if (swipeHandler.accX <= -root.theme.swipeThreshold) swipeHandler.step(0, 1);
|
||||
else if (swipeHandler.accX >= root.theme.swipeThreshold) swipeHandler.step(0, -1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
MonitorBar {
|
||||
anchors.top: parent.top
|
||||
anchors.topMargin: 24
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
theme: root.theme
|
||||
monitors: root.sortedMonitors
|
||||
monitorStats: root.monitorStats
|
||||
focusedMonitorName: root.browsedMonitor
|
||||
onMonitorClicked: index => root.focusMonitorByIndex(index)
|
||||
}
|
||||
|
||||
Item {
|
||||
anchors.fill: parent
|
||||
|
||||
Repeater {
|
||||
model: root.rows
|
||||
|
||||
WorkspaceRow {
|
||||
required property var modelData
|
||||
required property int index
|
||||
|
||||
theme: root.theme
|
||||
workspace: modelData.workspace
|
||||
toplevels: modelData.toplevels
|
||||
selectedIndex: index === root.selectedRow ? root.selectedCol : -1
|
||||
live: root.visible
|
||||
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.verticalCenterOffset: (index - root.selectedRow) * root.theme.carouselStepY
|
||||
opacity: 1 - Math.min(Math.abs(index - root.selectedRow) * root.theme.carouselFadeStep, root.theme.carouselMaxFade)
|
||||
scale: 1 - Math.min(Math.abs(index - root.selectedRow) * root.theme.carouselScaleStep, root.theme.carouselMaxScaleReduction)
|
||||
|
||||
Behavior on anchors.verticalCenterOffset {
|
||||
NumberAnimation { duration: root.theme.carouselDuration; easing.type: Easing.OutCubic }
|
||||
}
|
||||
Behavior on opacity {
|
||||
NumberAnimation { duration: root.theme.carouselDuration }
|
||||
}
|
||||
Behavior on scale {
|
||||
NumberAnimation { duration: root.theme.carouselDuration }
|
||||
}
|
||||
|
||||
onCardClicked: colIndex => {
|
||||
root.selectedRow = index;
|
||||
root.selectedCol = colIndex;
|
||||
root.activateSelection();
|
||||
}
|
||||
onCardHovered: colIndex => {
|
||||
if (!focusScope.shouldAcceptHover()) return;
|
||||
root.selectedRow = index;
|
||||
root.selectedCol = colIndex;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
import QtQuick
|
||||
|
||||
QtObject {
|
||||
readonly property color backdrop: "#cc0b0e14"
|
||||
readonly property color cardBg: "#332a2e3a"
|
||||
readonly property color cardBorder: "#40ffffff"
|
||||
readonly property color selectedBorder: "#7aa2f7"
|
||||
readonly property color textColor: "#ffffff"
|
||||
readonly property color emptyTextColor: "#80ffffff"
|
||||
readonly property real cornerRadius: 10
|
||||
readonly property real cardHeight: 180
|
||||
readonly property real cardSpacing: 20
|
||||
|
||||
// Carousel layout: fixed step distances between slots on each axis, and
|
||||
// per-step falloff for opacity/scale as items recede from the centered
|
||||
// (selected) slot.
|
||||
readonly property real carouselStepX: cardHeight * 2.6 + cardSpacing
|
||||
readonly property real carouselStepY: cardHeight + 70
|
||||
readonly property real carouselFadeStep: 0.35
|
||||
readonly property real carouselMaxFade: 0.85
|
||||
readonly property real carouselScaleStep: 0.08
|
||||
readonly property real carouselMaxScaleReduction: 0.3
|
||||
readonly property int carouselDuration: 220
|
||||
|
||||
// A two-finger swipe must cross this many pixels (or angleDelta units)
|
||||
// before the selection steps once.
|
||||
readonly property int swipeThreshold: 120
|
||||
}
|
||||
@@ -1,76 +0,0 @@
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
import Quickshell.Wayland
|
||||
|
||||
Rectangle {
|
||||
id: root
|
||||
|
||||
required property var theme
|
||||
required property var toplevel
|
||||
required property bool selected
|
||||
required property bool live
|
||||
|
||||
signal activated()
|
||||
signal hovered()
|
||||
|
||||
readonly property real aspect: {
|
||||
const size = root.toplevel ? root.toplevel.size : null;
|
||||
return (size && size[0] > 0 && size[1] > 0) ? size[0] / size[1] : (16 / 9);
|
||||
}
|
||||
|
||||
width: Math.min(height * aspect, theme.cardHeight * 2.2)
|
||||
height: theme.cardHeight
|
||||
radius: theme.cornerRadius
|
||||
color: theme.cardBg
|
||||
border.width: selected ? 3 : 1
|
||||
border.color: selected ? theme.selectedBorder : theme.cardBorder
|
||||
clip: true
|
||||
|
||||
ScreencopyView {
|
||||
id: preview
|
||||
anchors.fill: parent
|
||||
anchors.margins: 3
|
||||
captureSource: root.live && root.toplevel ? root.toplevel.wayland : null
|
||||
live: root.live
|
||||
paintCursor: false
|
||||
constraintSize: Qt.size(root.width - 6, root.height - 6)
|
||||
}
|
||||
|
||||
Image {
|
||||
anchors.left: parent.left
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.margins: 6
|
||||
width: 20
|
||||
height: 20
|
||||
source: Quickshell.iconPath(root.toplevel ? root.toplevel.appClass : "", "application-x-executable")
|
||||
sourceSize: Qt.size(20, 20)
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
height: title.implicitHeight + 8
|
||||
color: "#99000000"
|
||||
|
||||
Text {
|
||||
id: title
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.leftMargin: 30
|
||||
anchors.rightMargin: 6
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
elide: Text.ElideRight
|
||||
color: theme.textColor
|
||||
text: root.toplevel ? root.toplevel.title : ""
|
||||
font.pixelSize: 12
|
||||
}
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
hoverEnabled: true
|
||||
onClicked: root.activated()
|
||||
onEntered: root.hovered()
|
||||
}
|
||||
}
|
||||
@@ -1,96 +0,0 @@
|
||||
import QtQuick
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
||||
required property var theme
|
||||
required property var workspace
|
||||
required property var toplevels
|
||||
required property int selectedIndex
|
||||
required property bool live
|
||||
|
||||
signal cardClicked(int index)
|
||||
signal cardHovered(int index)
|
||||
|
||||
// Slot cards are centered on when nothing in this row is selected (e.g.
|
||||
// it's not the active row), so an inactive row still reads as centered.
|
||||
readonly property int centerIndex: selectedIndex >= 0 ? selectedIndex : Math.floor((toplevels.length - 1) / 2)
|
||||
|
||||
height: label.implicitHeight + theme.cardSpacing * 0.5 + theme.cardHeight
|
||||
|
||||
Text {
|
||||
id: label
|
||||
anchors.top: parent.top
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
text: "Workspace " + (root.workspace ? root.workspace.workspaceId : "?")
|
||||
color: root.theme.textColor
|
||||
font.pixelSize: 14
|
||||
font.bold: root.workspace && root.workspace.active
|
||||
}
|
||||
|
||||
Item {
|
||||
id: cardArea
|
||||
anchors.top: label.bottom
|
||||
anchors.topMargin: root.theme.cardSpacing * 0.5
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
height: root.theme.cardHeight
|
||||
|
||||
Repeater {
|
||||
model: root.toplevels
|
||||
|
||||
WindowCard {
|
||||
required property var modelData
|
||||
required property int index
|
||||
|
||||
theme: root.theme
|
||||
toplevel: modelData
|
||||
selected: index === root.selectedIndex
|
||||
live: root.live
|
||||
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.horizontalCenterOffset: (index - root.centerIndex) * root.theme.carouselStepX
|
||||
opacity: 1 - Math.min(Math.abs(index - root.centerIndex) * root.theme.carouselFadeStep, root.theme.carouselMaxFade)
|
||||
scale: 1 - Math.min(Math.abs(index - root.centerIndex) * root.theme.carouselScaleStep, root.theme.carouselMaxScaleReduction)
|
||||
|
||||
Behavior on anchors.horizontalCenterOffset {
|
||||
NumberAnimation { duration: root.theme.carouselDuration; easing.type: Easing.OutCubic }
|
||||
}
|
||||
Behavior on opacity {
|
||||
NumberAnimation { duration: root.theme.carouselDuration }
|
||||
}
|
||||
Behavior on scale {
|
||||
NumberAnimation { duration: root.theme.carouselDuration }
|
||||
}
|
||||
|
||||
onActivated: root.cardClicked(index)
|
||||
onHovered: root.cardHovered(index)
|
||||
}
|
||||
}
|
||||
|
||||
// Placeholder for an empty workspace so the row stays visible
|
||||
// and selectable even with no windows.
|
||||
Rectangle {
|
||||
visible: root.toplevels.length === 0
|
||||
anchors.centerIn: parent
|
||||
width: root.theme.cardHeight * 1.6
|
||||
height: root.theme.cardHeight
|
||||
radius: root.theme.cornerRadius
|
||||
color: "transparent"
|
||||
border.width: root.selectedIndex === 0 ? 3 : 1
|
||||
border.color: root.selectedIndex === 0 ? root.theme.selectedBorder : root.theme.cardBorder
|
||||
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
text: "Empty"
|
||||
color: root.theme.emptyTextColor
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onClicked: root.cardClicked(0)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
HyprlandWindowState 1.0 HyprlandWindowState.qml
|
||||
MonitorBar 1.0 MonitorBar.qml
|
||||
OverviewWindow 1.0 OverviewWindow.qml
|
||||
Theme 1.0 Theme.qml
|
||||
WindowCard 1.0 WindowCard.qml
|
||||
WorkspaceRow 1.0 WorkspaceRow.qml
|
||||
Monitor 1.0 types/Monitor.qml
|
||||
MonitorStats 1.0 types/MonitorStats.qml
|
||||
OverviewRow 1.0 types/OverviewRow.qml
|
||||
WindowInfo 1.0 types/WindowInfo.qml
|
||||
WorkspaceInfo 1.0 types/WorkspaceInfo.qml
|
||||
@@ -1,35 +0,0 @@
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import Quickshell.Hyprland
|
||||
|
||||
ShellRoot {
|
||||
id: shell
|
||||
|
||||
property bool overviewOpen: false
|
||||
property string browsedMonitor: ""
|
||||
property var anchorScreen: null
|
||||
|
||||
onOverviewOpenChanged: {
|
||||
if (shell.overviewOpen) {
|
||||
const mon = Hyprland.focusedMonitor;
|
||||
shell.browsedMonitor = mon ? mon.name : "";
|
||||
shell.anchorScreen = Quickshell.screens.find(s => mon && s.name === mon.name) ?? Quickshell.screens[0];
|
||||
}
|
||||
}
|
||||
|
||||
IpcHandler {
|
||||
target: "overview"
|
||||
|
||||
function toggle(): void {
|
||||
shell.overviewOpen = !shell.overviewOpen;
|
||||
}
|
||||
}
|
||||
|
||||
OverviewWindow {
|
||||
screen: shell.anchorScreen
|
||||
shellOpen: shell.overviewOpen
|
||||
browsedMonitor: shell.browsedMonitor
|
||||
onRequestClose: shell.overviewOpen = false
|
||||
onRequestBrowseMonitor: name => shell.browsedMonitor = name
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
import QtQuick
|
||||
|
||||
QtObject {
|
||||
property int monitorId
|
||||
property string name
|
||||
property int x
|
||||
property int y
|
||||
property int width
|
||||
property int height
|
||||
property real scale
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
import QtQuick
|
||||
|
||||
QtObject {
|
||||
property int workspaces
|
||||
property int windows
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
import QtQuick
|
||||
|
||||
QtObject {
|
||||
property WorkspaceInfo workspace
|
||||
property var toplevels
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
import QtQuick
|
||||
|
||||
QtObject {
|
||||
property string address
|
||||
property string title
|
||||
property string appClass
|
||||
property var size
|
||||
property var at
|
||||
property var wayland
|
||||
property bool activated
|
||||
property string monitorName
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
import QtQuick
|
||||
|
||||
QtObject {
|
||||
property int workspaceId
|
||||
property bool active
|
||||
}
|
||||
@@ -22,3 +22,11 @@ def "main overview" [] {
|
||||
def "main overview toggle" [] {
|
||||
qs -p ($REPO_ROOT | path join "overview") ipc call overview toggle
|
||||
}
|
||||
|
||||
def "main skyview" [] {
|
||||
qs -p ($REPO_ROOT | path join "skyview")
|
||||
}
|
||||
|
||||
def "main skyview toggle" [] {
|
||||
qs -p ($REPO_ROOT | path join "skyview") ipc call skyview toggle
|
||||
}
|
||||
Reference in new issue
Block a user