moved more config to fuzzel.ini

This commit is contained in:
twoneis 2024-07-29 23:08:44 +02:00
parent b26afc1a4b
commit 5956490520
3 changed files with 25 additions and 11 deletions

View file

@ -1,11 +1,24 @@
{ lib, config, ... }: {
colors = with lib; with strings; {
background = concatStrings [ config.theme.base "ee" ];
text = concatStrings [ config.theme.text "ff" ];
match = concatStrings [ config.theme.gold "ff" ];
selection = concatStrings [ config.theme.highlight-med "ee" ];
selection-text = concatStrings [ config.theme.text "ff" ];
selection-match = concatStrings [ config.theme.gold "ff" ];
border = concatStrings [ config.theme.overlay "ff" ];
{ lib, config, ... }: let
inherit (lib.strings) concatStrings;
inherit (config) theme;
in {
main = {
font = "FiraCodeNerdFont:size=18";
prompt = "";
icons-enabled = false;
terminal = "alacritty -e";
list-executables-in-path = true;
};
colors = {
background = concatStrings [ theme.base "ee" ];
text = concatStrings [ theme.text "ff" ];
match = concatStrings [ theme.gold "ff" ];
selection = concatStrings [ theme.highlight-med "ee" ];
selection-text = concatStrings [ theme.text "ff" ];
selection-match = concatStrings [ theme.gold "ff" ];
};
border = {
width = 0;
radius = 8;
};
}

View file

@ -88,7 +88,7 @@ in {
# Shortcuts
"Mod+Z".action.spawn = "alacritty";
"Mod+B".action.spawn = "firefox";
"Mod+Semicolon".action.spawn = ["fuzzel" "-I" "-T" "alacritty" "-p" ""];
"Mod+Space".action.spawn = "fuzzel";
"XF86AudioRaiseVolume".action.spawn = ["wpctl" "set-volume" "-l" "1" "@DEFAULT_AUDIO_SINK@" "5%+"];
"XF86AudioLowerVolume".action.spawn = ["wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "5%-"];

View file

@ -2,6 +2,7 @@
inherit (lib.strings) concatStrings;
inherit (config) theme;
in {
daemonize = true;
ignore-empty-password = true;
submit-on-touch = true;