fill-form accepts dot as a placeholder type-nothing parameter
[hband-tools.git] / icewm / icewm-menu-startup-progs
blob522fe2b0c6684435b08afbf5557e2f11b7742a3c
1 #!/usr/bin/env perl
3 for $file (glob "/etc/xdg/autostart/*")
5 my %prog = ();
6 open my $fh, '<', $file or warn $!;
7 while(<$fh>)
9 chomp;
10 if(/^(Name|Icon|Exec)=(.+)/)
12 $prog{$1} = $2;
15 close $fh;
17 print "prog \"$prog{Name}\" \"$prog{Icon}\" $prog{Exec}\n";