Add homepage and configure tabbed

This commit is contained in:
2024-06-08 14:39:20 +01:00
parent d26494cfe4
commit 0a436a39b9
6 changed files with 30 additions and 30 deletions

View File

@@ -67,7 +67,7 @@ static const char *mutevol[] = { "/usr/bin/wpctl", "set-mute", "@DEFAULT_
/* commands */
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, NULL };
static const char *termcmd[] = { "tabbed", "-r", "2", "st", "-w", "''", NULL };
static const char *termcmd[] = { "tabbed", "-c", "-r", "2", "st", "-w", "''", NULL };
static const char *slockcmd[] = { "slock", NULL };
static const char *screenshotcmd[] = { "scrot", "--select", "--line", "mode=edge", NULL };
static const char *surfcmd[] = { "tabbed", "-c", "-r", "2", "surf", "-e", "ID", ".homepage.html" };

View File

@@ -67,7 +67,7 @@ static const char *mutevol[] = { "/usr/bin/wpctl", "set-mute", "@DEFAULT_
/* commands */
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, NULL };
static const char *termcmd[] = { "tabbed", "-r", "2", "st", "-w", "''", NULL };
static const char *termcmd[] = { "tabbed", "-c", "-r", "2", "st", "-w", "''", NULL };
static const char *slockcmd[] = { "slock", NULL };
static const char *screenshotcmd[] = { "scrot", "--select", "--line", "mode=edge", NULL };
static const char *surfcmd[] = { "tabbed", "-c", "-r", "2", "surf", "-e", "ID", ".homepage.html" };

Binary file not shown.

View File

@@ -2,12 +2,12 @@
/* appearance */
static const char font[] = "JetBrainsMono NF:size=10";
static const char* normbgcolor = "#222222";
static const char* normfgcolor = "#cccccc";
static const char* selbgcolor = "#555555";
static const char* selfgcolor = "#ffffff";
static const char* urgbgcolor = "#111111";
static const char* urgfgcolor = "#cc0000";
static const char* normbgcolor = "#32302f";
static const char* normfgcolor = "#ebdbb2";
static const char* selbgcolor = "#ebdbb2";
static const char* selfgcolor = "#282828";
static const char* urgbgcolor = "#fb4934";
static const char* urgfgcolor = "#282828";
static const char before[] = "<";
static const char after[] = ">";
static const char titletrim[] = "...";
@@ -33,16 +33,16 @@ static Bool npisrelative = False;
} \
}
#define MODKEY ControlMask
#define MODKEY Mod1Mask
static const Key keys[] = {
/* modifier key function argument */
{ MODKEY|ShiftMask, XK_Return, focusonce, { 0 } },
{ MODKEY|ShiftMask, XK_Return, spawn, { 0 } },
{ MODKEY, XK_Return, focusonce, { 0 } },
{ MODKEY, XK_Return, spawn, { 0 } },
{ MODKEY|ShiftMask, XK_l, rotate, { .i = +1 } },
{ MODKEY|ShiftMask, XK_h, rotate, { .i = -1 } },
{ MODKEY|ShiftMask, XK_j, movetab, { .i = -1 } },
{ MODKEY|ShiftMask, XK_k, movetab, { .i = +1 } },
{ MODKEY, XK_l, rotate, { .i = +1 } },
{ MODKEY, XK_h, rotate, { .i = -1 } },
{ MODKEY, XK_j, movetab, { .i = -1 } },
{ MODKEY, XK_k, movetab, { .i = +1 } },
{ MODKEY, XK_Tab, rotate, { .i = 0 } },
{ MODKEY, XK_grave, spawn, SETPROP("_TABBED_SELECT_TAB") },
@@ -57,7 +57,7 @@ static const Key keys[] = {
{ MODKEY, XK_9, move, { .i = 8 } },
{ MODKEY, XK_0, move, { .i = 9 } },
{ MODKEY, XK_q, killclient, { 0 } },
{ MODKEY, XK_c, killclient, { 0 } },
{ MODKEY, XK_u, focusurgent, { 0 } },
{ MODKEY|ShiftMask, XK_u, toggle, { .v = (void*) &urgentswitch } },

View File

@@ -2,12 +2,12 @@
/* appearance */
static const char font[] = "JetBrainsMono NF:size=10";
static const char* normbgcolor = "#222222";
static const char* normfgcolor = "#cccccc";
static const char* selbgcolor = "#555555";
static const char* selfgcolor = "#ffffff";
static const char* urgbgcolor = "#111111";
static const char* urgfgcolor = "#cc0000";
static const char* normbgcolor = "#32302f";
static const char* normfgcolor = "#ebdbb2";
static const char* selbgcolor = "#ebdbb2";
static const char* selfgcolor = "#282828";
static const char* urgbgcolor = "#fb4934";
static const char* urgfgcolor = "#282828";
static const char before[] = "<";
static const char after[] = ">";
static const char titletrim[] = "...";
@@ -33,16 +33,16 @@ static Bool npisrelative = False;
} \
}
#define MODKEY ControlMask
#define MODKEY Mod1Mask
static const Key keys[] = {
/* modifier key function argument */
{ MODKEY|ShiftMask, XK_Return, focusonce, { 0 } },
{ MODKEY|ShiftMask, XK_Return, spawn, { 0 } },
{ MODKEY, XK_Return, focusonce, { 0 } },
{ MODKEY, XK_Return, spawn, { 0 } },
{ MODKEY|ShiftMask, XK_l, rotate, { .i = +1 } },
{ MODKEY|ShiftMask, XK_h, rotate, { .i = -1 } },
{ MODKEY|ShiftMask, XK_j, movetab, { .i = -1 } },
{ MODKEY|ShiftMask, XK_k, movetab, { .i = +1 } },
{ MODKEY, XK_l, rotate, { .i = +1 } },
{ MODKEY, XK_h, rotate, { .i = -1 } },
{ MODKEY, XK_j, movetab, { .i = -1 } },
{ MODKEY, XK_k, movetab, { .i = +1 } },
{ MODKEY, XK_Tab, rotate, { .i = 0 } },
{ MODKEY, XK_grave, spawn, SETPROP("_TABBED_SELECT_TAB") },
@@ -57,7 +57,7 @@ static const Key keys[] = {
{ MODKEY, XK_9, move, { .i = 8 } },
{ MODKEY, XK_0, move, { .i = 9 } },
{ MODKEY, XK_q, killclient, { 0 } },
{ MODKEY, XK_c, killclient, { 0 } },
{ MODKEY, XK_u, focusurgent, { 0 } },
{ MODKEY|ShiftMask, XK_u, toggle, { .v = (void*) &urgentswitch } },

Binary file not shown.