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, ... }: { { lib, config, ... }: let
colors = with lib; with strings; { inherit (lib.strings) concatStrings;
background = concatStrings [ config.theme.base "ee" ]; inherit (config) theme;
text = concatStrings [ config.theme.text "ff" ]; in {
match = concatStrings [ config.theme.gold "ff" ]; main = {
selection = concatStrings [ config.theme.highlight-med "ee" ]; font = "FiraCodeNerdFont:size=18";
selection-text = concatStrings [ config.theme.text "ff" ]; prompt = "";
selection-match = concatStrings [ config.theme.gold "ff" ]; icons-enabled = false;
border = concatStrings [ config.theme.overlay "ff" ]; 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

@ -81,14 +81,14 @@ in {
{ command = ["waybar"]; } { command = ["waybar"]; }
{ command = ["brightnessctl" "s" "50%"]; } { command = ["brightnessctl" "s" "50%"]; }
{ command = ["swaybg" "-i" "${./wallpaper.png}"]; } { command = ["swaybg" "-i" "${./wallpaper.png}"]; }
{ command = ["swayidle" "-w" "before-sleep" "swaylock"]; } { command = ["swayidle" "-w" "before-sleep" "swaylock" ]; }
]; ];
binds = { binds = {
# Shortcuts # Shortcuts
"Mod+Z".action.spawn = "alacritty"; "Mod+Z".action.spawn = "alacritty";
"Mod+B".action.spawn = "firefox"; "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%+"]; "XF86AudioRaiseVolume".action.spawn = ["wpctl" "set-volume" "-l" "1" "@DEFAULT_AUDIO_SINK@" "5%+"];
"XF86AudioLowerVolume".action.spawn = ["wpctl" "set-volume" "@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 (lib.strings) concatStrings;
inherit (config) theme; inherit (config) theme;
in { in {
daemonize = true;
ignore-empty-password = true; ignore-empty-password = true;
submit-on-touch = true; submit-on-touch = true;