From a65cf3249e3030378fac96eeb7f74200d5582cc4 Mon Sep 17 00:00:00 2001 From: candifloss Date: Wed, 24 Dec 2025 11:30:39 +0530 Subject: [PATCH] Update app launcher, wallpaper setter, terminal --- .gitignore | 1 + config.h | 13 +++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 4d4f5e5..d3ad543 100644 --- a/.gitignore +++ b/.gitignore @@ -67,3 +67,4 @@ _deps dwm dwm +dwm diff --git a/config.h b/config.h index 9f4defd..748cb63 100644 --- a/config.h +++ b/config.h @@ -4,7 +4,7 @@ static const unsigned int borderpx = 1; /* border pixel of windows */ static const unsigned int snap = 32; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ -static const int topbar = 1; /* 0 means bottom bar */ +static const int topbar = 0; /* 0 means bottom bar */ static const char *fonts[] = { "monospace:size=10" }; static const char dmenufont[] = "monospace:size=10"; static const char col_gray1[] = "#222222"; @@ -24,9 +24,10 @@ static const char *colors[][3] = { // Start-up scripts & commands static const char *const autostart[] = { - "feh", "--bg-fill", "/home/username/Pictures/Wallpapers/wp_ubuntu_1.jpg", NULL, // Set wallpaper + "picom", "--backend", "glx", "-b", NULL, // Compositor + "icing", NULL, // Wallpaper setter "xinput", "set-prop", "9", "325", "1", NULL, // Set mouse to left-handed. Help: `xinput` - "vonal", "&", NULL, // Start vonalc launcher daemon + //"vonal", "&", NULL, // Start vonalc launcher daemon NULL /* terminate */ }; @@ -69,8 +70,8 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ -static const char *dmenucmd[] = { "vonalc", "toggle", NULL }; -static const char *termcmd[] = { "wezterm", NULL }; +static const char *dmenucmd[] = { "rofi", "-show", "drun", NULL }; +static const char *termcmd[] = { "alacritty", NULL }; static const char *browsercmd[] = { "firefox", "--private-window", NULL }; static const char *editorcmd[] = { "codium", NULL }; static const char *fmcmd[] = { "nautilus", NULL }; @@ -78,7 +79,7 @@ static const char *keepasscmd[] = { "keepassxc", NULL }; static const Key keys[] = { /* modifier key function argument */ - { MODKEY, XK_p, spawn, {.v = dmenucmd } }, + { MODKEY, XK_d, spawn, {.v = dmenucmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, { ControlMask|Mod1Mask, XK_p, spawn, {.v = browsercmd } }, { ControlMask|Mod1Mask, XK_c, spawn, {.v = editorcmd } },