1

Remove unnecessary launchers and desktop entries

This commit is contained in:
Jessie Hildebrandt 2023-06-14 20:53:28 -04:00
parent 08a9ae48c0
commit 99cfbd69f4
5 changed files with 0 additions and 79 deletions

View File

@ -1,12 +0,0 @@
[Desktop Entry]
Version=1.1
Type=Application
Name=Discord
GenericName=Internet Messenger
Comment=All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and phone.
Icon=com.discordapp.Discord
Exec=discord-launcher
Path=/usr/bin
Actions=
Categories=InstantMessaging;Network;
StartupWMClass=discord

View File

@ -1,14 +0,0 @@
[Desktop Entry]
Version=1.1
Type=Application
Name=Spotify
GenericName=Online music streaming service
Comment=Access all of your favorite music
Icon=com.spotify.Client
X-GNOME-UsesNotifications=true
Exec=spotify-launcher
Actions=
MimeType=x-scheme-handler/spotify;
Categories=Audio;AudioVideo;Music;
Keywords=Music;Player;Streaming;Online;
StartupWMClass=Spotify

View File

@ -1,13 +0,0 @@
[Desktop Entry]
Version=1.1
Type=Application
Name=Power Statistics
NoDisplay=true
Comment=Observe power management
Icon=org.gnome.PowerStats
OnlyShowIn=GNOME;Unity;
Exec=gnome-power-statistics
Actions=
Categories=GNOME;GTK;Monitor;System;System-Tools;
Keywords=battery;consumption;charge;
StartupNotify=true

View File

@ -1,20 +0,0 @@
#!/bin/bash
################################################################################
#
# discord-launcher
# Launches discord and forces it to use the correct (dark) GTK theme variant
#
################################################################################
export GTK_THEME=:dark
export GTK_THEME_VARIANT="dark"
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=discord com.discordapp.Discord &
# This is dumb, but it works...
for i in {1..11}
do
xprop -f _GTK_THEME_VARIANT 8u -set _GTK_THEME_VARIANT dark -id $(wmctrl -lp | grep Discord | cut -d ' ' -f1)
sleep 1
done

View File

@ -1,20 +0,0 @@
#!/bin/bash
################################################################################
#
# spotify-launcher
# Launches spotify and forces it to use the correct (dark) GTK theme variant
#
################################################################################
export GTK_THEME=:dark
export GTK_THEME_VARIANT="dark"
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=spotify --file-forwarding com.spotify.Client @@u %U @@ &
# This is dumb, but it works...
for i in {1..11}
do
xprop -f _GTK_THEME_VARIANT 8u -set _GTK_THEME_VARIANT dark -id $(wmctrl -lp | grep Spotify | cut -d ' ' -f1)
sleep 1
done