Skip to content

Commit

Permalink
Remove css_inline_workspace to use only stylesheet.css for their colo…
Browse files Browse the repository at this point in the history
…r styling
  • Loading branch information
ybda committed May 5, 2024
1 parent 806cb26 commit 66d7835
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,13 @@ export default class WorkspacesByOpenApps extends Extension {
if (this._settings.indicator_hide_empty && !is_active && windows.length === 0)
return

const css_inline_workspace = `border-color: ${this._settings.indicator_color}`

const css_classes_workspace = [ "wboa-workspace" ]
if (is_active) css_classes_workspace.push("wboa-active")
if (!this._settings.indicator_show_active_workspace) css_classes_workspace.push("wboa-no-indicator")
if (!this._settings.indicator_round_borders) css_classes_workspace.push("wboa-no-rounded")

// create indicator
const indicator = new St.Bin({
style: css_inline_workspace,
style_class: css_classes_workspace.join(" "),
reactive: true,
can_focus: true,
Expand Down

0 comments on commit 66d7835

Please sign in to comment.