Skip to content

Commit

Permalink
add desktop entry for gui
Browse files Browse the repository at this point in the history
  • Loading branch information
shadeyg56 committed Feb 5, 2023
1 parent 5426a6a commit bd3feae
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions auto-cpufreq-installer
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ function install {
cp scripts/start_app /usr/local/bin/auto-cpufreq-gtk
chmod a+x /usr/local/bin/auto-cpufreq
chmod a+x /usr/local/bin/auto-cpufreq-gtk

desktop-file-install --dir=/usr/share/applications scripts/auto-cpufreq-gtk.desktop
update-desktop-database /usr/share/applications
}

# First argument is the distro
Expand Down
6 changes: 6 additions & 0 deletions scripts/auto-cpufreq-gtk.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[Desktop Entry]
Name=auto-cpufreq
Exec=auto-cpufreq-gtk
Type=Application
Terminal=false
Categories=System;

0 comments on commit bd3feae

Please sign in to comment.