diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi
index 5ee821a..615d6f0 100644
--- a/.config/rofi/config.rasi
+++ b/.config/rofi/config.rasi
@@ -4,15 +4,15 @@
configuration {
icon-theme: "Papirus";
- terminal: "konsole";
+ terminal: "alacritty";
sidebar-mode: true;
run-command: "bash -c {cmd}";
run-list-command: "fish -c functions";
- display-drun: " ";
- display-run: " ";
+ display-drun: "";
+ display-run: "";
display-window: " ";
display-combi: " ";
- drun-display-format: "{name} [({generic})]";/* - {exec}*/
+ /* drun-display-format: "{name} [({generic})]";/\* - {exec}*\/ */
threads: 0;
scroll-method: 0;
disable-history: false;
@@ -25,6 +25,7 @@ configuration {
kb-row-left: "Control-h";
kb-row-right: "Control-l";
font: "VictorMono Nerd Font 12.0";
+ show-icons: true;
timeout {
delay: 15;
action: "kb-cancel";
@@ -33,8 +34,8 @@ configuration {
* {
backgrounkd: #12121222;
- background-color: #00222b33;
- background-entry: #000000;
+ background-color: #282a36;
+ background-entry: #282a36;
foreground-selected: #ffffff;
urgent: #E91E63;
urgent-selected: #E91E63;
@@ -93,6 +94,10 @@ inputbar {
position: north;
}
+textbox-prompt-colon {
+ str: "";
+}
+
prompt {
enabled: true;
padding: 0px 6px 0px 5px;
@@ -149,6 +154,7 @@ textbox {
text-color: @base0B;
background-color: @transparent;
padding: 10px 90px 10px 90px;
+ placeholder: "";
}
listview {
@@ -166,7 +172,7 @@ listview {
}
element {
- background-color: @transparent;
+ background-color: @base00;
text-color: @base05;
orientation: horizontal;
border-radius: 55px;
@@ -180,13 +186,6 @@ element-icon {
padding: 0px 0px 0px;
}
-element-text {
- expand: true;
- background-color: @transparent;
- text-color: @base05;
- vertical-align: 0.5;
-}
-
element normal.urgent,
element alternate.urgent {
background-color: @urgent;
@@ -194,15 +193,21 @@ element alternate.urgent {
border-radius: 9px;
}
-element normal.active,
+element normal.normal,
+element normal.active {
+ background-color: @base00;
+ text-color: @base05;
+}
+element alternate.normal,
element alternate.active {
- background-color: @background-alt;
- text-color: @base0B;
+ background-color: @base00;
+ text-color: @base05;
}
-element selected {
- background-color: @background-alt;
- text-color: @base0A;
+element selected,
+element selected normal {
+ background-color: @base0B;
+ text-color: @base00;
}
element selected.urgent {
@@ -211,10 +216,6 @@ element selected.urgent {
}
element selected.active {
- background-color: @background-alt;
- color: @base0A;
-}
-
-window {
- background-color: @base00;
+ background-color: @base0B;
+ color: @base00;
}
diff --git a/.config/rofi/rofi.rasi b/.config/rofi/rofi.rasi
deleted file mode 100644
index 5ee821a..0000000
--- a/.config/rofi/rofi.rasi
+++ /dev/null
@@ -1,220 +0,0 @@
-/*-*- mode: css; -*-*/
-/** Configured For Applets **/
-
-
-configuration {
- icon-theme: "Papirus";
- terminal: "konsole";
- sidebar-mode: true;
- run-command: "bash -c {cmd}";
- run-list-command: "fish -c functions";
- display-drun: " ";
- display-run: " ";
- display-window: " ";
- display-combi: " ";
- drun-display-format: "{name} [({generic})]";/* - {exec}*/
- threads: 0;
- scroll-method: 0;
- disable-history: false;
- kb-accept-entry: "Return";
- kb-remove-to-eol: "Control-D";
- kb-remove-char-back: "BackSpace";
- kb-mode-complete: "Control-M";
- kb-row-down: "Control-j";
- kb-row-up: "Control-k";
- kb-row-left: "Control-h";
- kb-row-right: "Control-l";
- font: "VictorMono Nerd Font 12.0";
- timeout {
- delay: 15;
- action: "kb-cancel";
- }
-}
-
-* {
- backgrounkd: #12121222;
- background-color: #00222b33;
- background-entry: #000000;
- foreground-selected: #ffffff;
- urgent: #E91E63;
- urgent-selected: #E91E63;
- transparent: #00000000;
- base00: #282a36;
- base01: #34353e;
- base02: #43454f;
- base03: #78787e;
- base04: #a5a5a9;
- base05: #e2e4e5;
- base06: #eff0eb;
- base07: #f1f1f0;
- base08: #ff5c57;
- base09: #ff9f43;
- base0A: #f3f99d;
- base0B: #5af78e;
- base0C: #9aedfe;
- base0D: #57c7ff;
- base0E: #ff6ac1;
- base0F: #b2643c;
- base00t: #282a3655;
- background-alt: @base02;
-}
-
-window {
- background-color: @base00;
- text-color: @base05;
- /* transparency: "real"; */
- border-radius: 20px;
- border: 0px;
- width: 60%;
- location: center;
- anchor: center;
- x-offset: 0;
- y-offset: 0;
- margin: 0px;
- padding: 0px;
-}
-
-mainbox {
- border-radius: 16;
- /* background-color: @transparent; */
- background-color: @base00;
- text-color: @base05;
- transparency: "real";
-}
-
-inputbar {
- /* background-color: @transparent; */
- background-color: @base00;
- text-color: @base05;
- expand: false;
- border-radius: 36px;
- margin: 0px 0px 0px 0px;
- padding: 20px 6px 20px 6px;
- position: north;
-}
-
-prompt {
- enabled: true;
- padding: 0px 6px 0px 5px;
- /* background-color: @transparent; */
- background-color: @base00;
- text-color: @base05;
- border: 0px;
- font: "VictorMono Nerd Font 22.0";
-}
-
-entry {
- /* background-color: @transparent; */
- background-color: @base00;
- color: @base00;
- placeholder-color: @base05;
- text-color: @base05;
- expand: true;
- horizontal-align: 0;
- placeholder: "";
- blink: true;
- border: 0px;
- padding: 0px 0px 0px 6px;
- font: "VictorMono Nerd Font 22.0";
-}
-
-case-indicator {
- background-color: @transparent;
- text-color: @base05;
- spacing: 0;
- border: 0px;
-}
-
-sidebar {
- border: 2px 0 0;
-}
-
-mainbox {
- /* background-color: @base00t; */
- background-color: @base00;
- text-color: @transparent;
- children: [ inputbar, listview, message ];
- spacing: 5px;
- padding: 10px 10px 10px 10px;
-}
-
-message {
- border: 0px 0 0;
- padding: 0px;
- background-color: @transparent;
-}
-
-textbox {
- highlight: @base0B;
- text-color: @base0B;
- background-color: @transparent;
- padding: 10px 90px 10px 90px;
-}
-
-listview {
- /* background-color: @transparent; */
- background-color: @base00;
- columns: 1;
- spacing: 4px;
- cycle: false;
- dynamic: true;
- layout: vertical;
- lines: 10;
- scrollbar: false;
- border: 0px;
- fixed-height: false;
-}
-
-element {
- background-color: @transparent;
- text-color: @base05;
- orientation: horizontal;
- border-radius: 55px;
- padding: 5px 5px 5px 10px;
-}
-
-element-icon {
- background-color: @transparent;
- size: 30px;
- border: 0px;
- padding: 0px 0px 0px;
-}
-
-element-text {
- expand: true;
- background-color: @transparent;
- text-color: @base05;
- vertical-align: 0.5;
-}
-
-element normal.urgent,
-element alternate.urgent {
- background-color: @urgent;
- text-color: @base08;
- border-radius: 9px;
-}
-
-element normal.active,
-element alternate.active {
- background-color: @background-alt;
- text-color: @base0B;
-}
-
-element selected {
- background-color: @background-alt;
- text-color: @base0A;
-}
-
-element selected.urgent {
- background-color: @urgent-selected;
- text-color: @base08;
-}
-
-element selected.active {
- background-color: @background-alt;
- color: @base0A;
-}
-
-window {
- background-color: @base00;
-}
diff --git a/flake.lock b/flake.lock
index c52c6a0..d58ae11 100644
--- a/flake.lock
+++ b/flake.lock
@@ -1,5 +1,24 @@
{
"nodes": {
+ "anipy-cli": {
+ "inputs": {
+ "nixpkgs": "nixpkgs",
+ "poetry2nix": "poetry2nix"
+ },
+ "locked": {
+ "lastModified": 1734969664,
+ "narHash": "sha256-5vudj7HamxHFHau9rulMsO7MoPhdWIxYqmryV/b7X2Q=",
+ "owner": "sdaqo",
+ "repo": "anipy-cli",
+ "rev": "67b611716b2acb8c29ef834daf1d31e8a54128c6",
+ "type": "github"
+ },
+ "original": {
+ "owner": "sdaqo",
+ "repo": "anipy-cli",
+ "type": "github"
+ }
+ },
"base16": {
"inputs": {
"fromYaml": "fromYaml"
@@ -233,6 +252,24 @@
"inputs": {
"systems": "systems"
},
+ "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_2": {
+ "inputs": {
+ "systems": "systems_3"
+ },
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
@@ -247,7 +284,7 @@
"type": "github"
}
},
- "flake-utils_2": {
+ "flake-utils_3": {
"inputs": {
"systems": [
"stylix",
@@ -346,8 +383,8 @@
"nix-bitcoin": {
"inputs": {
"extra-container": "extra-container",
- "flake-utils": "flake-utils",
- "nixpkgs": "nixpkgs",
+ "flake-utils": "flake-utils_2",
+ "nixpkgs": "nixpkgs_3",
"nixpkgs-unstable": "nixpkgs-unstable"
},
"locked": {
@@ -365,10 +402,32 @@
"type": "github"
}
},
+ "nix-github-actions": {
+ "inputs": {
+ "nixpkgs": [
+ "anipy-cli",
+ "poetry2nix",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1703863825,
+ "narHash": "sha256-rXwqjtwiGKJheXB43ybM8NwWB8rO2dSRrEqes0S7F5Y=",
+ "owner": "nix-community",
+ "repo": "nix-github-actions",
+ "rev": "5163432afc817cf8bd1f031418d1869e4c9d5547",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "repo": "nix-github-actions",
+ "type": "github"
+ }
+ },
"nixos-cosmic": {
"inputs": {
"flake-compat": "flake-compat_2",
- "nixpkgs": "nixpkgs_2",
+ "nixpkgs": "nixpkgs_4",
"nixpkgs-stable": "nixpkgs-stable_2",
"rust-overlay": "rust-overlay_2"
},
@@ -404,16 +463,16 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1732749044,
- "narHash": "sha256-T38FQOg0BV5M8FN1712fovzNakSOENEYs+CSkg31C9Y=",
- "owner": "NixOS",
+ "lastModified": 1716509168,
+ "narHash": "sha256-4zSIhSRRIoEBwjbPm3YiGtbd8HDWzFxJjw5DYSDy1n8=",
+ "owner": "nixos",
"repo": "nixpkgs",
- "rev": "0c5b4ecbed5b155b705336aa96d878e55acd8685",
+ "rev": "bfb7a882678e518398ce9a31a881538679f6f092",
"type": "github"
},
"original": {
- "owner": "NixOS",
- "ref": "nixos-24.05",
+ "owner": "nixos",
+ "ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
@@ -498,6 +557,38 @@
}
},
"nixpkgs_2": {
+ "locked": {
+ "lastModified": 1714463564,
+ "narHash": "sha256-8+w/34w9azAHZA9TwvzdT2z7VFFEey7tXsan5q5bR1M=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "9b03589f4d174bfd6ea9a9de6fb85333fd190f8b",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "nixos-unstable-small",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "nixpkgs_3": {
+ "locked": {
+ "lastModified": 1732749044,
+ "narHash": "sha256-T38FQOg0BV5M8FN1712fovzNakSOENEYs+CSkg31C9Y=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "0c5b4ecbed5b155b705336aa96d878e55acd8685",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "nixos-24.05",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "nixpkgs_4": {
"locked": {
"lastModified": 1733581040,
"narHash": "sha256-Qn3nPMSopRQJgmvHzVqPcE3I03zJyl8cSbgnnltfFDY=",
@@ -513,7 +604,7 @@
"type": "github"
}
},
- "nixpkgs_3": {
+ "nixpkgs_5": {
"locked": {
"lastModified": 1717952948,
"narHash": "sha256-mJi4/gjiwQlSaxjA6AusXBN/6rQRaPCycR7bd8fydnQ=",
@@ -527,7 +618,7 @@
"url": "https://flakehub.com/f/NixOS/nixpkgs/%2A.tar.gz"
}
},
- "nixpkgs_4": {
+ "nixpkgs_6": {
"locked": {
"lastModified": 1669542132,
"narHash": "sha256-DRlg++NJAwPh8io3ExBJdNW7Djs3plVI5jgYQ+iXAZQ=",
@@ -565,10 +656,32 @@
"type": "github"
}
},
+ "poetry2nix": {
+ "inputs": {
+ "flake-utils": "flake-utils",
+ "nix-github-actions": "nix-github-actions",
+ "nixpkgs": "nixpkgs_2",
+ "systems": "systems_2",
+ "treefmt-nix": "treefmt-nix"
+ },
+ "locked": {
+ "lastModified": 1716724736,
+ "narHash": "sha256-/KKrshurDivObtcKjDvXkyrdBaZXpBdlQ5KlOKrcBDg=",
+ "owner": "nix-community",
+ "repo": "poetry2nix",
+ "rev": "68df56fbb08ce0e9db98ce7fde737ab26525835b",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "repo": "poetry2nix",
+ "type": "github"
+ }
+ },
"quickemu": {
"inputs": {
"flake-schemas": "flake-schemas",
- "nixpkgs": "nixpkgs_3"
+ "nixpkgs": "nixpkgs_5"
},
"locked": {
"lastModified": 1720106666,
@@ -585,6 +698,7 @@
},
"root": {
"inputs": {
+ "anipy-cli": "anipy-cli",
"emacs": "emacs",
"eww": "eww",
"home-manager": "home-manager",
@@ -648,7 +762,7 @@
"inputs": {
"blobs": "blobs",
"flake-compat": "flake-compat_3",
- "nixpkgs": "nixpkgs_4",
+ "nixpkgs": "nixpkgs_6",
"nixpkgs-24_11": "nixpkgs-24_11"
},
"locked": {
@@ -673,13 +787,13 @@
"base16-helix": "base16-helix",
"base16-vim": "base16-vim",
"flake-compat": "flake-compat_4",
- "flake-utils": "flake-utils_2",
+ "flake-utils": "flake-utils_3",
"gnome-shell": "gnome-shell",
"home-manager": "home-manager_2",
"nixpkgs": [
"nixpkgs"
],
- "systems": "systems_2",
+ "systems": "systems_4",
"tinted-foot": "tinted-foot",
"tinted-kitty": "tinted-kitty",
"tinted-tmux": "tinted-tmux"
@@ -714,6 +828,35 @@
}
},
"systems_2": {
+ "locked": {
+ "lastModified": 1681028828,
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "owner": "nix-systems",
+ "repo": "default",
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "type": "github"
+ },
+ "original": {
+ "id": "systems",
+ "type": "indirect"
+ }
+ },
+ "systems_3": {
+ "locked": {
+ "lastModified": 1681028828,
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "owner": "nix-systems",
+ "repo": "default",
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-systems",
+ "repo": "default",
+ "type": "github"
+ }
+ },
+ "systems_4": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
@@ -777,6 +920,28 @@
"repo": "tinted-tmux",
"type": "github"
}
+ },
+ "treefmt-nix": {
+ "inputs": {
+ "nixpkgs": [
+ "anipy-cli",
+ "poetry2nix",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1714058656,
+ "narHash": "sha256-Qv4RBm4LKuO4fNOfx9wl40W2rBbv5u5m+whxRYUMiaA=",
+ "owner": "numtide",
+ "repo": "treefmt-nix",
+ "rev": "c6aaf729f34a36c445618580a9f95a48f5e4e03f",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "treefmt-nix",
+ "type": "github"
+ }
}
},
"root": "root",
diff --git a/flake.nix b/flake.nix
index 10c56f4..53c3228 100644
--- a/flake.nix
+++ b/flake.nix
@@ -45,6 +45,7 @@
url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.11";
};
nixos-cosmic = { url = "github:lilyinstarlight/nixos-cosmic"; };
+ anipy-cli = { url = "github:sdaqo/anipy-cli"; };
# rust-overlay = {
# url = "github:oxalica/rust-overlay";
# inputs.nixpkgs.follows = "nixpkgs";
@@ -53,7 +54,7 @@
outputs = inputs@{ nixpkgs, nixpkgs-stable, home-manager, plasma-manager
, nixos-cosmic, quickemu, nixos-hardware, emacs, nix-bitcoin, eww
- , simple-nixos-mailserver,
+ , simple-nixos-mailserver, anipy-cli,
# ags,
stylix, ... }:
let
diff --git a/home/certs.txt b/home/certs.txt
new file mode 100644
index 0000000..aa2a076
--- /dev/null
+++ b/home/certs.txt
@@ -0,0 +1,13 @@
+-----BEGIN CERTIFICATE-----
+MIIB6jCCAXGgAwIBAgIIa1Eca7IaCr0wCgYIKoZIzj0EAwMwIDEeMBwGA1UEAxMV
+bWluaWNhIHJvb3QgY2EgNTI4ZjYxMB4XDTI0MTIyNjIwMTQ0OFoXDTI3MDEyNTIw
+MTQ0OFowGzEZMBcGA1UEAxMQbWFpbC5jb2NocnVuLnh5ejB2MBAGByqGSM49AgEG
+BSuBBAAiA2IABLa7Y/MFORGjmHCPUn0zl9ybfnRQnQTJmMD8RFr+3BSXFV2RQA8W
++ZTkZD98jeiq4uTVR3pAJvlB+x3XIX8pVm33C2AhW3xTUqQ1HBhcLTV/EBrtnRjm
+rpwBnjx+Mv77gaN9MHswDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUF
+BwMBBggrBgEFBQcDAjAMBgNVHRMBAf8EAjAAMB8GA1UdIwQYMBaAFLjZt1hgeoGY
+p8Fa0XYrsLNZ60hHMBsGA1UdEQQUMBKCEG1haWwuY29jaHJ1bi54eXowCgYIKoZI
+zj0EAwMDZwAwZAIwRoieVIBuDypWfD6B5AgBpt0MnoJHcee/n9mnAjM57T7kcgnm
+8BtOk4Q0WdHp1YKrAjAmihA6/UBV1gbxeLgKQzoRKd/3Lbkanlm3Oo/TL6/BPqur
+yjiwIECI/cteKEVI7m0=
+-----END CERTIFICATE-----
diff --git a/home/home.nix b/home/home.nix
index 8c30c7a..fb61a96 100644
--- a/home/home.nix
+++ b/home/home.nix
@@ -171,12 +171,18 @@ in {
imap = {
host = "mail.cochrun.xyz";
port = 993;
- tls.enable = true;
+ tls = {
+ enable = true;
+ certificatesFile = ./certs.txt;
+ };
};
smtp = {
host = "mail.cochrun.xyz";
port = 25;
- tls.enable = true;
+ tls = {
+ enable = true;
+ certificatesFile = ./certs.txt;
+ };
};
mbsync = {
create = "maildir";
@@ -524,11 +530,6 @@ in {
recursive = true;
};
- # home.file.".config/rofi" = {
- # source = ../.config/rofi;
- # recursive = true;
- # };
-
programs.firefox = {
enable = true;
package = pkgs.firefox-wayland.override {
diff --git a/home/modules/hyprland.nix b/home/modules/hyprland.nix
index be7726d..95b1c0e 100644
--- a/home/modules/hyprland.nix
+++ b/home/modules/hyprland.nix
@@ -246,7 +246,7 @@ in
"SUPERSHIFT,Q,exit,"
"SUPERSHIFT,D,exec,dolphin"
"SUPERSHIFT,F,togglefloating,"
- "SUPER,w,exec,/home/chris/bin/window.sh"
+ "SUPER,w,exec,rofi -i -show window"
"SUPER,E,exec,/home/chris/bin/emacslof"
"SUPER,d,exec,emacsclient -c -e '(dired-jump)'"
"SUPER,v,exec,cliphist list | rofi -p ' ' -dmenu -theme ~/.config/rofi/launchers-git/laptop-rbw-wayland.rasi | cliphist decode | wl-copy"
@@ -329,8 +329,8 @@ in
];
bindr = [
- "SUPER,Super_L,exec,launcher.sh"
- "ALT,Alt_R,exec,/home/chris/bin/window.sh"
+ "SUPER,Super_L,exec,rofi -no-lazy-grab -modi combi -show combi -combi-modi 'drun,run'"
+ "ALT,Alt_R,exec,rofi -i -show window"
];
bindm = [
diff --git a/home/modules/rofi.nix b/home/modules/rofi.nix
index 9ab8383..8a0fc3e 100644
--- a/home/modules/rofi.nix
+++ b/home/modules/rofi.nix
@@ -1,214 +1,240 @@
{ config, lib, pkgs, ... }:
{
- programs.rofi = {
- enable = true;
- font = "VictorMono Nerd Font 12";
- cycle = true;
- theme =
- let
- inherit (config.lib.formats.rasi) mkLiteral;
- in {
- configuration = {
- icon-theme = "Papirus";
- terminal = "konsole";
- sidebar-mode = true;
- run-command = "bash -c {cmd}";
- run-list-command = "fish -c functions";
- display-drun = " ";
- display-run = " ";
- display-window = " ";
- display-combi = " ";
- drun-display-format = "{name} [({generic})]";/* - {exec}*/
- threads = 0;
- scroll-method = 0;
- disable-history = false;
- kb-accept-entry = "Return";
- kb-remove-to-eol = "Control-D";
- kb-remove-char-back = "BackSpace";
- kb-mode-complete = "Control-M";
- kb-row-down = "Control-j";
- kb-row-up = "Control-k";
- kb-row-left = "Control-h";
- kb-row-right = "Control-l";
- font = "VictorMono Nerd Font 12.0";
- timeout = {
- delay = 15;
- action = "kb-cancel";
- };
- };
- "*" = {
- backgrounkd = "#12121222";
- background-color = "#00222b33";
- background-entry = "#000000";
- foreground-selected = "#ffffff";
- urgent = "#E91E63";
- urgent-selected = "#E91E63";
- transparent = "#00000000";
- base00 = "#282a36";
- base01 = "#34353e";
- base02 = "#43454f";
- base03 = "#78787e";
- base04 = "#a5a5a9";
- base05 = "#e2e4e5";
- base06 = "#eff0eb";
- base07 = "#f1f1f0";
- base08 = "#ff5c57";
- base09 = "#ff9f43";
- base0A = "#f3f99d";
- base0B = "#5af78e";
- base0C = "#9aedfe";
- base0D = "#57c7ff";
- base0E = "#ff6ac1";
- base0F = "#b2643c";
- base00t = "#282a3655";
- background-alt = "@base02";
- };
-
- window = {
- background-color = "@base00";
- text-color = "@base05";
- border-radius = "20px";
- border = "0px";
- width = "60%";
- location = "center";
- anchor = "center";
- x-offset = "0";
- y-offset = "0";
- margin = "0px";
- padding = "0px";
- };
-
- mainbox = {
- border-radius = "16";
- background-color = "@base00";
- text-color = "@base05";
- transparency = "real";
- children = [ "inputbar" "listview" "message" ];
- spacing = "5px";
- padding = "10px 10px 10px 10px";
- };
-
- inputbar = {
- /* background-color = @transparent; */
- background-color = "@base00";
- text-color = "@base05";
- expand = false;
- border-radius = "36px";
- margin = "0px 0px 0px 0px";
- padding = "20px 6px 20px 6px";
- position = "north";
- };
-
- prompt = {
- enabled = true;
- padding = "0px 6px 0px 5px";
- background-color = "@base00";
- text-color = "@base05";
- border = "0px";
- font = "VictorMono Nerd Font 22.0";
- };
-
- entry = {
- background-color = "@base00";
- color = "@base00";
- placeholder-color = "@base05";
- text-color = "@base05";
- expand = true;
- horizontal-align = 0;
- placeholder = "";
- blink = true;
- border = "0px";
- padding = "0px 0px 0px 6px";
- font = "VictorMono Nerd Font 22.0";
- };
-
- case-indicator = {
- background-color = "@transparent";
- text-color = "@base05";
- spacing = 0;
- border = "0px";
- };
-
- sidebar = {
- border = "2px 0 0";
- };
-
- message = {
- border = "0px 0 0";
- padding = "0px";
- background-color = "@transparent";
- };
-
- textbox = {
- highlight = "@base0B";
- text-color = "@base0B";
- background-color = "@transparent";
- padding = "10px 90px 10px 90px";
- };
-
- listview = {
- background-color = "@base00";
- columns = 1;
- spacing = "4px";
- cycle = false;
- dynamic = true;
- layout = "vertical";
- lines = "10";
- scrollbar = false;
- border = "0px";
- fixed-height = false;
- };
-
- element = {
- background-color = "@transparent";
- text-color = "@base05";
- orientation = "horizontal";
- border-radius = "55px";
- padding = "5px 5px 5px 10px";
- };
-
- element-icon = {
- background-color = "@transparent";
- size = "30px";
- border = "0px";
- padding = "0px 0px 0px";
- };
-
- element-text = {
- expand = true;
- background-color = "@transparent";
- text-color = "@base05";
- vertical-align = "0.5";
- };
-
- "element normal.urgent, element alternate.urgent" = {
- background-color = "@urgent";
- text-color = "@base08";
- border-radius = "9px";
- };
-
- "element normal.active, element alternate.active" = {
- background-color = "@background-alt";
- text-color = "@base0B";
- };
-
- "element selected" = {
- background-color = "@background-alt";
- text-color = "@base0A";
- };
-
- "element selected.urgent" = {
- background-color = "@urgent-selected";
- text-color = "@base08";
- };
-
- "element selected.active" = {
- background-color = "@background-alt";
- color = "@base0A";
- };
-
- };
+ home.file.".config/rofi" = {
+ source = ../../.config/rofi;
+ recursive = true;
};
+
+# programs.rofi = {
+# enable = true;
+# font = "VictorMono Nerd Font 12";
+# cycle = true;
+# theme =
+# let
+# # Use `mkLiteral` for string-like values that should show without
+# # quotes, e.g.:
+# # {
+# # foo = "abc"; => foo: "abc";
+# # bar = mkLiteral "abc"; => bar: abc;
+# # };
+# inherit (config.lib.formats.rasi) mkLiteral;
+# in {
+# "*" = {
+# background-color = mkLiteral "#000000";
+# foreground-color = mkLiteral "rgba ( 250, 251, 252, 100 % )";
+# border-color = mkLiteral "#FFFFFF";
+# width = 512;
+# };
+
+# "#inputbar" = {
+# children = map mkLiteral [ "prompt" "entry" ];
+# };
+
+# "#textbox-prompt-colon" = {
+# expand = false;
+# str = ":";
+# margin = mkLiteral "0px 0.3em 0em 0em";
+# text-color = mkLiteral "@foreground-color";
+# };
+# }
+
+# # {
+# # configuration = {
+# # icon-theme = "Papirus";
+# # terminal = "konsole";
+# # sidebar-mode = true;
+# # run-command = "bash -c {cmd}";
+# # run-list-command = "fish -c functions";
+# # display-drun = " ";
+# # display-run = " ";
+# # display-window = " ";
+# # display-combi = " ";
+# # drun-display-format =
+# # "{name} [({generic})]"; # - {exec}
+# # threads = 0;
+# # scroll-method = 0;
+# # disable-history = false;
+# # kb-accept-entry = "Return";
+# # kb-remove-to-eol = "Control-D";
+# # kb-remove-char-back = "BackSpace";
+# # kb-mode-complete = "Control-M";
+# # kb-row-down = "Control-j";
+# # kb-row-up = "Control-k";
+# # kb-row-left = "Control-h";
+# # kb-row-right = "Control-l";
+# # font = "VictorMono Nerd Font 12.0";
+# # };
+
+# # "*" = {
+# # backgrounkd = "#12121222";
+# # background-color = "#00222b33";
+# # background-entry = "#000000";
+# # foreground-selected = "#ffffff";
+# # urgent = "#E91E63";
+# # urgent-selected = "#E91E63";
+# # transparent = "#00000000";
+# # base00 = "#282a36";
+# # base01 = "#34353e";
+# # base02 = "#43454f";
+# # base03 = "#78787e";
+# # base04 = "#a5a5a9";
+# # base05 = "#e2e4e5";
+# # base06 = "#eff0eb";
+# # base07 = "#f1f1f0";
+# # base08 = "#ff5c57";
+# # base09 = "#ff9f43";
+# # base0A = "#f3f99d";
+# # base0B = "#5af78e";
+# # base0C = "#9aedfe";
+# # base0D = "#57c7ff";
+# # base0E = "#ff6ac1";
+# # base0F = "#b2643c";
+# # base00t = "#282a3655";
+# # background-alt = "@base02";
+# # };
+
+# # window = {
+# # background-color = "@base00";
+# # text-color = "@base05";
+# # border-radius = "20px";
+# # border = "0px";
+# # width = "60%";
+# # location = "center";
+# # anchor = "center";
+# # x-offset = "0";
+# # y-offset = "0";
+# # margin = "0px";
+# # padding = "0px";
+# # };
+
+# # mainbox = {
+# # border-radius = "16";
+# # background-color = "@base00";
+# # text-color = "@base05";
+# # transparency = "real";
+# # children = [ "inputbar" "listview" "message" ];
+# # spacing = "5px";
+# # padding = "10px 10px 10px 10px";
+# # };
+
+# # inputbar = {
+# # # background-color = @transparent;
+# # background-color = "@base00";
+# # text-color = "@base05";
+# # expand = false;
+# # border-radius = "36px";
+# # margin = "0px 0px 0px 0px";
+# # padding = "20px 6px 20px 6px";
+# # position = "north";
+# # };
+
+# # prompt = {
+# # enabled = true;
+# # padding = "0px 6px 0px 5px";
+# # background-color = "@base00";
+# # text-color = "@base05";
+# # border = "0px";
+# # font = "VictorMono Nerd Font 22.0";
+# # };
+
+# # entry = {
+# # background-color = "@base00";
+# # color = "@base00";
+# # placeholder-color = "@base05";
+# # text-color = "@base05";
+# # expand = true;
+# # horizontal-align = 0;
+# # placeholder = "";
+# # blink = true;
+# # border = "0px";
+# # padding = "0px 0px 0px 6px";
+# # font = "VictorMono Nerd Font 22.0";
+# # };
+
+# # case-indicator = {
+# # background-color = "@transparent";
+# # text-color = "@base05";
+# # spacing = 0;
+# # border = "0px";
+# # };
+
+# # sidebar = { border = "2px 0 0"; };
+
+# # message = {
+# # border = "0px 0 0";
+# # padding = "0px";
+# # background-color = "@transparent";
+# # };
+
+# # textbox = {
+# # highlight = "@base0B";
+# # text-color = "@base0B";
+# # background-color = "@transparent";
+# # padding = "10px 90px 10px 90px";
+# # };
+
+# # listview = {
+# # background-color = "@base00";
+# # columns = 1;
+# # spacing = "4px";
+# # cycle = false;
+# # dynamic = true;
+# # layout = "vertical";
+# # lines = "10";
+# # scrollbar = false;
+# # border = "0px";
+# # fixed-height = false;
+# # };
+
+# # element = {
+# # background-color = "@transparent";
+# # text-color = "@base05";
+# # orientation = "horizontal";
+# # border-radius = "55px";
+# # padding = "5px 5px 5px 10px";
+# # };
+
+# # element-icon = {
+# # background-color = "@transparent";
+# # size = "30px";
+# # border = "0px";
+# # padding = "0px 0px 0px";
+# # };
+
+# # element-text = {
+# # expand = true;
+# # background-color = "@transparent";
+# # text-color = "@base05";
+# # vertical-align = "0.5";
+# # };
+
+# # "element normal.urgent, element alternate.urgent" = {
+# # background-color = "@urgent";
+# # text-color = "@base08";
+# # border-radius = "9px";
+# # };
+
+# # "element normal.active, element alternate.active" = {
+# # background-color = "@background-alt";
+# # text-color = "@base0B";
+# # };
+
+# # "element selected" = {
+# # background-color = "@background-alt";
+# # text-color = "@base0A";
+# # };
+
+# # "element selected.urgent" = {
+# # background-color = "@urgent-selected";
+# # text-color = "@base08";
+# # };
+
+# # "element selected.active" = {
+# # background-color = "@background-alt";
+# # color = "@base0A";
+# # };
+# # };
+# };
}
diff --git a/modules/emacs.nix b/modules/emacs.nix
index 4cd7e21..43da05c 100644
--- a/modules/emacs.nix
+++ b/modules/emacs.nix
@@ -20,6 +20,7 @@
vertico-posframe
chatgpt-shell
denote
+ consult-denote
nushell-ts-mode
nushell-mode
hydra
diff --git a/pkgs/base-packages.nix b/pkgs/base-packages.nix
index e7d1553..ff1a267 100644
--- a/pkgs/base-packages.nix
+++ b/pkgs/base-packages.nix
@@ -1,7 +1,8 @@
-{ pkgs, config, ... }:
+{ pkgs, config, inputs, ... }:
{
environment.systemPackages = with pkgs; [
+ inputs.anipy-cli.packages.${pkgs.system}.default
vim
wget
killall
diff --git a/scripts/rbw.sh b/scripts/rbw.sh
index 39573c6..fb82f82 100755
--- a/scripts/rbw.sh
+++ b/scripts/rbw.sh
@@ -23,8 +23,7 @@ list_passwords() {
passwords=$(rbw list)
-prompt='search for passwords...'
-SECRET=$(list_passwords | rofi -sync -i -p="${prompt}" -dmenu -theme ~/.config/rofi/launchers-git/$style.rasi)
+SECRET=$(list_passwords | rofi -sync -i -dmenu -p "" )
# Ask whether pass, user or both are required
@@ -34,7 +33,7 @@ options=("Password" \
"QR-Code" \
"OTP")
-option=$(printf '%s\n' "${options[@]%}" | rofi -sync -i -dmenu -width 400 -lines 4 -prompt="..." -theme ~/.config/rofi/launchers-git/$style.rasi)
+option=$(printf '%s\n' "${options[@]%}" | rofi -sync -i -dmenu -width 400 -lines 4 -p "")
echo $option