mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
Merge branch 'master' of github.com:starr-dusT/dotfiles
This commit is contained in:
commit
f2854d24f5
@ -91,7 +91,7 @@ gaps left 0
|
||||
|
||||
for_window [title="Steam - News"] floating enable
|
||||
for_window [title="Friends List"] floating enable
|
||||
for_window [title=".*mpv$"] {
|
||||
for_window [title="Picture in picture"] {
|
||||
floating enable
|
||||
sticky toggle
|
||||
resize set width 22ppt
|
||||
|
@ -2,11 +2,6 @@
|
||||
|
||||
session_name: scratch
|
||||
windows:
|
||||
- window_name: news
|
||||
panes:
|
||||
- shell_command:
|
||||
- killall newsboat
|
||||
- newsboat
|
||||
- window_name: files
|
||||
shell_command_before:
|
||||
- cd ~/
|
||||
|
@ -1,6 +1,20 @@
|
||||
{
|
||||
"newTabUrl": "https://blank.org/",
|
||||
"newTabUrl": "https://starr-dust.github.io/tstarr.us/",
|
||||
"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": "http?://localhost:*"
|
||||
},
|
||||
{
|
||||
"passKeys": "",
|
||||
"pattern": "https://starr-dust.github.io/*"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1,42 +0,0 @@
|
||||
# general settings
|
||||
auto-reload yes
|
||||
|
||||
# externel browser
|
||||
browser "/run/current-system/sw/bin/w3m %u"
|
||||
macro m set browser "/run/current-system/sw/bin/mpv --ytdl-format=best --really-quiet --no-terminal %u &"; open-in-browser ; set browser "/run/current-system/sw/bin/w3m %u"
|
||||
macro b set browser "/run/current-system/sw/bin/chromium-browser %u"; open-in-browser ; set browser "/run/current-system/sw/bin/w3m %u"
|
||||
|
||||
# Unbind keys
|
||||
unbind-key ENTER
|
||||
unbind-key j
|
||||
unbind-key k
|
||||
unbind-key J
|
||||
unbind-key K
|
||||
|
||||
# Bind keys - vim style
|
||||
bind-key j down
|
||||
bind-key k up
|
||||
bind-key l open
|
||||
bind-key h quit
|
||||
|
||||
# Colors
|
||||
#color background default default
|
||||
#color listnormal default default
|
||||
#color listnormal_unread default default
|
||||
#color listfocus black cyan
|
||||
#color listfocus_unread black cyan
|
||||
#color info default black
|
||||
#color article default default
|
||||
|
||||
# Highlights
|
||||
highlight article "^(Title):.*$" blue default
|
||||
highlight article "https?://[^ ]+" red default
|
||||
highlight article "\\[image\\ [0-9]+\\]" green default
|
||||
|
||||
# Freshrss setup
|
||||
|
||||
freshrss-login "tstarr"
|
||||
freshrss-password "{{ (secret "/run/secrets/homelab/tstarr") }}"
|
||||
freshrss-url "https://rss.tstarr.us/api/greader.php"
|
||||
urls-source "freshrss"
|
||||
freshrss-flag-star "s"
|
@ -1,2 +0,0 @@
|
||||
"query:Youtube:tags # \"Youtube\"" Meta
|
||||
"query:Unread:unread = \"yes\"" Meta
|
@ -1,6 +1,7 @@
|
||||
{ config, pkgs, user, lib, ... }:
|
||||
{
|
||||
imports = [
|
||||
./rss.nix
|
||||
./syncthing.nix
|
||||
];
|
||||
|
||||
|
23
provision/hosts/kestrel/rss.nix
Normal file
23
provision/hosts/kestrel/rss.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ config, lib, pkgs, user, ... }:
|
||||
{
|
||||
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
authentication = pkgs.lib.mkOverride 10 ''
|
||||
#type database DBuser auth-method
|
||||
local all all trust
|
||||
'';
|
||||
};
|
||||
services.miniflux = {
|
||||
enable = true;
|
||||
config = {
|
||||
LISTEN_ADDR = "localhost:8087";
|
||||
# Break youtube embeds so they dont show
|
||||
YOUTUBE_EMBED_URL_OVERRIDE="https://";
|
||||
};
|
||||
adminCredentialsFile = pkgs.writeText "cred" ''
|
||||
ADMIN_USERNAME=miniflux
|
||||
ADMIN_PASSWORD=miniflux
|
||||
'';
|
||||
};
|
||||
}
|
@ -41,8 +41,8 @@ in {
|
||||
"nngceckbapebfimnlniiiahkandclblb" # Bitwarden
|
||||
"dbepggeogbaibhgnhhndojpepiihcmeb" # Viumium
|
||||
"icpgjfneehieebagbmdbhnlpiopdcmna" # New Tab Redirect
|
||||
"hahklcmnfgffdlchjigehabfbiigleji" # Play with MPV
|
||||
"oahiolknhkbpcolgnpljehalnhblolkm" # Shorts Blocker
|
||||
"hkgfoiooedgoejojocmhlaklaeopbecg" # Picture-in-Picture (by Google)
|
||||
];
|
||||
|
||||
# Setup bookmarks
|
||||
@ -82,22 +82,5 @@ in {
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# Start play-with-mpv as service
|
||||
systemd.user.services.play-with-mpv = {
|
||||
path = with pkgs; [ play-with-mpv mpv ];
|
||||
environment = {
|
||||
DISPLAY = ":0";
|
||||
};
|
||||
description = "play videos with mpv from chromium.";
|
||||
wantedBy = [ "default.target" ];
|
||||
restartIfChanged = true;
|
||||
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
Restart = "always";
|
||||
ExecStart = "${pkgs.play-with-mpv}/bin/play-with-mpv";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -59,8 +59,6 @@ in {
|
||||
p7zip
|
||||
pavucontrol
|
||||
borgbackup
|
||||
w3m
|
||||
newsboat
|
||||
] ++ [
|
||||
];
|
||||
|
||||
|
@ -8,6 +8,7 @@ in {
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
git-annex
|
||||
lazygit
|
||||
killall
|
||||
pciutils
|
||||
chezmoi
|
||||
|
@ -1,7 +1,7 @@
|
||||
homelab:
|
||||
tstarr: ENC[AES256_GCM,data:gX6v3mQ7IhQ=,iv:6JYfIZrlWlmgSG7zgkNUkQqk1rz0Hdku+eFyzt+1TLc=,tag:QNRsQ7ML7UrBbTtPT20kbg==,type:str]
|
||||
github:
|
||||
starr-dusT: ENC[AES256_GCM,data:rNds9CsqxjPQg5uSkFNEsMHh7EZfU5Cdqx2MBhlTmkWmA9YY7QOxtskoL7elZzYTldCkzNQyeBrxQsuTbxzMhZxtKXXcEjaS0PpZToQGyw/mkXGXLOrf5YGkBnKUCPUrMgs5PecaE2CTlv/Dy95R/7IF6iKd1ZWJ6F6WbxihzokR42BYd1vAuAhaR/Yy3rwpYc488H9zWserBni+aB/f/lWX1kmoxeD+c+7D/1SZvSTSnd0ObNVJ4Na8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6cHHUGRCYkgO5Qf6FZLxl4vKRyhTdDzWc=,iv:V/9bpCMTT9YQ8QCNYdpfrhu0lc4Yt5Eu0DJMc0uZkNA=,tag:kFnN7GwT4UKqUyvOdlbXxg==,type:str]
|
||||
bulwark: ENC[AES256_GCM,data:wMMZ1zJ2nPvkAFA5SgcSyl1z+9blDqf/6pVp8olmGaXJsbWc+/gBtDKzTog=,iv:2lZdsFYZhiTumRmYN/q2606gpyS7lCjf4cgeaCIjoxo=,tag:o81+t3pRwfomEys1veQecA==,type:str]
|
||||
@ -22,8 +22,8 @@ sops:
|
||||
ajM3YlJYU21PaHRyaGlUNy84RHN2SE0KAvMFdqnfV0TzfNcBdY7OvRLZrBb9uXSI
|
||||
3y50yFhYnyXtWKLQFTwjN6S5dLaZgqhaGhEQyNCQxb5RGZJDR6g7Yw==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
lastmodified: "2023-11-21T19:45:45Z"
|
||||
mac: ENC[AES256_GCM,data:ZKv6Rp/PWsEMC+ftrEzc+NFbYArlj9PbXfjFEdQEEDH/02IExzNLyisjcQA5deHe4yi7YdjWULGeH7Hzon45uwKzrfaEVBDRBBglA+9gzYO8PqN1ul5zNNhmO/RhOjmApddPaNsDFxm6B83qXpF2LMtJoelYPhB2p8F5iHfZc68=,iv:+pPqU7VE/9sPnyIf+u1ar4q1n1FuLQ6+dvIs5LG1VgM=,tag:eTTNbgnGqhEcOLRq6/X9sw==,type:str]
|
||||
lastmodified: "2023-11-25T10:16:12Z"
|
||||
mac: ENC[AES256_GCM,data:tlvq7Upl9+ci0chBo/y8IkNPjLuuh0srnqD3iiPTs1VCk6aW7E7ZWcoV8WH9HkD+xlD82mfs4500VPk/UC6Pe9d+BJX5PYqxPRp5sTQacjScC4y0TeMmTEaXwcsYo0faV1JSPCM5v1WmtRtE7GE7awewoIGs5q27TWoP6lBhafY=,iv:WWdfK4e9jt7WV8M5ACZ/tnaNDNiiihy9kauCbk/auu8=,tag:euzBqYNvaOxIB6Qu02UVvA==,type:str]
|
||||
pgp: []
|
||||
unencrypted_suffix: _unencrypted
|
||||
version: 3.7.3
|
||||
|
Loading…
x
Reference in New Issue
Block a user