finish up tray icon

This commit is contained in:
2020-08-07 16:17:15 -04:00
parent 130a131214
commit a6e1c031c3
10 changed files with 184 additions and 42 deletions

View File

@@ -7,6 +7,17 @@ if build_gui
install: true,
install_dir: join_paths(get_option('datadir'), 'applications')
)
if build_tray
i18n.merge_file(
input: 'tuf-tray.desktop.in',
output: 'tuf-tray.desktop',
po_dir: join_paths(meson.source_root(), 'po'),
type: 'desktop',
install: true,
install_dir: join_paths(get_option('sysconfdir'), 'xdg', 'autostart')
)
endif
endif
subdir('dbus')

View File

@@ -2,8 +2,8 @@
Type=Application
Name=TUF Manager
GenericName=TUF Manager
Comment=Softare to manage the fan mode and rgb keyboard.
Comment=Softare to manage the fan mode and rgb keyboard
Icon=tuf-manager
StartupNotify=true
Exec=tuf-gui
Categories=System;
Categories=System;Settings;

10
data/tuf-tray.desktop.in Normal file
View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Name=TUF Manager
GenericName=TUF Manager
Comment=Softare to manage the fan mode and rgb keyboard
Icon=tuf-manager
Categories=System;Settings;
Exec=/usr/bin/tuf-tray
Type=Application
StartupNotify=true
Terminal=false