sway: use bemenu

This commit is contained in:
Konstantin Koslowski 2020-12-19 13:08:55 +01:00
parent 243c979802
commit 827a8fbdc2

12
config
View file

@ -1,9 +1,8 @@
# Default config for sway # Default config for sway
# vim: ft=i3 # vim: ft=i3
# #
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference. # Read `man 5 sway` for a complete reference.
#
### Variables ### Variables
# #
@ -18,11 +17,12 @@ set $right l
set $term termite set $term termite
set $background $HOME/Cloud/xkonni/Pictures/wallpaper/5k_bavarian_forest_bw.jpg set $background $HOME/Cloud/xkonni/Pictures/wallpaper/5k_bavarian_forest_bw.jpg
set $lock_cmd $HOME/.config/sway/bin/lock set $lock_cmd $HOME/.config/sway/bin/lock
set $font "Cascadia Code PL Regular 10"
# Your preferred application launcher # Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened set $bemenu 'bemenu -i --nb "#3f3f3f" --nf "#dcdccc" --tf "$268bd2" --hf "#268bd2" --fn $font'
# on the original workspace that the command was run on. set $menu j4-dmenu-desktop --term="termite" \
set $menu dmenu_path | dmenu | xargs swaymsg exec -- --dmenu=$bemenu
### Output configuration ### Output configuration
output * bg $background fill output * bg $background fill
@ -214,7 +214,7 @@ for_window [title="nmtui"] floating enable
bar { bar {
position top position top
status_command i3status-rs $HOME/.config/sway/conf.d/i3status_$(hostname).toml status_command i3status-rs $HOME/.config/sway/conf.d/i3status_$(hostname).toml
font "Cascadia Code PL Regular 10" font $font
colors { colors {
separator #666666 separator #666666
background #222222 background #222222