From b0adc96b78ceeb41eabb1d4ef8b38a22a0623c56 Mon Sep 17 00:00:00 2001 From: esche Date: Sun, 19 Nov 2023 19:38:26 +0100 Subject: [PATCH] Switched from bemenu to wofi --- .config/sway/config | 7 +++++-- .config/sway/menu.sh | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index 584c460..488eadc 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -24,9 +24,12 @@ Font "Noto Sans" Regular 14 set $border 000000 set $text ffffff set $wallpaper ~/.config/sway/2020-12-21_The-fairy-fir-tree_by-David-Revoy.jpg + set $wallpaper2 ~/.config/sway/418263.jpg # The default font can also be set with fontconfig + Font "Noto Sans" Regular 14 # Your preferred applications - set $launcher bemenu-run --fn 14 -m -2 -l 10 -i -p ▶ -B 1 --tf "#$highlight" --fb "#$backgr" --nb "#$backgr" --hb "#$backgr" --hf "#$highlight" --ab "#$backgr" --bdr "#$border" | xargs swaymsg exec -- + #set $launcher bemenu-run --fn 14 -m -2 -l 10 -i -p ▶ -B 1 --tf "#$highlight" --fb "#$backgr" --nb "#$backgr" --hb "#$backgr" --hf "#$highlight" --ab "#$backgr" --bdr "#$border" | xargs swaymsg exec -- + set $launcher wofi --show drun --monitor -2 --lines 10 --insensitive --allow-images | xargs swaymsg exec -- set $menu ~/.config/sway/menu.sh --fn 14 -m -2 -l 10 -i -B 1 --tf "#$highlight" --fb "#$backgr" --nb "#$backgr" --hb "#$backgr" --hf "#$highlight" --ab "#$backgr" --bdr "#$border" set $term alacritty set $lock swaylock -f -e -i "$wallpaper" -s fill --indicator-x-position 100 --ring-color "$primary" --ring-clear-color "$highlight" --ring-ver-color "$lightbackgr" --ring-wrong-color "$error" --inside-color 00000000 --inside-clear-color 00000000 --inside-ver-color 00000000 --inside-wrong-color 00000000 --key-hl-color "$highlight" --bs-hl-color "$error" --text-clear-color "$text" --text-ver-color "$text" --text-wrong-color "$text" --text-caps-lock-color "$text" @@ -42,7 +45,7 @@ Font "Noto Sans" Regular 14 ### Output configuration - output * bg $wallpaper fill + output * bg $wallpaper2 fill # You can get the names of your outputs by running: swaymsg -t get_outputs # more wallpaper are available in /usr/share/backgrounds/sway/ diff --git a/.config/sway/menu.sh b/.config/sway/menu.sh index ef6d116..eacd1a6 100644 --- a/.config/sway/menu.sh +++ b/.config/sway/menu.sh @@ -7,7 +7,7 @@ case "$(echo -e "🖧 ...von allen Bildschirmen 🗔 ...vom aktiven Fenster ⌗ ...von Auswahl 🖵 ...vom Bildschirm" | -bemenu -p "Foto" "$@")" in +wofi --dmenu --prompt "Foto" "$@")" in "🖧 ...von allen Bildschirmen") exec .config/sway/screenshot.sh all ;; "🗔 ...vom aktiven Fenster") exec .config/sway/screenshot.sh focus ;; @@ -24,7 +24,7 @@ case "$(echo -e "🖼 Bildschirmfoto... ⏻ Herunterfahren ↻ Neustarten ⏾ Standby" | -bemenu -p "Menü" "$@")" in +wofi --dmenu --prompt "Menü" "$@")" in "🖼 Bildschirmfoto...") screenshot "$@";;