From 827a8fbdc2cd3d93ecad72488a7dbe6815a7da6a Mon Sep 17 00:00:00 2001 From: Konstantin Koslowski Date: Sat, 19 Dec 2020 13:08:55 +0100 Subject: [PATCH] sway: use bemenu --- config | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config b/config index 08c2717..4d64135 100644 --- a/config +++ b/config @@ -1,9 +1,8 @@ # Default config for sway # vim: ft=i3 # -# Copy this to ~/.config/sway/config and edit it to your liking. -# # Read `man 5 sway` for a complete reference. +# ### Variables # @@ -18,11 +17,12 @@ set $right l set $term termite set $background $HOME/Cloud/xkonni/Pictures/wallpaper/5k_bavarian_forest_bw.jpg set $lock_cmd $HOME/.config/sway/bin/lock +set $font "Cascadia Code PL Regular 10" # Your preferred 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 | dmenu | xargs swaymsg exec -- +set $bemenu 'bemenu -i --nb "#3f3f3f" --nf "#dcdccc" --tf "$268bd2" --hf "#268bd2" --fn $font' +set $menu j4-dmenu-desktop --term="termite" \ + --dmenu=$bemenu ### Output configuration output * bg $background fill @@ -214,7 +214,7 @@ for_window [title="nmtui"] floating enable bar { position top status_command i3status-rs $HOME/.config/sway/conf.d/i3status_$(hostname).toml - font "Cascadia Code PL Regular 10" + font $font colors { separator #666666 background #222222