Skip to content

Commit

Permalink
Remove css_inline_app to specify styles in css file only, make things…
Browse files Browse the repository at this point in the history
… work in there
  • Loading branch information
ybda committed May 5, 2024
1 parent a59c626 commit 489d751
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 @@ -357,15 +357,12 @@ export default class WorkspacesByOpenApps extends Extension {
if (this._settings.apps_all_desaturate)
texture.add_effect(new Clutter.DesaturateEffect())

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

const css_classes_app = [ "wboa-app" ]
if (is_focus) css_classes_app.push("wboa-active")
if (!this._settings.indicator_show_focused_app) css_classes_app.push("wboa-no-indicator")
if (!this._settings.indicator_round_borders) css_classes_app.push("wboa-no-rounded")

const icon = new St.Bin({
style: css_inline_app,
style_class: css_classes_app.join(" "),
reactive: true,
can_focus: true,
Expand Down

0 comments on commit 489d751

Please sign in to comment.