From 751e3abf86dd51b30f4dcf5e881cb99c9d1a182f Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Fri, 3 May 2019 17:08:59 -0400 Subject: dwm stuff --- Scripts/.config/Scripts/startdwm | 3 ++- dwm/dwm/config.def.h | 13 +++++++------ dwm/dwm/config.h | 13 +++++++------ dwm/dwm/dwm | Bin 73408 -> 73408 bytes dwm/dwm/dwm.o | Bin 65712 -> 65800 bytes st/st/st | Bin 104792 -> 104792 bytes st/st/x.o | Bin 74864 -> 74864 bytes 7 files changed, 16 insertions(+), 13 deletions(-) diff --git a/Scripts/.config/Scripts/startdwm b/Scripts/.config/Scripts/startdwm index 8bf41c5..60c140c 100755 --- a/Scripts/.config/Scripts/startdwm +++ b/Scripts/.config/Scripts/startdwm @@ -23,7 +23,8 @@ run st -c email -e neomutt run firefox run keepassxc amixer -c 0 set Headphone 100% unmute -#run dropbox +run dropbox +run stalonetray disk_used=$(df -hl --total / | awk '{print $5}' | sed -n 2p) diff --git a/dwm/dwm/config.def.h b/dwm/dwm/config.def.h index 4ac4724..3dd4584 100644 --- a/dwm/dwm/config.def.h +++ b/dwm/dwm/config.def.h @@ -26,11 +26,12 @@ static const Rule rules[] = { * WM_CLASS(STRING) = instance, class * WM_NAME(STRING) = title */ - /* class instance title tags mask isfloating monitor */ - { "Gimp", NULL, NULL, 0, 1, -1 }, - { "Firefox", NULL, NULL, 1 << 8, 0, 1 }, - { "keepassxc", NULL, NULL, 1 << 3, 0, -1 }, - { "email", NULL, NULL, 1 << 8, 0, -1 }, + /* class instance title tags mask isfloating monitor */ + { "Gimp", NULL, NULL, 0, 1, -1 }, + { "Firefox", NULL, NULL, 1 << 8, 0, 1 }, + { "keepassxc", NULL, NULL, 1 << 3, 0, -1 }, + { "email", NULL, NULL, 1 << 8, 0, -1 }, + { "stalonetray", NULL, NULL, 1 << 8, 1, -1 }, }; /* layout(s) */ @@ -100,7 +101,6 @@ static Key keys[] = { { MODKEY, XK_comma, focusmon, {.i = -1 } }, { MODKEY, XK_period, focusmon, {.i = +1 } }, { MODKEY, XK_Tab, view, {0} }, - { MODKEY, XK_grave, togglescratch, {.v = scratchpadcmd } }, { MODKEY, XK_minus, spawn, {.v = vol_dec } }, { MODKEY, XK_equal, spawn, {.v = vol_inc } }, { MODKEY, XK_bracketleft, spawn, {.v = mpc_seekb } }, @@ -110,6 +110,7 @@ static Key keys[] = { { MODKEY, XK_e, spawn, {.v = neomutt } }, { MODKEY, XK_r, spawn, {.v = vifm } }, { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, + { MODKEY, XK_u, togglescratch, {.v = scratchpadcmd } }, { MODKEY, XK_i, spawn, {.v = htop } }, { MODKEY, XK_p, spawn, {.v = mpc_toggle } }, { MODKEY, XK_d, spawn, {.v = rofi } }, diff --git a/dwm/dwm/config.h b/dwm/dwm/config.h index 4ac4724..3dd4584 100644 --- a/dwm/dwm/config.h +++ b/dwm/dwm/config.h @@ -26,11 +26,12 @@ static const Rule rules[] = { * WM_CLASS(STRING) = instance, class * WM_NAME(STRING) = title */ - /* class instance title tags mask isfloating monitor */ - { "Gimp", NULL, NULL, 0, 1, -1 }, - { "Firefox", NULL, NULL, 1 << 8, 0, 1 }, - { "keepassxc", NULL, NULL, 1 << 3, 0, -1 }, - { "email", NULL, NULL, 1 << 8, 0, -1 }, + /* class instance title tags mask isfloating monitor */ + { "Gimp", NULL, NULL, 0, 1, -1 }, + { "Firefox", NULL, NULL, 1 << 8, 0, 1 }, + { "keepassxc", NULL, NULL, 1 << 3, 0, -1 }, + { "email", NULL, NULL, 1 << 8, 0, -1 }, + { "stalonetray", NULL, NULL, 1 << 8, 1, -1 }, }; /* layout(s) */ @@ -100,7 +101,6 @@ static Key keys[] = { { MODKEY, XK_comma, focusmon, {.i = -1 } }, { MODKEY, XK_period, focusmon, {.i = +1 } }, { MODKEY, XK_Tab, view, {0} }, - { MODKEY, XK_grave, togglescratch, {.v = scratchpadcmd } }, { MODKEY, XK_minus, spawn, {.v = vol_dec } }, { MODKEY, XK_equal, spawn, {.v = vol_inc } }, { MODKEY, XK_bracketleft, spawn, {.v = mpc_seekb } }, @@ -110,6 +110,7 @@ static Key keys[] = { { MODKEY, XK_e, spawn, {.v = neomutt } }, { MODKEY, XK_r, spawn, {.v = vifm } }, { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, + { MODKEY, XK_u, togglescratch, {.v = scratchpadcmd } }, { MODKEY, XK_i, spawn, {.v = htop } }, { MODKEY, XK_p, spawn, {.v = mpc_toggle } }, { MODKEY, XK_d, spawn, {.v = rofi } }, diff --git a/dwm/dwm/dwm b/dwm/dwm/dwm index 82d56ee..07c5594 100755 Binary files a/dwm/dwm/dwm and b/dwm/dwm/dwm differ diff --git a/dwm/dwm/dwm.o b/dwm/dwm/dwm.o index 420d429..8e2806b 100644 Binary files a/dwm/dwm/dwm.o and b/dwm/dwm/dwm.o differ diff --git a/st/st/st b/st/st/st index bc0a626..dc38fa4 100755 Binary files a/st/st/st and b/st/st/st differ diff --git a/st/st/x.o b/st/st/x.o index 4aaf9b0..befc91b 100644 Binary files a/st/st/x.o and b/st/st/x.o differ -- cgit v1.2.3