fix: keyring

This commit is contained in:
hesam-init 2024-02-19 13:01:58 +03:30
parent df75de3d5c
commit 38fa404775
3 changed files with 7 additions and 13 deletions

View file

@ -41,7 +41,8 @@ The following packages are required for the proper functioning of Hyprland on Vo
- elogind : service - elogind : service
- polkit : service - polkit : service
- NetworkManager : service - NetworkManager : service
- polkit-kde-agent - gnome-keyring
- polkit-gnome
- [ly](https://github.com/fairyglade/ly) : service - [ly](https://github.com/fairyglade/ly) : service
- mesa-dri - mesa-dri
- [pipewire](https://docs.voidlinux.org/config/media/pipewire.html) - [pipewire](https://docs.voidlinux.org/config/media/pipewire.html)
@ -60,12 +61,12 @@ The following packages are required for the proper functioning of Hyprland on Vo
- grim - grim
- slurp - slurp
- jq - jq
- cliphist
- wl-clipboard - wl-clipboard
- libnotify - libnotify
- dunst - dunst
- swayidle - swayidle
- swappy - swappy
- cliphist
- rofi - rofi
- wlogout - wlogout
- font-awesome-6 - font-awesome-6

View file

@ -3,12 +3,11 @@
# ----------------------------------------------------- # -----------------------------------------------------
# core components : # core components :
# exec-once = $scr_path/keyring-launch.sh
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP & exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
exec-once = /usr/libexec/polkit-kde-authentication-agent-1 & exec-once = $scr_path/keyring-launch.sh
exec-once = sleep 1 && pipewire & exec-once = sleep 1 && pipewire &
exec-once = sleep 1 && /usr/bin/pipewire-pulse & exec-once = sleep 1 && /usr/bin/pipewire-pulse &
# exec-once = sleep 1 && /usr/bin/wireplumber & exec-once = sleep 1 && /usr/bin/wireplumber &
# wallpaper : # wallpaper :
# exec-once = swaybg -i ~/Wallpapers/macos.png & # exec-once = swaybg -i ~/Wallpapers/macos.png &
@ -20,7 +19,6 @@ exec-once = ~/.config/hypr/scripts/dunst-launch.sh
# exec-once = eww daemon && eww open bar # exec-once = eww daemon && eww open bar
# exec-once = swayidle -w timeout 300 'gtklock' before-sleep 'gtklock' & # exec-once = swayidle -w timeout 300 'gtklock' before-sleep 'gtklock' &
# exec-once = swayidle -w timeout 450 'pidof java || systemctl suspend' & # dont sleep if playing minecraft, else nvidia will fuck up # exec-once = swayidle -w timeout 450 'pidof java || systemctl suspend' & # dont sleep if playing minecraft, else nvidia will fuck up
# exec-once = sleep 1 && dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # Some fix idk
# exec-once = wl-paste --watch cliphist store & # exec-once = wl-paste --watch cliphist store &
# cursor : # cursor :

View file

@ -1,9 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ $(grep -i -w "ID=" /etc/os-release | grep -oP '(?<=")[^"]*') = void ]; then exec gnome-keyring-daemon -sd &
exec gnome-keyring-daemon -sd exec /usr/libexec/polkit-gnome-authentication-agent-1
exec /usr/libexec/polkit-gnome-authentication-agent-1
else
exec gnome-keyring-daemon -sd
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
fi