acd7543c02e8a23ea284e5e9172f72c8b24561ec

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Start supersonic usind systemd to let the keyring unlock first

Diff

 1diff --git a/dot_config/hypr/hyprland.conf.tmpl b/dot_config/hypr/hyprland.conf.tmpl
 2index c591736bffda6d769806dadbf0687de87ae839b8..3625b9d5815173f011d7bdd4874136914274a672 100644
 3--- a/dot_config/hypr/hyprland.conf.tmpl
 4+++ b/dot_config/hypr/hyprland.conf.tmpl
 5@@ -29,7 +29,7 @@ exec-once = uwsm app -- firefox.desktop
 6 exec-once = uwsm app -- org.mozilla.Thunderbird.desktop
 7 exec-once = uwsm app -- org.telegram.desktop.desktop
 8 exec-once = uwsm app -- signal-desktop.desktop
 9-exec-once = uwsm app -- supersonic-desktop.desktop
10+# exec-once = uwsm app -- supersonic-desktop.desktop
11 
12 # https://wiki.hyprland.org/Configuring/Variables/#general
13 general {
14@@ -343,7 +343,7 @@ windowrule {
15 windowrule {
16     name = steam-games-fullscreen
17     fullscreen = on
18-    match:class = steam_app*
19+    match:class = steam_app_.*
20 }
21 
22 windowrule {
23diff --git a/dot_config/systemd/user/graphical-session.target.wants/symlink_supersonic.service b/dot_config/systemd/user/graphical-session.target.wants/symlink_supersonic.service
24new file mode 100644
25index 0000000000000000000000000000000000000000..1715ba70c2a9d83dd0ddbed0c398ca59f8209f4e
26--- /dev/null
27+++ b/dot_config/systemd/user/graphical-session.target.wants/symlink_supersonic.service
28@@ -0,0 +1 @@
29+/home/pavle/.config/systemd/user/supersonic.service
30diff --git a/dot_config/systemd/user/supersonic.service b/dot_config/systemd/user/supersonic.service
31new file mode 100644
32index 0000000000000000000000000000000000000000..bd84f1d92c46a145c254384c4e41c775319611c5
33--- /dev/null
34+++ b/dot_config/systemd/user/supersonic.service
35@@ -0,0 +1,11 @@
36+[Unit]
37+Description=Supersonic Music Player
38+After=yubikeyring.service
39+Wants=yubikeyring.service
40+
41+[Service]
42+Type=simple
43+ExecStart=/usr/bin/supersonic-desktop
44+
45+[Install]
46+WantedBy=wayland-session-xdg-autostart@hyprland.desktop.target