diff --git a/include/modules/bspwm.hpp b/include/modules/bspwm.hpp index 80710524..4d0594e6 100644 --- a/include/modules/bspwm.hpp +++ b/include/modules/bspwm.hpp @@ -24,6 +24,7 @@ namespace modules { LAYOUT_TILED, STATE_FULLSCREEN, STATE_FLOATING, + STATE_PSEUDOTILED, NODE_LOCKED, NODE_STICKY, NODE_PRIVATE diff --git a/src/modules/bspwm.cpp b/src/modules/bspwm.cpp index 44ac5692..09ea7345 100644 --- a/src/modules/bspwm.cpp +++ b/src/modules/bspwm.cpp @@ -113,6 +113,7 @@ namespace modules { m_modelabels.emplace(mode::LAYOUT_TILED, load_optional_label(m_conf, name(), "label-tiled")); m_modelabels.emplace(mode::STATE_FULLSCREEN, load_optional_label(m_conf, name(), "label-fullscreen")); m_modelabels.emplace(mode::STATE_FLOATING, load_optional_label(m_conf, name(), "label-floating")); + m_modelabels.emplace(mode::STATE_PSEUDOTILED, load_optional_label(m_conf, name(), "label-pseudotiled")); m_modelabels.emplace(mode::NODE_LOCKED, load_optional_label(m_conf, name(), "label-locked")); m_modelabels.emplace(mode::NODE_STICKY, load_optional_label(m_conf, name(), "label-sticky")); m_modelabels.emplace(mode::NODE_PRIVATE, load_optional_label(m_conf, name(), "label-private")); @@ -277,6 +278,9 @@ namespace modules { case 'F': mode_flag = mode::STATE_FLOATING; break; + case 'P': + mode_flag = mode::STATE_PSEUDOTILED; + break; default: m_log.warn("%s: Undefined T => '%s'", name(), value); }