MCPcopy
hub / github.com/paperwm/PaperWM / _getShowPositionBar

Method _getShowPositionBar

tiling.js:1619–1628  ·  view source on GitHub ↗

* Returns the show-position-bar (workspace) setting. * @returns Boolean

()

Source from the content-addressed store, hash-verified

1617 * @returns Boolean
1618 */
1619 _getShowPositionBar() {
1620 const value = Settings.prefs.show_window_position_bar;
1621 let userValue = true;
1622 try {
1623 userValue = this.settings.get_boolean('show-position-bar');
1624 } catch (error) {
1625
1626 }
1627 return value && userValue;
1628 }
1629
1630 updateShowPositionBar() {
1631 this.showPositionBar = this._getShowPositionBar();

Callers 2

_removeAddPositionBarMethod · 0.95
updateShowPositionBarMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected