sway menu

This commit is contained in:
tavo 2025-09-05 15:19:52 -06:00
parent b12caae894
commit 4ba93cafa4
4 changed files with 59 additions and 47 deletions

View file

@ -11,3 +11,5 @@ steam: com.valvesoftware.Steam
flatseal: com.github.tchx84.Flatseal
loupe: org.gnome.Loupe
citations: org.gnome.World.Citations
libreoffice: org.libreoffice.LibreOffice
qbittorrent: org.qbittorrent.qBittorrent

View file

@ -3,7 +3,7 @@ MENU_BACKEND="${MENU_BACKEND:-menu_bemenu}"
# Configuration
font="JetbrainsMono"
font_size="11"
font_size="10"
col_white="#ebdbb2" # White
col_nb="#1e2326" # Normal background
col_nf="#374145" # Normal foreground
@ -80,18 +80,24 @@ case "$MODE" in
TRUN="-run"
FRUN=""
WRUN="--show drun -I"
$MENU_BACKEND ;;
$MENU_BACKEND
;;
dmenu)
BRUN=""
DRUN=""
TRUN=""
FRUN=""
WRUN="--show dmenu"
$MENU_BACKEND ;;
$MENU_BACKEND
;;
pass)
BPASS="-x"
DPASS="-P"
WPASS="-P"
$MENU_BACKEND ;;
*) _help ; exit 0;;
$MENU_BACKEND
;;
*)
_help
exit 0
;;
esac

View file

@ -3,6 +3,10 @@ EXPORTS_BIN_PREFIX="$HOME/.local/bin"
FLATPAK_BIN_PREFIX="/var/lib/flatpak/exports/bin"
FLATPAK_LIST="$XDG_CONFIG_HOME"/packages/flatpak/list.yml
if ! [ -d "$EXPORTS_BIN_PREFIX" ]; then
mkdir -p "$EXPORTS_BIN_PREFIX"
fi
while read line; do
bin="${line%%:*}"
app="${line##*:}"

View file

@ -36,7 +36,7 @@ set $filemgr thunar
set $browser firefox
set $browserh firefox-hardened
# -
set $menu wofi --show drun -I
set $menu exec $(~/.config/scripts/menu/menu run "Run:")
set $passmgr ~/.config/scripts/sway/swaypass
set $passotp ~/.config/scripts/sway/swayotp
# -
@ -121,7 +121,7 @@ font pango:JetBrainsMono Medium 8
bar {
position bottom
font pango:JetBrainsMono Bold 9
font pango:JetBrainsMono Bold 8
status_command ~/.config/scripts/sway/swaystatus
tray_padding 4