gasshhhhhh

This commit is contained in:
Chris Cochrun 2025-01-07 13:06:05 -06:00
parent 2a82a20068
commit 6a1ef25bc9
11 changed files with 473 additions and 485 deletions

View file

@ -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} [<span weight='light' size='small'><i>({generic})</i></span>]";/* - {exec}*/
/* drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";/\* - {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;
}

View file

@ -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} [<span weight='light' size='small'><i>({generic})</i></span>]";/* - {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;
}

View file

@ -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",

View file

@ -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

13
home/certs.txt Normal file
View file

@ -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-----

View file

@ -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 {

View file

@ -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 = [

View file

@ -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} [<span weight='light' size='small'><i>({generic})</i></span>]";/* - {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"; =&gt; foo: "abc";
# # bar = mkLiteral "abc"; =&gt; 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} [<span weight='light' size='small'><i>({generic})</i></span>]"; # - {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";
# # };
# # };
# };
}

View file

@ -20,6 +20,7 @@
vertico-posframe
chatgpt-shell
denote
consult-denote
nushell-ts-mode
nushell-mode
hydra

View file

@ -1,7 +1,8 @@
{ pkgs, config, ... }:
{ pkgs, config, inputs, ... }:
{
environment.systemPackages = with pkgs; [
inputs.anipy-cli.packages.${pkgs.system}.default
vim
wget
killall

View file

@ -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