forked from enlightenment/terminology
terminology - use icon name not full path ao icon themes can override
desktop file modification - simpler now too.
This commit is contained in:
parent
4b15e30b68
commit
7d4bd31e9d
|
@ -1,12 +1,2 @@
|
||||||
icon_sed = 's~%ICON_PATH%~@0@~'.format(join_paths(get_option('prefix'),
|
install_data('terminology.desktop',
|
||||||
get_option('datadir'),
|
install_dir: join_paths(get_option('datadir'), 'applications'))
|
||||||
'icons/hicolor/128x128/apps'))
|
|
||||||
|
|
||||||
custom_target(
|
|
||||||
'terminology.desktop',
|
|
||||||
input : 'terminology.desktop.in',
|
|
||||||
output: 'terminology.desktop',
|
|
||||||
command : [sed, icon_sed, '@INPUT@'],
|
|
||||||
capture : true,
|
|
||||||
install : true,
|
|
||||||
install_dir : join_paths(get_option('datadir'), 'applications'))
|
|
||||||
|
|
|
@ -20,6 +20,6 @@ Comment[ru]=Эмулятор терминала
|
||||||
Comment[ko]=터미널 에뮬레이터
|
Comment[ko]=터미널 에뮬레이터
|
||||||
Keywords=shell;prompt;command;commandline;
|
Keywords=shell;prompt;command;commandline;
|
||||||
Exec=terminology
|
Exec=terminology
|
||||||
Icon=%ICON_PATH%/terminology.png
|
Icon=terminology
|
||||||
Categories=System;TerminalEmulator;
|
Categories=System;TerminalEmulator;
|
||||||
StartupWMClass=terminology
|
StartupWMClass=terminology
|
Loading…
Reference in New Issue