From faf56a0ffcb3eede339330a11ae5969e614f6c62 Mon Sep 17 00:00:00 2001 From: GasparVardanyan Date: Sun, 8 Sep 2024 09:58:10 +0400 Subject: [PATCH] update config --- config.h | 2 +- namedscratchpads.c | 20 +++++++++++--------- scratchtagwins.c | 10 ++++++---- spawn_cmds.c | 3 ++- 4 files changed, 20 insertions(+), 15 deletions(-) diff --git a/config.h b/config.h index 1acdb3a..1c47c18 100644 --- a/config.h +++ b/config.h @@ -59,7 +59,7 @@ static const Rule rules[] = { static const float mfact = 0.5; /* factor of master area size [0.05..0.95] */ static const int nmaster = 1; /* number of clients in master area */ static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */ -static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */ +static const int lockfullscreen = 0; /* 1 will force focus on the fullscreen window */ static const Layout layouts[] = { /* symbol arrange function */ diff --git a/namedscratchpads.c b/namedscratchpads.c index 7a6d085..9c3a648 100644 --- a/namedscratchpads.c +++ b/namedscratchpads.c @@ -18,16 +18,18 @@ struct { .term = { .instance = "scratchterm", .key = 's', .args = (const char * []) { "s", - "tabbed", - "-p", "s+1", - "-n", "scratchterm", - "-g", "1212x680", - "-c", "st", "-w", - /* "st", */ + /* "tabbed", */ + /* "-p", "s+1", */ /* "-n", "scratchterm", */ - /* "-g", "90x25", */ - /* "-e", "sh", */ - /* "-c", "tmux", "new", "-s", "scratchterm", */ + /* "-g", "1212x680", */ + /* "-c", "st", "-w", */ + "st", + "-n", "scratchterm", + "-g", "120x30", + "-e", + /* "sh", "-c", */ + /* "tmux attach-session -t scratchterm || tmux new-session -t scratchterm", */ + "tmux", NULL } }, diff --git a/scratchtagwins.c b/scratchtagwins.c index 07bc638..b54cb2e 100644 --- a/scratchtagwins.c +++ b/scratchtagwins.c @@ -6,11 +6,13 @@ # define SCRATCHTAGWIN(name, id) \ static const char * name [] = { # id, \ - "tabbed", \ - "-p", "s+1", \ + "st", \ "-n", # name, \ - "-g", "1212x680", \ - "-c", "st", "-w", \ + "-g", "120x30", \ + "-e", \ + /* "sh", "-c", \ */ \ + /* "tmux attach-session -t " #name " || tmux new-session -t " #name, \ */ \ + "tmux", \ NULL \ } \ diff --git a/spawn_cmds.c b/spawn_cmds.c index e71fa39..87f1280 100644 --- a/spawn_cmds.c +++ b/spawn_cmds.c @@ -32,7 +32,8 @@ struct { .Terminal = { .args = (const char * []) { - "tabbed", "-p", "s+1", "-c", "st", "-w", NULL + /* "tabbed", "-p", "s+1", "-c", "st", "-w", NULL */ + "st", "-e", "tmux", NULL } }, .Dmenu = {