From 0f0d31d7f68ca24c6efb1a2076d7a6d4872d225e Mon Sep 17 00:00:00 2001 From: q3aql Date: Wed, 30 Jul 2025 17:08:19 +0200 Subject: [PATCH] Set font wofi scripts --- .config/sway/wofi/wofi_drun | 2 +- .config/sway/wofi/wofi_fbrun | 2 +- .config/sway/wofi/wofi_run | 2 +- .config/sway/wofi/wofi_wrun | 2 +- .config/wofi/wofi.css | 5 +++++ 5 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .config/wofi/wofi.css diff --git a/.config/sway/wofi/wofi_drun b/.config/sway/wofi/wofi_drun index 72ea239..3c9b3f4 100755 --- a/.config/sway/wofi/wofi_drun +++ b/.config/sway/wofi/wofi_drun @@ -105,7 +105,7 @@ else fi create_list_files -list_output=$(list_desktop_icons | wofi --dmenu -i -p " drun") +list_output=$(list_desktop_icons | wofi -s ~/.config/wofi/wofi.css --dmenu -i -p " drun") run_output=$(echo ${list_output} | cut -c 5-999) if [ ! -z "${run_output}" ] ; then if [ "${run_output}" == "Scan New Desktop Files" ] ; then diff --git a/.config/sway/wofi/wofi_fbrun b/.config/sway/wofi/wofi_fbrun index 3549e99..2a4fca1 100755 --- a/.config/sway/wofi/wofi_fbrun +++ b/.config/sway/wofi/wofi_fbrun @@ -57,7 +57,7 @@ function remove_icon() { file=1 while [ "${file}" ]; do - file_icon=$(show_icon_tree | wofi --dmenu -i -p " filebrowser: $(basename $(pwd))") + file_icon=$(show_icon_tree | wofi -s ~/.config/wofi/wofi.css --dmenu -i -p " filebrowser: $(basename $(pwd))") file=$(remove_icon "${file_icon}") echo "# ${file} #" if [ -e "${file}" ]; then diff --git a/.config/sway/wofi/wofi_run b/.config/sway/wofi/wofi_run index cfd4216..b3268d5 100755 --- a/.config/sway/wofi/wofi_run +++ b/.config/sway/wofi/wofi_run @@ -47,6 +47,6 @@ function list_binaries_icons() { generate_spaces 75 } -list_output=$(list_binaries_icons | wofi --dmenu -i -p " run") +list_output=$(list_binaries_icons | wofi -s ~/.config/wofi/wofi.css --dmenu -i -p " run") run_output=$(echo "${list_output}" | cut -c4-999) ${run_output} diff --git a/.config/sway/wofi/wofi_wrun b/.config/sway/wofi/wofi_wrun index 20e22e7..f810bed 100755 --- a/.config/sway/wofi/wofi_wrun +++ b/.config/sway/wofi/wofi_wrun @@ -36,7 +36,7 @@ function list_applications_icons() { } check_wmctrl -list_output=$(list_applications_icons | wofi --dmenu -i -p " window") +list_output=$(list_applications_icons | wofi -s ~/.config/wofi/wofi.css --dmenu -i -p " window") run_output=$(echo ${list_output} | cut -c 5-999) echo "# Selected: ${run_output}" run_output=$(echo "${run_output}" | cut -d " " -f 1) diff --git a/.config/wofi/wofi.css b/.config/wofi/wofi.css new file mode 100644 index 0000000..246d5e7 --- /dev/null +++ b/.config/wofi/wofi.css @@ -0,0 +1,5 @@ +* { + /*font-family: 'Noto Sans', 'UbuntuMono Nerd Font', sans-serif; /* Reemplaza 'TuFuente' con el nombre de la fuente que deseas */ + font-family: 'UbuntuMono Nerd Font', sans-serif; /* Reemplaza 'TuFuente' con el nombre de la fuente que deseas */ + font-size: 15px; /* Ajusta el tamaño de la fuente según tus preferencias */ +}