Compare commits
898 Commits
5b4793b2c9
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
| eff446334d | |||
| 97c84ff716 | |||
| f0860c2602 | |||
| 54d4d5aadf | |||
| 3b386828af | |||
| 300b407208 | |||
| 711b1f198e | |||
| fada73a69c | |||
| cd1392517a | |||
| 04e238810c | |||
| a727cf8722 | |||
| 8016b58416 | |||
| 1ccbb3eb6c | |||
| 55783a7780 | |||
| c0443e73e6 | |||
| 1316fe9169 | |||
| f5cba81ace | |||
| e6d45592df | |||
| f1637d0497 | |||
| ab691de708 | |||
| f8e4ddce82 | |||
| 64b5a8c65b | |||
| 41ebb79c2a | |||
| 068d260470 | |||
| b34ad76811 | |||
| c79f76efa1 | |||
| 87a4cc6455 | |||
| 0bcab64638 | |||
| 59fe61b835 | |||
| c25a1c26f5 | |||
| 5cc628cfd9 | |||
| 8b67d7b8fb | |||
| 69797b6b01 | |||
| 7853bc389d | |||
| a1417b9514 | |||
| dcc347a717 | |||
| 4b32b5a3e7 | |||
| a87eb1994f | |||
| bdac2cafee | |||
| 86a1071b1b | |||
| 11048faa79 | |||
| 58eec1d59d | |||
| 00a830c3c4 | |||
| 94a2ed6c8a | |||
| 42d2399c42 | |||
| 8704160c10 | |||
| 74d813c5e8 | |||
| 0c7291d3eb | |||
| 10e69d4eff | |||
| 72ecac11b7 | |||
| db8f72308b | |||
| 59a6dc79f0 | |||
| 297b993992 | |||
| 0df6aee231 | |||
| 33d139bdf6 | |||
| effeddf963 | |||
| 79c8e5061b | |||
| 1636b715b5 | |||
| c00be80234 | |||
| 7fb7498acc | |||
| 449dbcff24 | |||
| 317bc368e9 | |||
| d3689592e8 | |||
| e6a810d833 | |||
| 21579b281f | |||
| 68bdc0c85e | |||
| 64973efb33 | |||
| bed86c50dd | |||
| df6268f8c3 | |||
| 09ff97278c | |||
| 445e6a8c8b | |||
| b860c0ead1 | |||
| ed863b4ab1 | |||
| 498fd77851 | |||
| 19537a1499 | |||
| b7c9ca3ccc | |||
| 8c66096e81 | |||
| e6b2a1d3ee | |||
| 93b4b2730f | |||
| e9988b21ff | |||
| d6e9904bfc | |||
| aea1919a44 | |||
| da7ad42da9 | |||
| 13e5c8410e | |||
| c8cfd433ae | |||
| 60dd114bcc | |||
| ac12242060 | |||
| c3f12243d8 | |||
| e296f298b1 | |||
| f656be3dfb | |||
| eb5b08c8f0 | |||
| fa9ca0ec63 | |||
| fd10360294 | |||
| 0237820306 | |||
| 64b6b6b763 | |||
| 78b1b26b91 | |||
| 44eb6492f2 | |||
| 597f51e7b2 | |||
| c1684a80f7 | |||
| f3a90a0fe8 | |||
| 11089070ba | |||
| 8697469f5f | |||
| fa6abcfd98 | |||
| 7f0629f313 | |||
| 1a088bc501 | |||
| 0f70cf9bbc | |||
| fbf6864350 | |||
| b3058b25a6 | |||
| 1ec2681731 | |||
| 2c0bfcbcdd | |||
| 51942d5e10 | |||
| 6dbbe36327 | |||
| 2dec58998d | |||
| f3d0db4a63 | |||
| d4e2841833 | |||
| e1eb4569a8 | |||
| a9d1fd2316 | |||
| fc3ed73055 | |||
| 488a6437c3 | |||
| b40400ed71 | |||
| 1dcb262114 | |||
| 5e9b353529 | |||
| 12c0bd71dd | |||
| 930596db1a | |||
| 6643b584f9 | |||
| 2205f7ca57 | |||
| 784a3f213e | |||
| 98da646e59 | |||
| 12d8b7746b | |||
| 529e9f994f | |||
| be86d9b31b | |||
| 7ac91b21b3 | |||
| 851911f491 | |||
| a0da606694 | |||
| 8a8b48a6cc | |||
| 7dd49cd8e4 | |||
| a00a888676 | |||
| 536a76ca80 | |||
| 41b13580dc | |||
| 74b0d63f26 | |||
| e91def66b5 | |||
| 9325a6b079 | |||
| f9e66ff1a0 | |||
| 98c81001f7 | |||
| 002bd38906 | |||
| 1a52dd8041 | |||
| 67f75bcd97 | |||
| 1bba167d6d | |||
| f418f3dfa5 | |||
| 0c5ab6519d | |||
| e58d6118ea | |||
| aecbdb243d | |||
| 4cc510d584 | |||
| 1ab353746d | |||
| 05fd4f67b1 | |||
| d134f6e849 | |||
| 03c66ccc13 | |||
| dd44fd8b0c | |||
| 5226ade22c | |||
| e162e47b1d | |||
| 6541a307bc | |||
| 2be4a81c03 | |||
| 2d52f92795 | |||
| 3a47aa53d0 | |||
| 9b01209ef0 | |||
| 1372c8f1ce | |||
| b264cddcda | |||
| 8f3ded4029 | |||
| f15a6b92ae | |||
| 15f6577c84 | |||
| 48d8f13145 | |||
| 5de8af47ff | |||
| 75586a64f3 | |||
| 06edfb2795 | |||
| 0603de3f11 | |||
| 2f4419eb59 | |||
| 4bccbb92f4 | |||
| f41ca1867e | |||
| 9a0dfc4cca | |||
| d7875217bd | |||
| 89328fe7e7 | |||
| d9338b280e | |||
| 51f15e3305 | |||
| bbd135bad9 | |||
| 94ae66c7eb | |||
| b72a7f5660 | |||
| a73ed8e3f0 | |||
| 3e42c24435 | |||
| fbce7e8f2b | |||
| e0ae6fd31e | |||
| 6e70652719 | |||
| cc0b9cef25 | |||
| 8e07c32238 | |||
| d2ea2395f0 | |||
| b4d7f9c3d2 | |||
| 33cf8a4f0a | |||
| 94a1ca970f | |||
| 1238fa76db | |||
| 58e0b82520 | |||
| b4bac11cf9 | |||
| bb45b7b08a | |||
| 9a07fe0d59 | |||
| 5c8ebb84bb | |||
| 6dfacb91da | |||
| 128a560bb0 | |||
| 86fbc59bcf | |||
| 82e15df890 | |||
| a60a5b738b | |||
| 191a54670e | |||
| 7949acb8f0 | |||
| 11e881b1cc | |||
| 2223acef57 | |||
| b1d54ce420 | |||
| d3c63aa684 | |||
| dac6771f58 | |||
| cf784f3847 | |||
| e9c4339640 | |||
| 386c4d6561 | |||
| 66171880bc | |||
| 65430099bf | |||
| a65cfacb79 | |||
| c6a21aee85 | |||
| 514e4864ca | |||
| 69d16e38a8 | |||
| e86a839bd7 | |||
| 65f878b20d | |||
| b893475db6 | |||
| 1ada91d5ef | |||
| 42bf08084e | |||
| 50d192c809 | |||
| c028bad2a6 | |||
| 9b218f88fa | |||
| 276823d2aa | |||
| ab47a1ea52 | |||
| 4a7615b50c | |||
| ea37cbe865 | |||
| 8cc337ca0e | |||
| f99cb4f761 | |||
| 6abef03321 | |||
| f584fb2e32 | |||
| b7763031dd | |||
| 761624c21c | |||
| 43d87cb6b3 | |||
| be310b9ae7 | |||
| 39fb19f62e | |||
| f7041607d7 | |||
| 6ef3081bd1 | |||
| c69e8ed0ef | |||
| 9e3023c26b | |||
| 3a6c6673eb | |||
| c6baa8fc5b | |||
| 9a89b1ee6a | |||
| eda60a7fec | |||
| e69f8348be | |||
| 23b4035da1 | |||
| 02427aca71 | |||
| 03274e6e46 | |||
| bf994f7e13 | |||
| 3696bab033 | |||
| ea2a03037a | |||
| 0947941c11 | |||
| c48ecab2bd | |||
| 55b1cae63b | |||
| 76a072d274 | |||
| 346907fce4 | |||
| 86810b6105 | |||
| eba2b6e52f | |||
| 96e4476934 | |||
| 560f36b18e | |||
| 0c9d45ad39 | |||
| e39eeac850 | |||
| 46cc39c91f | |||
| 9f7b03679a | |||
| 96ab25c6ad | |||
| d530844886 | |||
| 8bb52d7df6 | |||
| 05d4280ad6 | |||
| 90b99dbf19 | |||
| f96f7182c4 | |||
| bd8b5f1327 | |||
| d13b59e7ac | |||
| 69b47de1fc | |||
| 06cb547197 | |||
| f0ec952442 | |||
| 2fab28204d | |||
| 9b32b8a6db | |||
| 71e6fbcef4 | |||
| 1b140efc19 | |||
| 8c21db0a08 | |||
| d5a7657410 | |||
| e5b8871d4e | |||
| a6808a984e | |||
| e5f6a4bc69 | |||
| eb857b8d03 | |||
| 712aaab720 | |||
| 778433b318 | |||
| 7440ef91b4 | |||
| 265a526c8b | |||
| 6cd5770452 | |||
| 66d2dde112 | |||
| 7974a95659 | |||
| 8b605d692f | |||
| b911a7931e | |||
| 574b2c058b | |||
| f4f69a4a25 | |||
| 640c5911f6 | |||
| be74b8caaf | |||
| be199acad3 | |||
| 3335542d54 | |||
| e008cd4d89 | |||
| 4dbffa89c2 | |||
| c89816839a | |||
| b5b1e07f3a | |||
| 340ea873ce | |||
| 1fa30bdb94 | |||
| f480a1f8c9 | |||
| fd3f3639bd | |||
| be4f0c5e6b | |||
| 46f546a0e0 | |||
| 22535fbbaf | |||
| 10cf6bba46 | |||
| f07c4ae0d3 | |||
| c1f8c704b3 | |||
| 0aa7f459dd | |||
| 15dfb83bb7 | |||
| 6b8a9a2152 | |||
| 482f1b5912 | |||
| 78277afa8a | |||
| 680454c6b2 | |||
| ec1a12e2a1 | |||
| 960af2d43b | |||
| a7e636e7a2 | |||
| 099b8e40b2 | |||
| 32bf3e0bc0 | |||
| 905de63f78 | |||
| c977f9d3a2 | |||
| bc666ecab5 | |||
| 8e0d66eff5 | |||
| c657f03912 | |||
| 2ec608c5ae | |||
| 6a3a44b2f0 | |||
| 1c96a54c52 | |||
| 30d55ebb5a | |||
| daf0ea1169 | |||
| bd20e9a29b | |||
| f8d3994ad9 | |||
| 3b376d7657 | |||
| 082f0bdcc5 | |||
| 137e3753da | |||
| c012163715 | |||
| be4b7c7d82 | |||
| 6c88dcd775 | |||
| a1f0bf30cd | |||
| 873230cfe3 | |||
| 1bf5944f11 | |||
| ff5e0d6bb2 | |||
| 795bca39f8 | |||
| 707e839517 | |||
| a9db2c09e7 | |||
| c657dae471 | |||
| d1237dab12 | |||
| 61bcc8776f | |||
| e05dc795b3 | |||
| eafa73042a | |||
| e36f899e93 | |||
| 671b5f92c0 | |||
| 4e3d74795b | |||
| 036969de6e | |||
| 793956deba | |||
| f3ecc2cfc6 | |||
| c212117355 | |||
| 7c61d646a6 | |||
| ea3c826c63 | |||
| f9eca3ebde | |||
| 10f8d192fd | |||
| d187ede4f6 | |||
| 2faa4e8618 | |||
| f967055296 | |||
| e665f8e46d | |||
| cc834fd85d | |||
| e4e6db94aa | |||
| c3883abef9 | |||
| 7097253186 | |||
| a08a4ac461 | |||
| ceb211ae51 | |||
| 2a5613bdee | |||
| 112782fa91 | |||
| f34031285b | |||
| f07d4a4060 | |||
| 5876d03f45 | |||
| ce6885a76e | |||
| d8058560b1 | |||
| 0c1f0a4639 | |||
| 2d09cfeea1 | |||
| 892ae40180 | |||
| 4a1cd4804d | |||
| 31fa6033b0 | |||
| b88445e529 | |||
| e3597c147a | |||
| e1e1b316cf | |||
| 184e939bb6 | |||
| 103c8e803a | |||
| 160ae56e03 | |||
| d178e340b4 | |||
| e2ec5cae11 | |||
| d9261385de | |||
| b0c84b9b27 | |||
| d036eb2512 | |||
| 83f48b3403 | |||
| 9d56a9bd10 | |||
| 86272d668d | |||
| 7f224bd6fc | |||
| 3d0bd560fb | |||
| 214c833821 | |||
| 8e519e9ad1 | |||
| a706f7c5cb | |||
| f49edaf975 | |||
| 8545cccd46 | |||
| 6e28e26d5a | |||
| 538b6051e2 | |||
| 91f6c637de | |||
| 0280315031 | |||
| 54dd1d2321 | |||
| 7d77da5619 | |||
| 668e6117fd | |||
| 9cb4e51316 | |||
| 43fde8741b | |||
| feec4dd416 | |||
| 9a1a025ec9 | |||
| 20731b35ca | |||
| 784a783fff | |||
| 65f7cad037 | |||
| bd1cfad6f9 | |||
| 154dd13425 | |||
| 504ae33109 | |||
| d07fbe229b | |||
| 632362235b | |||
| 9e11e7cb70 | |||
| 0829506111 | |||
| ee6893038a | |||
| 02156b877e | |||
| 64a2588a11 | |||
| b9d3b14b23 | |||
| f17ac4ce4f | |||
| bce5fdf68a | |||
| bd1323c2d8 | |||
| 5ad050b056 | |||
| d4a11b9ba2 | |||
| 86f16a2394 | |||
| 35fa4a55da | |||
| bb9f3f390f | |||
| e2de1c34e3 | |||
| 6f7f078dd9 | |||
| 8e3092fc0f | |||
| f5ba6bf991 | |||
| 2cd6e41686 | |||
| 0a87520fe7 | |||
| c5f1cb3624 | |||
| 1520b9872b | |||
| 6fba3fd698 | |||
| cf67655b3d | |||
| e441f92216 | |||
| bf5df9d23a | |||
| 4a79ac63d7 | |||
| f7c4059445 | |||
| cbd4b177ba | |||
| 97a62eaa24 | |||
| eeb29a80f4 | |||
| 6b98345a97 | |||
| c3457da03c | |||
| 85c96cd78b | |||
| 9698873c0b | |||
| 6be91c5617 | |||
| 32d95647f8 | |||
| c811e4d4df | |||
| 4eeed736ad | |||
| 325e4c63d5 | |||
| 6474b10e9f | |||
| 0ce461f34d | |||
| bb3d875d77 | |||
| fcd33c7924 | |||
| dc6c5ed8d4 | |||
| f850d4ff1a | |||
| b52c8dff65 | |||
| 1ca0f169fb | |||
| f3fe568d7a | |||
| 65ec180ad6 | |||
| 515e8cb86d | |||
| 1b9c2564ff | |||
| d5dbc09e2c | |||
| 14c3f7ad1b | |||
| cbdc9b0d7c | |||
| 38bd11aea7 | |||
| e74d097f0f | |||
| 4d5be9828f | |||
| fb77aba463 | |||
| f133c4e4b3 | |||
| 92d4984e36 | |||
| 01a329efc9 | |||
| 6e94fbde00 | |||
| c091282f94 | |||
| b122fc88f7 | |||
| f33df39f60 | |||
| 006537f264 | |||
| e7ce67509d | |||
| 4161c7f4d3 | |||
| 37e0823d35 | |||
| 04ac0c9d43 | |||
| 56beb43a68 | |||
| 6142f645ed | |||
| 3914894495 | |||
| 87051915bc | |||
| 7e10a8e74b | |||
| 02f3aab181 | |||
| 73ab90ca13 | |||
| 39818a3989 | |||
| 2345b39b79 | |||
| 2237999734 | |||
| eb82434bab | |||
| 059d19c14f | |||
| 7cc114a056 | |||
| b15721fc44 | |||
| 849451abed | |||
| 04a08124aa | |||
| 4744f74f18 | |||
| 7e76c6fc28 | |||
| 7150237391 | |||
| fde35faf49 | |||
| 9cc1e41d03 | |||
| 634f78439b | |||
| 21bc59e7b5 | |||
| 60c213ab89 | |||
| 2498e8e56b | |||
| 3e6f3d1aac | |||
| 950df24b8e | |||
| 1973db82de | |||
| 2c08f3f50e | |||
| dffc249cf5 | |||
| 285aafb911 | |||
| c00b6da668 | |||
| 95cfa9e840 | |||
| e0d552d309 | |||
| aa4528b70a | |||
| aae976f555 | |||
| 15e292c5f9 | |||
| c9354ed128 | |||
| 7d8ab03691 | |||
| 7c33a19de8 | |||
| 3ce100218d | |||
| f94627e858 | |||
| 21d4f0800a | |||
| 8afcd43fac | |||
| 12c5ef53a4 | |||
| 39d090ecfd | |||
| 72da24d759 | |||
| e2cb29c097 | |||
| 207f8ba8ee | |||
| e68351f443 | |||
| 6258f21d03 | |||
| dc9cf2f2e3 | |||
| 8decf498af | |||
| 49186be474 | |||
| b25153efac | |||
| 352d5bd19b | |||
| a62a69c7ce | |||
| 0fdfa33016 | |||
| 07856094ca | |||
| 496cef0405 | |||
| 7733ae3194 | |||
| c73bcb684f | |||
| e0a1eaabde | |||
| 038f45a5d0 | |||
| 2ff9157b2b | |||
| c9ca5d11fe | |||
| 20ce615785 | |||
| 215ce15ca8 | |||
| 3d5759cc2c | |||
| c5b3aa3599 | |||
| a521301818 | |||
| 2900d39f2d | |||
| 14e705a327 | |||
| ad8a5a29cd | |||
| c3e14b8710 | |||
| ec919c0bef | |||
| a394733024 | |||
| 9a3c639efe | |||
| b1dd43f2ca | |||
| 59d36c35ff | |||
| ce2d635b85 | |||
| 6fbed5161a | |||
| 2a58de8648 | |||
| 3b5bb7bc66 | |||
| 7b90356dcb | |||
| 3f9cdc888e | |||
| 481370a34c | |||
| 4d687e54a7 | |||
| d8231a5f2a | |||
| 8622694fd3 | |||
| 04a831de7e | |||
| fc7866349e | |||
| 453f175edc | |||
| 1a0a5ced12 | |||
| e33b53e459 | |||
| 884a3f87eb | |||
| 6b5fe32a3b | |||
| d48d7b50c5 | |||
| 6cf545e7f3 | |||
| ce719a8b50 | |||
| 7667ba34a2 | |||
| a8dfc6d1ba | |||
| 7d5584518e | |||
| f717435b9b | |||
| 342ae05a70 | |||
| c9e11e4733 | |||
| b45efdcb94 | |||
| 0722cf1c4f | |||
| a92cadc10b | |||
| 34d4fef851 | |||
| 0c5569b827 | |||
| a5e423f100 | |||
| aabbe03341 | |||
| d4a20cbc22 | |||
| dae6729019 | |||
| d0d9bbd376 | |||
| 643b383fa6 | |||
| b878550ad0 | |||
| 433e8d9ce8 | |||
| 1426484379 | |||
| 319deb25f9 | |||
| e3d590f8ea | |||
| a976718a5d | |||
| e924f78996 | |||
| 683178dc60 | |||
| 00e1358f57 | |||
| 4b93ab80b6 | |||
| 0820334c6c | |||
| bced929e17 | |||
| a28a03548c | |||
| bc9e1e824b | |||
| e152aab3bc | |||
| 21dc578228 | |||
| f229bd29c1 | |||
| d10ef1013a | |||
| 77002020a4 | |||
| 6f7e01938c | |||
| ab851b3bef | |||
| 751960f945 | |||
| 3f754e7e87 | |||
| ca09052b91 | |||
| 78eb293afd | |||
| 1d7e25f108 | |||
| e3ec81a58c | |||
| 6ca6bc4106 | |||
| 8e6224efd2 | |||
| c1b23cd004 | |||
| 7561c5207e | |||
| 2d56dcfd09 | |||
| 16d34a8de2 | |||
| abad993a59 | |||
| be72d93c75 | |||
| 568f23335d | |||
| 411525b9bf | |||
| 03c6a64a93 | |||
| 027b8554f6 | |||
| 814bd4c389 | |||
| 4f6927fca7 | |||
| 0084f12eee | |||
| a53646d1b0 | |||
| 2d90579639 | |||
| 1de14102d0 | |||
| 0fefd4e80d | |||
| ef7be5a166 | |||
| f65783788c | |||
| 12fbd8e369 | |||
| 6f773b5ef9 | |||
| e4ceb013cc | |||
| e15bd9dac6 | |||
| 37a2f1a27d | |||
| 7df1a443b2 | |||
| 20edbdc25b | |||
| 2a953d84ae | |||
| 182e70f315 | |||
| 4ea2efff32 | |||
| 359fb070dd | |||
| 1d5c04e415 | |||
| 6453c256c7 | |||
| 85295501aa | |||
| cb410c8e11 | |||
| 4fc6ac57a5 | |||
| 6c81f28f68 | |||
| d7bcd6b8a3 | |||
| cc1daade5f | |||
| 9ce2cedae7 | |||
| 239da4b5cf | |||
| 96e2fdaa79 | |||
| e250ff8dc8 | |||
| 55804900e6 | |||
| aa3590a535 | |||
| de5386d8a3 | |||
| afbc2b1d20 | |||
| fd8506ee2c | |||
| 4fcef84348 | |||
| 4670959413 | |||
| 35ab989fcb | |||
| a6239611ba | |||
| c025f420d0 | |||
| d39d4bbeec | |||
| 352574804a | |||
| e588dbde44 | |||
| e351e5b8c6 | |||
| 75d607bcbe | |||
| eb5424f1ac | |||
| 5edfc378b3 | |||
| 7fe321290f | |||
| 5e5448763b | |||
| 9580f6326e | |||
| 81ef0229fe | |||
| 1f7b311601 | |||
| c0bfede8b7 | |||
| 0e5a9436e1 | |||
| 1a03aea3e7 | |||
| 46737814e2 | |||
| a27bf3d179 | |||
| 5df94b1016 | |||
| edfcc10245 | |||
| 58d751fef2 | |||
| 5a747eb2f4 | |||
| e90ffdc6c9 | |||
| f05bb1d852 | |||
| eda0e7f87c | |||
| fa01b025d1 | |||
| 5ead9c1163 | |||
| 538a5fbced | |||
| c6284b7ed7 | |||
| 8ab660ed95 | |||
| b3f6d1917d | |||
| 4aad436900 | |||
| bb1f18a001 | |||
| 5b81570a78 | |||
| de6e08f9d2 | |||
| b7c70dfb8f | |||
| 606afc735c | |||
| 2e77f75ce7 | |||
| 491c476bbb | |||
| 1d2762cb7c | |||
| e96fbbfd65 | |||
| 3957655926 | |||
| cede272f21 | |||
| bc511eed66 | |||
| bf4282e298 | |||
| 637b251eda | |||
| 90b0af257d | |||
| 124ea9dd3b | |||
| a2616fdd6e | |||
| ffe154e815 | |||
| fcc66aec1f | |||
| 50c9617cdb | |||
| 64dae445c7 | |||
| 2cae574f6f | |||
| 953f7bd390 | |||
| 139e8e8d16 | |||
| 79d3cdf29a | |||
| 7688eaa288 | |||
| 832cd5ab45 | |||
| a4848d3560 | |||
| 3c14d982d7 | |||
| a884f0e2e4 | |||
| 0a3c50fb76 | |||
| ce27df5933 | |||
| 116f935389 | |||
| b32aaa3459 | |||
| 9c44039e08 | |||
| 65ce8b14e1 | |||
| f99e5f87b2 | |||
| d393eb3b1f | |||
| 8802178021 | |||
| 05278d50bf | |||
| 4168dffb05 | |||
| 8cf39d21e6 | |||
| 01a0f561b7 | |||
| 8656396c6b | |||
| 3c2883ba21 | |||
| 0898ae96df | |||
| 50c66594de | |||
| ef5bff796e | |||
| 9d787a8f25 | |||
| b15e1c4289 | |||
| 0bb3053c2a | |||
| 92a31b304b | |||
| 81364d760a | |||
| 73b786f3f9 | |||
| ac5afe25b4 | |||
| 532c59e230 | |||
| d83f488cf6 | |||
| 4f1b74b41b | |||
| 2c477b5a4d | |||
| 9d1420039e | |||
| 66ef5695c5 | |||
| b99f231b43 | |||
| e5678174a3 | |||
| 4b4bc6dcce | |||
| 5bd9495357 | |||
| 50bb670095 | |||
| c0d269320f | |||
| dc321324c1 | |||
| 6d7c6121eb | |||
| d8cbe3ae9e | |||
| 1f0f9b12e9 | |||
| d6cd6a2e0c | |||
| c298562706 | |||
| 46a4ed8800 | |||
| 2bda2bf2a0 | |||
| 7b7a21bc9e | |||
| dad47df6e4 | |||
| c510375270 | |||
| f16d8c6a8f | |||
| 2edf7b95a5 | |||
| 6317cb6a62 | |||
| 569ad50c5f | |||
| e1802931a0 | |||
| 76955e76fa | |||
| d3785166bb | |||
| a1a6fb02bd | |||
| 1e128b4968 | |||
| 05868d3933 | |||
| 437dd45e98 | |||
| 0a941c74da | |||
| ff6e917e83 | |||
| 8a6056998e | |||
| affa2271b7 | |||
| 8e5ee39412 | |||
| 79d1fe062f | |||
| 6b8a6167cc | |||
| 13a9aedc3f | |||
| 4fd9088a21 | |||
| 78ab913b7e | |||
| aa92b4701a | |||
| f42de04ac9 | |||
| 60a3a4bdc8 | |||
| a53d661b79 | |||
| 678c10a9c4 | |||
| ff15e13370 | |||
| 8aafe97c0d | |||
| 80b81f66b4 | |||
| 77e1c00185 | |||
| 2966177c54 | |||
| 8d368eb2d5 | |||
| 11044fb61f | |||
| aa3c76c3ea | |||
| 48514892af | |||
| 375ee4aa93 | |||
| 46b39d14b1 | |||
| 7f83619ace | |||
| f75b36eb4d | |||
| 7cd946571b | |||
| d7471d7205 | |||
| 86a0cda501 | |||
| 57f5cc4630 | |||
| 5224315195 | |||
| 8903b0649d | |||
| 691c8e316b | |||
| ab08c79ed3 | |||
| d2c675dd06 | |||
| 3c6cbc9ae9 | |||
| 79dcce782a | |||
| 79f545dc5d | |||
| fdf8fab0b3 | |||
| d379787719 | |||
| f75d61bc99 | |||
| cf7ef5287c | |||
| 7e90fa434e | |||
| 9572d87489 | |||
| 33bea8a2ea | |||
| c8b9d73777 | |||
| 1928503a95 | |||
| 3ec3b51d5d | |||
| b7f5611d9b | |||
| 2a91d8e950 | |||
| 181f5689e0 | |||
| bc969f7e71 | |||
| fc11bdc50e | |||
| 8152178826 | |||
| 9482988e8b | |||
| 1d7f8b24c0 | |||
| f1a1610836 | |||
| f1c4d63688 | |||
| b9b9cd59d7 | |||
| 8e096e85e9 | |||
| 19b2668437 | |||
| 3d7e1b08d9 | |||
| 8ce53358e0 | |||
| 13c51a1857 | |||
| 961b8b7055 | |||
| 403f555887 | |||
| c0de378d5b | |||
| 3fcb9e92f8 | |||
| 2808a06128 | |||
| 509d1327dd |
14
.sops.yaml
@@ -1,11 +1,11 @@
|
||||
keys:
|
||||
- &primary age1640eg0pnmkruc89m5xguz0m8fek44fl4tzez6qwuzlz6kmapqewsp8esxd
|
||||
- &homebox age1640eg0pnmkruc89m5xguz0m8fek44fl4tzez6qwuzlz6kmapqewsp8esxd
|
||||
- &laptop age1yqgyp2uxz4lzrc9f9ka0mfjl5fr6ahf8nf24nlmran2wulg6fpvq9hyp9q
|
||||
- &android age12pnf36uqesjmy3e0lythfnpwam3zg5mv8m936fc4jphy4ces2fdqwn0s74
|
||||
creation_rules:
|
||||
- path_regex: secrets/secrets.yaml$
|
||||
- path_regex: system/secrets.yaml$
|
||||
key_groups:
|
||||
- age:
|
||||
- *primary
|
||||
- path_regex: secrets/authentik.env$
|
||||
key_groups:
|
||||
- age:
|
||||
- *primary
|
||||
- *laptop
|
||||
- *homebox
|
||||
- *android
|
||||
|
||||
12
flake-parts.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ inputs, ... }: {
|
||||
|
||||
imports = [
|
||||
inputs.home-manager.flakeModules.home-manager
|
||||
inputs.disko.flakeModules.default
|
||||
];
|
||||
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
];
|
||||
}
|
||||
745
flake.lock
generated
152
flake.nix
@@ -2,164 +2,50 @@
|
||||
description = "Nixos config flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
||||
#nixpkgs.url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/nixpkgs?ref=nixos-24.11";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
||||
|
||||
nixpkgs-us.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
#nixpkgs-us.url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/nixpkgs?ref=nixos-unstable";
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-25.05";
|
||||
#url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/home-manager?ref=release-24.11";
|
||||
url = "github:nix-community/home-manager/release-25.11";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
#nixpkgs-droid.url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/nixpkgs?ref=nixos-24.05";
|
||||
/*
|
||||
home-manager-droid = {
|
||||
url = "github:nix-community/home-manager/release-24.11";
|
||||
#url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/home-manager?ref=release-24.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs-droid";
|
||||
};
|
||||
|
||||
nix-on-droid = {
|
||||
url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/nix-on-droid?ref=release-24.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs-droid";
|
||||
};
|
||||
*/
|
||||
disko = {
|
||||
url = "github:nix-community/disko";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
impermanence.url = "github:nix-community/impermanence";
|
||||
|
||||
sops-nix = {
|
||||
url = "github:Mic92/sops-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
|
||||
import-tree.url = "github:vic/import-tree";
|
||||
|
||||
firefox-addons = {
|
||||
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
|
||||
|
||||
#simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.05";
|
||||
|
||||
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||
#hyprland.url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/hyprland?submodules=1";
|
||||
|
||||
tokyo-night-sddm = {
|
||||
url = "github:siddrs/tokyo-night-sddm";
|
||||
flake = false;
|
||||
nixvim.url = "git+https://gitea.esotericbytes.com/Blunkall-Technologies/Moirai";
|
||||
#nixvim.url = "git+file:///home/nathan/Projects/Moirai";
|
||||
|
||||
aurora.url = "git+https://gitea.esotericbytes.com/Blunkall-Technologies/Aurora";
|
||||
#aurora.url = "git+file:///home/nathan/Projects/Aurora";
|
||||
};
|
||||
|
||||
sugar-dark-sddm = {
|
||||
url = "github:MarianArlt/sddm-sugar-dark";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
nixvim.url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/Moirai";
|
||||
#nixvim.url = "git+https://gitea.blunkall.us/Blunkall-Technologies/Moirai";
|
||||
|
||||
ags.url = "github:Aylur/ags/v1";
|
||||
|
||||
themecord = {
|
||||
url = "github:danihek/themecord";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, ... } @ inputs: {
|
||||
|
||||
tokyo-night-sddm-theme = { pkgs }: pkgs.stdenv.mkDerivation {
|
||||
|
||||
name = "tokyo-night";
|
||||
|
||||
src = inputs.tokyo-night-sddm;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -R $src/* $out/
|
||||
'';
|
||||
|
||||
};
|
||||
|
||||
sugar-dark-sddm-theme = { pkgs }: pkgs.stdenv.mkDerivation {
|
||||
|
||||
name = "sugar-dark";
|
||||
|
||||
src = inputs.sugar-dark-sddm;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -R $src/* $out/
|
||||
'';
|
||||
|
||||
};
|
||||
|
||||
|
||||
nixosConfigurations = {
|
||||
|
||||
homebox = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inputs = inputs // {
|
||||
nathan-home-manager = import ./home-manager/nathan;
|
||||
tokyo-night-sddm-theme = self.tokyo-night-sddm-theme;
|
||||
};
|
||||
};
|
||||
modules = [
|
||||
./system-config/configuration/homebox
|
||||
./system-config
|
||||
];
|
||||
};
|
||||
|
||||
laptop = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inputs = inputs // {
|
||||
nathan-home-manager = import ./home-manager/nathan;
|
||||
tokyo-night-sddm-theme = self.tokyo-night-sddm-theme;
|
||||
};
|
||||
};
|
||||
modules = [
|
||||
./system-config/configuration/laptop
|
||||
./system-config
|
||||
];
|
||||
};
|
||||
|
||||
live = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inputs = inputs // {
|
||||
nathan-home-manager = import ./home-manager/nathan;
|
||||
tokyo-night-sddm-theme = self.tokyo-night-sddm-theme;
|
||||
};
|
||||
};
|
||||
modules = [
|
||||
./system-config/configuration/live
|
||||
./system-config
|
||||
];
|
||||
};
|
||||
};
|
||||
/*
|
||||
nixOnDroidConfigurations.default = inputs.nix-on-droid.lib.nixOnDroidConfiguration {
|
||||
pkgs = import nixpkgs { system = "aarch64-linux"; };
|
||||
|
||||
modules = [
|
||||
{
|
||||
home-manager.extraSpecialArgs = {
|
||||
inputs = inputs // {
|
||||
nix-on-droid-home-manager = import ./home-manager/nix-on-droid;
|
||||
};
|
||||
};
|
||||
}
|
||||
./system-config/configuration/android
|
||||
./system-config
|
||||
];
|
||||
};
|
||||
*/
|
||||
};
|
||||
outputs = { ... } @ inputs:
|
||||
inputs.flake-parts.lib.mkFlake { inherit inputs; }
|
||||
(inputs.import-tree [
|
||||
./profiles
|
||||
./homes
|
||||
./system
|
||||
./templates/default.nix
|
||||
./flake-parts.nix
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
imports = [
|
||||
./programs
|
||||
./services
|
||||
./packages
|
||||
./dotfiles
|
||||
./impermanence
|
||||
];
|
||||
|
||||
options.homeconfig = {
|
||||
host = lib.options.mkOption {
|
||||
type = lib.types.str;
|
||||
default = null;
|
||||
};
|
||||
|
||||
home-manager.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
|
||||
home.stateVersion = "23.11";
|
||||
|
||||
home.username = "nathan";
|
||||
|
||||
home.homeDirectory = "/home/nathan";
|
||||
|
||||
home.pointerCursor = {
|
||||
gtk.enable = true;
|
||||
package = pkgs.bibata-cursors;
|
||||
name = "Bibata-Modern-Classic";
|
||||
size = 16;
|
||||
};
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
theme.name = "Tokyonight-Dark";
|
||||
theme.package = pkgs.tokyonight-gtk-theme;
|
||||
iconTheme.package = pkgs.rose-pine-icon-theme;
|
||||
iconTheme.name = "rose-pine-moon";
|
||||
};
|
||||
|
||||
services.mpris-proxy.enable = true;
|
||||
|
||||
programs.ssh.enable = true;
|
||||
|
||||
programs.home-manager.enable = config.homeconfig.home-manager.enable;
|
||||
|
||||
};
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
|
||||
# Starter Config
|
||||
|
||||
if suggestions don't work, first make sure
|
||||
you have TypeScript LSP working in your editor
|
||||
|
||||
if you do not want typechecking only suggestions
|
||||
|
||||
```json
|
||||
// tsconfig.json
|
||||
"checkJs": false
|
||||
```
|
||||
|
||||
types are symlinked to:
|
||||
/home/nathan/.nix-profile/share/com.github.Aylur.ags/types
|
||||
@@ -1,34 +0,0 @@
|
||||
const bluetooth = await Service.import("bluetooth")
|
||||
|
||||
|
||||
export function ConnectedList() {
|
||||
return Widget.Box({
|
||||
class_name: "btdevices",
|
||||
setup: self => self.hook(bluetooth, self => {
|
||||
self.children = bluetooth.connected_devices
|
||||
.map(({ address, icon_name, name }) => Widget.EventBox({
|
||||
child: Widget.Icon(icon_name + '-symbolic'),
|
||||
tooltip_text: name,
|
||||
on_primary_click: () => {
|
||||
bluetooth.getDevice(address).setConnection(false)
|
||||
},
|
||||
}));
|
||||
|
||||
self.visible = bluetooth.connected_devices.length > 0;
|
||||
}, 'notify::connected-devices'),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export default function Bluetooth() {
|
||||
|
||||
|
||||
|
||||
return Widget.EventBox({
|
||||
tooltip_text: bluetooth.bind('enabled').as(on => on ? 'Enabled' : 'Disabled'),
|
||||
child: Widget.Icon({
|
||||
icon: bluetooth.bind('enabled').as(on =>
|
||||
`bluetooth-${on ? 'active' : 'disabled'}-symbolic`),
|
||||
})
|
||||
})
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
|
||||
|
||||
const date = Variable("", {
|
||||
poll: [1000, 'date "+%H:%M %b %e."'],
|
||||
})
|
||||
|
||||
function Clock() {
|
||||
return Widget.Label({
|
||||
class_name: "clock",
|
||||
label: date.bind(),
|
||||
})
|
||||
}
|
||||
|
||||
export default Clock
|
||||
@@ -1,132 +0,0 @@
|
||||
|
||||
const hyprland = await Service.import("hyprland")
|
||||
//const systemtray = await Service.import("systemtray")
|
||||
|
||||
import Clock from './clock.js'
|
||||
import Launcher from './launcher.js'
|
||||
import Media from './media.js'
|
||||
import Notification from './notif.js'
|
||||
import Power from './power.js'
|
||||
import Workspaces from './workspaces.js'
|
||||
import Settings, {SettingsWindow} from './settings.js'
|
||||
import { ConnectedList } from './bluetooth.js'
|
||||
|
||||
import { NotificationPopups } from './notification.js'
|
||||
|
||||
|
||||
// widgets can be only assigned as a child in one container
|
||||
// so to make a reuseable widget, make it a function
|
||||
// then you can simply instantiate one by calling it
|
||||
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////
|
||||
// layout of the bar
|
||||
function Left() {
|
||||
return Widget.Box({
|
||||
spacing: 8,
|
||||
margin_bottom: 5,
|
||||
children: [
|
||||
Launcher(),
|
||||
Workspaces(),
|
||||
],
|
||||
})
|
||||
}
|
||||
|
||||
function Center() {
|
||||
return Widget.Box({
|
||||
spacing: 8,
|
||||
margin_bottom: 5,
|
||||
children: [
|
||||
Media(),
|
||||
Clock(),
|
||||
Notification(),
|
||||
],
|
||||
})
|
||||
}
|
||||
|
||||
function Right() {
|
||||
return Widget.Box({
|
||||
hpack: "end",
|
||||
spacing: 8,
|
||||
margin_bottom: 5,
|
||||
children: [
|
||||
ConnectedList(),
|
||||
Settings(),
|
||||
Power(),
|
||||
],
|
||||
})
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
//windows
|
||||
|
||||
function Bar(monitor = 0) {
|
||||
return Widget.Window({
|
||||
name: `bar-${monitor}`, // name has to be unique
|
||||
class_name: "bar",
|
||||
monitor,
|
||||
anchor: ["top", "left", "right"],
|
||||
height_request: 32,
|
||||
vexpand: false,
|
||||
exclusivity: "exclusive",
|
||||
child: Widget.CenterBox({
|
||||
start_widget: Left(),
|
||||
center_widget: Center(),
|
||||
end_widget: Right(),
|
||||
}),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
function pickMonitor() {
|
||||
|
||||
let n = 0
|
||||
|
||||
for(let i = 0; i < hyprland.monitors.length; i++) {
|
||||
print(hyprland.getMonitor(i).name)
|
||||
if(hyprland.getMonitor(i).name == 'eDP-1')
|
||||
n = i
|
||||
break
|
||||
}
|
||||
|
||||
return n;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
//App config
|
||||
|
||||
let m = 0
|
||||
|
||||
App.config({
|
||||
style: "/home/nathan/.cache/wal/colors-ags.css",
|
||||
windows: [
|
||||
Bar(m),
|
||||
SettingsWindow(m),
|
||||
NotificationPopups(m)
|
||||
// you can call it, for each monitor
|
||||
// Bar(0),
|
||||
// Bar(1)
|
||||
],
|
||||
})
|
||||
|
||||
App.toggleWindow(App.windows[1].name)
|
||||
|
||||
// Utils.timeout(100, () => Utils.notify({
|
||||
// summary: "Notification Popup Example",
|
||||
// iconName: "info-symbolic",
|
||||
// body: "Lorem ipsum dolor sit amet, qui minim labore adipisicing "
|
||||
// + "minim sint cillum sint consectetur cupidatat.",
|
||||
// actions: {
|
||||
// "Cool": () => print("pressed Cool"),
|
||||
// },
|
||||
// }))
|
||||
|
||||
Utils.monitorFile(`/home/nathan/.cache/wal`, () => {
|
||||
const css = `/home/nathan/.cache/wal/colors-ags.css`
|
||||
App.resetCss()
|
||||
App.applyCss(css)
|
||||
})
|
||||
|
||||
export { }
|
||||
@@ -1,141 +0,0 @@
|
||||
const mpris = await Service.import("mpris")
|
||||
|
||||
|
||||
export default function Media() {
|
||||
const track = Utils.watch("", mpris, "player-changed", () => {
|
||||
if (mpris.players[0]) {
|
||||
const { track_artists, track_title } = mpris.players[0]
|
||||
return `${track_artists.join(", ")} -${track_title}`
|
||||
} else {
|
||||
return "Nothing is playing"
|
||||
}
|
||||
})
|
||||
|
||||
return Widget.EventBox({
|
||||
class_name: "media",
|
||||
on_primary_click: () => mpris.getPlayer("")?.playPause(),
|
||||
on_scroll_up: () => mpris.getPlayer("")?.next(),
|
||||
on_scroll_down: () => mpris.getPlayer("")?.previous(),
|
||||
child: Widget.Icon({icon: 'emblem-music-symbolic'}),
|
||||
})
|
||||
}
|
||||
|
||||
function PlayerImg(player) {
|
||||
return Widget.Box({
|
||||
hpack: "start",
|
||||
width_request: 80,
|
||||
height_request: 80,
|
||||
css: player.bind("track_cover_url").transform(p => `
|
||||
background-image: url('${p || player.cover_path || '/home/nathan/Pictures/symbols/audio.png'}');
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
`),
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
|
||||
function PlayerGUI(player) {
|
||||
|
||||
|
||||
return Widget.Box({
|
||||
class_name: "playerbox",
|
||||
height_request: 200,
|
||||
vexpand: false,
|
||||
vertical: true,
|
||||
children: [
|
||||
Widget.Box({
|
||||
vertical: false,
|
||||
margin: 15,
|
||||
hpack: "start",
|
||||
spacing: 20,
|
||||
children: [
|
||||
PlayerImg(player),
|
||||
Widget.Box({
|
||||
vertical: true,
|
||||
children: [
|
||||
Widget.Label({
|
||||
hpack: "start",
|
||||
max_width_chars: 30,
|
||||
truncate: "end",
|
||||
label: player.bind('track-title').as(t => t)
|
||||
}),
|
||||
Widget.Label({
|
||||
hpack: "start",
|
||||
max_width_chars: 30,
|
||||
truncate: "end",
|
||||
label: player.bind("track_artists").transform(a => a.join(", ")),
|
||||
wrap: true,
|
||||
}),
|
||||
Widget.Label({
|
||||
hpack: "start",
|
||||
max_width_chars: 30,
|
||||
truncate: "end",
|
||||
label: player.bind('track-album').as(t => t)
|
||||
}),
|
||||
]
|
||||
})
|
||||
],
|
||||
|
||||
}),
|
||||
|
||||
Widget.Slider({
|
||||
class_name: "position",
|
||||
draw_value: false,
|
||||
on_change: ({ value }) => player.position = value * player.length,
|
||||
visible: player.bind("length").as(l => l > 0),
|
||||
setup: self => {
|
||||
function update() {
|
||||
const value = player.position / player.length
|
||||
self.value = value > 0 ? value : 0
|
||||
}
|
||||
self.hook(player, update)
|
||||
self.hook(player, update, "position")
|
||||
self.poll(1000, update)
|
||||
},
|
||||
}),
|
||||
|
||||
Widget.Box({
|
||||
vertical: false,
|
||||
hpack: "center",
|
||||
spacing: 20,
|
||||
children: [
|
||||
Widget.Button({
|
||||
child: Widget.Icon({ icon: 'media-skip-backward-symbolic'}),
|
||||
on_primary_click: () => player.previous()
|
||||
}),
|
||||
Widget.Button({
|
||||
child: Widget.Icon({ icon: player.bind("play_back_status").transform(s => {
|
||||
switch (s) {
|
||||
case "Playing": return 'media-playback-pause-symbolic'
|
||||
case "Paused":
|
||||
case "Stopped": return 'media-playback-start-symbolic'
|
||||
}
|
||||
}),
|
||||
}),
|
||||
on_primary_click: () => player.playPause(),
|
||||
}),
|
||||
Widget.Button({
|
||||
child: Widget.Icon({ icon: 'media-skip-forward-symbolic'}),
|
||||
on_primary_click: () => player.next()
|
||||
})
|
||||
]
|
||||
})
|
||||
],
|
||||
setup: self => {
|
||||
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
export function Players() {
|
||||
|
||||
const plrs = mpris.bind('players')
|
||||
.as(p => p.map((v) => PlayerGUI(v)))
|
||||
|
||||
return Widget.Box({
|
||||
vertical: true,
|
||||
children: plrs,
|
||||
})
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
const notifications = await Service.import("notifications")
|
||||
|
||||
|
||||
|
||||
// we don't need dunst or any other notification daemon
|
||||
// because the Notifications module is a notification daemon itself
|
||||
export default function Notification() {
|
||||
const popups = notifications.bind("popups")
|
||||
return Widget.EventBox({
|
||||
class_name: "notificationbutton",
|
||||
visible: true,
|
||||
on_primary_click: () => {},
|
||||
child: Widget.Icon({
|
||||
icon: "preferences-system-notifications-symbolic",
|
||||
}),
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
// Widget.Label({
|
||||
// label: popups.as(p => p[0]?.summary || ""),
|
||||
// }),
|
||||
@@ -1,131 +0,0 @@
|
||||
const notifications = await Service.import("notifications")
|
||||
|
||||
/** @param {import('resource:///com/github/Aylur/ags/service/notifications.js').Notification} n */
|
||||
function NotificationIcon({ app_entry, app_icon, image }) {
|
||||
if (image) {
|
||||
return Widget.Box({
|
||||
css: `background-image: url("${image}");`
|
||||
+ "background-size: contain;"
|
||||
+ "background-repeat: no-repeat;"
|
||||
+ "background-position: center;",
|
||||
})
|
||||
}
|
||||
|
||||
let icon = "dialog-information-symbolic"
|
||||
if (Utils.lookUpIcon(app_icon))
|
||||
icon = app_icon
|
||||
|
||||
if (app_entry && Utils.lookUpIcon(app_entry))
|
||||
icon = app_entry
|
||||
|
||||
return Widget.Box({
|
||||
child: Widget.Icon(icon),
|
||||
})
|
||||
}
|
||||
|
||||
/** @param {import('resource:///com/github/Aylur/ags/service/notifications.js').Notification} n */
|
||||
function Notification(n) {
|
||||
const icon = Widget.Box({
|
||||
vpack: "start",
|
||||
class_name: "icon",
|
||||
child: NotificationIcon(n),
|
||||
})
|
||||
|
||||
const title = Widget.Label({
|
||||
class_name: "title",
|
||||
xalign: 0,
|
||||
justification: "left",
|
||||
hexpand: true,
|
||||
max_width_chars: 24,
|
||||
truncate: "end",
|
||||
wrap: true,
|
||||
label: n.summary,
|
||||
use_markup: true,
|
||||
})
|
||||
|
||||
const body = Widget.Label({
|
||||
class_name: "body",
|
||||
hexpand: true,
|
||||
use_markup: true,
|
||||
xalign: 0,
|
||||
justification: "left",
|
||||
label: n.body,
|
||||
wrap: true,
|
||||
})
|
||||
|
||||
const actions = Widget.Box({
|
||||
class_name: "actions",
|
||||
children: n.actions.map(({ id, label }) => Widget.Button({
|
||||
class_name: "action-button",
|
||||
on_clicked: () => {
|
||||
n.invoke(id)
|
||||
n.dismiss()
|
||||
},
|
||||
hexpand: true,
|
||||
child: Widget.Label(label),
|
||||
})),
|
||||
})
|
||||
|
||||
return Widget.EventBox(
|
||||
{
|
||||
attribute: { id: n.id },
|
||||
on_primary_click: n.dismiss,
|
||||
},
|
||||
Widget.Box(
|
||||
{
|
||||
class_name: `notification ${n.urgency}`,
|
||||
vertical: true,
|
||||
},
|
||||
Widget.Box([
|
||||
icon,
|
||||
Widget.Box(
|
||||
{ vertical: true },
|
||||
title,
|
||||
body,
|
||||
),
|
||||
]),
|
||||
actions,
|
||||
),
|
||||
)
|
||||
}
|
||||
|
||||
export function NotificationPopups(monitor = 0) {
|
||||
const list = Widget.Box({
|
||||
vertical: true,
|
||||
children: notifications.popups.map(Notification),
|
||||
})
|
||||
|
||||
function onNotified(_, /** @type {number} */ id) {
|
||||
const n = notifications.getNotification(id)
|
||||
if (n)
|
||||
list.children = [Notification(n), ...list.children]
|
||||
}
|
||||
|
||||
function onDismissed(_, /** @type {number} */ id) {
|
||||
list.children.find(n => n.attribute.id === id)?.destroy()
|
||||
}
|
||||
|
||||
list.hook(notifications, onNotified, "notified")
|
||||
.hook(notifications, onDismissed, "dismissed")
|
||||
|
||||
return Widget.Window({
|
||||
monitor,
|
||||
name: `notifications${monitor}`,
|
||||
class_name: "notification-popups",
|
||||
anchor: ["top", "right"],
|
||||
layer: "overlay",
|
||||
child: Widget.Box({
|
||||
css: "min-width: 2px; min-height: 2px;",
|
||||
class_name: "notifications",
|
||||
vertical: true,
|
||||
child: list,
|
||||
|
||||
/** this is a simple one liner that could be used instead of
|
||||
hooking into the 'notified' and 'dismissed' signals.
|
||||
but its not very optimized becuase it will recreate
|
||||
the whole list everytime a notification is added or dismissed */
|
||||
// children: notifications.bind('popups')
|
||||
// .as(popups => popups.map(Notification))
|
||||
}),
|
||||
})
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
|
||||
|
||||
|
||||
function Power() {
|
||||
|
||||
|
||||
return Widget.Box({
|
||||
vertical: false,
|
||||
spacing: 8,
|
||||
children: [
|
||||
Widget.EventBox({
|
||||
child: Widget.Icon({icon: 'system-reboot-symbolic'}),
|
||||
margin_right: 10,
|
||||
class_name: 'restart',
|
||||
tooltip_text: 'restart',
|
||||
on_primary_click: () => {App.Quit(); Utils.execAsync('reboot')},
|
||||
}),
|
||||
Widget.EventBox({
|
||||
child: Widget.Icon({icon: 'system-log-out-symbolic'}),
|
||||
margin_right: 10,
|
||||
class_name: 'logout',
|
||||
tooltip_text: 'log out',
|
||||
on_primary_click: () => {App.Quit(); Utils.execAsync('loginctl kill-session self')},
|
||||
}),
|
||||
Widget.EventBox({
|
||||
child: Widget.Icon({icon: 'system-lock-screen-symbolic'}),
|
||||
margin_right: 10,
|
||||
class_name: 'lockscreen',
|
||||
tooltip_text: 'lock screen',
|
||||
on_primary_click: () => {Utils.exec('swaylock')},
|
||||
}),
|
||||
Widget.EventBox({
|
||||
child: Widget.Icon({icon: 'system-shutdown-symbolic'}),
|
||||
margin_right: 10,
|
||||
class_name: 'poweroff',
|
||||
tooltip_text: 'shutdown',
|
||||
on_primary_click: () => {App.Quit(); Utils.execAsync('shutdown now')},
|
||||
})
|
||||
],
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export default Power
|
||||
@@ -1,125 +0,0 @@
|
||||
const audio = await Service.import("audio")
|
||||
const battery = await Service.import("battery")
|
||||
const mpris = await Service.import("mpris")
|
||||
|
||||
import Bluetooth from "./bluetooth.js"
|
||||
import WifiIndicator from "./wifi.js"
|
||||
import { Players } from "./media.js"
|
||||
|
||||
export function Volume() {
|
||||
const icons = {
|
||||
101: "high",
|
||||
67: "high",
|
||||
34: "medium",
|
||||
1: "low",
|
||||
0: "muted",
|
||||
}
|
||||
|
||||
function getIcon() {
|
||||
const icon = audio.speaker.is_muted ? 0 : [101, 67, 34, 1, 0].find(
|
||||
threshold => threshold <= audio.speaker.volume * 100)
|
||||
|
||||
return `audio-volume-${icons[icon]}-symbolic`
|
||||
}
|
||||
|
||||
|
||||
return Widget.EventBox({
|
||||
tooltip_text: '',
|
||||
setup: (self) => self.hook(audio.speaker, () => {
|
||||
self.tooltip_text = `Volume: ${(100 * audio.speaker.volume).toFixed(0)}%`
|
||||
}),
|
||||
child: Widget.Icon({
|
||||
class_name: "volume",
|
||||
icon: Utils.watch(getIcon(), audio.speaker, getIcon),
|
||||
})
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
// const slider = Widget.Slider({
|
||||
// hexpand: true,
|
||||
// draw_value: false,
|
||||
// inverted: true,
|
||||
// on_change: ({ value }) => audio.speaker.volume = value,
|
||||
// setup: (self) => self.hook(audio.speaker, () => {
|
||||
// self.value = audio.speaker.volume || 0
|
||||
// }),
|
||||
// })
|
||||
|
||||
|
||||
export function BatteryLabel() {
|
||||
const value = battery.bind("percent").as(p => p > 0 ? p / 100 : 0)
|
||||
const icon = battery.bind("percent").as(p =>
|
||||
`battery-${p > 90 ? "full" : p > 70 ? "good" : p > 50 ? "medium" : p > 30 ? "low" : p > 10 ? "caution" : "empty"}-symbolic`)
|
||||
|
||||
return Widget.Box({
|
||||
class_name: "battery",
|
||||
visible: battery.bind("available"),
|
||||
child: Widget.EventBox({
|
||||
child: Widget.Icon({ icon }),
|
||||
tooltip_text: value.as(p => `Battery: ${(p * 100).toFixed(0)}%`)
|
||||
}),
|
||||
})
|
||||
}
|
||||
|
||||
function Panel() {
|
||||
return Widget.Box({
|
||||
height_request: 200,
|
||||
css: 'background: black;',
|
||||
})
|
||||
}
|
||||
|
||||
export function SettingsWindow(monitor = 0) {
|
||||
return Widget.Window({
|
||||
monitor,
|
||||
name: `Settings-${monitor}`,
|
||||
anchor: ["top", "bottom", "right"],
|
||||
margins: [50, 0, 10, 0],
|
||||
width_request: 400,
|
||||
exclusivity: "ignore",
|
||||
layer: "top",
|
||||
class_name: "SettingsWindow",
|
||||
child: Widget.Box({
|
||||
class_name: "settings_window",
|
||||
child: Widget.Scrollable({
|
||||
vscroll: "always",
|
||||
hscroll: "never",
|
||||
hexpand: true,
|
||||
vexpand: true,
|
||||
margin: 20,
|
||||
child: Widget.Box({
|
||||
vertical: true,
|
||||
children: [
|
||||
Panel(),
|
||||
Players()
|
||||
]
|
||||
}),
|
||||
}),
|
||||
}),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export default function Settings() {
|
||||
|
||||
|
||||
return Widget.Button({
|
||||
tooltip_text: 'Settings',
|
||||
attribute: false,
|
||||
margin_right: 8,
|
||||
child: Widget.Box({
|
||||
spacing: 8,
|
||||
children: [
|
||||
Bluetooth(),
|
||||
WifiIndicator(),
|
||||
BatteryLabel(),
|
||||
Volume(),
|
||||
],
|
||||
}),
|
||||
on_clicked: (self) => {
|
||||
self.attribute = !self.attribute
|
||||
|
||||
App.toggleWindow(App.windows[1].name)
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -1,174 +0,0 @@
|
||||
|
||||
|
||||
|
||||
|
||||
window.bar {
|
||||
background-color: rgb(36, 40, 59);
|
||||
color: rgb(200, 200, 200);
|
||||
|
||||
}
|
||||
|
||||
window.win {
|
||||
background-color: transparent;
|
||||
color: rgb(200, 200, 200);
|
||||
}
|
||||
|
||||
.booox {
|
||||
color: white;
|
||||
background-color: white;
|
||||
|
||||
}
|
||||
|
||||
.playerbox {
|
||||
background-color: rgb(73, 81, 121);
|
||||
color:rgb(73, 81, 121);
|
||||
border: 3px solid black;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
.launcher {
|
||||
color: aqua;
|
||||
background: none;
|
||||
border: none;
|
||||
|
||||
}
|
||||
|
||||
box {
|
||||
color: aqua;
|
||||
}
|
||||
|
||||
|
||||
Window.SettingsWindow {
|
||||
background-color: black;
|
||||
color: black;
|
||||
}
|
||||
.settings_window {
|
||||
background-color: rgb(36, 40, 59);
|
||||
color: teal;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
.focused {
|
||||
color: aqua;
|
||||
}
|
||||
|
||||
.other {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.media {
|
||||
color: aqua;
|
||||
}
|
||||
|
||||
.media:active {
|
||||
background-color: aqua;
|
||||
}
|
||||
|
||||
button {
|
||||
min-width: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
color: aqua;
|
||||
}
|
||||
|
||||
button:active {
|
||||
background-color: aqua;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
border-bottom: 3px solid teal;
|
||||
}
|
||||
|
||||
label {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.workspaces button.focused {
|
||||
border-bottom: 3px solid aqua;
|
||||
}
|
||||
|
||||
.client-title {
|
||||
color: rgb(200, 200, 200);
|
||||
}
|
||||
|
||||
.clock {
|
||||
color: rgb(200, 200, 200);
|
||||
}
|
||||
|
||||
.notification {
|
||||
color: yellow;
|
||||
}
|
||||
|
||||
levelbar block,
|
||||
highlight {
|
||||
min-height: 4px;
|
||||
}
|
||||
|
||||
/************************************/
|
||||
|
||||
window.notification-popups box.notifications {
|
||||
padding: .5em;
|
||||
}
|
||||
|
||||
.icon {
|
||||
min-width: 68px;
|
||||
min-height: 68px;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
.icon image {
|
||||
font-size: 58px;
|
||||
/* to center the icon */
|
||||
margin: 5px;
|
||||
color: yellow;
|
||||
}
|
||||
|
||||
.icon box {
|
||||
min-width: 68px;
|
||||
min-height: 68px;
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
.notificationbutton {
|
||||
color: teal;
|
||||
}
|
||||
|
||||
.notification {
|
||||
min-width: 350px;
|
||||
border-radius: 11px;
|
||||
padding: 1em;
|
||||
margin: .5em;
|
||||
border: 1px solid blue;
|
||||
background-color: rgb(36, 40, 59);
|
||||
}
|
||||
|
||||
.notification.critical {
|
||||
border: 1px solid lightcoral;
|
||||
}
|
||||
|
||||
.title {
|
||||
color: black;
|
||||
font-size: 1.4em;
|
||||
}
|
||||
|
||||
.body {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.actions .action-button {
|
||||
margin: 0 .4em;
|
||||
margin-top: .8em;
|
||||
}
|
||||
|
||||
.actions .action-button:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.actions .action-button:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
const network = await Service.import('network')
|
||||
|
||||
export default function WifiIndicator() {
|
||||
return Widget.Box({
|
||||
child: Widget.EventBox({
|
||||
child: Widget.Icon({
|
||||
icon: 'network-wireless-disconnected-symbolic',
|
||||
}),
|
||||
|
||||
setup: self => self.hook(network.wifi, () => {
|
||||
self.child.icon = network.wifi.icon_name == 'network-wireless-disabled-symbolic' ? 'network-wireless-disconnected-symbolic' : network.wifi.icon_name
|
||||
self.tooltip_text = network.wifi.ssid ? network.wifi.ssid : network.wifi.internet
|
||||
}),
|
||||
|
||||
tooltip_text: 'disconnected',
|
||||
}),
|
||||
})
|
||||
}
|
||||
|
||||
// const WiredIndicator = () => Widget.Icon({
|
||||
// icon: network.wired.bind('icon_name'),
|
||||
// })
|
||||
|
||||
// const NetworkIndicator = () => Widget.Stack({
|
||||
// children: {
|
||||
// wifi: WifiIndicator(),
|
||||
// wired: WiredIndicator(),
|
||||
// },
|
||||
// shown: network.bind('primary').as(p => p || 'wifi'),
|
||||
// })
|
||||
@@ -1,37 +0,0 @@
|
||||
const hyprland = await Service.import("hyprland")
|
||||
|
||||
|
||||
function ClientTitle() {
|
||||
return Widget.Label({
|
||||
class_name: "client-title",
|
||||
max_width_chars: 30,
|
||||
truncate: "end",
|
||||
label: hyprland.active.client.bind("title"),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
function Workspaces() {
|
||||
const activeId = hyprland.active.workspace.bind("id")
|
||||
const workspaces = hyprland.bind("workspaces")
|
||||
.as(ws => ws.map(({ id }) => id > 0 ? Widget.Button({
|
||||
on_clicked: () => hyprland.messageAsync(`dispatch workspace ${id}`),
|
||||
child: Widget.Label(`${id}`),
|
||||
class_name: activeId.as(i => `${i === id ? "focused" : "other"}`),
|
||||
margin_left: 10,
|
||||
}) : null
|
||||
).sort((a, b) => { return a && b ? Number(a.child.label) - Number(b.child.label) : a ? -1 : 1 }))
|
||||
|
||||
return Widget.CenterBox({
|
||||
|
||||
spacing: 8,
|
||||
start_widget: Widget.Box({
|
||||
class_name: "workspaces",
|
||||
spacing: 0,
|
||||
children: workspaces
|
||||
}),
|
||||
end_widget: ClientTitle(),
|
||||
})
|
||||
}
|
||||
|
||||
export default Workspaces
|
||||
@@ -1,12 +0,0 @@
|
||||
{ config, lib, ... }: {
|
||||
|
||||
home.file = {
|
||||
".config/ags" = { source = ./ags; recursive = true; };
|
||||
".config/hypr" = { source = ./hypr; recursive = true; };
|
||||
".config/swaylock" = { source = ./swaylock; recursive = true; };
|
||||
".config/wal/templates" = { source = ./wal/templates; recursive = true; };
|
||||
".config/wayvnc" = { source = ./wayvnc; recursive = true; };
|
||||
"Pictures/Wallpaper" = { source = ./Wallpaper; recursive = true; };
|
||||
};
|
||||
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
[pyprland]
|
||||
plugins = [
|
||||
"scratchpads"
|
||||
]
|
||||
|
||||
[scratchpads.nvim]
|
||||
animation = "fromTop"
|
||||
command = "kitty --class scratchpad-nvim -e nvim ~/Projects"
|
||||
lazy = false
|
||||
class = "scratchpad-nvim"
|
||||
margin = 100
|
||||
multi = true
|
||||
excludes = "*"
|
||||
|
||||
[scratchpads.free]
|
||||
animation = "fromBottom"
|
||||
command = "kitty --class scratchpad"
|
||||
class = "scratchpad"
|
||||
lazy = false
|
||||
margin = 100
|
||||
multi = true
|
||||
excludes = "*"
|
||||
@@ -1,161 +0,0 @@
|
||||
|
||||
|
||||
|
||||
|
||||
window.bar {{
|
||||
background-color: {color1.rgba};
|
||||
color: {color1.rgba};
|
||||
opacity: 1;
|
||||
|
||||
}}
|
||||
|
||||
.playerbox {{
|
||||
background-color: {color2};
|
||||
color:rgb(73, 81, 121);
|
||||
border: 3px solid black;
|
||||
border-radius: 15px;
|
||||
}}
|
||||
|
||||
.launcher {{
|
||||
background: none;
|
||||
border: none;
|
||||
}}
|
||||
|
||||
box {{
|
||||
color: {color11};
|
||||
}}
|
||||
|
||||
|
||||
Window.SettingsWindow {{
|
||||
background-color: black;
|
||||
color: black;
|
||||
}}
|
||||
.settings_window {{
|
||||
background-color: {color1.rgba};
|
||||
border-radius: 15px;
|
||||
}}
|
||||
|
||||
.focused {{
|
||||
color: {color11};
|
||||
}}
|
||||
|
||||
.other {{
|
||||
color: {color3};
|
||||
}}
|
||||
|
||||
.media {{
|
||||
color: {color11};
|
||||
}}
|
||||
|
||||
.media:active {{
|
||||
background-color: {color11};
|
||||
}}
|
||||
|
||||
button {{
|
||||
min-width: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
color: {color11};
|
||||
}}
|
||||
|
||||
button:active {{
|
||||
background-color: {color11};
|
||||
}}
|
||||
|
||||
button:hover {{
|
||||
border-bottom: 3px solid {color3};
|
||||
}}
|
||||
|
||||
label {{
|
||||
font-weight: bold;
|
||||
}}
|
||||
|
||||
.workspaces button.focused {{
|
||||
border-bottom: 3px solid {color11};
|
||||
}}
|
||||
|
||||
.client-title {{
|
||||
color: {color11};
|
||||
}}
|
||||
|
||||
.clock {{
|
||||
color: {color11};
|
||||
}}
|
||||
|
||||
.notification {{
|
||||
color: yellow;
|
||||
}}
|
||||
|
||||
levelbar block,
|
||||
highlight {{
|
||||
min-height: 4px;
|
||||
}}
|
||||
|
||||
/************************************/
|
||||
|
||||
window.notification-popups box.notifications {{
|
||||
padding: .5em;
|
||||
}}
|
||||
|
||||
.icon {{
|
||||
min-width: 68px;
|
||||
min-height: 68px;
|
||||
margin-right: 1em;
|
||||
}}
|
||||
|
||||
.icon image {{
|
||||
font-size: 58px;
|
||||
/* to center the icon */
|
||||
margin: 5px;
|
||||
color: yellow;
|
||||
}}
|
||||
|
||||
.icon box {{
|
||||
min-width: 68px;
|
||||
min-height: 68px;
|
||||
border-radius: 7px;
|
||||
}}
|
||||
|
||||
.notificationbutton {{
|
||||
color: {color3};
|
||||
}}
|
||||
|
||||
.notification {{
|
||||
min-width: 350px;
|
||||
border-radius: 11px;
|
||||
padding: 1em;
|
||||
margin: .5em;
|
||||
border: 1px solid blue;
|
||||
background-color: {color2};
|
||||
}}
|
||||
|
||||
.notification.critical {{
|
||||
border: 1px solid lightcoral;
|
||||
}}
|
||||
|
||||
.title {{
|
||||
color: aqua;
|
||||
font-size: 1.4em;
|
||||
}}
|
||||
|
||||
.body {{
|
||||
color: teal;
|
||||
}}
|
||||
|
||||
.actions .action-button {{
|
||||
margin: 0 .4em;
|
||||
margin-top: .8em;
|
||||
}}
|
||||
|
||||
.actions .action-button:first-child {{
|
||||
margin-left: 0;
|
||||
}}
|
||||
|
||||
.actions .action-button:last-child {{
|
||||
margin-right: 0;
|
||||
}}
|
||||
@@ -1,18 +0,0 @@
|
||||
$foregroundCol = 0xff{foreground.strip}
|
||||
$backgroundCol = 0xff{background.strip}
|
||||
$color0 = 0xff{color0.strip}
|
||||
$color1 = 0xff{color1.strip}
|
||||
$color2 = 0xff{color2.strip}
|
||||
$color3 = 0xff{color3.strip}
|
||||
$color4 = 0xff{color4.strip}
|
||||
$color5 = 0xff{color5.strip}
|
||||
$color6 = 0xff{color6.strip}
|
||||
$color7 = 0xff{color7.strip}
|
||||
$color8 = 0xff{color8.strip}
|
||||
$color9 = 0xff{color9.strip}
|
||||
$color10 = 0xff{color10.strip}
|
||||
$color11 = 0xff{color11.strip}
|
||||
$color12 = 0xff{color12.strip}
|
||||
$color13 = 0xff{color13.strip}
|
||||
$color14 = 0xff{color14.strip}
|
||||
$color15 = 0xff{color15.strip}
|
||||
@@ -1,6 +0,0 @@
|
||||
use_relative_paths=true
|
||||
address=0.0.0.0
|
||||
enable_auth=false
|
||||
username=nathan
|
||||
password=//falconAdjacent42
|
||||
rsa_private_key_file=rsa_key.pem
|
||||
@@ -1,39 +0,0 @@
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIIG4gIBAAKCAYEAskZTWfnj4uUDsPq51eAXkxXeuHexT2H4Q3sFLgnP+B1zv9me
|
||||
YgQeDK8tSN089Kukz6jYA/Wd8U66iq0TKHGsgj/AotL00Kan+J75huvnO+abGjkI
|
||||
ovl7+z+E9wnqlmxbFC8r5xD5naQbwL+TKjGm6jcI6JPp3+GI2MMnC6YYUO8Zrns6
|
||||
K6mb/TBNjctHn3DGRL9QF0n/LIlOhVv+VkBiMjvana2zo7YdEPmENG8HPIR6tRQI
|
||||
/gI8UExlgL4d6O7RxJTAogIEnrZxsHAAOnmzDVXIp3nSug4pseiHbAc9OVNon5iN
|
||||
Z3oRK/SQWdkVS/4HZ/X+MZLh267+2rOZEA88icw3OIedt04l33l8ZAUlJ4/OKpPe
|
||||
sotURvdkYYPCH7Ucg9TBLRJxekYuJxGV5ih4imWFRkGzoGKBE5D7iYppjDWwVUmc
|
||||
k3SPMaXIAxjNdxSgYh84Ysvuht2nBoI3s+D4yoBqfX76fOz6OsQHIOuxY3PKM57E
|
||||
gw4u+I7zfz27lgt1AgMBAAECggGADZGWgkvBQXTVCTFEJLGq/OBv9IVaD8sxBkQ3
|
||||
2pwXlQn7Oqs5eu29f15AtmhUXXqU9dM8wcX96mIBU7dYAaUi3Q6bvsJxeYU9vDzi
|
||||
8n1EOvk5Bxyd+ipX+k47p6ijDyWz8IwLx0kxxOkhNAeNj9GtcFH8OEuA92MAmeyP
|
||||
xu5MF0wWt2kcpKC2Ef+NRfeml2crez8LPWjxGZAuOeGmSlh/9AfXNb1Rsp1HuauF
|
||||
svUozVcRMEGt0rt6OlH32P34/Wom/5sau3/aTKl5+98WbWQqv2hAHMNyRb6p/jjC
|
||||
1Y3NTa8u75ly9/FDn2ovdUDlGEQT5S+lRMNuLTOhq1BuKtdEl0Wqq1/PQa8zQKcT
|
||||
3plN97Il/p9XVqTpBqeP7UlmP/aVxD4tgEzlneRfraivwOvlwImEbB+4LJ79xxbE
|
||||
b3BiSwCo7frnoGG6GIja10qhth4yn3Q0KbPYlROUvsiwp6c2Hnlvt9/eR4lKS4CP
|
||||
nblyU40EKIDasC+D7bx3eo4KPrN/AoHBANYfsqSyx9D5spQTvyOh5OUqO2IoLX/m
|
||||
mFlimvSdIlhxEGX5Ux/Y1lZ/GZZvl8dTWYqU2xwWIG0kXv2yrq9eNiVuEBG0GYCK
|
||||
e48KiSyatZMIiULgWLcpfQWuYfHwXQz3kbLpT1BTeFRnhVp++pX6uJmsRnQdHwoU
|
||||
RgIC49ZEiFfVU6HYNUbg1Eodif+IH3izLMNgW4ZKCRqmhkgvOFGzKosqTODoU2CX
|
||||
LShrpyKdeYZSYcCTsHGOCVxpJrmwhkrdRwKBwQDVI89J/Z61zUe5Bc6q5w0VliL8
|
||||
rf9uceAJ7PXWTVij5hMgNpFrjGpUE0aZwu1LdEZIe0XJmjpUabksS9tp5En91Vyk
|
||||
g+dqMPrE6vAnW7/KovKbPAwjiL1K/vZ+7MPsb9gYdeOec4YO/vfapFKMWe8yK9L8
|
||||
XQzeZ5q+jKeBLnr0x8o8WnJgCSLDC3A0YQmDj6j2MSayvbFAqk3PrKZ3NmStsQnS
|
||||
QGnU8UZXVa9MD31b90ME5nHwjTPZZU9uf31iP2MCgcBAdyyen2C/Tt3v7P4H6U7z
|
||||
m8JjK/t+3VsS1jgW21Qi0m+AdA8NsIffZMa8Xv6QOUzlBynsi9DZazDaKrii/bdJ
|
||||
j5hw7AsdgxPuHdrsvetayCAjLU4oXupQEo9UeuxY4hRQjCOf6HF63+vrMf2Zt/Fp
|
||||
+s7/WGEm9LGbG2mi8eEmqIhUWra3jyr64WfRshbfjPo2HEWR6apSBr647taC6nEt
|
||||
kt+weuHXW8xxte+M4WJcCWN6yjw+A+hXlSTelQHpejMCgcAo7qmeghB6xaOiitT3
|
||||
yUuf+6dYc2n8oe3uug00TMJbJ5JAu3oN93dsEg+a8+5ycTAWN2ZdozrUf0FKmn7W
|
||||
xTrYfqM+DP7iS+m864mXZW1d0xFYcp26LUZ9Ip3gHkQ6IfiUKf++rFzwgFLFMI2R
|
||||
2quvLO9l+9C+3ZLASW7Zxj1iyQOzt4MDon2Ei6vOw1v6YhqGvUW7SebCjnJHEdce
|
||||
Sdnn6XoDYM9yT6u8lf4GU2s1wDSkukTjd5qfg29PvzgrKBUCgcB7lMeZT08NBsdT
|
||||
Imgy0HfLQNmAK3adugWGA/mzZJRYEWb9sUrs8xz5ynePXUYFzUCKYFQaHjiRJcHf
|
||||
ni0NtEogmyz6skw7ZV+Gzc1p2OqxwazzXfOrpOwFXCCDaqiFzfEO7jfC89XbzlOZ
|
||||
it0zuMS0fp5prmGBg7bdhZ9MkBny+YjRAgma5zkvh2S99B89ZpTeplNUqssV0JLx
|
||||
LcN0moCV2RdiSSkOFhanD+r+iAJnMOxBcYVKJL4hp2vK3P339CY=
|
||||
-----END RSA PRIVATE KEY-----
|
||||
@@ -1 +0,0 @@
|
||||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCyRlNZ+ePi5QOw+rnV4BeTFd64d7FPYfhDewUuCc/4HXO/2Z5iBB4Mry1I3Tz0q6TPqNgD9Z3xTrqKrRMocayCP8Ci0vTQpqf4nvmG6+c75psaOQii+Xv7P4T3CeqWbFsULyvnEPmdpBvAv5MqMabqNwjok+nf4YjYwycLphhQ7xmuezorqZv9ME2Ny0efcMZEv1AXSf8siU6FW/5WQGIyO9qdrbOjth0Q+YQ0bwc8hHq1FAj+AjxQTGWAvh3o7tHElMCiAgSetnGwcAA6ebMNVcinedK6Dimx6IdsBz05U2ifmI1nehEr9JBZ2RVL/gdn9f4xkuHbrv7as5kQDzyJzDc4h523TiXfeXxkBSUnj84qk96yi1RG92Rhg8IftRyD1MEtEnF6Ri4nEZXmKHiKZYVGQbOgYoETkPuJimmMNbBVSZyTdI8xpcgDGM13FKBiHzhiy+6G3acGgjez4PjKgGp9fvp87Po6xAcg67Fjc8oznsSDDi74jvN/PbuWC3U= root@homebox
|
||||
@@ -1,33 +0,0 @@
|
||||
{ config, lib, inputs, ... }: {
|
||||
|
||||
imports = [
|
||||
inputs.impermanence.nixosModules.home-manager.impermanence
|
||||
];
|
||||
|
||||
options.homeconfig.impermanence.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.homeconfig.impermanence.enable {
|
||||
|
||||
home.persistence."/persist/home/nathan" = {
|
||||
|
||||
directories = [
|
||||
"Documents"
|
||||
"Music"
|
||||
"Pictures/Photos"
|
||||
"Projects"
|
||||
"Videos"
|
||||
".ssh"
|
||||
".local/share/zoxide"
|
||||
".config/sops"
|
||||
];
|
||||
files = [
|
||||
".zsh_history"
|
||||
];
|
||||
allowOther = true;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
@@ -1,110 +0,0 @@
|
||||
{ config, lib, pkgs, inputs, ... }: let
|
||||
system = "x86_64-linux";
|
||||
|
||||
pkgs-us = import inputs.nixpkgs-us {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
|
||||
in {
|
||||
|
||||
imports = [
|
||||
./scripts
|
||||
];
|
||||
|
||||
options.homeconfig.minimal = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkMerge [
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
killall
|
||||
btop
|
||||
zip
|
||||
unzip
|
||||
gcc
|
||||
zulu
|
||||
rsync
|
||||
lxqt.lxqt-policykit
|
||||
blueberry
|
||||
wl-clipboard
|
||||
xfce.thunar
|
||||
grim
|
||||
slurp
|
||||
];
|
||||
}
|
||||
|
||||
(lib.mkIf (!config.homeconfig.minimal) {
|
||||
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; let
|
||||
pypkgs = ps: with ps; [
|
||||
numpy
|
||||
matplotlib
|
||||
scipy
|
||||
|
||||
pandas
|
||||
pyaudio
|
||||
pyusb
|
||||
debugpy
|
||||
];
|
||||
|
||||
in [
|
||||
|
||||
cava
|
||||
android-tools
|
||||
neovim-remote
|
||||
handbrake
|
||||
quickemu
|
||||
bottles
|
||||
|
||||
(pkgs.python311.withPackages pypkgs)
|
||||
|
||||
brightnessctl
|
||||
libdbusmenu-gtk3
|
||||
lmms
|
||||
#unfree {
|
||||
geogebra
|
||||
spotify
|
||||
#rustdesk
|
||||
#}
|
||||
|
||||
brave
|
||||
neofetch
|
||||
pkgs-us.mpv
|
||||
ncmpcpp
|
||||
playerctl
|
||||
mpc-cli
|
||||
vlc
|
||||
pavucontrol
|
||||
yewtube
|
||||
ytmdl
|
||||
ffmpeg
|
||||
rpi-imager
|
||||
tigervnc
|
||||
keepassxc
|
||||
httplz
|
||||
|
||||
#3D modeling/printing
|
||||
blender
|
||||
freecad
|
||||
#cura
|
||||
|
||||
#productivity
|
||||
libreoffice
|
||||
super-productivity
|
||||
|
||||
#games
|
||||
prismlauncher
|
||||
];
|
||||
|
||||
})
|
||||
];
|
||||
|
||||
}
|
||||
@@ -1,106 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
options = {
|
||||
homeScripts.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.homeScripts.enable {
|
||||
home.packages = [
|
||||
|
||||
#scripts
|
||||
(pkgs.writeShellScriptBin "_systemRebuild" ''
|
||||
${pkgs.nh}/bin/nh os switch --ask /home/nathan/Projects/System
|
||||
echo //////Enter to close//////
|
||||
read
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "_homeRebuild" ''
|
||||
${pkgs.nh}/bin/nh home switch --ask /home/nathan/Projects/System
|
||||
echo //////Enter to close//////
|
||||
read
|
||||
'')
|
||||
|
||||
(pkgs.writeShellScriptBin "randWallpaper" ''
|
||||
file=$(ls /home/nathan/Pictures/Wallpaper/ | shuf -n 1)
|
||||
setWallpaper /home/nathan/Pictures/Wallpaper/$file
|
||||
'')
|
||||
|
||||
(pkgs.writeShellScriptBin "setWallpaper" ''
|
||||
img=''$(realpath ''${1:-~/.cache/bg})
|
||||
p=''$(pgrep mpvpaper)
|
||||
ext=$(echo ''$img | sed "s|\(.*\)\.\(.*\)|\2|")
|
||||
if [[ ''$ext == "jpg" || ''$ext == "png" ]]; then
|
||||
${pkgs.mpvpaper}/bin/mpvpaper -f -p -o --pause '*' ''$img
|
||||
else
|
||||
${pkgs.mpvpaper}/bin/mpvpaper -f -p -o "loop" '*' ''$img
|
||||
fi
|
||||
changeColors ''$img ''$2 && \
|
||||
sleep 0.4 && \
|
||||
if [[ ''$p ]]; then
|
||||
kill ''$p
|
||||
fi
|
||||
'')
|
||||
|
||||
(pkgs.writeShellScriptBin "changeColors" ''
|
||||
|
||||
if [[ $(ls ~/.cache/ | grep bga) != bga ]]; then
|
||||
echo 100 > ~/.cache/bga
|
||||
fi
|
||||
|
||||
alpha=''${2:-`cat ~/.cache/bga`}
|
||||
|
||||
img=''$(realpath ''${1:-~/.cache/bg})
|
||||
|
||||
if [[ $alpha -lt 0 ]]; then
|
||||
$alpha=0
|
||||
fi
|
||||
|
||||
if [[ $alpha -gt 100 ]]; then
|
||||
$alpha=100
|
||||
fi
|
||||
|
||||
wal -i $img -a $alpha --cols16 -n
|
||||
|
||||
echo $alpha > ~/.cache/bga
|
||||
|
||||
rm ~/.cache/bg
|
||||
ln -s $img ~/.cache/bg
|
||||
|
||||
sleep 0.4
|
||||
|
||||
pywalfox update &
|
||||
|
||||
themecord > ~/.cache/_.txt && rm ~/.cache/_.txt
|
||||
|
||||
[[ $(pidof cava) != "" ]] && pkill -USR1 cava &
|
||||
|
||||
for i in $(ls /run/user/1000 | grep nvim); do nvr -s --servername /run/user/1000/$i --remote-send '<cmd>colorscheme pywal<CR>'; done
|
||||
|
||||
pkill -USR1 kitty
|
||||
'')
|
||||
|
||||
(pkgs.writeShellScriptBin "onSystemStart" ''
|
||||
randWallpaper &
|
||||
ags &
|
||||
pypr &
|
||||
lxqt-policykit-agent &
|
||||
# nmcli device wifi connect EagleNet password '~?C#@ZiH' &
|
||||
hyprctl setcursor Bibata-Modern-Classic 16 &
|
||||
wayvnc &
|
||||
sleep 3
|
||||
hyprctl reload &
|
||||
novnc &
|
||||
#tmux new-session -s hyprland
|
||||
'')
|
||||
|
||||
(pkgs.writeShellScriptBin "colorPrefix" ''
|
||||
exec -a "$0" "$@" &
|
||||
sleep 0.4 && changeColors &
|
||||
'')
|
||||
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
{ config, lib, pkgs, inputs, ... }: {
|
||||
|
||||
imports = [ inputs.ags.homeManagerModules.default ];
|
||||
|
||||
options.homeconfig.ags.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.homeconfig.ags.enable {
|
||||
programs.ags = {
|
||||
enable = true;
|
||||
|
||||
extraPackages = with pkgs; [
|
||||
gtksourceview
|
||||
webkitgtk
|
||||
accountsservice
|
||||
];
|
||||
};
|
||||
|
||||
home.file.".config/ags/launcher.js".text = /*javascript*/ ''
|
||||
function Launcher() {
|
||||
return Widget.EventBox({
|
||||
class_name: "launcher",
|
||||
hpack: "center",
|
||||
child: Widget.Icon({
|
||||
icon: '${pkgs.nixos-icons}/share/icons/hicolor/48x48/apps/nix-snowflake.png',
|
||||
css: 'font-size: 24px;'
|
||||
}),
|
||||
on_primary_click: () => {Utils.execAsync('rofi -show drun')},
|
||||
margin_left: 10,
|
||||
})
|
||||
}
|
||||
|
||||
export default Launcher
|
||||
'';
|
||||
|
||||
};
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
options.homeconfig.ags2.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.homeconfig.ags2.enable {
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
options.homeconfig.calcurse.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.homeconfig.calcurse.enable {
|
||||
home.packages = with pkgs; [
|
||||
calcurse
|
||||
libnotify
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
{ config, lib, pkgs, inputs, ... }: {
|
||||
|
||||
imports = [
|
||||
./ags
|
||||
./hyprland
|
||||
./terminal
|
||||
./rofi
|
||||
./pywal
|
||||
./swaylock
|
||||
./calcurse
|
||||
./wayvnc
|
||||
./firefox
|
||||
];
|
||||
|
||||
config = {
|
||||
|
||||
home.packages = [
|
||||
inputs.nixvim.packages.${pkgs.system}.pywal
|
||||
];
|
||||
|
||||
home.sessionVariables.EDITOR = "nvim";
|
||||
};
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
{ config, lib, pkgs, inputs, ... }: {
|
||||
|
||||
options.homeconfig.firefox.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.homeconfig.firefox.enable {
|
||||
|
||||
programs.firefox = {
|
||||
|
||||
enable = true;
|
||||
package = pkgs.firefox;
|
||||
|
||||
profiles.nathan = {
|
||||
search = {
|
||||
default = "DuckDuckGo";
|
||||
privateDefault = "DuckDuckGo";
|
||||
};
|
||||
bookmarks = [
|
||||
|
||||
{
|
||||
name = "toolbar";
|
||||
toolbar = true;
|
||||
bookmarks = [
|
||||
{
|
||||
name = "NixOS Search - Packages";
|
||||
url = "https://search.nixos.org/packages";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
extensions = with inputs.firefox-addons.packages.${pkgs.system}; [
|
||||
ublock-origin
|
||||
keepassxc-browser
|
||||
pywalfox
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
options.homeconfig.hyprland.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.homeconfig.hyprland.enable {
|
||||
|
||||
home.sessionVariables.NIX_OZONE_WL = "1";
|
||||
|
||||
programs.kitty.enable = lib.mkDefault true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
pyprland
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
|
||||
enable = true;
|
||||
|
||||
systemd = {
|
||||
enable = true;
|
||||
variables = [ "--all" ];
|
||||
};
|
||||
|
||||
extraConfig = let
|
||||
monitor = if config.homeconfig.host == "laptop" then ''
|
||||
monitor=eDP-1,1920x1080@60,0x0,1
|
||||
'' else if config.homeconfig.host == "homebox" then ''
|
||||
monitor=HDMI-A-2,1920x1080@60,0x0,1
|
||||
monitor=HEADLESS-2,1920x1080@60,0x0,1
|
||||
exec-once=kitty -e tmux new-session -s hypr
|
||||
'' else '''';
|
||||
in ''
|
||||
source = /home/nathan/.config/hypr/main.conf
|
||||
'' + monitor;
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
{ config, lib, pkgs, inputs, ... }: {
|
||||
|
||||
options.homeconfig.wal.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = let
|
||||
pywalfox-wrapper = pkgs.writeShellScriptBin "pywalfox-wrapper" ''
|
||||
${pkgs.pywalfox-native}/bin/pywalfox start
|
||||
'';
|
||||
in lib.mkIf config.homeconfig.wal.enable {
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
||||
inputs.themecord.packages.${pkgs.system}.default
|
||||
vesktop
|
||||
|
||||
pywal16
|
||||
imagemagick
|
||||
pywalfox-native
|
||||
];
|
||||
|
||||
home.file.".mozilla/native-messaging-hosts/pywalfox.json".text = lib.replaceStrings [ "<path>" ] [
|
||||
"${pywalfox-wrapper}/bin/pywalfox-wrapper"
|
||||
] (lib.readFile "${pkgs.pywalfox-native}/lib/python3.12/site-packages/pywalfox/assets/manifest.json");
|
||||
|
||||
};
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
options.homeconfig.rofi.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.homeconfig.rofi.enable {
|
||||
programs.rofi = {
|
||||
|
||||
enable = true;
|
||||
package = pkgs.rofi-wayland;
|
||||
|
||||
cycle = true;
|
||||
|
||||
theme = "/home/nathan/.cache/wal/colors-rofi-dark.rasi";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
options.homeconfig.swaylock.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.homeconfig.swaylock.enable {
|
||||
|
||||
home.packages = with pkgs; [ swaylock-effects ];
|
||||
};
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
programs.bat = {
|
||||
|
||||
enable = true;
|
||||
|
||||
extraPackages = with pkgs.bat-extras; [
|
||||
batman
|
||||
batpipe
|
||||
batgrep
|
||||
batdiff
|
||||
batwatch
|
||||
prettybat
|
||||
];
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{ ... }: {
|
||||
|
||||
imports = [
|
||||
./bat
|
||||
./eza
|
||||
./fzf
|
||||
./tmux
|
||||
./kitty
|
||||
./zoxide
|
||||
./zsh
|
||||
];
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
programs.eza = {
|
||||
|
||||
enable = true;
|
||||
|
||||
enableZshIntegration = true;
|
||||
|
||||
extraOptions = [
|
||||
"--color=auto"
|
||||
];
|
||||
|
||||
git = true;
|
||||
|
||||
icons = "auto";
|
||||
};
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
programs.fzf = {
|
||||
|
||||
enable = true;
|
||||
|
||||
enableZshIntegration = true;
|
||||
|
||||
tmux = {
|
||||
#enableShellIntegration = true;
|
||||
|
||||
#shellIntegrationOptions = [];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
programs.kitty = {
|
||||
|
||||
enable = true;
|
||||
|
||||
font = {
|
||||
name = "FiraCode Nerd Font";
|
||||
size = 12;
|
||||
};
|
||||
|
||||
extraConfig = ''
|
||||
|
||||
confirm_os_window_close 0
|
||||
|
||||
include ${config.home.homeDirectory}/.cache/wal/colors-kitty.conf
|
||||
|
||||
disable_ligatures never
|
||||
|
||||
dynamic_background_opacity yes
|
||||
|
||||
tab_bar_edge top
|
||||
|
||||
map ctrl+shift+t new_tab
|
||||
map ctrl+shift+w close_tab
|
||||
|
||||
map ctrl+tab next_tab
|
||||
map ctrl+shift+tab previous_tab
|
||||
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
programs.tmux = {
|
||||
|
||||
enable = true;
|
||||
|
||||
clock24 = true;
|
||||
|
||||
mouse = true;
|
||||
|
||||
baseIndex = 1;
|
||||
|
||||
keyMode = "vi";
|
||||
|
||||
prefix = "C-b";
|
||||
|
||||
shell = "${pkgs.zsh}/bin/zsh";
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
programs.zoxide = {
|
||||
|
||||
enable = true;
|
||||
|
||||
enableZshIntegration = true;
|
||||
|
||||
options = [
|
||||
"--cmd cd"
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,156 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
home.packages = with pkgs; [
|
||||
oh-my-posh
|
||||
];
|
||||
|
||||
programs.zsh = {
|
||||
|
||||
enable = true;
|
||||
|
||||
enableCompletion = true;
|
||||
|
||||
autosuggestion.enable = true;
|
||||
|
||||
syntaxHighlighting.enable = true;
|
||||
|
||||
shellAliases = {
|
||||
ls = "eza";
|
||||
ll = "ls -l";
|
||||
|
||||
ksh = "kitten ssh";
|
||||
|
||||
vi = "nvim";
|
||||
vim = "nvim";
|
||||
|
||||
};
|
||||
|
||||
history = {
|
||||
size = 5000;
|
||||
ignoreAllDups = true;
|
||||
ignoreSpace = true;
|
||||
share = true;
|
||||
};
|
||||
|
||||
initContent = lib.mkBefore ''
|
||||
cat ${config.home.homeDirectory}/.cache/wal/sequences
|
||||
eval "$(oh-my-posh init zsh --config ${config.home.homeDirectory}/.cache/wal/ohmyposh.toml)"
|
||||
'';
|
||||
|
||||
};
|
||||
|
||||
home.file.".config/wal/templates/ohmyposh.toml".text = ''
|
||||
#:schema https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
|
||||
|
||||
version = 2
|
||||
final_space = true
|
||||
console_title_template = '{{{{ .Shell }}}} in {{{{ .Folder }}}}'
|
||||
|
||||
[[blocks]]
|
||||
type = 'prompt'
|
||||
alignment = 'left'
|
||||
newline = true
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'os'
|
||||
style = 'diamond'
|
||||
trailing_diamond = ''
|
||||
background = 'p:c1'
|
||||
foreground = 'p:c12'
|
||||
template = ' {{{{ .Icon }}}} '
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'session'
|
||||
style = 'diamond'
|
||||
trailing_diamond = ''
|
||||
background = 'p:c2'
|
||||
foreground = 'p:c14'
|
||||
template = '{{{{ .UserName }}}}@{{{{ .HostName }}}}'
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'path'
|
||||
style = 'diamond'
|
||||
trailing_diamond = ''
|
||||
background = 'p:c4'
|
||||
foreground = 'p:c13'
|
||||
template = '{{{{ .Path }}}}'
|
||||
|
||||
[blocks.segments.properties]
|
||||
style = 'full'
|
||||
|
||||
[[blocks]]
|
||||
type = 'prompt'
|
||||
overflow = 'hidden'
|
||||
alignment = 'right'
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'executiontime'
|
||||
style = 'diamond'
|
||||
leading_diamond = ''
|
||||
background = 'p:c4'
|
||||
foreground = 'p:c13'
|
||||
template = '{{{{ .FormattedMs }}}}'
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'time'
|
||||
style = 'diamond'
|
||||
leading_diamond = ''
|
||||
background = 'p:c2'
|
||||
foreground = 'p:c14'
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'shell'
|
||||
style = 'diamond'
|
||||
leading_diamond = ''
|
||||
background = 'p:c1'
|
||||
foreground = 'p:c12'
|
||||
|
||||
[[blocks]]
|
||||
type = 'prompt'
|
||||
alignment = 'left'
|
||||
newline = true
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'text'
|
||||
style = 'plain'
|
||||
background = 'transparent'
|
||||
foreground_templates = [
|
||||
"{{{{ if gt .Code 0 }}}}p:c13{{{{end}}}}",
|
||||
"{{{{ if eq .Code 0 }}}}p:c14{{{{end}}}}",
|
||||
]
|
||||
template = "{{{{ if gt .Code 0 }}}}!❭ {{{{else}}}}❭ {{{{end}}}}"
|
||||
|
||||
[transient_prompt]
|
||||
foreground_templates = [
|
||||
"{{{{ if gt .Code 0 }}}}p:c13{{{{end}}}}",
|
||||
"{{{{ if eq .Code 0 }}}}p:c14{{{{end}}}}",
|
||||
]
|
||||
background = 'transparent'
|
||||
template = "{{{{ if gt .Code 0 }}}}!❭ {{{{else}}}}❭ {{{{end}}}}"
|
||||
|
||||
[secondary_prompt]
|
||||
background = 'transparent'
|
||||
forground = 'p:c14'
|
||||
template = "❭❭ "
|
||||
|
||||
|
||||
[palette]
|
||||
|
||||
c0 = "{color0}"
|
||||
c1 = "{color1}"
|
||||
c2 = "{color2}"
|
||||
c3 = "{color3}"
|
||||
c4 = "{color4}"
|
||||
c5 = "{color5}"
|
||||
c6 = "{color6}"
|
||||
c7 = "{color7}"
|
||||
c8 = "{color8}"
|
||||
c9 = "{color9}"
|
||||
c10 = "{color10}"
|
||||
c11 = "{color11}"
|
||||
c12 = "{color12}"
|
||||
c13 = "{color13}"
|
||||
c14 = "{color14}"
|
||||
c15 = "{color15}"
|
||||
'';
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
options.homeconfig.wayvnc.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.homeconfig.wayvnc.enable {
|
||||
home.packages = with pkgs; [
|
||||
wayvnc
|
||||
novnc
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{}: {}
|
||||
@@ -1,5 +0,0 @@
|
||||
{ ... }: {
|
||||
imports = [
|
||||
./mpd
|
||||
];
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
options = {
|
||||
homeconfig.mpd.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.homeconfig.mpd.enable {
|
||||
services.mpd = {
|
||||
enable = true;
|
||||
network.startWhenNeeded = true;
|
||||
network.port = 6600;
|
||||
network.listenAddress = "127.0.0.1";
|
||||
musicDirectory = "/home/nathan/Music";
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
name "Audio1"
|
||||
}
|
||||
audio_output {
|
||||
type "fifo"
|
||||
name "visualizer"
|
||||
path "/tmp/mpd.fifo"
|
||||
format "44100:16:1"
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
services.mpdris2 = {
|
||||
enable = true;
|
||||
mpd.host = "127.0.0.1";
|
||||
mpd.port = 6600;
|
||||
package = pkgs.mpdris2;
|
||||
mpd.musicDirectory = "/home/nathan/Music";
|
||||
notifications = true;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
{ config, lib, pkgs, inputs, ... }: {
|
||||
|
||||
imports = [
|
||||
./programs
|
||||
./services
|
||||
./packages
|
||||
./dotfiles
|
||||
];
|
||||
|
||||
options.homeconfig = {
|
||||
host = lib.options.mkOption {
|
||||
type = lib.types.str;
|
||||
default = null;
|
||||
};
|
||||
|
||||
home-manager.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
|
||||
home.stateVersion = "24.11";
|
||||
|
||||
home.username = "nix-on-droid";
|
||||
|
||||
home.homeDirectory = "/data/data/com.termux.nix/files/home";
|
||||
|
||||
nix = {
|
||||
package = pkgs.nix;
|
||||
|
||||
nixPath = [
|
||||
"nixpkgs=${inputs.nixpkgs}"
|
||||
];
|
||||
|
||||
settings = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
};
|
||||
};
|
||||
|
||||
programs.ssh.enable = true;
|
||||
|
||||
programs.home-manager.enable = config.homeconfig.home-manager.enable;
|
||||
|
||||
};
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 1007 KiB |
|
Before Width: | Height: | Size: 110 MiB |
|
Before Width: | Height: | Size: 191 KiB |
|
Before Width: | Height: | Size: 874 KiB |
|
Before Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 48 MiB |
|
Before Width: | Height: | Size: 203 MiB |
|
Before Width: | Height: | Size: 670 KiB |
|
Before Width: | Height: | Size: 273 KiB |
|
Before Width: | Height: | Size: 140 MiB |
|
Before Width: | Height: | Size: 3.1 MiB |
|
Before Width: | Height: | Size: 2.8 MiB |
|
Before Width: | Height: | Size: 36 MiB |
@@ -1,8 +0,0 @@
|
||||
{ config, lib, ... }: {
|
||||
|
||||
home.file = {
|
||||
".config/wal/templates" = { source = ./wal/templates; recursive = true; };
|
||||
"Pictures/Wallpaper" = { source = ./Wallpaper; recursive = true; };
|
||||
};
|
||||
|
||||
}
|
||||
@@ -1,279 +0,0 @@
|
||||
## Configuration file for CAVA.
|
||||
# Remove the ; to change parameters.
|
||||
|
||||
|
||||
[general]
|
||||
|
||||
# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. DEPRECATED as of 0.6.0
|
||||
; mode = normal
|
||||
|
||||
# Accepts only non-negative values.
|
||||
; framerate = 60
|
||||
|
||||
# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off
|
||||
# new as of 0.6.0 autosens of low values (dynamic range)
|
||||
# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. DEPRECATED as of 0.6.0
|
||||
; autosens = 1
|
||||
; overshoot = 20
|
||||
|
||||
# Manual sensitivity in %. If autosens is enabled, this will only be the initial value.
|
||||
# 200 means double height. Accepts only non-negative values.
|
||||
; sensitivity = 100
|
||||
|
||||
# The number of bars (0-512). 0 sets it to auto (fill up console).
|
||||
# Bars' width and space between bars in number of characters.
|
||||
; bars = 0
|
||||
; bar_width = 2
|
||||
; bar_spacing = 1
|
||||
# bar_height is only used for output in "noritake" format
|
||||
; bar_height = 32
|
||||
|
||||
# For SDL width and space between bars is in pixels, defaults are:
|
||||
; bar_width = 20
|
||||
; bar_spacing = 5
|
||||
|
||||
# sdl_glsl have these default values, they are only used to calulate max number of bars.
|
||||
; bar_width = 1
|
||||
; bar_spacing = 0
|
||||
|
||||
|
||||
# Lower and higher cutoff frequencies for lowest and highest bars
|
||||
# the bandwidth of the visualizer.
|
||||
# Note: there is a minimum total bandwidth of 43Mhz x number of bars.
|
||||
# Cava will automatically increase the higher cutoff if a too low band is specified.
|
||||
; lower_cutoff_freq = 50
|
||||
; higher_cutoff_freq = 10000
|
||||
|
||||
|
||||
# Seconds with no input before cava goes to sleep mode. Cava will not perform FFT or drawing and
|
||||
# only check for input once per second. Cava will wake up once input is detected. 0 = disable.
|
||||
; sleep_timer = 0
|
||||
|
||||
|
||||
[input]
|
||||
|
||||
# Audio capturing method. Possible methods are: 'fifo', 'portaudio', 'pipewire', 'alsa', 'pulse', 'sndio', 'oss', 'jack' or 'shmem'
|
||||
# Defaults to 'oss', 'pipewire', 'sndio', 'jack', 'pulse', 'alsa', 'portaudio' or 'fifo', in that order, dependent on what support cava was built with.
|
||||
# On Mac it defaults to 'portaudio' or 'fifo'
|
||||
# On windows this is automatic and no input settings are needed.
|
||||
#
|
||||
# All input methods uses the same config variable 'source'
|
||||
# to define where it should get the audio.
|
||||
#
|
||||
# For pulseaudio and pipewire 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink
|
||||
# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them).
|
||||
#
|
||||
# For pipewire 'source' will be the object name or object.serial of the device to capture from.
|
||||
# Both input and output devices are supported.
|
||||
#
|
||||
# For alsa 'source' will be the capture device.
|
||||
# For fifo 'source' will be the path to fifo-file.
|
||||
# For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address
|
||||
#
|
||||
# For sndio 'source' will be a raw recording audio descriptor or a monitoring sub-device, e.g. 'rsnd/2' or 'snd/1'. Default: 'default'.
|
||||
# README.md contains further information on how to setup CAVA for sndio.
|
||||
#
|
||||
# For oss 'source' will be the path to a audio device, e.g. '/dev/dsp2'. Default: '/dev/dsp', i.e. the default audio device.
|
||||
# README.md contains further information on how to setup CAVA for OSS on FreeBSD.
|
||||
#
|
||||
# For jack 'source' will be the name of the JACK server to connect to, e.g. 'foobar'. Default: 'default'.
|
||||
# README.md contains further information on how to setup CAVA for JACK.
|
||||
#
|
||||
; method = pulse
|
||||
; source = auto
|
||||
|
||||
; method = pipewire
|
||||
; source = auto
|
||||
|
||||
; method = alsa
|
||||
; source = hw:Loopback,1
|
||||
|
||||
; method = fifo
|
||||
; source = /tmp/mpd.fifo
|
||||
|
||||
; method = shmem
|
||||
; source = /squeezelite-AA:BB:CC:DD:EE:FF
|
||||
|
||||
; method = portaudio
|
||||
; source = auto
|
||||
|
||||
; method = sndio
|
||||
; source = default
|
||||
|
||||
; method = oss
|
||||
; source = /dev/dsp
|
||||
|
||||
; method = jack
|
||||
; source = default
|
||||
|
||||
# The options 'sample_rate', 'sample_bits', 'channels' and 'autoconnect' can be configured for some input methods:
|
||||
# sample_rate: fifo, pipewire, sndio, oss
|
||||
# sample_bits: fifo, pipewire, sndio, oss
|
||||
# channels: sndio, oss, jack
|
||||
# autoconnect: jack
|
||||
# Other methods ignore these settings.
|
||||
#
|
||||
# For 'sndio' and 'oss' they are only preferred values, i.e. if the values are not supported
|
||||
# by the chosen audio device, the device will use other supported values instead.
|
||||
# Example: 48000, 32 and 2, but the device only supports 44100, 16 and 1, then it
|
||||
# will use 44100, 16 and 1.
|
||||
#
|
||||
; sample_rate = 44100
|
||||
; sample_bits = 16
|
||||
; channels = 2
|
||||
; autoconnect = 2
|
||||
|
||||
|
||||
[output]
|
||||
|
||||
# Output method. Can be 'ncurses', 'noncurses', 'raw', 'noritake', 'sdl'
|
||||
# or 'sdl_glsl'.
|
||||
# 'noncurses' (default) uses a buffer and cursor movements to only print
|
||||
# changes from frame to frame in the terminal. Uses less resources and is less
|
||||
# prone to tearing (vsync issues) than 'ncurses'.
|
||||
#
|
||||
# 'raw' is an 8 or 16 bit (configurable via the 'bit_format' option) data
|
||||
# stream of the bar heights that can be used to send to other applications.
|
||||
# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above.
|
||||
#
|
||||
# 'noritake' outputs a bitmap in the format expected by a Noritake VFD display
|
||||
# in graphic mode. It only support the 3000 series graphical VFDs for now.
|
||||
#
|
||||
# 'sdl' uses the Simple DirectMedia Layer to render in a graphical context.
|
||||
# 'sdl_glsl' uses SDL to create an OpenGL context. Write your own shaders or
|
||||
# use one of the predefined ones.
|
||||
; method = noncurses
|
||||
|
||||
# Orientation of the visualization. Can be 'bottom', 'top', 'left' or 'right'.
|
||||
# Default is 'bottom'. Other orientations are only supported on sdl and ncruses
|
||||
# output. Note: many fonts have weird glyphs for 'top' and 'right' characters,
|
||||
# which can make ncurses not look right.
|
||||
; orientation = bottom
|
||||
|
||||
# Visual channels. Can be 'stereo' or 'mono'.
|
||||
# 'stereo' mirrors both channels with low frequencies in center.
|
||||
# 'mono' outputs left to right lowest to highest frequencies.
|
||||
# 'mono_option' set mono to either take input from 'left', 'right' or 'average'.
|
||||
# set 'reverse' to 1 to display frequencies the other way around.
|
||||
; channels = stereo
|
||||
; mono_option = average
|
||||
; reverse = 0
|
||||
|
||||
# Raw output target. A fifo will be created if target does not exist.
|
||||
; raw_target = /dev/stdout
|
||||
|
||||
# Raw data format. Can be 'binary' or 'ascii'.
|
||||
; data_format = binary
|
||||
|
||||
# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
|
||||
; bit_format = 16bit
|
||||
|
||||
# Ascii max value. In 'ascii' mode range will run from 0 to value specified here
|
||||
; ascii_max_range = 1000
|
||||
|
||||
# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters.
|
||||
# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)).
|
||||
; bar_delimiter = 59
|
||||
; frame_delimiter = 10
|
||||
|
||||
# sdl window size and position. -1,-1 is centered.
|
||||
; sdl_width = 1000
|
||||
; sdl_height = 500
|
||||
; sdl_x = -1
|
||||
; sdl_y= -1
|
||||
; sdl_full_screen = 0
|
||||
|
||||
# set label on bars on the x-axis. Can be 'frequency' or 'none'. Default: 'none'
|
||||
# 'frequency' displays the lower cut off frequency of the bar above.
|
||||
# Only supported on ncurses and noncurses output.
|
||||
; xaxis = none
|
||||
|
||||
# enable alacritty synchronized updates. 1 = on, 0 = off
|
||||
# removes flickering in alacritty terminal emulator.
|
||||
# defaults to off since the behaviour in other terminal emulators is unknown
|
||||
; alacritty_sync = 0
|
||||
|
||||
# Shaders for sdl_glsl, located in $HOME/.config/cava/shaders
|
||||
; vertex_shader = pass_through.vert
|
||||
; fragment_shader = bar_spectrum.frag
|
||||
|
||||
; for glsl output mode, keep rendering even if no audio
|
||||
; continuous_rendering = 0
|
||||
|
||||
# disable console blank (screen saver) in tty
|
||||
# (Not supported on FreeBSD)
|
||||
; disable_blanking = 0
|
||||
|
||||
# show a flat bar at the bottom of the screen when idle, 1 = on, 0 = off
|
||||
; show_idle_bar_heads = 1
|
||||
|
||||
# show waveform instead of frequency spectrum, 1 = on, 0 = off
|
||||
; waveform = 0
|
||||
|
||||
[color]
|
||||
|
||||
# Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow.
|
||||
# Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires
|
||||
# a terminal that can change color definitions such as Gnome-terminal or rxvt.
|
||||
# default is to keep current terminal color
|
||||
; background = default
|
||||
; foreground = default
|
||||
|
||||
# SDL and sdl_glsl only support hex code colors, these are the default:
|
||||
; background = '#111111'
|
||||
; foreground = '#33ffff'
|
||||
|
||||
|
||||
# Gradient mode, only hex defined colors are supported,
|
||||
# background must also be defined in hex or remain commented out. 1 = on, 0 = off.
|
||||
# You can define as many as 8 different colors. They range from bottom to top of screen
|
||||
gradient = 1
|
||||
gradient_count = 8
|
||||
gradient_color_1 = '{color1}'
|
||||
gradient_color_2 = '{color2}'
|
||||
gradient_color_3 = '{color3}'
|
||||
gradient_color_4 = '{color4}'
|
||||
gradient_color_5 = '{color5}'
|
||||
gradient_color_6 = '{color6}'
|
||||
gradient_color_7 = '{color7}'
|
||||
gradient_color_8 = '{color8}'
|
||||
|
||||
|
||||
|
||||
[smoothing]
|
||||
|
||||
# Percentage value for integral smoothing. Takes values from 0 - 100.
|
||||
# Higher values means smoother, but less precise. 0 to disable.
|
||||
# DEPRECATED as of 0.8.0, use noise_reduction instead
|
||||
; integral = 77
|
||||
|
||||
# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable.
|
||||
; monstercat = 0
|
||||
; waves = 0
|
||||
|
||||
# Set gravity percentage for "drop off". Higher values means bars will drop faster.
|
||||
# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
|
||||
# DEPRECATED as of 0.8.0, use noise_reduction instead
|
||||
; gravity = 100
|
||||
|
||||
|
||||
# In bar height, bars that would have been lower that this will not be drawn.
|
||||
# DEPRECATED as of 0.8.0
|
||||
; ignore = 0
|
||||
|
||||
# Noise reduction, int 0 - 100. default 77
|
||||
# the raw visualization is very noisy, this factor adjusts the integral and gravity filters to keep the signal smooth
|
||||
# 100 will be very slow and smooth, 0 will be fast but noisy.
|
||||
; noise_reduction = 77
|
||||
|
||||
|
||||
[eq]
|
||||
|
||||
# This one is tricky. You can have as much keys as you want.
|
||||
# Remember to uncomment more than one key! More keys = more precision.
|
||||
# Look at readme.md on github for further explanations and examples.
|
||||
; 1 = 1 # bass
|
||||
; 2 = 1
|
||||
; 3 = 1 # midtone
|
||||
; 4 = 1
|
||||
; 5 = 1 # treble
|
||||
@@ -1,68 +0,0 @@
|
||||
{ config, lib, pkgs, inputs, ... }: let
|
||||
system = "x86_64-linux";
|
||||
|
||||
pkgs-us = import inputs.nixpkgs-us {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
|
||||
in {
|
||||
|
||||
imports = [
|
||||
./scripts
|
||||
];
|
||||
|
||||
options.homeconfig.minimal = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkMerge [
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
killall
|
||||
zip
|
||||
unzip
|
||||
gcc
|
||||
zulu
|
||||
rsync
|
||||
git
|
||||
openssh
|
||||
];
|
||||
}
|
||||
|
||||
(lib.mkIf (!config.homeconfig.minimal) {
|
||||
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; let
|
||||
pypkgs = ps: with ps; [
|
||||
numpy
|
||||
pandas
|
||||
torch
|
||||
torchvision
|
||||
torchaudio
|
||||
transformers
|
||||
datasets
|
||||
pyaudio
|
||||
faster-whisper
|
||||
pyusb
|
||||
];
|
||||
|
||||
in [
|
||||
|
||||
cava
|
||||
neovim-remote
|
||||
|
||||
(pkgs.python311.withPackages pypkgs)
|
||||
|
||||
neofetch
|
||||
];
|
||||
|
||||
})
|
||||
];
|
||||
|
||||
}
|
||||
@@ -1,97 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
options = {
|
||||
homeScripts.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.homeScripts.enable {
|
||||
home.packages = [
|
||||
|
||||
#scripts
|
||||
(pkgs.writeShellScriptBin "_systemRebuild" ''
|
||||
${pkgs.nh}/bin/nh os switch --ask /home/nathan/Projects/System
|
||||
echo //////Enter to close//////
|
||||
read
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "_homeRebuild" ''
|
||||
${pkgs.nh}/bin/nh home switch --ask /home/nathan/Projects/System
|
||||
echo //////Enter to close//////
|
||||
read
|
||||
'')
|
||||
|
||||
(pkgs.writeShellScriptBin "randWallpaper" ''
|
||||
file=$(ls /home/nathan/Pictures/Wallpaper/ | shuf -n 1)
|
||||
setWallpaper /home/nathan/Pictures/Wallpaper/$file
|
||||
'')
|
||||
|
||||
(pkgs.writeShellScriptBin "setWallpaper" ''
|
||||
img=''$(realpath ''${1:-~/.cache/bg})
|
||||
p=''$(ps -e | grep mpvpaper | sed -n -e "s/ *//" -e "s/ /\n/" -e "1 P")
|
||||
${pkgs.mpvpaper}/bin/mpvpaper -f -o "loop" '*' $img && \
|
||||
changeColors $img $2 && \
|
||||
sleep 0.4 && \
|
||||
kill $p
|
||||
'')
|
||||
|
||||
(pkgs.writeShellScriptBin "changeColors" ''
|
||||
|
||||
if [[ $(ls ~/.cache/ | grep bga) != bga ]]; then
|
||||
echo 100 > ~/.cache/bga
|
||||
fi
|
||||
|
||||
alpha=''${2:-`cat ~/.cache/bga`}
|
||||
|
||||
img=''$(realpath ''${1:-~/.cache/bg})
|
||||
|
||||
if [[ $alpha -lt 0 ]]; then
|
||||
$alpha=0
|
||||
fi
|
||||
|
||||
if [[ $alpha -gt 100 ]]; then
|
||||
$alpha=100
|
||||
fi
|
||||
|
||||
wal -i $img -a $alpha --cols16 -n
|
||||
|
||||
echo $alpha > ~/.cache/bga
|
||||
|
||||
rm ~/.cache/bg
|
||||
ln -s $img ~/.cache/bg
|
||||
|
||||
sleep 0.4
|
||||
|
||||
pywalfox update &
|
||||
|
||||
themecord > ~/.cache/_.txt && rm ~/.cache/_.txt
|
||||
|
||||
[[ $(pidof cava) != "" ]] && pkill -USR1 cava &
|
||||
|
||||
for i in $(ls /run/user/1000 | grep nvim); do nvr -s --servername /run/user/1000/$i --remote-send '<cmd>colorscheme pywal<CR>'; done
|
||||
|
||||
pkill -USR1 kitty
|
||||
'')
|
||||
|
||||
(pkgs.writeShellScriptBin "onSystemStart" ''
|
||||
randWallpaper &
|
||||
ags &
|
||||
pypr &
|
||||
lxqt-policykit-agent &
|
||||
# nmcli device wifi connect EagleNet password '~?C#@ZiH' &
|
||||
hyprctl setcursor Bibata-Modern-Classic 16 &
|
||||
wayvnc &
|
||||
hyprctl reload &
|
||||
novnc &
|
||||
'')
|
||||
|
||||
(pkgs.writeShellScriptBin "colorPrefix" ''
|
||||
exec -a "$0" "$@" &
|
||||
sleep 0.4 && changeColors &
|
||||
'')
|
||||
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
options.homeconfig.calcurse.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.homeconfig.calcurse.enable {
|
||||
home.packages = with pkgs; [
|
||||
calcurse
|
||||
libnotify
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{ config, lib, pkgs, inputs, ... }: {
|
||||
|
||||
imports = [
|
||||
./terminal
|
||||
./pywal
|
||||
./calcurse
|
||||
];
|
||||
|
||||
config = {
|
||||
|
||||
home.packages = [
|
||||
inputs.nixvim.packages.${pkgs.system}.default
|
||||
];
|
||||
|
||||
home.sessionVariables.EDITOR = "nvim";
|
||||
};
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
{ config, lib, pkgs, inputs, ... }: {
|
||||
|
||||
options.homeconfig.wal.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.homeconfig.wal.enable {
|
||||
|
||||
home.packages = with pkgs; [
|
||||
pywal16
|
||||
imagemagick
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
programs.bat = {
|
||||
|
||||
enable = true;
|
||||
|
||||
extraPackages = with pkgs.bat-extras; [
|
||||
batman
|
||||
batpipe
|
||||
batgrep
|
||||
batdiff
|
||||
batwatch
|
||||
prettybat
|
||||
];
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{ ... }: {
|
||||
|
||||
imports = [
|
||||
./bat
|
||||
./eza
|
||||
./fzf
|
||||
./tmux
|
||||
./kitty
|
||||
./zoxide
|
||||
./zsh
|
||||
];
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
programs.eza = {
|
||||
|
||||
enable = true;
|
||||
|
||||
enableZshIntegration = true;
|
||||
|
||||
extraOptions = [
|
||||
"--color=auto"
|
||||
];
|
||||
|
||||
git = true;
|
||||
|
||||
icons = "auto";
|
||||
};
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
programs.fzf = {
|
||||
|
||||
enable = true;
|
||||
|
||||
enableZshIntegration = true;
|
||||
|
||||
tmux = {
|
||||
#enableShellIntegration = true;
|
||||
|
||||
#shellIntegrationOptions = [];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
programs.kitty = {
|
||||
|
||||
enable = true;
|
||||
|
||||
font = {
|
||||
name = "FiraCode Nerd Font";
|
||||
size = 12;
|
||||
};
|
||||
|
||||
extraConfig = ''
|
||||
|
||||
confirm_os_window_close 0
|
||||
|
||||
include ${config.home.homeDirectory}/.cache/wal/colors-kitty.conf
|
||||
|
||||
disable_ligatures never
|
||||
|
||||
dynamic_background_opacity yes
|
||||
|
||||
tab_bar_edge top
|
||||
|
||||
map ctrl+shift+t new_tab
|
||||
map ctrl+shift+w close_tab
|
||||
|
||||
map ctrl+tab next_tab
|
||||
map ctrl+shift+tab previous_tab
|
||||
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
programs.tmux = {
|
||||
|
||||
enable = true;
|
||||
|
||||
clock24 = true;
|
||||
|
||||
mouse = true;
|
||||
|
||||
baseIndex = 1;
|
||||
|
||||
keyMode = "vi";
|
||||
|
||||
prefix = "C-b";
|
||||
|
||||
shell = "${pkgs.zsh}/bin/zsh";
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
programs.zoxide = {
|
||||
|
||||
enable = true;
|
||||
|
||||
enableZshIntegration = true;
|
||||
|
||||
options = [
|
||||
"--cmd cd"
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{}: {}
|
||||
@@ -1,4 +0,0 @@
|
||||
{ ... }: {
|
||||
imports = [
|
||||
];
|
||||
}
|
||||
11
homes/nathan/home-manager/.sops.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
keys:
|
||||
- &homebox age1640eg0pnmkruc89m5xguz0m8fek44fl4tzez6qwuzlz6kmapqewsp8esxd
|
||||
- &laptop age1yqgyp2uxz4lzrc9f9ka0mfjl5fr6ahf8nf24nlmran2wulg6fpvq9hyp9q
|
||||
- &android age12pnf36uqesjmy3e0lythfnpwam3zg5mv8m936fc4jphy4ces2fdqwn0s74
|
||||
creation_rules:
|
||||
- path_regex: ^secrets.yaml$
|
||||
key_groups:
|
||||
- age:
|
||||
- *laptop
|
||||
- *homebox
|
||||
- *android
|
||||
113
homes/nathan/home-manager/default.nix
Normal file
@@ -0,0 +1,113 @@
|
||||
{ inputs, ... }: {
|
||||
|
||||
flake.homeModules.nathan = { config, lib, pkgs, ... }: {
|
||||
|
||||
imports = [
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
];
|
||||
|
||||
options.homeconfig = with lib; {
|
||||
|
||||
name = mkOption {
|
||||
type = with types; nullOr str;
|
||||
default = null;
|
||||
};
|
||||
|
||||
graphical = mkOption {
|
||||
type = with types; bool;
|
||||
default = true;
|
||||
};
|
||||
|
||||
standalone = mkOption {
|
||||
type = with types; bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
virtual-machines = mkOption {
|
||||
type = with types; bool;
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
config = {
|
||||
|
||||
homeconfig = {
|
||||
name = "nathan";
|
||||
|
||||
mpd.enable = lib.mkDefault true;
|
||||
calcurse.enable = lib.mkDefault true;
|
||||
git.enable = lib.mkDefault true;
|
||||
nh.enable = lib.mkDefault true;
|
||||
|
||||
minimal = lib.mkDefault false;
|
||||
hyprland.enable = lib.mkDefault config.homeconfig.graphical;
|
||||
hypridle.enable = lib.mkDefault config.homeconfig.hyprland.enable;
|
||||
wal.enable = lib.mkDefault config.homeconfig.graphical;
|
||||
rofi.enable = lib.mkDefault config.homeconfig.hyprland.enable;
|
||||
firefox.enable = lib.mkDefault config.homeconfig.graphical;
|
||||
|
||||
aurora.enable = lib.mkDefault config.homeconfig.hyprland.enable;
|
||||
};
|
||||
|
||||
home.username = lib.mkDefault config.homeconfig.name;
|
||||
|
||||
home.homeDirectory = lib.mkDefault "/home/${config.home.username}";
|
||||
|
||||
home.stateVersion = "23.11";
|
||||
|
||||
home.pointerCursor = lib.mkIf config.homeconfig.graphical {
|
||||
gtk.enable = true;
|
||||
package = pkgs.bibata-cursors;
|
||||
name = "Bibata-Modern-Classic";
|
||||
size = 16;
|
||||
};
|
||||
|
||||
dconf.settings = lib.mkIf config.homeconfig.virtual-machines {
|
||||
"org/virt-manager/virt-manager/connections" = {
|
||||
autoconnect = ["qemu:///system"];
|
||||
uris = ["qemu:///system"];
|
||||
};
|
||||
};
|
||||
|
||||
gtk = lib.mkIf (config.homeconfig.graphical && config.homeconfig.hyprland.enable) {
|
||||
enable = true;
|
||||
theme.name = "Tokyonight-Dark";
|
||||
theme.package = pkgs.tokyonight-gtk-theme;
|
||||
iconTheme.package = pkgs.rose-pine-icon-theme;
|
||||
iconTheme.name = "rose-pine-moon";
|
||||
};
|
||||
|
||||
sops = {
|
||||
age.keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
|
||||
defaultSopsFile = ./secrets.yaml;
|
||||
defaultSopsFormat = "yaml";
|
||||
|
||||
#secrets."remoteBuildKey" = {};
|
||||
};
|
||||
|
||||
services.mpris-proxy.enable = true;
|
||||
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
|
||||
matchBlocks = {
|
||||
"builder" = {
|
||||
hostname = "esotericbytes.com";
|
||||
user = "remote-builder";
|
||||
identityFile = "${config.home.homeDirectory}/.ssh/id_ed25519";
|
||||
port = 22;
|
||||
};
|
||||
|
||||
"remote" = {
|
||||
hostname = "esotericbytes.com";
|
||||
user = "nathan";
|
||||
identityFile = "${config.home.homeDirectory}/.ssh/id_ed25519";
|
||||
port = 22;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.0 MiB |
BIN
homes/nathan/home-manager/dotfiles/Wallpaper/chainsaw_man.png
Normal file
|
After Width: | Height: | Size: 2.9 MiB |
BIN
homes/nathan/home-manager/dotfiles/Wallpaper/eighty-six1.png
Normal file
|
After Width: | Height: | Size: 3.8 MiB |
BIN
homes/nathan/home-manager/dotfiles/Wallpaper/eighty-six2.png
Normal file
|
After Width: | Height: | Size: 5.2 MiB |
BIN
homes/nathan/home-manager/dotfiles/Wallpaper/eighty-six3.png
Normal file
|
After Width: | Height: | Size: 2.7 MiB |
BIN
homes/nathan/home-manager/dotfiles/Wallpaper/frieren.png
Normal file
|
After Width: | Height: | Size: 3.4 MiB |
0
home-manager/nathan/dotfiles/Wallpaper/galaxy.jpg → homes/nathan/home-manager/dotfiles/Wallpaper/galaxy.jpg
Executable file → Normal file
|
Before Width: | Height: | Size: 1007 KiB After Width: | Height: | Size: 1007 KiB |
BIN
homes/nathan/home-manager/dotfiles/Wallpaper/goblin_slayer1.png
Normal file
|
After Width: | Height: | Size: 3.5 MiB |
BIN
homes/nathan/home-manager/dotfiles/Wallpaper/goblin_slayer2.png
Normal file
|
After Width: | Height: | Size: 2.2 MiB |
BIN
homes/nathan/home-manager/dotfiles/Wallpaper/goblin_slayer3.png
Normal file
|
After Width: | Height: | Size: 2.9 MiB |
BIN
homes/nathan/home-manager/dotfiles/Wallpaper/higuruma.png
Normal file
|
After Width: | Height: | Size: 1.9 MiB |
BIN
homes/nathan/home-manager/dotfiles/Wallpaper/higuruma1.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 110 MiB After Width: | Height: | Size: 110 MiB |
|
Before Width: | Height: | Size: 191 KiB After Width: | Height: | Size: 191 KiB |
|
Before Width: | Height: | Size: 874 KiB After Width: | Height: | Size: 874 KiB |
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |