1
0
.dotfiles/home/bin/metacity-test

34 lines
579 B
Plaintext
Raw Permalink Normal View History

2014-02-28 23:42:51 +00:00
#!/usr/bin/perl -w
# metacity-test - A simple script to test Metacity themes by popping up a simple
# window just to show off the window decorations.
#
# Requires Perl/Tk.
#
# --Kirsle
# http://sh.kirsle.net/
use strict;
use warnings;
use Tk;
my $str = join (" ",@ARGV) || 'Preview';
my $mw = MainWindow->new (
-title => "Title",
2014-02-28 23:42:51 +00:00
);
$mw->optionAdd ('*highlightThickness',0);
$mw->Label (
-width => 25,
-textvariable => \$str,
-relief => 'flat',
-font => [
-weight => 'bold',
-size => 12,
-family => 'Arial',
],
)->pack (-padx => 15, -pady => 15);
2014-02-28 23:42:51 +00:00
MainLoop;