diff --git a/dots/config/bspwm/rices/aline/preview.png b/dots/config/bspwm/rices/aline/preview.png new file mode 100644 index 000000000..bb0dfb519 Binary files /dev/null and b/dots/config/bspwm/rices/aline/preview.png differ diff --git a/dots/config/bspwm/rices/aline/rofi.png b/dots/config/bspwm/rices/aline/rofi.png new file mode 100644 index 000000000..ba455cd21 Binary files /dev/null and b/dots/config/bspwm/rices/aline/rofi.png differ diff --git a/dots/config/bspwm/rices/andrea/preview.png b/dots/config/bspwm/rices/andrea/preview.png new file mode 100644 index 000000000..9b07e36d8 Binary files /dev/null and b/dots/config/bspwm/rices/andrea/preview.png differ diff --git a/dots/config/bspwm/rices/andrea/rofi.png b/dots/config/bspwm/rices/andrea/rofi.png new file mode 100644 index 000000000..e0c8cdb46 Binary files /dev/null and b/dots/config/bspwm/rices/andrea/rofi.png differ diff --git a/dots/config/bspwm/rices/brenda/preview.png b/dots/config/bspwm/rices/brenda/preview.png new file mode 100644 index 000000000..7b8dbc737 Binary files /dev/null and b/dots/config/bspwm/rices/brenda/preview.png differ diff --git a/dots/config/bspwm/rices/brenda/rofi.png b/dots/config/bspwm/rices/brenda/rofi.png new file mode 100644 index 000000000..243bf30fe Binary files /dev/null and b/dots/config/bspwm/rices/brenda/rofi.png differ diff --git a/dots/config/bspwm/rices/cristina/preview.png b/dots/config/bspwm/rices/cristina/preview.png new file mode 100644 index 000000000..83780d7d7 Binary files /dev/null and b/dots/config/bspwm/rices/cristina/preview.png differ diff --git a/dots/config/bspwm/rices/cristina/rofi.png b/dots/config/bspwm/rices/cristina/rofi.png new file mode 100644 index 000000000..397b3fde3 Binary files /dev/null and b/dots/config/bspwm/rices/cristina/rofi.png differ diff --git a/dots/config/bspwm/rices/cynthia/preview.png b/dots/config/bspwm/rices/cynthia/preview.png new file mode 100644 index 000000000..e2b30f10b Binary files /dev/null and b/dots/config/bspwm/rices/cynthia/preview.png differ diff --git a/dots/config/bspwm/rices/cynthia/rofi.png b/dots/config/bspwm/rices/cynthia/rofi.png new file mode 100644 index 000000000..b38a38db3 Binary files /dev/null and b/dots/config/bspwm/rices/cynthia/rofi.png differ diff --git a/dots/config/bspwm/rices/daniela/preview.png b/dots/config/bspwm/rices/daniela/preview.png new file mode 100644 index 000000000..bcb258599 Binary files /dev/null and b/dots/config/bspwm/rices/daniela/preview.png differ diff --git a/dots/config/bspwm/rices/daniela/rofi.png b/dots/config/bspwm/rices/daniela/rofi.png new file mode 100644 index 000000000..f9a121d11 Binary files /dev/null and b/dots/config/bspwm/rices/daniela/rofi.png differ diff --git a/dots/config/bspwm/rices/emilia/preview.png b/dots/config/bspwm/rices/emilia/preview.png new file mode 100644 index 000000000..40bf1a464 Binary files /dev/null and b/dots/config/bspwm/rices/emilia/preview.png differ diff --git a/dots/config/bspwm/rices/emilia/rofi.png b/dots/config/bspwm/rices/emilia/rofi.png new file mode 100644 index 000000000..4df68a5c1 Binary files /dev/null and b/dots/config/bspwm/rices/emilia/rofi.png differ diff --git a/dots/config/bspwm/rices/isabel/preview.png b/dots/config/bspwm/rices/isabel/preview.png new file mode 100644 index 000000000..e907be0f4 Binary files /dev/null and b/dots/config/bspwm/rices/isabel/preview.png differ diff --git a/dots/config/bspwm/rices/isabel/rofi.png b/dots/config/bspwm/rices/isabel/rofi.png new file mode 100644 index 000000000..8757a6fd6 Binary files /dev/null and b/dots/config/bspwm/rices/isabel/rofi.png differ diff --git a/dots/config/bspwm/rices/jan/preview.png b/dots/config/bspwm/rices/jan/preview.png new file mode 100644 index 000000000..fc5390eb4 Binary files /dev/null and b/dots/config/bspwm/rices/jan/preview.png differ diff --git a/dots/config/bspwm/rices/jan/rofi.png b/dots/config/bspwm/rices/jan/rofi.png new file mode 100644 index 000000000..04d676862 Binary files /dev/null and b/dots/config/bspwm/rices/jan/rofi.png differ diff --git a/dots/config/bspwm/rices/karla/preview.png b/dots/config/bspwm/rices/karla/preview.png new file mode 100644 index 000000000..ec6753527 Binary files /dev/null and b/dots/config/bspwm/rices/karla/preview.png differ diff --git a/dots/config/bspwm/rices/karla/rofi.png b/dots/config/bspwm/rices/karla/rofi.png new file mode 100644 index 000000000..dac6e6dd2 Binary files /dev/null and b/dots/config/bspwm/rices/karla/rofi.png differ diff --git a/dots/config/bspwm/rices/marisol/preview.png b/dots/config/bspwm/rices/marisol/preview.png new file mode 100644 index 000000000..8b188e56e Binary files /dev/null and b/dots/config/bspwm/rices/marisol/preview.png differ diff --git a/dots/config/bspwm/rices/marisol/rofi.png b/dots/config/bspwm/rices/marisol/rofi.png new file mode 100644 index 000000000..f12a5bc46 Binary files /dev/null and b/dots/config/bspwm/rices/marisol/rofi.png differ diff --git a/dots/config/bspwm/rices/melissa/preview.png b/dots/config/bspwm/rices/melissa/preview.png new file mode 100644 index 000000000..ca3015500 Binary files /dev/null and b/dots/config/bspwm/rices/melissa/preview.png differ diff --git a/dots/config/bspwm/rices/melissa/rofi.png b/dots/config/bspwm/rices/melissa/rofi.png new file mode 100644 index 000000000..52c3c6479 Binary files /dev/null and b/dots/config/bspwm/rices/melissa/rofi.png differ diff --git a/dots/config/bspwm/rices/pamela/preview.png b/dots/config/bspwm/rices/pamela/preview.png new file mode 100644 index 000000000..68dd0d467 Binary files /dev/null and b/dots/config/bspwm/rices/pamela/preview.png differ diff --git a/dots/config/bspwm/rices/pamela/rofi.png b/dots/config/bspwm/rices/pamela/rofi.png new file mode 100644 index 000000000..4521e1b92 Binary files /dev/null and b/dots/config/bspwm/rices/pamela/rofi.png differ diff --git a/dots/config/bspwm/rices/silvia/preview.png b/dots/config/bspwm/rices/silvia/preview.png new file mode 100644 index 000000000..638b8546c Binary files /dev/null and b/dots/config/bspwm/rices/silvia/preview.png differ diff --git a/dots/config/bspwm/rices/silvia/rofi.png b/dots/config/bspwm/rices/silvia/rofi.png new file mode 100644 index 000000000..20e8ca85b Binary files /dev/null and b/dots/config/bspwm/rices/silvia/rofi.png differ diff --git a/dots/config/bspwm/rices/z0mbi3/preview.png b/dots/config/bspwm/rices/z0mbi3/preview.png new file mode 100644 index 000000000..63b20885f Binary files /dev/null and b/dots/config/bspwm/rices/z0mbi3/preview.png differ diff --git a/dots/config/bspwm/rices/z0mbi3/rofi.png b/dots/config/bspwm/rices/z0mbi3/rofi.png new file mode 100644 index 000000000..c23bd0c31 Binary files /dev/null and b/dots/config/bspwm/rices/z0mbi3/rofi.png differ diff --git a/dots/config/bspwm/scripts/RiceSelector b/dots/config/bspwm/scripts/RiceSelector index 1c9b83db4..279c4f9b0 100755 --- a/dots/config/bspwm/scripts/RiceSelector +++ b/dots/config/bspwm/scripts/RiceSelector @@ -53,8 +53,8 @@ done # Show the rofi selection menu with the starting point set to the current rice and store the result in a variable. # use this until nixos fixes this issue: https://github.com/NixOS/nixpkgs/pull/153275 -selected=$(printf "%s\n" "${options[@]}" | while read -r A ; do echo -en "$A\x00icon\x1f${preview_dir}$A/../preview.png\n" ; done | $rofi_command -theme-str "$rofi_override" -selected-row "$selected_index") -#selected=$(printf "%s\n" "${options[@]}" | while read -r A ; do echo -en "$A\x00icon\x1f${preview_dir}$A/preview.webp\n" ; done | $rofi_command -theme-str "$rofi_override" -selected-row "$selected_index") +#selected=$(printf "%s\n" "${options[@]}" | while read -r A ; do echo -en "$A\x00icon\x1f${preview_dir}$A/../preview.png\n" ; done | $rofi_command -theme-str "$rofi_override" -selected-row "$selected_index") +selected=$(printf "%s\n" "${options[@]}" | while read -r A ; do echo -en "$A\x00icon\x1f${preview_dir}$A/preview.png\n" ; done | $rofi_command -theme-str "$rofi_override" -selected-row "$selected_index") # If a valid option was selected, write the value to the configuration file and restart BSPWM. [[ -n "$selected" && "$selected" != "$current_rice" ]] || exit 1 diff --git a/dots/config/bspwm/sxhkdrc b/dots/config/bspwm/sxhkdrc index 893f710c7..9da0d2c2b 100644 --- a/dots/config/bspwm/sxhkdrc +++ b/dots/config/bspwm/sxhkdrc @@ -16,7 +16,7 @@ super + Return super + alt + Return OpenApps --floating -# Application menu +# Application menu (rofi) super + @space OpenApps --menu