Layoutmenu for spmenu fix & shutdown menu placement

This commit is contained in:
Alexis Jhon Gaspar 2023-09-28 20:29:26 +08:00
parent da3a9f56b7
commit 53e62e8a80
5 changed files with 5 additions and 2 deletions

View file

@ -15,6 +15,8 @@ This was designed to save me some sanity in maintaining it as well as easily int
- spmenu - spmenu
- dwmblocks-async - dwmblocks-async
- slock - slock
- dvtm
- abduco
## Notes ## Notes

View file

@ -98,7 +98,7 @@ static const char buttonbar[] = "󰕰 Start";
static const char buttonbar2[] = " st"; static const char buttonbar2[] = " st";
static const char buttonbar3[] = " Firefox"; static const char buttonbar3[] = " Firefox";
static const char buttonbar4[] = "󰝚 mpd"; static const char buttonbar4[] = "󰝚 mpd";
static const char buttonbar5[] = "󰍃󰐥"; static const char buttonbar5[] = "󰍃 󰐥 Power";
#endif // BAR_STATUSBUTTON_PATCH #endif // BAR_STATUSBUTTON_PATCH
#if BAR_SYSTRAY_PATCH #if BAR_SYSTRAY_PATCH
static const unsigned int systrayspacing = 2; /* systray spacing */ 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" }, { 0, 0, BAR_ALIGN_RIGHT, width_systray, draw_systray, click_systray, NULL, "systray" },
#endif // BAR_SYSTRAY_PATCH #endif // BAR_SYSTRAY_PATCH
#if BAR_STATUSBUTTON_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 #endif // BAR_STATUSBUTTON_PATCH
#if BAR_LTSYMBOL_PATCH #if BAR_LTSYMBOL_PATCH
{ -1, 0, BAR_ALIGN_LEFT, width_ltsymbol, draw_ltsymbol, click_ltsymbol, NULL, "layout" }, { -1, 0, BAR_ALIGN_LEFT, width_ltsymbol, draw_ltsymbol, click_ltsymbol, NULL, "layout" },

View file

@ -235,6 +235,7 @@ enum {
ClkButton2, ClkButton2,
ClkButton3, ClkButton3,
ClkButton4, ClkButton4,
ClkButton5,
#endif // BAR_STATUSBUTTON_PATCH #endif // BAR_STATUSBUTTON_PATCH
#if TAB_PATCH #if TAB_PATCH
ClkTabBar, ClkTabBar,

0
scripts/spmenu/layoutmenu Normal file → Executable file
View file

0
scripts/spmenu/shutdown Normal file → Executable file
View file