Selaa lähdekoodia

add lil doc for recompile

siduck 3 vuotta sitten
vanhempi
sitoutus
10a2a5b896
2 muutettua tiedostoa jossa 12 lisäystä ja 3 poistoa
  1. 11 2
      README.md
  2. 1 1
      chadwm/config.def.h

+ 11 - 2
README.md

@@ -35,7 +35,7 @@ sudo make install
 
 # Run chadwm
 
-- Run the autostart file from .xinitrc
+Run the autostart file from .xinitrc
 
 (.xinitrc file)
 ```
@@ -45,7 +45,7 @@ exec ~/.config/chadwm/scripts/./autostart
 ```
 OR
 
-- Create a desktop entry 
+Create a desktop entry 
 
 ```
 touch /usr/share/xsessions/chadwm.desktop  
@@ -61,6 +61,15 @@ Type=Application
 
 - [wallpaper](https://github.com/siduck/chadwm/blob/screenshots/screenshots/chad.png)
 
+# Recompile 
+
+- You need to recompile dwm after every change you make in its src code 
+
+```
+cd ~/.config/chadwm/chadwm
+rm config.h
+sudo make install
+```
 
 # Change themes 
 

+ 1 - 1
chadwm/config.def.h

@@ -226,7 +226,7 @@ static Button buttons[] = {
     { ClkLtSymbol,          0,              Button1,        setlayout,      {0} },
     { ClkLtSymbol,          0,              Button3,        setlayout,      {.v = &layouts[2]} },
     { ClkWinTitle,          0,              Button2,        zoom,           {0} },
-    { ClkStatusText,        0,              Button2,        spawn,          {.v = termcmd } },
+    { ClkStatusText,        0,              Button2,        spawn,          {.v = term } },
 
 		/* Keep movemouse? */
     /* { ClkClientWin,         MODKEY,         Button1,        movemouse,      {0} }, */