Icons misplaced in eww bar + automatically focus on search bar
qbnil opened this issue · 35 comments
There is an issue that i have, the very first time i booted into hyprland, the icons were looking just alright, but now all of them are kinda in the wrong place, how do i position them normally?- Is there any way to automatically put the cursor in the search bar for searching applications and not do that manually, thx in advance...
- remove all nerd fonts except
ttf-jetbrains-mono
andttf-nerd-fonts-symbols
, to list all fonts usepacman -Q | grep ttf
- i think no, eww have no this feature
Does that mean there is no way i can install some other font anymore?
there is no way you can install other nerd font except ttf-nerd-fonts-symbols
Btw, i lost your wallpaper by changin it to another one, where do you store it, the one with the flowers?
The last thing i wanted to ask you was about pinnning the apps to the taskbar, the hotkey seems to not work..
to pin app to the taskbar right click on it in launcher
hmmm I can't reproduce the problem with spotify
Fixed the durition bar problem by installing bc manually from pacman repos, you better include it in your wiki, still figuring out how to make the pic appear
Может на русском проще будет объяснить, я так понимаю, что mpris.sh это конфиг как раз для этого, но прикол в том, что с картинкой я там ничего не увидел, исходя из того, что у меня там сейчас:
#!/bin/bash
playerctl metadata -F -f '{{playerName}} {{title}} {{artist}} {{mpris:artUrl}} {{status}} {{mpris:length}}' | while read -r line; do
name=$(playerctl metadata -f "{{playerName}}")
title=$(playerctl metadata -f "{{title}}")
artist=$(playerctl metadata -f "{{artist}}")
artUrl=$(playerctl metadata -f "{{mpris:artUrl}}")
status=$(playerctl metadata -f "{{status}}")
length=$(playerctl metadata -f "{{mpris:length}}")
if [[ $length != "" ]]; then
length=$(($length / 1000000))
length=$(echo "($length + 0.5) / 1" | bc)
fi
lengthStr=$(playerctl metadata -f "{{duration(mpris:length)}}")
JSON_STRING=$( jq -n \
--arg name "$name" \
--arg title "$title" \
--arg artist "$artist" \
--arg artUrl "$artUrl" \
--arg status "$status" \
--arg length "$length" \
--arg lengthStr "$lengthStr" \
'{name: $name, title: $title, artist: $artist, artUrl: $artUrl, status: $status, length: $length, lengthStr: $lengthStr}' )
echo $JSON_STRING
done
Хотя artUrl это, наверное и есть то, что нужно
да artUrl это и есть ссылка на картинку, вы ставили систему начисто(с нуля)?
да, с нуля поставил и накатил потом твои конфиги
что-то все-таки есть, может надо ребутнуть, сек
приложения закрепить получилось, а картинка так и не появляется, странно, даже ссылка активная с картинкой, надо в выводе смотреть что как. Жалко, что еще не работает pin по хоткею $mainmod + h у тебя в конфиге есть. И как открепить можно кстати?
хоткея $mainmod + h нету, и закрепление приложений по бинду я не добавлял. Чтобы открепить надо в лаунчере где Pinned нажать пкм по приложению
это чтобы закрепить окно, а не приложение
а, это с окнами просто связано, пон, надо только разобраться каким образом оно закрепляет
это чтобы закрепить окно, а не приложение
пон, пон
https://github.com/husseinhareb/hyprland-eww/blob/main/eww/dashboard/scripts/spotify/spotify-artwork.sh
нашел интересный сорс, тут похожее на твое делают, с картинкой, можно попробовать
разве так должно работать, просто подставляя http в --arg ? как строку..
https://github.com/husseinhareb/hyprland-eww/blob/main/eww/dashboard/scripts/spotify/spotify-artwork.sh нашел интересный сорс, тут похожее на твое делают, с картинкой, можно попробовать
я сейчас eww не пользуюсь и работаю над другим проектом, так что я фиксить что-то вряд-ли буду
понял, если сделаю что-то, мр кину..
ну вот, ахах, пофиксил, давай мр кину?
у меня уже открыт какой-то пулл реквест #16, давай я его сейчас смержу и ты на новой версии уже сделаешь фикс
окей, дай знать, когда
я потому что уже твой репо клонировал к себе
мерж тогда и я на новые изменения долью