feat: updoot

This commit is contained in:
Kat Inskip 2025-12-04 19:12:49 -08:00
parent 4482ec422a
commit 5686454354
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
9 changed files with 86 additions and 40 deletions

21
flake.lock generated
View file

@ -1797,6 +1797,26 @@
"type": "github" "type": "github"
} }
}, },
"quickshell": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1764663772,
"narHash": "sha256-sHqLmm0wAt3PC4vczJeBozI1/f4rv9yp3IjkClHDXDs=",
"ref": "refs/heads/master",
"rev": "26531fc46ef17e9365b03770edd3fb9206fcb460",
"revCount": 713,
"type": "git",
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
},
"original": {
"type": "git",
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
}
},
"rbw-bitw": { "rbw-bitw": {
"inputs": { "inputs": {
"flakelib": [ "flakelib": [
@ -1872,6 +1892,7 @@
"norg": "norg", "norg": "norg",
"norg-meta": "norg-meta", "norg-meta": "norg-meta",
"nur": "nur", "nur": "nur",
"quickshell": "quickshell",
"rbw-bitw": "rbw-bitw", "rbw-bitw": "rbw-bitw",
"rust": "rust", "rust": "rust",
"rust-overlay": "rust-overlay", "rust-overlay": "rust-overlay",

View file

@ -162,6 +162,14 @@
flake-compat.follows = "flake-compat"; flake-compat.follows = "flake-compat";
}; };
}; };
quickshell = {
# add ?ref=<tag> to track a tag
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
# THIS IS IMPORTANT
# Mismatched system dependencies will lead to crashes and other issues.
inputs.nixpkgs.follows = "nixpkgs";
};
ucodenix.url = "github:e-tho/ucodenix"; ucodenix.url = "github:e-tho/ucodenix";
nh = { nh = {
url = "github:nix-community/nh"; url = "github:nix-community/nh";

View file

@ -22,8 +22,8 @@ in {
left = [ left = [
{ {
id = "Workspace"; id = "Workspace";
labelMode = "index+name"; labelMode = "label";
characterCount = 10; #characterCount = 10;
} }
{ {
id = "ActiveWindow"; id = "ActiveWindow";

View file

@ -30,7 +30,7 @@ _: {
"browser.warnOnQuit" = false; "browser.warnOnQuit" = false;
"browser.quitShortcut.disabled" = true; "browser.quitShortcut.disabled" = true;
"browser.startup.homepage" = "about:blank"; "browser.startup.homepage" = "about:blank";
"browser.contentblocking.category" = "strict"; "browser.contentblocking.category" = "standard"; # change for adnauseum: 2025-12-04
"browser.discovery.enabled" = false; "browser.discovery.enabled" = false;
"browser.tabs.multiselect" = true; "browser.tabs.multiselect" = true;
"browser.tabs.remote.separatedMozillaDomains" = ""; "browser.tabs.remote.separatedMozillaDomains" = "";

View file

@ -1,42 +1,9 @@
{nur, ...}: { {nur, ...}: {
programs.librewolf.profiles.main.extensions = { programs.librewolf.profiles.main.extensions = {
packages = with nur.repos.rycee.firefox-addons; [ packages = with nur.repos.rycee.firefox-addons; [
ublock-origin adnauseum
]; ];
settings = { settings = {
"uBlock@raymondhill.net".settings = {
selectedFilterLists = [
"user-filters"
"ublock-filters"
"ublock-badware"
"ublock-privacy"
"ublock-quick-fixes"
"ublock-unbreak"
"easylist"
"adguard-generic"
"adguard-mobile"
"easyprivacy"
"adguard-spyware"
"adguard-spyware-url"
"urlhaus-1"
"plowe-0"
"fanboy-cookiemonster"
"ublock-cookies-easylist"
"adguard-cookies"
"ublock-cookies-adguard"
"fanboy-social"
"adguard-social"
"easylist-chat"
"easylist-newsletters"
"easylist-notifications"
"easylist-annoyances"
"adguard-mobile-app-banners"
"adguard-other-annoyances"
"adguard-popup-overlays"
"adguard-widgets"
"ublock-annoyances"
];
};
}; };
}; };
} }

View file

@ -20,6 +20,7 @@ in {
"nixd" "nixd"
"zk" "zk"
"gleam" "gleam"
"qmlls"
"luau_lsp" "luau_lsp"
"stylua" "stylua"
]; ];
@ -64,6 +65,7 @@ in {
bash bash
json json
make make
qml
markdown markdown
regex regex
toml toml

48
quickshell/shell.qml Normal file
View file

@ -0,0 +1,48 @@
import Quickshell
import Quickshell.Io
import QtQuick
Scope {
id: root
property string time
Variants {
model: Quickshell.screens
PanelWindow {
required property var modelData
screen: modelData
anchors {
top: true
left: true
right: true
}
implicitHeight: 30
Text {
font.family: "M+2 Nerd Font Regular"
anchors.centerIn: parent
text: root.time
}
}
}
Process {
id: dateProc
command: ["date", "+%F %T %Z"]
running: true
stdout: StdioCollector {
onStreamFinished: root.time = this.text
}
}
Timer {
interval: 1000
running: true
repeat: true
onTriggered: dateProc.running = true
}
}

View file

@ -117,11 +117,11 @@ resource "cloudflare_record" "dork_mail_spf" {
} }
resource "cloudflare_record" "dork_mail_dkim" { resource "cloudflare_record" "dork_mail_dkim" {
name = "rinnosuke._domainkey" name = "mail._domainkey"
proxied = false proxied = false
ttl = 10800 ttl = 10800
type = "TXT" type = "TXT"
value = "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsfSxe5JNdrSyHoPuESnOles7KxP5NtHD60YZ7SXLANNkEb8/tSHmg4nGqLhqKrA7+gcrurjowibDYs4hAM/ozkMNch53n2ZVKRl1ExMSRAPlGl5ZNCGGYVuRQlTMGvek2tIp3GbxafGF6QWSG1sA63fI9pxGosf/qc3wX5gtHxmKB9jn1Q6d9SDuJN72StIRjl81zaJFQJswvKx5keNvbW9oOP/xBVFPbnNZq52f/MsIpo4R33Vk0CrFvj5lnEKh5t6Bx1XUpJnkzQE934h+x1B+ypLkAPpLw4VnbDBMNc/ZkGbfJuM9YsasoEYgeoAtWKkyJV2WKZfppo1pUtR7swIDAQAB" value = "v=DKIM1; k=rsa; s=email; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsfSxe5JNdrSyHoPuESnOles7KxP5NtHD60YZ7SXLANNkEb8/tSHmg4nGqLhqKrA7+gcrurjowibDYs4hAM/ozkMNch53n2ZVKRl1ExMSRAPlGl5ZNCGGYVuRQlTMGvek2tIp3GbxafGF6QWSG1sA63fI9pxGosf/qc3wX5gtHxmKB9jn1Q6d9SDuJN72StIRjl81zaJFQJswvKx5keNvbW9oOP/xBVFPbnNZq52f/MsIpo4R33Vk0CrFvj5lnEKh5t6Bx1XUpJnkzQE934h+x1B+ypLkAPpLw4VnbDBMNc/ZkGbfJuM9YsasoEYgeoAtWKkyJV2WKZfppo1pUtR7swIDAQAB"
zone_id = local.zone_ids.dork zone_id = local.zone_ids.dork
} }

File diff suppressed because one or more lines are too long