2024-10-11 23:27:07 +03:00
|
|
|
{ config, ... }:
|
|
|
|
let
|
|
|
|
fontName = config.style.font.serif.name;
|
|
|
|
fontSize = toString config.style.font.size.desktop;
|
2024-04-06 03:03:58 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
accent = config.style.color.accent;
|
|
|
|
bg = config.style.color.bg.dark;
|
|
|
|
fg = config.style.color.fg.light;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
text = ''
|
|
|
|
# Application launcher.
|
|
|
|
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
|
|
|
# on the original workspace that the command was run on.
|
|
|
|
# set $menu _dmenu_path_wrapped | wmenu -b -p 'Run:' -i -f "${fontName} ${fontSize}" -M ${bg}D9 -S ${bg}D9 -N ${bg}D9 -m ${accent} -s ${accent} -n ${fg} | xargs swaymsg exec --
|
|
|
|
set $menu fuzzel
|
2024-04-06 03:03:58 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
bindsym $mod+space exec $menu
|
|
|
|
'';
|
2024-04-06 03:03:58 +03:00
|
|
|
}
|