Replace rofi with fuzzel
Sway: disable shadows
This commit is contained in:
parent
52235b6bbe
commit
54d4ff1487
|
@ -9,7 +9,7 @@
|
|||
imports = [
|
||||
./alacritty/default.nix
|
||||
./avizo/default.nix
|
||||
./rofi/default.nix
|
||||
./fuzzel/default.nix
|
||||
./swaylock/default.nix
|
||||
./swayidle/default.nix
|
||||
./swaync/default.nix
|
||||
|
@ -56,7 +56,7 @@
|
|||
};
|
||||
modifier = "Mod4";
|
||||
terminal = "${config.programs.alacritty.package}/bin/alacritty";
|
||||
menu = "${config.programs.rofi.finalPackage}/bin/rofi -show drun";
|
||||
menu = "${config.programs.fuzzel.package}/bin/fuzzel";
|
||||
workspaceAutoBackAndForth = true;
|
||||
bars = [];
|
||||
gaps = {
|
||||
|
@ -173,12 +173,12 @@
|
|||
blur_passes 3
|
||||
blur_radius 5
|
||||
corner_radius 10
|
||||
shadows enable
|
||||
shadow_blur_radius 4
|
||||
shadows disable
|
||||
shadow_blur_radius 0
|
||||
layer_effects "system-menu" blur enable; blur_ignore_transparent enable; shadows disable
|
||||
layer_effects "gtk-layer-shell" blur enable; blur_ignore_transparent enable; shadows disable
|
||||
layer_effects "launcher" blur enable; blur_ignore_transparent enable; shadows disable
|
||||
layer_effects "waybar" blur enable; blur_ignore_transparent enable; shadows disable
|
||||
layer_effects "rofi" blur enable; blur_ignore_transparent enable; shadows disable
|
||||
layer_effects "avizo" blur enable; blur_ignore_transparent enable; shadows disable
|
||||
layer_effects "swaync-notification-window" blur enable; blur_ignore_transparent enable; shadows disable
|
||||
layer_effects "swaync-control-center" blur enable; blur_ignore_transparent enable; shadows disable
|
||||
|
|
44
programs/sway/fuzzel/default.nix
Normal file
44
programs/sway/fuzzel/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
fonts,
|
||||
accentColour ? "base07",
|
||||
...
|
||||
}: {
|
||||
programs.fuzzel = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
dpi-aware = false;
|
||||
font = "${fonts.monospace.name}:size=${toString fonts.sizes.applications}";
|
||||
icon-theme = config.gtk.iconTheme.name;
|
||||
icons-enabled = true;
|
||||
fields = "filename,name,generic,categories";
|
||||
fuzzy = true;
|
||||
terminal = with config.programs; "${
|
||||
if alacritty.enable
|
||||
then alacritty.package
|
||||
else pkgs.alacritty
|
||||
}/bin/alacritty -e";
|
||||
lines = 40;
|
||||
width = 80;
|
||||
tabs = 4;
|
||||
layer = "overlay";
|
||||
};
|
||||
colors = with config.scheme; {
|
||||
background = "${base00}5A"; # 90% opacity
|
||||
text = "${base05}FF";
|
||||
match = "${red}FF";
|
||||
selection = "${base01}FF";
|
||||
selection-text = "${base05}FF";
|
||||
selection-match = "${red}FF";
|
||||
border = "${config.scheme.${accentColour}}FF";
|
||||
};
|
||||
border = {
|
||||
width = 1;
|
||||
radius = 10;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in a new issue