diff --git a/lemondwm/config.def.h b/lemondwm/config.def.h index 0cb82df..1702284 100644 --- a/lemondwm/config.def.h +++ b/lemondwm/config.def.h @@ -4,8 +4,8 @@ #define XF86MonBrightnessUp 0x1008ff02 /* appearance */ -static const unsigned int borderpx = 0; /* border pixel of windows */ -static const unsigned int default_border = 0; // to switch back to default border after dynamic border resizing via keybinds +static const unsigned int borderpx = 1; /* border pixel of windows */ +static const unsigned int default_border = 1; // to switch back to default border after dynamic border resizing via keybinds static const unsigned int snap = 32; /* snap pixel */ static const unsigned int gappih = 15; /* horiz inner gap between windows */ static const unsigned int gappiv = 15; /* vert inner gap between windows */ @@ -13,7 +13,7 @@ static const unsigned int gappoh = 20; /* horiz outer gap between windows static const unsigned int gappov = 20; /* vert outer gap between windows and screen edge */ static int smartgaps = 0; /* 1 means no outer gap when there is only one window */ static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */ -static const unsigned int systrayspacing = 2; /* systray spacing */ +static const unsigned int systrayspacing = 5; /* systray spacing */ static const int systraypinningfailfirst = 1; /* 1: if pinning fails,display systray on the 1st monitor,False: display systray on last monitor*/ static const int showsystray = 1; /* 0 means no systray */ static const int showbar = 1; /* 0 means no bar */ @@ -57,13 +57,13 @@ static const char *colors[][3] = { }; /* tagging */ -static const char *tags[] = {"1", "2", "3", "4", "5"}; +static const char *tags[] = {"1", "2", "3", "4", "5", "6", "7", "8"}; -static const int tagschemes[] = {SchemeTag1, SchemeTag2, SchemeTag3, - SchemeTag4, SchemeTag5 +static const int tagschemes[] = {SchemeTag1, SchemeTag2, SchemeTag3, SchemeTag4, + SchemeTag5, SchemeTag4, SchemeTag2, SchemeTag3 }; -static const unsigned int ulinepad = 5; /* horizontal padding between the underline and tag */ +static const unsigned int ulinepad = 5; /* horizontal padding bwetween the underline and tag */ static const unsigned int ulinestroke = 2; /* thickness / height of the underline */ static const unsigned int ulinevoffset = 0; /* how far above the bottom of the bar the line should appear */ static const int ulineall = 0; /* 1 to show underline on all tags, 0 for just the active ones */ @@ -118,15 +118,14 @@ static const char *rofi[] = {"rofi", "-show", "drun", "-font", "Mononoki Nerd Fo static const char *layoutmenu_cmd = "/home/lemon/.dwm/layoutmenu.sh"; // change lemon to your username static Key keys[] = { - {MODKEY, XK_c, spawn, {.v = rofi}}, + {MODKEY, XK_d, spawn, {.v = rofi}}, {MODKEY, XK_Return, spawn, {.v = termcmd }}, {MODKEY, XK_u, spawn, SHCMD("gnome-screenshot -i")}, {MODKEY, XK_b, togglebar, {0}}, - {MODKEY | ControlMask, XK_w, tabmode, {-1}}, {MODKEY, XK_j, focusstack, {.i = +1}}, {MODKEY, XK_k, focusstack, {.i = -1}}, {MODKEY, XK_i, incnmaster, {.i = +1}}, - {MODKEY, XK_d, incnmaster, {.i = -1}}, + {MODKEY, XK_c, incnmaster, {.i = -1}}, {MODKEY, XK_h, setmfact, {.f = -0.05}}, {MODKEY, XK_l, setmfact, {.f = +0.05}}, {MODKEY | ShiftMask, XK_h, setcfact, {.f = +0.25}}, @@ -136,30 +135,16 @@ static Key keys[] = { {MODKEY | ShiftMask, XK_k, movestack, {.i = -1}}, {MODKEY | ShiftMask, XK_Return, zoom, {0}}, {MODKEY, XK_Tab, view, {0}}, - {MODKEY | ControlMask, XK_t, togglegaps, {0}}, - {MODKEY | ControlMask | ShiftMask, XK_d, defaultgaps, {0}}, - {MODKEY, XK_q, killclient, {0}}, {MODKEY, XK_t, setlayout, {.v = &layouts[0]}}, - {MODKEY | ShiftMask, XK_f, setlayout, {.v = &layouts[1]}}, - {MODKEY, XK_m, setlayout, {.v = &layouts[2]}}, - {MODKEY | ControlMask, XK_g, setlayout, {.v = &layouts[10]}}, - {MODKEY | ControlMask | ShiftMask, XK_t, setlayout, {.v = &layouts[13]}}, - {MODKEY, XK_space, setlayout, {0}}, {MODKEY | ControlMask, XK_comma, cyclelayout, {.i = -1}}, {MODKEY | ControlMask, XK_period, cyclelayout, {.i = +1}}, {MODKEY | ShiftMask, XK_space, togglefloating, {0}}, {MODKEY, XK_f, togglefullscr, {0}}, {MODKEY, XK_0, view, {.ui = ~0}}, - {MODKEY | ShiftMask, XK_0, tag, {.ui = ~0}}, - {MODKEY, XK_comma, focusmon, {.i = -1}}, - {MODKEY, XK_period, focusmon, {.i = +1}}, {MODKEY | ShiftMask, XK_comma, tagmon, {.i = -1}}, {MODKEY | ShiftMask, XK_period, tagmon, {.i = +1}}, - {MODKEY | ShiftMask, XK_minus, setborderpx, {.i = -1}}, - {MODKEY | ShiftMask, XK_p, setborderpx, {.i = +1}}, - {MODKEY | ShiftMask, XK_w, setborderpx, {.i = default_border}}, TAGKEYS(XK_1, 0) TAGKEYS(XK_2, 1) @@ -169,9 +154,8 @@ static Key keys[] = { TAGKEYS(XK_6, 5) TAGKEYS(XK_7, 6) TAGKEYS(XK_8, 7) - TAGKEYS(XK_9, 8) + {MODKEY | ControlMask, XK_q, quit, {0}}, - {MODKEY | ShiftMask, XK_r, quit, {1}}, {MODKEY, XK_e, hidewin, {0}}, {MODKEY | ShiftMask, XK_e, restorewin, {0}},