♻️ refactor(hypr): added autostart apps to the autostart script instead of using dex and the autostart folder for each entry

This commit is contained in:
Sergio Laín 2023-12-22 00:04:08 +01:00
parent 62aaf0657f
commit 36b6872458
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
6 changed files with 12 additions and 48 deletions

View file

@ -1,9 +0,0 @@
[Desktop Entry]
Name=Discord
Comment=All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and phone.
Exec=/usr/bin/discord
Icon=discord
StartupNotify=false
Terminal=false
Type=Application
Path=

View file

@ -1,9 +0,0 @@
[Desktop Entry]
Name=Easy Effects
Comment=Efectos de sonido para las aplicaciones PipeWire
Exec=easyeffects --gapplication-service
Icon=com.github.wwmm.easyeffects
StartupNotify=true
Terminal=false
Type=Application
Path=

View file

@ -1,9 +0,0 @@
[Desktop Entry]
Name=Spotify
Comment=
Exec=spotify --uri=%U
Icon=spotify-client
StartupNotify=false
Terminal=false
Type=Application
Path=

View file

@ -1,9 +0,0 @@
[Desktop Entry]
Name=Thunderbird
Comment=Lea y escriba correos y noticias con Thunderbird
Exec=/usr/lib/thunderbird/thunderbird %u
Icon=thunderbird
StartupNotify=true
Terminal=false
Type=Application
Path=

View file

@ -41,18 +41,16 @@ dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
dbus-update-activation-environment --systemd --all &
systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
# Launch tui monitors for cpu and gpu
hyprctl dispatch exec "[workspace 24 silent] kitty btop" &
hyprctl dispatch exec "[workspace 24 silent] kitty nvtop" &
# Activity Watch
# aw-server-rust &
# aw-watcher-window-wayland &
# aw-watcher-afk &
#Launch autostart apps
dex -a -s ~/.config/autostart/ & # Easyeffects, Spotify, Discord and Thunderbird
# Screen sharing and portals
"$scripts"/launch_portals &
xwaylandvideobridge &
# Apps
easyeffects --gapplication-service &
spotify &
discord &
thunderbird &
# Terminal Apps
kitty --class btop btop &
kitty --class nvtop nvtop &

View file

@ -35,6 +35,8 @@ windowrulev2 = workspace 8, class:^(.*Ryujinx.*)$|(.*cemu.*)$|(.*dolphin.*)$|(.*
# Media
windowrulev2 = workspace 23 silent, class:^(.*thunderbird.*)$
windowrulev2 = workspace 24 silent, class:^(.*btop.*)$
windowrulev2 = workspace 24 silent, class:^(.*nvtop.*)$
windowrulev2 = workspace 21 silent, class:^(.*Spotify.*)$
windowrulev2 = workspace 22 silent, class:^(.*discord.*)$
windowrulev2 = workspace 17, class:^(.*obsproject.*)$