From aa9723303be1ebe2083eb975e070311b52372399 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Mon, 23 Sep 2024 23:52:17 -0400 Subject: [PATCH] feat(ags): prepare env for agsV2 --- flake.lock | Bin 55944 -> 57388 bytes flake.nix | Bin 9438 -> 9585 bytes inputs.nix | 10 +- lib/inputs.nix | 3 +- nixosModules/ags/default.nix | 2 + nixosModules/ags/v2/.envrc | 1 + nixosModules/ags/v2/.gitignore | 3 + nixosModules/ags/v2/app.ts | 10 + nixosModules/ags/v2/default.nix | 45 +++ nixosModules/ags/v2/env.d.ts | 26 ++ nixosModules/ags/v2/eslint.config.ts | 452 ++++++++++++++++++++++++++ nixosModules/ags/v2/package-lock.json | Bin 0 -> 74937 bytes nixosModules/ags/v2/package.json | 16 + nixosModules/ags/v2/style.scss | 1 + nixosModules/ags/v2/widget/Bar.tsx | 39 +++ 15 files changed, 605 insertions(+), 3 deletions(-) create mode 100644 nixosModules/ags/v2/.envrc create mode 100644 nixosModules/ags/v2/.gitignore create mode 100644 nixosModules/ags/v2/app.ts create mode 100644 nixosModules/ags/v2/default.nix create mode 100644 nixosModules/ags/v2/env.d.ts create mode 100644 nixosModules/ags/v2/eslint.config.ts create mode 100644 nixosModules/ags/v2/package-lock.json create mode 100644 nixosModules/ags/v2/package.json create mode 100644 nixosModules/ags/v2/style.scss create mode 100644 nixosModules/ags/v2/widget/Bar.tsx diff --git a/flake.lock b/flake.lock index f0b367cf196d32a22e62d74a86d36ab08fdabe83..f10bcd4a79ba42dc62ea7716272d81f1b41798ae 100644 GIT binary patch delta 495 zcmXYu&1(}u9EM5OcIiQi*!WRxqfx99)Sa2#nOP4)qG_#3+tiqk_7Z1yXKN*Cl5U!= zf@tVPL=XBq7EeMBYQee)UMlvW;88E0{ZCAayypkr_kEsy);@gGKK{`Tt@tGj-QHRF z(mM&K?c*@2=c1HBYCoQ|HhC+RzEdi5esxwkkMizZ!J1*B-rj80S(6!MpSRY_ox*$u zUY$4wd-^y;wb+#HAjzaK5b~5uOl1+mv7wM6wo4>4ER(qc3y6Hm^_io?UgFxBL0|TMTansiBKk%giGae;Ru6zjC(|wjxM+sZGtiEKb}lBi*{)>UCNNkQh!yj93&rPX(3Z; z-tV+oFn3qh>BF0|(`JzO2d#$IR)dBQe_vdgB1-flsYJ@){i7)1hJ%^yac)v&NSAYi z+X!}Na{s9}FWcemt;NysM|Ud%_nw>K_UnnU!vlST_r!t6_r39G6^Gw@au|NsV$eJ{ K65iO!T>b~5@}npK delta 81 zcmV-X0IvV6zypZ21F+Wvv)%A nvml2`53?bd9Tb!N0~xb(tX2k-Jc *'], + }, + ], + '@stylistic/key-spacing': [ + 'warn', + { + beforeColon: false, + afterColon: true, + }, + ], + '@stylistic/keyword-spacing': [ + 'warn', + { + before: true, + }, + ], + '@stylistic/linebreak-style': [ + 'error', + 'unix', + ], + '@stylistic/lines-between-class-members': [ + 'warn', + 'always', + { + exceptAfterSingleLine: true, + }, + ], + '@stylistic/max-len': [ + 'warn', + { + code: 105, + ignoreComments: true, + ignoreTrailingComments: true, + ignoreUrls: true, + }, + ], + '@stylistic/multiline-ternary': [ + 'warn', + 'always-multiline', + ], + '@stylistic/new-parens': [ + 'error', + ], + '@stylistic/no-mixed-operators': [ + 'warn', + ], + '@stylistic/no-mixed-spaces-and-tabs': [ + 'error', + ], + '@stylistic/no-multi-spaces': [ + 'error', + ], + '@stylistic/no-tabs': [ + 'error', + ], + '@stylistic/no-trailing-spaces': [ + 'error', + ], + '@stylistic/no-whitespace-before-property': [ + 'warn', + ], + '@stylistic/nonblock-statement-body-position': [ + 'error', + 'below', + ], + '@stylistic/object-curly-newline': [ + 'warn', + { + consistent: true, + }, + ], + '@stylistic/object-curly-spacing': [ + 'warn', + 'always', + ], + '@stylistic/operator-linebreak': [ + 'warn', + 'after', + ], + '@stylistic/padded-blocks': [ + 'error', + 'never', + ], + '@stylistic/padding-line-between-statements': [ + 'warn', + { + blankLine: 'always', + prev: '*', + next: 'return', + }, + { + blankLine: 'always', + prev: [ + 'const', + 'let', + 'var', + ], + next: '*', + }, + { + blankLine: 'any', + prev: [ + 'const', + 'let', + 'var', + ], + next: [ + 'const', + 'let', + 'var', + ], + }, + { + blankLine: 'always', + prev: [ + 'case', + 'default', + ], + next: '*', + }, + ], + '@stylistic/quote-props': [ + 'error', + 'consistent-as-needed', + ], + '@stylistic/quotes': [ + 'error', + 'single', + { + avoidEscape: true, + }, + ], + '@stylistic/semi': [ + 'error', + 'always', + ], + '@stylistic/semi-spacing': [ + 'warn', + ], + '@stylistic/space-before-blocks': [ + 'warn', + ], + '@stylistic/space-before-function-paren': [ + 'warn', + 'never', + ], + '@stylistic/space-infix-ops': [ + 'warn', + ], + '@stylistic/spaced-comment': [ + 'warn', + 'always', + ], + '@stylistic/switch-colon-spacing': [ + 'warn', + ], + '@stylistic/wrap-regex': [ + 'warn', + ], + }, +}); diff --git a/nixosModules/ags/v2/package-lock.json b/nixosModules/ags/v2/package-lock.json new file mode 100644 index 0000000000000000000000000000000000000000..18213386f1ee483c6a5833d55386de39e7e9c114 GIT binary patch literal 74937 zcmeIbX_Km2nlSpkf5nOY@%82gWV9oyZYd6^I4goT?&)9#Wgf-%?f&g|fu^aX17_}B zRkyoNMa32q*8}UB$MwJe?GNzZ4@b1sAOHTx4^a=_lKPMT>-cS=2BGOX`5)k);D7Jm zTdus*OiSg?e@9Qh2vk2d12qIciGo-?ed~$xPSlHU|97!+0TbNwadrPG^1tN&{kZcq z$G?KVE2^hDit5N_3DWtFzp0^RIuW$ZpYKQGCxZM$PVe-7PyX+ZzlBj|nPFtg(D4^< zo)zn6u@Uv3)OjPWe-ve&8lHaeAOCTLLH)$)Khc{oj<-9mQfz#^{*$=9?(qp8Kk(I4 zzHLLrmGd9q@Xz{B>=yK`8JYPV$j>_Rlel$9@py7zdQq_wc)EA8xO(f4+ulANl=?}6 zcR6D^|G|Hrum1B$6#17w^0)sF+f`x<>>R+(+t$qhcEIDyu5GJM4!cAnS5$y~#>Edn zeXfCH4omCUT-&eF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S9@MSzxt*^ zgeZ0tQ#OlnsgJW$1UQl4%TsJFp#V0$yae&!eBr9bO`_I^Q$m9Vjx=p`Ggs;{u^P|~ z9q9@^2kKG|!mgL;cu#i@3OJ+K2Sc*K`MSK`iEMjDw5@qSBSx?YS`NLLy1RMMX132& z^LbnE3cffn--?Q{Ys_BSgV>FR?W*~SvbB>4mA9WH4N18H&!3Om0x#3~4uQ zHUc9_;YOES_O-ROMg+yB))r!#$U(*1MfQiX4g8gHgMdZOOn` z!@IcC-X8{{!1uPDHSX%7Hyn>T;Qw1wdTgHGsQY=21M@V_Jx9RPQjohwj01WU-rjLh z7%3OuT;sGvB~?w;a{T?g=zY?-m}hXGJaTLLtJ8YU6BBY0d52b1TUMUd(;C<7EnF2x zqkdyGinc*d!F61vg{enR+p7%j4tPlj#U*|a_S^16-Ysx+F>7~FZ@uH(wa4(Bgth`f z?u@ZzD&lwxmmibK4O^rl5tfGQBhUz z1l%r6LT5}X1IRUcGO^dEX*Q-*L#6kj$&M&{A9tV#vL~EBP}6BVL2Q%tmdwnY>&qd{ ms(Th2sm(4Y>QP8C_IOi&*)*((j(>_C`U3s``EUREZ~q@ed6MS< literal 0 HcmV?d00001 diff --git a/nixosModules/ags/v2/package.json b/nixosModules/ags/v2/package.json new file mode 100644 index 00000000..09c32a46 --- /dev/null +++ b/nixosModules/ags/v2/package.json @@ -0,0 +1,16 @@ +{ + "name": "ags-v2", + "version": "0.0.0", + "main": "app.ts", + "dependencies": { + "@eslint/js": "9.11.1", + "@stylistic/eslint-plugin": "2.8.0", + "@types/eslint__js": "8.42.3", + "@types/node": "22.6.0", + "eslint": "9.11.1", + "eslint-plugin-jsdoc": "50.2.4", + "jiti": "1.21.6", + "typescript": "5.6.2", + "typescript-eslint": "8.7.0" + } +} diff --git a/nixosModules/ags/v2/style.scss b/nixosModules/ags/v2/style.scss new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/nixosModules/ags/v2/style.scss @@ -0,0 +1 @@ + diff --git a/nixosModules/ags/v2/widget/Bar.tsx b/nixosModules/ags/v2/widget/Bar.tsx new file mode 100644 index 00000000..83d93be3 --- /dev/null +++ b/nixosModules/ags/v2/widget/Bar.tsx @@ -0,0 +1,39 @@ +import { App, Variable, Astal, Gtk } from 'astal'; + +const time = Variable('').poll(1000, 'date'); + +/** + * @param monitor the id of the monitor on which we want the widget to appear + * @returns the bar window + */ +export default function Bar(monitor: number) { + return ( + + + + + + + + ); +}