From 9113279c5c349fef369eb6fec971024027355193 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Sun, 26 Mar 2023 15:03:44 +0200 Subject: [PATCH] switch the launcher to fuzzel --- users/rouven/modules/hyprland/default.nix | 50 +++++++-------------- users/rouven/modules/hyprland/hyprland.conf | 2 +- 2 files changed, 16 insertions(+), 36 deletions(-) diff --git a/users/rouven/modules/hyprland/default.nix b/users/rouven/modules/hyprland/default.nix index c31f835..c0f9618 100644 --- a/users/rouven/modules/hyprland/default.nix +++ b/users/rouven/modules/hyprland/default.nix @@ -17,7 +17,8 @@ pulseaudio # installed to have pactl jq libnotify - wofi + #wofi + fuzzel wl-clipboard grim slurp @@ -25,42 +26,21 @@ ]; xdg.configFile = { - "wofi/config".text = '' - allow_images = true - term = foot + "fuzzel/fuzzel.ini".text = '' + [main] + icon-theme=${config.gtk.iconTheme.name} + show-actions=yes + width=80 + + [colors] + background=${config.colorScheme.colors.base00}ff + text=${config.colorScheme.colors.base05}ff + match=${config.colorScheme.colors.base08}ff + selection=${config.colorScheme.colors.base02}ff + selection-text=${config.colorScheme.colors.base04}ff + border=${config.colorScheme.colors.base01}ff ''; - "wofi/style.css".text = '' - window { - margin: 0px; - border: 1px solid #${config.colorScheme.colors.base0D}; - background-color: #${config.colorScheme.colors.base00}; - border-radius: 15px; - } - #input { - margin: 5px; - border: none; - color: #${config.colorScheme.colors.base05}; - background-color: #${config.colorScheme.colors.base02}; - } - #inner-box, - #outer-box { - margin: 5px; - border: none; - background-color: #${config.colorScheme.colors.base00}; - } - #text { - margin: 5px; - border: none; - color: #${config.colorScheme.colors.base05}; - } - #entry { - background-color: #${config.colorScheme.colors.base00}; - } - #entry:selected { - background-color: #${config.colorScheme.colors.base03}; - } - ''; "swappy/config".text = '' [Default] save_dir = ~/Pictures/Screenshots/ diff --git a/users/rouven/modules/hyprland/hyprland.conf b/users/rouven/modules/hyprland/hyprland.conf index 011c64f..6f8263a 100644 --- a/users/rouven/modules/hyprland/hyprland.conf +++ b/users/rouven/modules/hyprland/hyprland.conf @@ -97,7 +97,7 @@ bind = $mainMod, M, fullscreen, 1 # maximize bind = $mainMod SHIFT, F, fakefullscreen, 0 bind = $mainMod, O, swapactiveworkspaces, 0 1 bind = $mainMod, U, focusurgentorlast -bind = ALT, Space, exec, wofi --show drun +bind = ALT, Space, exec, fuzzel bind = $mainMod, S, togglesplit, # dwindlr