switch to a better launcher

This commit is contained in:
Schrottkatze 2026-01-02 04:54:38 +01:00
commit 45a85e7a82
No known key found for this signature in database
6 changed files with 58 additions and 14 deletions

View file

@ -10,12 +10,11 @@
./layaway.nix ./layaway.nix
./swayidle.nix ./swayidle.nix
./browser.nix ./browser.nix
./fuzzel.nix
./eww ./eww
./niri ./niri
]; ];
# temporary(tm)
programs.wofi.enable = true;
programs.swaylock.enable = true; programs.swaylock.enable = true;
services.network-manager-applet.enable = true; services.network-manager-applet.enable = true;
xsession.enable = true; xsession.enable = true;
@ -27,6 +26,10 @@
# fucking hell. # fucking hell.
pkgs.obsidian pkgs.obsidian
pkgs.zsh pkgs.zsh
pkgs.hyprpicker
pkgs.bemoji
pkgs.librsvg
pkgs.cairo
]; ];
services.gpg-agent = { services.gpg-agent = {

View file

@ -0,0 +1,28 @@
{ lib, ... }:
{
programs.fuzzel = {
enable = true;
settings = {
main = {
font = lib.mkForce "Departure Mono:size=13";
terminal = "kitty";
lines = 15;
width = 50;
horizontal-pad = 20;
vertical-pad = 12;
};
colors = {
background = lib.mkForce "282828cf";
match = lib.mkForce "d65d0eff";
selection-match = lib.mkForce "fe8019ff";
border = lib.mkForce "bab9e5ff";
};
border = {
radius = 10;
selection-radius = 3;
width = 3;
};
};
};
}

View file

@ -1,11 +1,10 @@
binds { binds {
// spawn terminal // spawn terminal
Mod+Return repeat=false { spawn "kitty"; } Mod+Return repeat=false { spawn "kitty"; }
Mod+D repeat=false { spawn "wofi" "-S" "drun" "--allow-images"; } Mod+D repeat=false { spawn "fuzzel"; }
Mod+I { Mod+I repeat=false { spawn "bemoji"; }
spawn "/nix/store/0wnpajfc40akxikz2h483a256ab97idx-rofimoji-6.7.0/bin/rofimoji" "--selector" "wofi" "-f" "alchemical_symbols" "emojis" "braille_patterns" "box_drawing" "chess_symbols" "emoticons" "geometric_shapes" "greek_extended" "math" "mathematical_alphanumeric_symbols" "mathematical_operators" "miscellaneous_symbols" "miscellaneous_mathematical_symbols-a" "miscellaneous_mathematical_symbols-b" "miscellaneous_symbols_and_arrows" "miscellaneous_symbols_and_pictographs" "miscellaneous_technical" "modi" "modifier_tone_letters" "musical_symbols" "nerd_font" "number_forms" "shorthand_format_controls" "specials" "variation_selectors" "vertical_forms" "-a" "copy"; Mod+M repeat=false { spawn "hyprpicker"; }
} Mod+E repeat=false { spawn "kitty" "hx" "~/.config/niri/live.kdl"; }
Mod+Shift+E { quit; } Mod+Shift+E { quit; }
Mod+Shift+Q { close-window; } Mod+Shift+Q { close-window; }

View file

@ -2,7 +2,7 @@ prefer-no-csd
cursor { cursor {
xcursor-theme "phinger-cursors-dark" xcursor-theme "phinger-cursors-dark"
xcursor-size 16 xcursor-size 32
hide-when-typing hide-when-typing
hide-after-inactive-ms 10000 hide-after-inactive-ms 10000
} }
@ -71,3 +71,15 @@ window-rule {
to="#ff9a56" to="#ff9a56"
} }
} }
layer-rule {
match namespace="launcher"
geometry-corner-radius 10
shadow {
on
offset x=0 y=0
softness 40
color "#bab9e5af"
}
baba-is-float true
}

View file

@ -3,7 +3,6 @@ let
discord-presence-lsp = pkgs.callPackage ./discord-presence-lsp.nix { }; discord-presence-lsp = pkgs.callPackage ./discord-presence-lsp.nix { };
in in
{ {
programs.niri.enable = true;
imports = [ imports = [
./zed ./zed
]; ];

View file

@ -5,10 +5,13 @@
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "google"; owner = "google";
repo = "fonts"; repo = "fonts";
rev = "8a0041ea7b92e339a7ce13e4e1dadcc85cb8f5df"; rev = "0bd2d5599819aa0774f5ca64c8ac3f54ae3fd54f";
sha256 = "sha256-9TzeihEKIEDRtDuv+NmLWjTpoGnBR+RP/jIBfB1O06U="; sha256 = "sha256-E89GYJKG65Dh7TPI6TVre/4LCxXnxvTAPYS/OPj7nPg=";
}; };
installPhase = oldAttrs.installPhase + "mv $out/share/fonts/truetype $out/share/fonts/ttf"; installPhase =
oldAttrs.installPhase
+ "mv $out/share/fonts/truetype $out/share/fonts/ttf\n"
+ "rm $out/share/fonts/ttf/Noto*Emoji*.ttf";
}); });
}; };
@ -17,8 +20,8 @@
nerd-fonts.fira-code nerd-fonts.fira-code
nerd-fonts.departure-mono nerd-fonts.departure-mono
google-fonts google-fonts
noto-fonts-color-emoji
montserrat montserrat
noto-fonts
atkinson-hyperlegible atkinson-hyperlegible
arkpandora_ttf arkpandora_ttf
liberation_ttf liberation_ttf
@ -42,7 +45,7 @@
fonts.fontconfig = { fonts.fontconfig = {
enable = true; enable = true;
defaultFonts = { defaultFonts = {
emoji = [ ]; emoji = [ "Noto Color Emoji" ];
monospace = [ ]; monospace = [ ];
sansSerif = [ "Atkinson Hyperlegible" ]; sansSerif = [ "Atkinson Hyperlegible" ];
serif = [ ]; serif = [ ];