updated quickshell

This commit is contained in:
2026-08-31 21:20:26 -07:00
parent e09304b0b6
commit 47c0c9c719
25 changed files with 763 additions and 219 deletions

28
home/rofi.nix Normal file
View File

@@ -0,0 +1,28 @@
{ pkgs, ... }:
let
# Rofi script-mode indexer: exposes every executable user script
# (shell, python, whatever) so the launcher finds "everything".
rofiScripts = pkgs.writeShellScriptBin "rofi-scripts"
(builtins.readFile ./rofi/rofi-scripts.sh);
in
{
programs.rofi = {
enable = true;
terminal = "${pkgs.foot}/bin/foot";
cycle = true;
theme = ./rofi/volt.rasi;
extraConfig = {
# Combi mode searches .desktop apps (drun), binaries (run),
# open windows (window) and user scripts (scripts).
modes = "combi";
combi-modes = "drun,run,window,scripts:${rofiScripts}/bin/rofi-scripts";
show-icons = false;
drun-display-format = "{name} <span alpha='60%'>{comment}</span>";
display-combi = "silicon volt >";
matching = "fuzzy";
sort = true;
};
};
}