aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar BanceDev 2026-02-21 11:58:05 -0500
committerGravatar BanceDev 2026-02-21 11:58:05 -0500
commit20a9d21e32996bf97559d0b748e46f86d787e210 (patch)
tree5dcc4485413425faa593803ad1e6de69f69c5572 /src
parentMerge remote-tracking branch 'origin/main' into personalcfg (diff)
changed personal config to brave
Diffstat (limited to 'src')
-rw-r--r--src/config.h6
-rw-r--r--src/tilite.c5
2 files changed, 2 insertions, 9 deletions
diff --git a/src/config.h b/src/config.h
index 4b689e1..834d4c2 100644
--- a/src/config.h
+++ b/src/config.h
@@ -22,11 +22,7 @@
#define CFG_BINDS \
{MODKEY, XK_Return, 0, {.cmd = build_argv("alacritty")}, TYPE_CMD}, \
{MODKEY, XK_d, 0, {.cmd = build_argv("kitty -e oxicord")}, TYPE_CMD}, \
- {MODKEY, \
- XK_w, \
- 0, \
- {.cmd = build_argv("surf git.bance.dev")}, \
- TYPE_CMD}, \
+ {MODKEY, XK_w, 0, {.cmd = build_argv("brave")}, TYPE_CMD}, \
{MODKEY, XK_space, 0, {.cmd = build_argv("dmenu_run")}, TYPE_CMD}, \
{MODKEY, XK_equal, 0, {.cmd = build_argv("volup")}, TYPE_CMD}, \
{MODKEY, XK_minus, 0, {.cmd = build_argv("voldown")}, TYPE_CMD}, \
diff --git a/src/tilite.c b/src/tilite.c
index ad617fa..b958d8b 100644
--- a/src/tilite.c
+++ b/src/tilite.c
@@ -447,12 +447,10 @@ void focus_next(void) {
client_t *start = focused ? focused : workspaces[current_ws];
client_t *c = start;
- /* loop until we find a mapped client or return to start */
do
c = c->next ? c->next : workspaces[current_ws];
while (!c->mapped && c != start);
- /* if we return to start: */
if (!c->mapped)
return;
@@ -960,8 +958,7 @@ void hdl_map_req(XEvent *xev) {
c->fixed = True;
}
- if (should_float || global_floating)
- {
+ if (should_float || global_floating) {
c->floating = True;
bsp_remove(&bsp_roots[target_ws], c);
}