#!/bin/bash

# Custom Rofi Script

BORDER="#59000000"
SEPARATOR="#00000000"
FOREGROUND="#FFFFFF"
#BACKGROUND="#59000000"
BACKGROUND="#D11B292B"
BACKGROUND_ALT="#00000000"
#HIGHLIGHT_BACKGROUND="#59000000"
HIGHLIGHT_BACKGROUND="#F5F6D4"
HIGHLIGHT_FOREGROUND="#000000"

BLACK="#000000"
WHITE="#ffffff"
RED="#e53935"
GREEN="#43a047"
YELLOW="#fdd835"
#BLUE="#1e88e5"
BLUE="#f5f6d4"
MAGENTA="#00897b"
CYAN="#00acc1"
PINK="#d81b60"
PURPLE="#8e24aa"
INDIGO="#3949ab"
TEAL="#00897b"
LIME="#c0ca33"
AMBER="#ffb300"
ORANGE="#fb8c00"
BROWN="#6d4c41"
GREY="#757575"
BLUE_GREY="#546e7a"
DEEP_PURPLE="#5e35b1"
DEEP_ORANGE="#f4511e"
LIGHT_BLUE="#039be5"
LIGHT_GREEN="#7cb342"

# Launch Rofi
#rofi -no-lazy-grab -show drun \
#-display-drun "Applications :" -drun-display-format "{name}" \
rofi -no-lazy-grab -modi "Files:~/.config/bspwm/scripts/rofi-fb.sh,calc" -terse -combi-modi drun,run,window,Files,calc -show combi -no-show-match -no-sort \
-display-combi "Power Menu " \
-display-ssh "SSH " \
-hide-scrollbar true \
-bw 0 \
-lines 10 \
-line-padding 8 \
-padding 20 \
-width 30 \
-xoffset 190 -yoffset -585 \
-location 7 \
-columns 2 \
-show-icons -icon-theme "Papirus" \
-font "Noto Sans 9" \
-color-enabled true \
-color-window "$BACKGROUND,$BORDER,$SEPARATOR" \
-color-normal "$BACKGROUND_ALT,$FOREGROUND,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
-color-active "$BACKGROUND,$MAGENTA,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
-color-urgent "$BACKGROUND,$BLUE,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND"

# More Options
#-fullscreen \

# Theming help
# color window = background, border, separator
# color normal = background, foreground, background-alt, highlight-background, highlight-foreground
# color active = background, foreground, background-alt, highlight-background, highlight-foreground
# color urgent = background, foreground, background-alt, highlight-background, highlight-foreground
