Index: app/src/kon/kon
===================================================================
--- app/src/kon/kon	(revision eedf64882e7666a03c82e27ad96b549ec906b663)
+++ app/src/kon/kon	(revision 246900abc92b7d822ca17bd69aeb06d2b30db588)
@@ -18,17 +18,17 @@
 my $help=0;
 
-my $configfile1="../../conf/con.conf";
-my $configfile2="../conf/con.conf";
+my $systemconfigfile='/usr/local/etc/utt/kon.conf';
+my $userconfigfile="$ENV{'HOME'}/.utt/kon.conf";
 
 #read configuration files###########################
 my $file;
-foreach $file ($configfile1, $configfile2){
+foreach $file ($systemconfigfile, $userconfigfile){
   if(open(CONFIG, $file)){
   	while (<CONFIG>) {
-  		chomp;                  
-      		s/#.*//;                
-	      	s/^\s+//;               
-      		s/\s+$//;               
-    		next unless length;     
+  		chomp;
+      		s/#.*//;
+	      	s/^\s+//;
+      		s/\s+$//;
+    		next unless length;
     		my ($name, $value) = split(/\s*=\s*/, $_, 2);
     		if(($name eq "left")or($name eq "l")){
@@ -65,6 +65,6 @@
 			$help=1;
     		}
-    	
-	} 
+
+	}
   	close CONFIG;
   }
@@ -485,5 +485,5 @@
       white_into_symbols(\$right_string);
 #ponizsza linijka dodana 18 listopada
-      white_into_symbols(\${$CENTER_REF}[$index]);	
+      white_into_symbols(\${$CENTER_REF}[$index]);
     }
 
