commit e7438b11e2a786d5cbce602ff97cf72301bfde62
parent de01bb61fae13e0756f550844498f28270cef862
Author: AndrewLockVI <andrew@laack.co>
Date: Mon, 17 Feb 2025 14:29:14 -0600
Uncommended endcmd
Diffstat:
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/config.h b/config.h
@@ -78,14 +78,17 @@ static const char foreground[] = "#00ff00";
static const char highlight[] = "#224422";
static const char *dmenucmd[] = {"/home/andrew/bin/dmenu.sh", background, foreground, highlight, NULL};
-//static const char *endcmd[] = {"/home/andrew/bin/power.sh", background, foreground, highlight, NULL};
+static const char *endcmd[] = {"/home/andrew/bin/power.sh", background, foreground, highlight, NULL};
static const char *passcmd[] = {"/home/andrew/bin/pass.sh", background, foreground, highlight, NULL};
static const char *tmuxcmd[] = {"/home/andrew/bin/tmux.sh", background, foreground, highlight, NULL};
static const char *searchcmd[] = {"/home/andrew/bin/search.sh", background, foreground, highlight, NULL};
static const char *zathuracmd[] = {"/home/andrew/bin/zathura.sh", background, foreground, highlight, NULL};
static const char *musiccmd[] = {"/home/andrew/bin/find-music.sh", "/home/serverBackup/fileSharing/music/" , background, foreground, highlight, NULL};
+static const char *rangercmd[] = {"/home/andrew/bin/ranger.sh", "/home/andrew/" , background, foreground, highlight, NULL};
-static const char *suspendcmd[] = {"/home/andrew/bin/suspend.sh" , NULL};
+static const char *screenshotcmd[] = {"/home/andrew/bin/screenshot.sh", NULL};
+
+//static const char *suspendcmd[] = {"/home/andrew/bin/suspend.sh" , NULL};
static const char *termcmd[] = { "st", NULL };
@@ -94,12 +97,16 @@ static const char *termcmd[] = { "st", NULL };
static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_o, spawn, {.v = dmenucmd } },
- //{ MODKEY, XK_e, spawn, {.v = endcmd } },
+ { MODKEY, XK_e, spawn, {.v = endcmd } },
{ MODKEY, XK_p, spawn, {.v = passcmd } },
{ MODKEY, XK_t, spawn, {.v = tmuxcmd } },
{ MODKEY, XK_s, spawn, {.v = searchcmd } },
{ MODKEY, XK_z, spawn, {.v = zathuracmd } },
{ MODKEY, XK_m, spawn, {.v = musiccmd } },
+ { MODKEY, XK_r, spawn, {.v = rangercmd } },
+
+
+ { MODKEY|ShiftMask, XK_s, spawn, {.v = screenshotcmd } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
@@ -111,7 +118,8 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_i, incnmaster, {.i = +1 } },
{ MODKEY|ShiftMask, XK_d, incnmaster, {.i = -1 } },
- { MODKEY|ShiftMask, XK_s, spawn, {.v = suspendcmd } },
+ // exit (power off options)
+ { MODKEY, XK_e, spawn, {.v = endcmd } },
{ MODKEY, XK_Left, setmfact, {.f = -0.05} },
{ MODKEY, XK_Right, setmfact, {.f = +0.05} },
@@ -146,7 +154,6 @@ static const Key keys[] = {
// columnar mode (awesome for odyssey g9)
{ MODKEY|ShiftMask, XK_h, setlayout, {.v = &layouts[0]} },
-
//{ MODKEY, XK_space, setlayout, {0} },
//{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
@@ -156,8 +163,8 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_m, focusmon, {.i = -1 } },
//{ MODKEY|ShiftMask, XK_Down, focusmon, {.i = +1 } },
- //{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
- //{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
+ { MODKEY|ShiftMask, XK_Right, tagmon, {.i = +1 } },
+ { MODKEY|ShiftMask, XK_Left, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_r, quit, {0} },