prasanthrangan / hyprdots

// Aesthetic, dynamic and minimal dots for Arch hyprland
GNU General Public License v3.0
6.47k stars 765 forks source link

[Bug]: notification bug #1214

Open Sakamora opened 5 months ago

Sakamora commented 5 months ago

Notifications when changing themes for example, are blank. Do not see any word just mini pictures.

kRHYME7 commented 5 months ago

Can you send any image?

Hyprdots cache rebuild might solve it

Sakamora commented 5 months ago

Hyprdots cache rebuild didn't work i see this :

IMG_20240329_183709

kRHYME7 commented 5 months ago

Hyprdots cache rebuild didn't work

hmm is your ~/.config/hypr/scripts/ still present/

output for ls ~/.config/hypr/

Sakamora commented 5 months ago

output of ls ~/.config/hypr/ : animations.conf hyprland.conf keybindings.conf nvidia.conf themes userprefs.conf windowsrules.conf

Nidhogblo commented 5 months ago

I see that your configs do not match the git, maybe it is out of date, might solve it cd ~/Hyprdots/Scripts git pull ./install.sh -r

Sakamora commented 5 months ago

Not worked

Nidhogblo commented 5 months ago

Can you get me output ~/.config/hypr/ again? , to see if the packages have been updated

Sakamora commented 5 months ago

output: animations.conf hyprland.conf keybindings.conf monitors.conf nvidia.conf themes userprefs.conf windowrules.conf

Nidhogblo commented 5 months ago

mmm can you give me output ls ~/.config/dunst/ ?

Nidhogblo commented 5 months ago

well,i try to locate the problem specifically , let's check if dunst, the daemon in charge of notifications, is working properly. try with

notify-send -h int:value:42 "Try"

and

dunstify "It works"
Sakamora commented 5 months ago

notify-send -h int:value:42 "Try": IMG_20240330_132708

dustify "It works": IMG_20240330_132717

Nidhogblo commented 5 months ago

okey ,in this point ,i would try to replace all the dunst configuration with the actual git dunst config If you gonna do this and need help,tell me :)

Nidhogblo commented 5 months ago

only for curiosity,is a asus laptop?

Sakamora commented 5 months ago

only for curiosity,is a asus laptop?

yes

okey ,in this point ,i would try to replace all the rofi configuration with the actual git rofi config If you gonna do this and need help,tell me :)

ok, i will try, thanks for help :)

Nidhogblo commented 5 months ago

OK, it's a pleasure to help you. I'll be in touch for anything,

Nidhogblo commented 5 months ago

nothing to see but : here are the asus drivers and to keep them in the repository (I spent a lot of time looking for them the first time :,().

echo -e "Adding Keys... \n"
sudo pacman-key --recv-keys 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
sudo pacman-key --finger 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
sudo pacman-key --lsign-key 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
sudo pacman-key --finger 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
LOC="/etc/pacman.conf"
echo -e "Updating $LOC with g14 repo.\n"
echo -e "\n[g14]\nServer = https://arch.asus-linux.org" | sudo tee -a $LOC
echo -e "\n"
echo -e "Update the system...\n"
sudo pacman -Suy
echo -e "Installing ROG pacakges...\n"
sudo pacman -S --noconfirm asusctl supergfxctl rog-control-center
echo -e "Activating ROG services...\n"
sudo systemctl enable --now power-profiles-daemon.service
sleep 2
sudo systemctl enable --now supergfxd
Nidhogblo commented 5 months ago

okey ,in this point ,i would try to replace all the rofi configuration with the actual git rofi config If you gonna do this and need help,tell me :)

sorry ,i put "rofi" instead "dunst" ,sorry my fault, I already corrected it

Sakamora commented 5 months ago

nothing to see but : here are the asus drivers and to keep them in the repository (I spent a lot of time looking for them the first time :,().

echo -e "Adding Keys... \n"
sudo pacman-key --recv-keys 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
sudo pacman-key --finger 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
sudo pacman-key --lsign-key 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
sudo pacman-key --finger 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
LOC="/etc/pacman.conf"
echo -e "Updating $LOC with g14 repo.\n"
echo -e "\n[g14]\nServer = https://arch.asus-linux.org" | sudo tee -a $LOC
echo -e "\n"
echo -e "Update the system...\n"
sudo pacman -Suy
echo -e "Installing ROG pacakges...\n"
sudo pacman -S --noconfirm asusctl supergfxctl rog-control-center
echo -e "Activating ROG services...\n"
sudo systemctl enable --now power-profiles-daemon.service
sleep 2
sudo systemctl enable --now supergfxd

thanks :)

Enigma1309 commented 5 months ago

nothing to see but : here are the asus drivers and to keep them in the repository (I spent a lot of time looking for them the first time :,().

echo -e "Adding Keys... \n"
sudo pacman-key --recv-keys 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
sudo pacman-key --finger 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
sudo pacman-key --lsign-key 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
sudo pacman-key --finger 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
LOC="/etc/pacman.conf"
echo -e "Updating $LOC with g14 repo.\n"
echo -e "\n[g14]\nServer = https://arch.asus-linux.org" | sudo tee -a $LOC
echo -e "\n"
echo -e "Update the system...\n"
sudo pacman -Suy
echo -e "Installing ROG pacakges...\n"
sudo pacman -S --noconfirm asusctl supergfxctl rog-control-center
echo -e "Activating ROG services...\n"
sudo systemctl enable --now power-profiles-daemon.service
sleep 2
sudo systemctl enable --now supergfxd

does this happens on every asusu laptop?? should we have to add it in wiki?

Nidhogblo commented 5 months ago

Yeah ,this code apply to most ROG laptops , I think it would be very useful for its users, and more ,thinking that in the future they can add very useful functionalities like a fan controller on the waybar like this photo 2024-03-31T17:54:25,098239483-06:00

Nidhogblo commented 5 months ago

I use this in a long time and it work really good and is so comfortable in waybar :)

Nidhogblo commented 5 months ago

The packages are: asusctl asusctlAUR is a CLI utility for ASUS ROG & TUF laptop, to name some of the important features it gives users control over: Integrated GPU MUX Control Keyboard RGB Lighting Profile (but limited compared to the Windows AURA/Armoury Crate) Fan Curves Battery Charge Limit Panel Overdrive AniMe Matrix Screens

For usage instructions see asusctl. supergfxctl

supergfxctlAUR is a CLI utility for managing GPU switching functionality on ASUS hybrid laptops, particularly dedicated GPU MUX control.

For usage instructions see supergfxctl. rog-control-center

rog-control-centerAUR is a GUI frontend for asusctl and supergfxctl.

more info: https://wiki.archlinux.org/title/ASUS_Linux https://asus-linux.org/guides/arch-guide

Enigma1309 commented 5 months ago

hey it would better if you could create a pr related to that so that it doesn't cause this issue and also doesn't conflict the end user without asus laptop

kRHYME7 commented 5 months ago

Hmm, how about adding this as patch?

I can add this to the Hyprdots CLI something like Hyprdots inject asus_patch ? Whatever you want it called.

https://github.com/kRHYME7/Hyprdots-ctl

Nidhogblo commented 5 months ago

It would be nice, I'm looking for more of the libraries to have a deeper knowledge of the subject, and avoid mistakes. and check Hyprdots-ctl

kRHYME7 commented 5 months ago

Here are the requirements:

Ref https://wiki.archlinux.org/title/ASUS_Linux https://asus-linux.org/guides/arch-guide/

Nidhogblo commented 5 months ago

Pre (keyrings)

#Add Keys of ASUS Repository
pacman-key --recv-keys 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
pacman-key --finger 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
pacman-key --lsign-key 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
pacman-key --finger 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
#Add in pacman.conf
echo -e "\n[g14]\nServer = https://arch.asus-linux.org" | sudo tee -a /etc/pacman.conf

Package dependencies

sudo pacman -S --noconfirm asusctl supergfxctl rog-control-center power-profiles-daemon

Post (service activation etc ..) Activating ROG services

sudo systemctl enable --now power-profiles-daemon.service
sudo systemctl enable --now supergfxd
Nidhogblo commented 5 months ago

:D

Nidhogblo commented 5 months ago

Do you think a pull request with the addition of fan controller in the waybar for ASUS users would be well receiver?? to see if I work on it

Nidhogblo commented 5 months ago

like this image

Enigma1309 commented 5 months ago

yeah as soon as it doesn't affect other people's functionality

Nidhogblo commented 5 months ago

will you have a chat where I can ask about the code? like more devs stuff