Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
xfce:xfce4-panel:tasklist [2019/12/09 07:22] – kevinbowen | xfce:xfce4-panel:tasklist [2025/02/06 17:03] (current) – Add separator gael | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | {{ :xfce: | + | {{ : |
- | ====== Window Buttons ====== | + | ====== |
The //Window Buttons// panel plugin allows allows you to switch between application windows using buttons. | The //Window Buttons// panel plugin allows allows you to switch between application windows using buttons. | ||
Line 7: | Line 7: | ||
===== Properties ===== | ===== Properties ===== | ||
- | <figure " | + | <figure " |
- | {{: | + | {{: |
</ | </ | ||
Line 15: | Line 15: | ||
===== Style Properties ===== | ===== Style Properties ===== | ||
- | You can set a custom icon size in gtk-icon-sizes with the name '' | + | <note classic> |
- | <file txt .gtkrc-2.0> | + | <file txt ~/.config/gtk-3.0/gtk.css> |
- | style " | + | /* The maximum length of a button before the label ellipsizes. |
- | { | + | |
- | # The maximum length of a button before the label ellipsizes. | + | |
- | # | + | .tasklist { |
- | # | + | |
- | XfceTasklist::max-button-length | + | } |
- | # Ellipsizing used in the task list and overflow menu labels. | + | /* The minimum length of a button, even if the label is smaller. */ |
- | XfceTasklist::ellipsize-mode = PANGO_ELLIPSIZE_END | + | .tasklist { |
+ | | ||
+ | } | ||
- | # Lucency | + | /* The maximum size controls the number |
- | # hide the icon) and 100 (don't lighten the icon). | + | |
- | XfceTasklist::minimized-icon-lucency = 50 | + | So the button size can actually be up to 2 * max-button-size. |
+ | When this value is set to -1 there is no maximum size. */ | ||
+ | .tasklist { | ||
+ | | ||
+ | } | ||
- | # Maximum number of characters | + | /* Ellipsizing used in the task list and overflow |
- | # be ellipsized. | + | .tasklist { |
- | XfceTasklist::menu-max-width-chars = 24 | + | |
} | } | ||
- | class "XfceTasklist" style "xfce-tasklist-style" | + | |
+ | /* Lucency of minimized icons. Valid values are between 0 (completely | ||
+ | hide the icon) and 100 (don't lighten the icon). */ | ||
+ | .tasklist { | ||
+ | -XfceTasklist-minimized-icon-lucency: | ||
+ | } | ||
+ | |||
+ | /* Maximum number of characters in the menu label before it will | ||
+ | be ellipsized. When this value is set to -1, the width will be | ||
+ | | ||
+ | .tasklist | ||
+ | -XfceTasklist-menu-max-width-chars: | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Theming Examples ===== | ||
+ | |||
+ | <file txt ~/ | ||
+ | /* window button font color */ | ||
+ | /* NORMAL */ | ||
+ | .tasklist button { | ||
+ | color: #ffffff; | ||
+ | } | ||
+ | /* PRELIGHT */ | ||
+ | .tasklist button: | ||
+ | color: #ffffff; | ||
+ | } | ||
+ | /* ACTIVE - only while being clicked */ | ||
+ | .tasklist button: | ||
+ | color: #000000; | ||
+ | } | ||
+ | /* SELECTED */ | ||
+ | .tasklist button: | ||
+ | color: #000000; | ||
+ | } | ||
+ | |||
+ | /* icon text not truncated */ | ||
+ | XfdesktopIconView.view { | ||
+ | | ||
+ | } | ||
</ | </ | ||
- | See the section | + | See the [[theming|theming section]] for more information. |
[[|Back To Top]] | [[|Back To Top]] | ||
---- | ---- | ||
- | [[ : | + | [[: |