adding some things
This commit is contained in:
parent
4c60fcb238
commit
4c25000f23
|
@ -176,7 +176,7 @@ function Bar(monitor = 0) {
|
||||||
App.config({
|
App.config({
|
||||||
style: css,
|
style: css,
|
||||||
windows: [
|
windows: [
|
||||||
Bar(laptop ? 0 : 2), // can be instantiated for each monitor
|
Bar(laptop ? 0 : 1), // can be instantiated for each monitor
|
||||||
NotificationPopups(),
|
NotificationPopups(),
|
||||||
BatteryPopup()
|
BatteryPopup()
|
||||||
],
|
],
|
||||||
|
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.gitsigners
|
124
flake.lock
124
flake.lock
|
@ -1,5 +1,21 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"advisory-db": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1714183630,
|
||||||
|
"narHash": "sha256-1BVft7ggSN2XXFeXQjazU3jN9wVECd9qp2mZx/8GDMk=",
|
||||||
|
"owner": "rustsec",
|
||||||
|
"repo": "advisory-db",
|
||||||
|
"rev": "35e7459a331d3e0c585e56dabd03006b9b354088",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "rustsec",
|
||||||
|
"repo": "advisory-db",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"ags": {
|
"ags": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -150,6 +166,27 @@
|
||||||
"type": "gitlab"
|
"type": "gitlab"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"crane": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"radicle",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1715274763,
|
||||||
|
"narHash": "sha256-3Iv1PGHJn9sV3HO4FlOVaaztOxa9uGLfOmUWrH7v7+A=",
|
||||||
|
"owner": "ipetkov",
|
||||||
|
"repo": "crane",
|
||||||
|
"rev": "27025ab71bdca30e7ed0a16c88fd74c5970fc7f5",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "ipetkov",
|
||||||
|
"repo": "crane",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"emacs": {
|
"emacs": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
|
@ -327,6 +364,24 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"systems": "systems_5"
|
"systems": "systems_5"
|
||||||
},
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1710146030,
|
||||||
|
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-utils_6": {
|
||||||
|
"inputs": {
|
||||||
|
"systems": "systems_6"
|
||||||
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1705309234,
|
"lastModified": 1705309234,
|
||||||
"narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
|
"narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
|
||||||
|
@ -630,6 +685,30 @@
|
||||||
"type": "indirect"
|
"type": "indirect"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"radicle": {
|
||||||
|
"inputs": {
|
||||||
|
"advisory-db": "advisory-db",
|
||||||
|
"crane": "crane",
|
||||||
|
"flake-utils": "flake-utils_5",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"rust-overlay": "rust-overlay_2"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1719406150,
|
||||||
|
"narHash": "sha256-ArpjlpHqNBCFtJVVAhPobDpSq0rawUZAplOHwf/u2K4=",
|
||||||
|
"ref": "refs/heads/master",
|
||||||
|
"rev": "92c9e21873be1c9107f906f826d4774a8a950d79",
|
||||||
|
"revCount": 2024,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://seed.radicle.garden/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://seed.radicle.garden/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"ags": "ags",
|
"ags": "ags",
|
||||||
|
@ -641,7 +720,8 @@
|
||||||
"nixos-hardware": "nixos-hardware",
|
"nixos-hardware": "nixos-hardware",
|
||||||
"nixpkgs": "nixpkgs_4",
|
"nixpkgs": "nixpkgs_4",
|
||||||
"nixpkgs-stable": "nixpkgs-stable_2",
|
"nixpkgs-stable": "nixpkgs-stable_2",
|
||||||
"rust-overlay": "rust-overlay_2",
|
"radicle": "radicle",
|
||||||
|
"rust-overlay": "rust-overlay_3",
|
||||||
"simple-nixos-mailserver": "simple-nixos-mailserver",
|
"simple-nixos-mailserver": "simple-nixos-mailserver",
|
||||||
"stylix": "stylix"
|
"stylix": "stylix"
|
||||||
}
|
}
|
||||||
|
@ -670,7 +750,32 @@
|
||||||
},
|
},
|
||||||
"rust-overlay_2": {
|
"rust-overlay_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils_5",
|
"flake-utils": [
|
||||||
|
"radicle",
|
||||||
|
"flake-utils"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"radicle",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1715307487,
|
||||||
|
"narHash": "sha256-yuDAys3JuJmhQUQGMMsl3BDQNZUYZDw0eA71OVh9FeY=",
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"rev": "ec7a7caf50877bc32988c82653d6b3e6952a8c3f",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"rust-overlay_3": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": "flake-utils_6",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
|
@ -816,6 +921,21 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"systems_6": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"utils": {
|
"utils": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1605370193,
|
"lastModified": 1605370193,
|
||||||
|
|
|
@ -23,6 +23,11 @@
|
||||||
# url = "github:hyprwm/hyprland-plugins";
|
# url = "github:hyprwm/hyprland-plugins";
|
||||||
# inputs.hyprland.follows = "hyprland";
|
# inputs.hyprland.follows = "hyprland";
|
||||||
# };
|
# };
|
||||||
|
radicle = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://seed.radicle.garden/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
eww = {
|
eww = {
|
||||||
url = "github:elkowar/eww";
|
url = "github:elkowar/eww";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
@ -69,6 +74,7 @@
|
||||||
eww,
|
eww,
|
||||||
ags,
|
ags,
|
||||||
stylix,
|
stylix,
|
||||||
|
radicle,
|
||||||
rust-overlay, ... }:
|
rust-overlay, ... }:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
|
@ -42,11 +42,16 @@ with lib;
|
||||||
# desktopManager.gnome.enable = true;
|
# desktopManager.gnome.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.ssh.startAgent = true;
|
||||||
security.pam.services.kwallet = {
|
security.pam.services.kwallet = {
|
||||||
name = "kwallet";
|
name = "kwallet";
|
||||||
enableKwallet = true;
|
enableKwallet = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.extraConfig = ''
|
||||||
|
DefaultTimeoutStopSec=10s
|
||||||
|
'';
|
||||||
|
|
||||||
# stylix = {
|
# stylix = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# polarity = "dark";
|
# polarity = "dark";
|
||||||
|
|
|
@ -153,7 +153,7 @@ with lib;
|
||||||
# pfetch
|
# pfetch
|
||||||
macchina
|
macchina
|
||||||
gimp
|
gimp
|
||||||
# krita
|
krita
|
||||||
powertop
|
powertop
|
||||||
element-desktop-wayland
|
element-desktop-wayland
|
||||||
scrcpy
|
scrcpy
|
||||||
|
|
|
@ -5,20 +5,21 @@
|
||||||
|
|
||||||
(defvar *url* (car (uiop:command-line-arguments)))
|
(defvar *url* (car (uiop:command-line-arguments)))
|
||||||
|
|
||||||
|
(defun dlvid (url)
|
||||||
|
(run-program "yt-dlp"
|
||||||
|
`("-o"
|
||||||
|
"~/vids/%(title)s.%(ext)s"
|
||||||
|
,url
|
||||||
|
"--embed-thumbnail"
|
||||||
|
"--sponsorblock-remove=sponsor,intro,outro")
|
||||||
|
:search "/run/current-system/sw/bin/"
|
||||||
|
:output t))
|
||||||
|
|
||||||
(defun main ()
|
(defun main ()
|
||||||
(if (serapeum:string-contains-p "inv.cochrun.xyz" *url*)
|
(if (serapeum:string-contains-p "inv.cochrun.xyz" *url*)
|
||||||
(run-program "yt-dlp"
|
(let ((url (serapeum:string-replace-all
|
||||||
`("-o"
|
"inv.cochrun.xyz" *url* "youtube.com")))
|
||||||
"~/vids/%(title)s.%(ext)s"
|
(dlvid (string url)))
|
||||||
,(serapeum:string-replace-all
|
(dlvid (string url))))
|
||||||
"inv.cochrun.xyz" *url* "youtube.com"))
|
|
||||||
:search "/run/current-system/sw/bin/"
|
|
||||||
:output t)
|
|
||||||
(run-program "yt-dlp"
|
|
||||||
`("-o"
|
|
||||||
"~/vids/%(title)s.%(ext)s"
|
|
||||||
,(string *url*))
|
|
||||||
:search "/run/current-system/sw/bin/"
|
|
||||||
:output t)))
|
|
||||||
|
|
||||||
(main)
|
(main)
|
||||||
|
|
Loading…
Reference in a new issue