From 0443d95bcce6fe688a795b753bd39928687bcb4f Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Sat, 2 Dec 2023 17:21:37 -0800 Subject: [PATCH 1/6] add templates folder and first template --- resources/templates/miniflux.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 resources/templates/miniflux.py diff --git a/resources/templates/miniflux.py b/resources/templates/miniflux.py new file mode 100644 index 00000000..fb165cd6 --- /dev/null +++ b/resources/templates/miniflux.py @@ -0,0 +1,18 @@ +# https://github.com/starr-dusT/dotfiles +# Info: https://github.com/miniflux/python-client +import miniflux + +try: + client = miniflux.Client("", "", "") +except Exception as e: print(e) +print("client connected") + +# Example: Make substitution of feed url for Youtube feeds +feeds = client.get_feeds() +print(f"got {len(feeds)} feeds") +for feed in feeds: + id = feed['id'] + cat = feed['category']['title'] + if cat == "Youtube": + old_feed_url = feed['feed_url'] + client.update_feed(feed_id=id, feed_url=old_feed_url.replace("CustomYoutubeBridge","YoutubeBridge")) From e9e9a8c012ab547b014de45dca4b85f4c09210cb Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Sat, 2 Dec 2023 17:30:21 -0800 Subject: [PATCH 2/6] update additional-setup for chromium --- provision/additional-setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provision/additional-setup.md b/provision/additional-setup.md index 16e20dac..773fa508 100644 --- a/provision/additional-setup.md +++ b/provision/additional-setup.md @@ -82,7 +82,7 @@ and [New Tab Redirect](https://chromewebstore.google.com/detail/new-tab-redirect could not be fully automated. - Upon launch New Tab Redirect should prompt to set the new tab page. -Set to `https://blank.org`. +Set to `http://localhost:8080`. - Vimium config is saved in chezmoi. Open the vimium [plugin page](chrome-extension://dbepggeogbaibhgnhhndojpepiihcmeb/pages/options.html) and restore config from `~/.config/vimium-options.json`. From 869cb021533772ca6ccfb23ea08417153048d36a Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Sat, 2 Dec 2023 17:37:23 -0800 Subject: [PATCH 3/6] add btop --- provision/modules/system/terminal.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/provision/modules/system/terminal.nix b/provision/modules/system/terminal.nix index f5ae5573..c349f5f7 100644 --- a/provision/modules/system/terminal.nix +++ b/provision/modules/system/terminal.nix @@ -13,6 +13,7 @@ in { pciutils chezmoi nix-init + btop rbw # for rbw From 2bf93b6d6f1fd4bc5637f396203b45a38d84ef01 Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Sat, 2 Dec 2023 17:40:11 -0800 Subject: [PATCH 4/6] add rss to vimium exlude list --- home/dot_config/vimium-options.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/home/dot_config/vimium-options.json b/home/dot_config/vimium-options.json index 86b4866c..40a08a3e 100644 --- a/home/dot_config/vimium-options.json +++ b/home/dot_config/vimium-options.json @@ -2,5 +2,15 @@ "newTabUrl": "http://localhost:8080", "searchEngines": "# Daily\ngo: https://www.google.ie/search?q=%s Google\nyt: http://www.youtube.com/results?search_query=%s Youtube\n\n# NixOS\nnu: https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=%s Nixos Packages (Unstable)\nns: https://search.nixos.org/packages?channel=23.05&from=0&size=50&sort=relevance&type=packages&query=%s Nixos Packages (23.05)\nno: https://search.nixos.org/options?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=%s Nixos Options\n\n# Github\ngr: https://github.com/search?q=%s&type=repositories Github Repos\ngc: https://github.com/search?q=%s&type=code Github Code", "settingsVersion": "2.0.5", - "userDefinedLinkHintCss": "/*\nDracula theme for Vimium\nby Trollwut (trollwut@trollwut.org). This code is in the public domain.\nTo use:\n 1. Copy the code.\n 2. Go to the Vimium options.\n 3. Click Show Advanced Options.\n 4. Under Advanced Options, scroll down to CSS for link hints.\n 5. Paste the code in the text field.\n 6. Click Save Changes.\n 7. Go to the website of your choice (or, if you have it open already, reload it) and check out the results.\n*/\n\n/* Link hint boxes */\ndiv > .vimiumHintMarker {\n background: #282a36;\n font-size: 12px;\n border: 0.25em solid #ffb86c;\n border-radius: 0.34em;\n box-shadow: 0em 0.1em 0.6em 0.1em rgba(0, 0, 0, 0.4);\n}\n\n/* Link hint text */\ndiv > .vimiumHintMarker span {\n color: #f8f8f2;\n font-size: inherit;\n text-shadow: none;\n}\n\n/* Link hint matching characters */\ndiv > .vimiumHintMarker > .matchingCharacter {\n color: #6272a4;\n}\n\n/* HUD (\"heads-up display\") bar */\ndiv.vimiumHUD {\n background: #282a36;\n border: 1px solid #6272a4;\n}\n\ndiv.vimiumHUD .vimiumHUDSearchArea {\n background: #282a36;\n}\n\ndiv.vimiumHUD .hud-find {\n background: #282a36;\n border: none;\n color: #f8f8f2;\n}\n\ndiv.vimiumHUD span#hud-find-input{\n color: #f8f8f2; /* 'Foreground' color */\n}\n\ndiv.vimiumHUD span#hud-match-count {\n color: #6272a4; /* 'Comment' color */\n}\n\ndiv.vimiumHUD .vimiumHUDSearchAreaInner {\n color: #6272a4; /* 'Comment' color */\n}\n\n#vomnibar{\n background-color: #44475A;\n}\n\n#vomnibar input {\n color: #f8f8f2;\n font: -moz-window;\n /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/\n font-size: 20px;\n height: 34px;\n margin-bottom: 0;\n padding: 4px;\n background-color: #282a36;\n border-radius: 3px;\n border: 1px solid #6272a4;\n box-shadow: #bd93f9 0px 0px 1px;\n width: 100%;\n outline: none;\n box-sizing: border-box;\n}\n\n#vomnibar .vomnibarSearchArea {\n display: block;\n padding: 10px;\n background-color: #6272a4;\n border-radius: 4px 4px 0 0;\n border-bottom: 0px solid #bd93f9;\n}\n\n#vomnibar ul {\n background-color: #44475a;\n border-radius: 0 0 4px 4px;\n list-style: none;\n padding-top: 0;\n padding-bottom: 0;\n margin-block-start: 2px;\n margin-block-end: 0px;\n}\n\n#vomnibar li {\n border-bottom: 1px solid #6272a4;\n line-height: 1.1em;\n padding: 7px 10px;\n font-size: 16px;\n color: #f8f8f2;\n position: relative;\n display: list-item;\n margin: auto;\n}\n\n#vomnibar li .vomnibarBottomHalf {\n font-size: 15px;\n margin-top: 3px;\n padding: 2px 0;\n}\n\n#vomnibar li .vomnibarSource {\n color: #bd93f9;\n margin-right: 4px;\n}\n#vomnibar li .vomnibarRelevancy {\n position: absolute;\n right: 0;\n top: 0;\n padding: 5px;\n background-color: #282a36;\n color: #f8f8f2;\n font-family: monospace;\n width: 100px;\n overflow: hidden;\n}\n\n#vomnibar li .vomnibarUrl {\n white-space: nowrap;\n color: #50fa7b;\n}\n\n#vomnibar li .vomnibarMatch {\n font-weight: bold;\n color: #ffb86c;\n}\n\n#vomnibar li em, #vomnibar li .vomnibarTitle {\n color: #f8f8f2;\n margin-left: 4px;\n font-weight: normal;\n}\n#vomnibar li em { font-style: italic; }\n#vomnibar li em .vomnibarMatch, #vomnibar li .vomnibarTitle .vomnibarMatch {\n color: #ffb86c;\n}\n\n#vomnibar li.vomnibarSelected {\n background-color: #6272a4;\n font-weight: normal;\n}\n\n#vomnibarInput::selection {\n background-color: #8be9fd;\n}" + "userDefinedLinkHintCss": "/*\nDracula theme for Vimium\nby Trollwut (trollwut@trollwut.org). This code is in the public domain.\nTo use:\n 1. Copy the code.\n 2. Go to the Vimium options.\n 3. Click Show Advanced Options.\n 4. Under Advanced Options, scroll down to CSS for link hints.\n 5. Paste the code in the text field.\n 6. Click Save Changes.\n 7. Go to the website of your choice (or, if you have it open already, reload it) and check out the results.\n*/\n\n/* Link hint boxes */\ndiv > .vimiumHintMarker {\n background: #282a36;\n font-size: 12px;\n border: 0.25em solid #ffb86c;\n border-radius: 0.34em;\n box-shadow: 0em 0.1em 0.6em 0.1em rgba(0, 0, 0, 0.4);\n}\n\n/* Link hint text */\ndiv > .vimiumHintMarker span {\n color: #f8f8f2;\n font-size: inherit;\n text-shadow: none;\n}\n\n/* Link hint matching characters */\ndiv > .vimiumHintMarker > .matchingCharacter {\n color: #6272a4;\n}\n\n/* HUD (\"heads-up display\") bar */\ndiv.vimiumHUD {\n background: #282a36;\n border: 1px solid #6272a4;\n}\n\ndiv.vimiumHUD .vimiumHUDSearchArea {\n background: #282a36;\n}\n\ndiv.vimiumHUD .hud-find {\n background: #282a36;\n border: none;\n color: #f8f8f2;\n}\n\ndiv.vimiumHUD span#hud-find-input{\n color: #f8f8f2; /* 'Foreground' color */\n}\n\ndiv.vimiumHUD span#hud-match-count {\n color: #6272a4; /* 'Comment' color */\n}\n\ndiv.vimiumHUD .vimiumHUDSearchAreaInner {\n color: #6272a4; /* 'Comment' color */\n}\n\n#vomnibar{\n background-color: #44475A;\n}\n\n#vomnibar input {\n color: #f8f8f2;\n font: -moz-window;\n /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/\n font-size: 20px;\n height: 34px;\n margin-bottom: 0;\n padding: 4px;\n background-color: #282a36;\n border-radius: 3px;\n border: 1px solid #6272a4;\n box-shadow: #bd93f9 0px 0px 1px;\n width: 100%;\n outline: none;\n box-sizing: border-box;\n}\n\n#vomnibar .vomnibarSearchArea {\n display: block;\n padding: 10px;\n background-color: #6272a4;\n border-radius: 4px 4px 0 0;\n border-bottom: 0px solid #bd93f9;\n}\n\n#vomnibar ul {\n background-color: #44475a;\n border-radius: 0 0 4px 4px;\n list-style: none;\n padding-top: 0;\n padding-bottom: 0;\n margin-block-start: 2px;\n margin-block-end: 0px;\n}\n\n#vomnibar li {\n border-bottom: 1px solid #6272a4;\n line-height: 1.1em;\n padding: 7px 10px;\n font-size: 16px;\n color: #f8f8f2;\n position: relative;\n display: list-item;\n margin: auto;\n}\n\n#vomnibar li .vomnibarBottomHalf {\n font-size: 15px;\n margin-top: 3px;\n padding: 2px 0;\n}\n\n#vomnibar li .vomnibarSource {\n color: #bd93f9;\n margin-right: 4px;\n}\n#vomnibar li .vomnibarRelevancy {\n position: absolute;\n right: 0;\n top: 0;\n padding: 5px;\n background-color: #282a36;\n color: #f8f8f2;\n font-family: monospace;\n width: 100px;\n overflow: hidden;\n}\n\n#vomnibar li .vomnibarUrl {\n white-space: nowrap;\n color: #50fa7b;\n}\n\n#vomnibar li .vomnibarMatch {\n font-weight: bold;\n color: #ffb86c;\n}\n\n#vomnibar li em, #vomnibar li .vomnibarTitle {\n color: #f8f8f2;\n margin-left: 4px;\n font-weight: normal;\n}\n#vomnibar li em { font-style: italic; }\n#vomnibar li em .vomnibarMatch, #vomnibar li .vomnibarTitle .vomnibarMatch {\n color: #ffb86c;\n}\n\n#vomnibar li.vomnibarSelected {\n background-color: #6272a4;\n font-weight: normal;\n}\n\n#vomnibarInput::selection {\n background-color: #8be9fd;\n}", + "exclusionRules": [ + { + "passKeys": "", + "pattern": "https?://mail.google.com/*" + }, + { + "passKeys": "", + "pattern": "https?://rss1.tstarr.us/*" + } + ] } From fa867d5404b8a31696f451fba43f393a34246d73 Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Sat, 2 Dec 2023 22:31:49 -0800 Subject: [PATCH 5/6] fix icon names --- resources/img/Dolphin/{icons.ico => icons.png} | Bin resources/img/PPSSPP/{icons.ico => icons.png} | Bin resources/img/Yuzu/{icons.ico => icons.png} | Bin resources/img/mGBA/{icons.ico => icons.png} | Bin 4 files changed, 0 insertions(+), 0 deletions(-) rename resources/img/Dolphin/{icons.ico => icons.png} (100%) rename resources/img/PPSSPP/{icons.ico => icons.png} (100%) rename resources/img/Yuzu/{icons.ico => icons.png} (100%) rename resources/img/mGBA/{icons.ico => icons.png} (100%) diff --git a/resources/img/Dolphin/icons.ico b/resources/img/Dolphin/icons.png similarity index 100% rename from resources/img/Dolphin/icons.ico rename to resources/img/Dolphin/icons.png diff --git a/resources/img/PPSSPP/icons.ico b/resources/img/PPSSPP/icons.png similarity index 100% rename from resources/img/PPSSPP/icons.ico rename to resources/img/PPSSPP/icons.png diff --git a/resources/img/Yuzu/icons.ico b/resources/img/Yuzu/icons.png similarity index 100% rename from resources/img/Yuzu/icons.ico rename to resources/img/Yuzu/icons.png diff --git a/resources/img/mGBA/icons.ico b/resources/img/mGBA/icons.png similarity index 100% rename from resources/img/mGBA/icons.ico rename to resources/img/mGBA/icons.png From e09075e6b3ba4b7e3195a941b98bfcce10e019ab Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Sat, 2 Dec 2023 22:38:30 -0800 Subject: [PATCH 6/6] fix icons for non-steam games --- .../userdata/47011563/config/shortcuts.vdf | Bin 1463 -> 1503 bytes 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 home/dot_local/share/Steam/userdata/47011563/config/shortcuts.vdf diff --git a/home/dot_local/share/Steam/userdata/47011563/config/shortcuts.vdf b/home/dot_local/share/Steam/userdata/47011563/config/shortcuts.vdf old mode 100644 new mode 100755 index 37f8681332fbb1b40eee2f866cda821c00ab464d..4e4706ed62152614682738aabf823f292e991162 GIT binary patch delta 155 zcmdnaeV=>6a`~dv;{4L0^Mq0RZXdIFtYY delta 115 zcmcc5y`6i)a?#A(bbXinoPvzZJpIh%{Jdg4AURov_2A@o#z{gT*~rqWQZ%V=Ow&X_ aQUL+M!2tnilG!X%!TNIDog7i54g&z%!zz>j