From 53e62e8a80d143dd6b3cec06ab1700baddddf274 Mon Sep 17 00:00:00 2001 From: Alexis Jhon Gaspar Date: Thu, 28 Sep 2023 20:29:26 +0800 Subject: [PATCH] Layoutmenu for spmenu fix & shutdown menu placement --- README.md | 2 ++ dwm-flexipatch/config.def.h | 4 ++-- dwm-flexipatch/dwm.c | 1 + scripts/spmenu/layoutmenu | 0 scripts/spmenu/shutdown | 0 5 files changed, 5 insertions(+), 2 deletions(-) mode change 100644 => 100755 scripts/spmenu/layoutmenu mode change 100644 => 100755 scripts/spmenu/shutdown diff --git a/README.md b/README.md index 335c3af..964c22b 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,8 @@ This was designed to save me some sanity in maintaining it as well as easily int - spmenu - dwmblocks-async - slock +- dvtm +- abduco ## Notes diff --git a/dwm-flexipatch/config.def.h b/dwm-flexipatch/config.def.h index c0a6f0a..d0b5a03 100644 --- a/dwm-flexipatch/config.def.h +++ b/dwm-flexipatch/config.def.h @@ -98,7 +98,7 @@ static const char buttonbar[] = "󰕰 Start"; static const char buttonbar2[] = " st"; static const char buttonbar3[] = " Firefox"; static const char buttonbar4[] = "󰝚 mpd"; -static const char buttonbar5[] = "󰍃󰐥"; +static const char buttonbar5[] = "󰍃 󰐥 Power"; #endif // BAR_STATUSBUTTON_PATCH #if BAR_SYSTRAY_PATCH static const unsigned int systrayspacing = 2; /* systray spacing */ @@ -573,7 +573,7 @@ static const BarRule barrules[] = { { 0, 0, BAR_ALIGN_RIGHT, width_systray, draw_systray, click_systray, NULL, "systray" }, #endif // BAR_SYSTRAY_PATCH #if BAR_STATUSBUTTON_PATCH - { -1, 1, BAR_ALIGN_RIGHT, width_stbutton5, draw_stbutton5, click_stbutton5, NULL, "statusbutton5" }, + { -1, 1, BAR_ALIGN_RIGHT, width_stbutton5, draw_stbutton5, click_stbutton5, NULL, "statusbutton5" }, #endif // BAR_STATUSBUTTON_PATCH #if BAR_LTSYMBOL_PATCH { -1, 0, BAR_ALIGN_LEFT, width_ltsymbol, draw_ltsymbol, click_ltsymbol, NULL, "layout" }, diff --git a/dwm-flexipatch/dwm.c b/dwm-flexipatch/dwm.c index 646ca87..15a8ca2 100644 --- a/dwm-flexipatch/dwm.c +++ b/dwm-flexipatch/dwm.c @@ -235,6 +235,7 @@ enum { ClkButton2, ClkButton3, ClkButton4, + ClkButton5, #endif // BAR_STATUSBUTTON_PATCH #if TAB_PATCH ClkTabBar, diff --git a/scripts/spmenu/layoutmenu b/scripts/spmenu/layoutmenu old mode 100644 new mode 100755 diff --git a/scripts/spmenu/shutdown b/scripts/spmenu/shutdown old mode 100644 new mode 100755