Update app launcher, wallpaper setter, terminal
This commit is contained in:
parent
0ec69b010a
commit
a65cf3249e
1
.gitignore
vendored
1
.gitignore
vendored
@ -67,3 +67,4 @@ _deps
|
|||||||
|
|
||||||
dwm
|
dwm
|
||||||
dwm
|
dwm
|
||||||
|
dwm
|
||||||
|
|||||||
13
config.h
13
config.h
@ -4,7 +4,7 @@
|
|||||||
static const unsigned int borderpx = 1; /* border pixel of windows */
|
static const unsigned int borderpx = 1; /* border pixel of windows */
|
||||||
static const unsigned int snap = 32; /* snap pixel */
|
static const unsigned int snap = 32; /* snap pixel */
|
||||||
static const int showbar = 1; /* 0 means no bar */
|
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 *fonts[] = { "monospace:size=10" };
|
||||||
static const char dmenufont[] = "monospace:size=10";
|
static const char dmenufont[] = "monospace:size=10";
|
||||||
static const char col_gray1[] = "#222222";
|
static const char col_gray1[] = "#222222";
|
||||||
@ -24,9 +24,10 @@ static const char *colors[][3] = {
|
|||||||
|
|
||||||
// Start-up scripts & commands
|
// Start-up scripts & commands
|
||||||
static const char *const autostart[] = {
|
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`
|
"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 */
|
NULL /* terminate */
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -69,8 +70,8 @@ static const Layout layouts[] = {
|
|||||||
|
|
||||||
/* commands */
|
/* commands */
|
||||||
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
||||||
static const char *dmenucmd[] = { "vonalc", "toggle", NULL };
|
static const char *dmenucmd[] = { "rofi", "-show", "drun", NULL };
|
||||||
static const char *termcmd[] = { "wezterm", NULL };
|
static const char *termcmd[] = { "alacritty", NULL };
|
||||||
static const char *browsercmd[] = { "firefox", "--private-window", NULL };
|
static const char *browsercmd[] = { "firefox", "--private-window", NULL };
|
||||||
static const char *editorcmd[] = { "codium", NULL };
|
static const char *editorcmd[] = { "codium", NULL };
|
||||||
static const char *fmcmd[] = { "nautilus", NULL };
|
static const char *fmcmd[] = { "nautilus", NULL };
|
||||||
@ -78,7 +79,7 @@ static const char *keepasscmd[] = { "keepassxc", NULL };
|
|||||||
|
|
||||||
static const Key keys[] = {
|
static const Key keys[] = {
|
||||||
/* modifier key function argument */
|
/* modifier key function argument */
|
||||||
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
|
{ MODKEY, XK_d, spawn, {.v = dmenucmd } },
|
||||||
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
|
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
|
||||||
{ ControlMask|Mod1Mask, XK_p, spawn, {.v = browsercmd } },
|
{ ControlMask|Mod1Mask, XK_p, spawn, {.v = browsercmd } },
|
||||||
{ ControlMask|Mod1Mask, XK_c, spawn, {.v = editorcmd } },
|
{ ControlMask|Mod1Mask, XK_c, spawn, {.v = editorcmd } },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user