dotfiles

Config files for various applications.
git clone git://git.stephanospavlou.info/dotfiles.git
Log | Files | Refs

patch (1898B)


      1 diff --git a/config.def.h b/config.def.h
      2 index 9efa774..ccec556 100644
      3 --- a/config.def.h
      4 +++ b/config.def.h
      5 @@ -7,11 +7,11 @@ static const int showbar            = 1;        /* 0 means no bar */
      6  static const int topbar             = 1;        /* 0 means bottom bar */
      7  static const char *fonts[]          = { "monospace:size=10" };
      8  static const char dmenufont[]       = "monospace:size=10";
      9 -static const char col_gray1[]       = "#222222";
     10 -static const char col_gray2[]       = "#444444";
     11 -static const char col_gray3[]       = "#bbbbbb";
     12 -static const char col_gray4[]       = "#eeeeee";
     13 -static const char col_cyan[]        = "#005577";
     14 +static const char col_gray1[]       = "#ffffff";
     15 +static const char col_gray2[]       = "#222222";
     16 +static const char col_gray3[]       = "#222222";
     17 +static const char col_gray4[]       = "#ffffff";
     18 +static const char col_cyan[]        = "#222222";
     19  static const char *colors[][3]      = {
     20  	/*               fg         bg         border   */
     21  	[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
     22 @@ -58,7 +58,7 @@ static const Layout layouts[] = {
     23  /* commands */
     24  static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
     25  static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
     26 -static const char *termcmd[]  = { "st", NULL };
     27 +static const char *termcmd[]  = { "alacritty", NULL };
     28  
     29  static const Key keys[] = {
     30  	/* modifier                     key        function        argument */
     31 diff --git a/dwm.c b/dwm.c
     32 index f1d86b2..054abe2 100644
     33 --- a/dwm.c
     34 +++ b/dwm.c
     35 @@ -1732,6 +1732,9 @@ togglefloating(const Arg *arg)
     36  	if (selmon->sel->isfloating)
     37  		resize(selmon->sel, selmon->sel->x, selmon->sel->y,
     38  			selmon->sel->w, selmon->sel->h, 0);
     39 +
     40 +	selmon->sel->x = 300;
     41 +	selmon->sel->y = 300;
     42  	arrange(selmon);
     43  }
     44