34 lines
465 B
Bash
34 lines
465 B
Bash
|
#!/usr/bin/env bash
|
||
|
theme="nord"
|
||
|
dir="$HOME/.config/rofi/"
|
||
|
|
||
|
# catppuccin
|
||
|
ALPHA="#00000000"
|
||
|
BG="#24273A"
|
||
|
FG="#BF616A"
|
||
|
SELECT="#1E1E2E"
|
||
|
ACCENT="#24273A"
|
||
|
|
||
|
# nord
|
||
|
#ALPHA="#00000000"
|
||
|
#BG="#3B4253"
|
||
|
#FG="#BF616A"
|
||
|
#SELECT="#343a46"
|
||
|
#ACCENT="#3B4252"
|
||
|
|
||
|
# overwrite colors file
|
||
|
cat > $dir/colors.rasi <<- EOF
|
||
|
/* colors */
|
||
|
|
||
|
* {
|
||
|
al: $ALPHA;
|
||
|
bg: $BG;
|
||
|
se: $SELECT;
|
||
|
fg: $FG;
|
||
|
ac: $ACCENT;
|
||
|
}
|
||
|
EOF
|
||
|
|
||
|
rofi -no-lazy-grab -show drun -modi drun -theme $dir/"$theme"
|
||
|
|