Set font wofi scripts
This commit is contained in:
parent
265f0c1359
commit
0f0d31d7f6
@ -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
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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)
|
||||
|
5
.config/wofi/wofi.css
Normal file
5
.config/wofi/wofi.css
Normal file
@ -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 */
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user