summaryrefslogtreecommitdiff
path: root/arch/scripts/.local/bin/launcher
blob: 9451d356801af787d04d71029a6ec05b205f5932 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env bash
# Application launcher using bemenu — colors sourced from wallust cache

FONT="JetBrainsMono Nerd Font 12"

# Defaults (used until wallust has run at least once)
NB="#1e1e2e" NF="#cdd6f4" SB="#89b4fa" SF="#1e1e2e"
AB="#313244" AF="#cdd6f4" TB="#1e1e2e" TF="#89b4fa"
FB="#1e1e2e" FF="#cdd6f4"

[ -f ~/.cache/wallust/launcher-colors.sh ] && source ~/.cache/wallust/launcher-colors.sh

bemenu-run \
  --fn     "$FONT" \
  --nb     "$NB"   \
  --nf     "$NF"   \
  --sb     "$SB"   \
  --sf     "$SF"   \
  --ab     "$AB"   \
  --af     "$AF"   \
  --tb     "$TB"   \
  --tf     "$TF"   \
  --fb     "$FB"   \
  --ff     "$FF"   \
  --list   10      \
  --prompt " "