summary refs log tree commit diff stats
path: root/data/misc/io.github.Hexchat.desktop.in.in
blob: 5e00ce8f2539ade978577b488d6a330e5ab49883 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Desktop Entry]
Name=HexChat
GenericName=IRC Client
Comment=Chat with other people online
Keywords=IM;Chat;
Exec=@exec_command@
Icon=io.github.Hexchat
Terminal=false
Type=Application
Categories=GTK;Network;IRCClient;
StartupNotify=true
StartupWMClass=Hexchat
X-GNOME-UsesNotifications=true
MimeType=x-scheme-handler/irc;x-scheme-handler/ircs;
Actions=SafeMode;

[Desktop Action SafeMode]
Name=Open Safe Mode
Exec=hexchat --no-auto --no-plugins
0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#!/usr/bin/env perl
use strict;
use warnings;
use File::Basename qw(dirname);

sub __DIR__ {
	return dirname +(caller 0)[1];
}

# this must go before use Pod::Html to use our private copy
use lib __DIR__ . '/lib';
use Pod::Html;

chdir( __DIR__ ) or die $!;
pod2html(
#	"pod2html",
	"--header",
	"--infile=lib/Xchat.pod",
	"--outfile=xchat2-perl.html",
);

#system( qw(tidy -m -i -xml -utf8 -quiet xchat2-perl.html) );
unlink( "pod2htmd.tmp" );
unlink( "pod2htmi.tmp" );

exec( "./syntax_highlight", "xchat2-perl.html" )
	or die $!;