fix(bspwm): Change event strings
This commit is contained in:
parent
60503734ac
commit
ebe1998b19
@ -63,23 +63,11 @@ tray-padding = 2
|
|||||||
|
|
||||||
;override-redirect = true
|
;override-redirect = true
|
||||||
|
|
||||||
; Cycle bspwm desktops when scrolling on the bar (unless caught by module)
|
;scroll-up = bspwm-desknext
|
||||||
;
|
;scroll-down = bspwm-deskprev
|
||||||
; NOTE: You should probably disable scrolling for
|
|
||||||
; the bspwm module by setting `enable-scroll = false`
|
|
||||||
; in the module section
|
|
||||||
;
|
|
||||||
;scroll-up = bspc desktop -f prev.local
|
|
||||||
;scroll-down = bspc desktop -f next.local
|
|
||||||
|
|
||||||
; Cycle i3 workspaces when scrolling on the bar (unless caught by module)
|
;scroll-up = i3wm-wsnext
|
||||||
;
|
;scroll-down = i3wm-wsprev
|
||||||
; NOTE: You should probably disable scrolling for
|
|
||||||
; the i3 module by setting `enable-scroll = false`
|
|
||||||
; in the module section
|
|
||||||
;
|
|
||||||
;scroll-up = i3-msg workspace prev_on_output
|
|
||||||
;scroll-down = i3-msg workspace next_on_output
|
|
||||||
|
|
||||||
|
|
||||||
[module/xwindow]
|
[module/xwindow]
|
||||||
|
@ -58,10 +58,10 @@ namespace modules {
|
|||||||
static constexpr auto TAG_LABEL_STATE = "<label-state>";
|
static constexpr auto TAG_LABEL_STATE = "<label-state>";
|
||||||
static constexpr auto TAG_LABEL_MODE = "<label-mode>";
|
static constexpr auto TAG_LABEL_MODE = "<label-mode>";
|
||||||
|
|
||||||
static constexpr auto EVENT_PREFIX = "bwm";
|
static constexpr const char* EVENT_PREFIX{"bspwm-desk"};
|
||||||
static constexpr auto EVENT_CLICK = "bwmf";
|
static constexpr const char* EVENT_CLICK{"bspwm-deskfocus"};
|
||||||
static constexpr auto EVENT_SCROLL_UP = "bwmn";
|
static constexpr const char* EVENT_SCROLL_UP{"bspwm-desknext"};
|
||||||
static constexpr auto EVENT_SCROLL_DOWN = "bwmp";
|
static constexpr const char* EVENT_SCROLL_DOWN{"bspwm-deskprev"};
|
||||||
|
|
||||||
bspwm_util::connection_t m_subscriber;
|
bspwm_util::connection_t m_subscriber;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user