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/11/13 02:19] – kevinbowen | xfce:xfce4-panel:tasklist [2025/02/06 17:03] (current) – Add separator gael | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Window Buttons ====== | + | ~~NOTOC~~ |
+ | {{ : | ||
+ | ====== | ||
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. | ||
- | ====== Properties | + | ===== Properties ===== |
- | <figure " | + | <figure " |
- | {{: | + | {{: |
</ | </ | ||
- | ====== Style Properties ====== | + | ---- |
- | You can set a custom icon size in gtk-icon-sizes with the name '' | + | ===== Style Properties ===== |
- | <file txt .gtkrc-2.0> | + | <note classic>Do not expect max-button-length, min-button-length and max-button-size to really work as intended before 4.19.4: see https:// |
- | style "xfce-tasklist-style" | + | |
- | { | + | |
- | # The maximum | + | |
- | # When this value is set to -1 the button | + | |
- | # entire available space. | + | |
- | XfceTasklist::max-button-length = 200 | + | |
- | | + | <file txt ~/ |
- | XfceTasklist::ellipsize-mode = PANGO_ELLIPSIZE_END | + | /* The maximum length of a button before the label ellipsizes. |
+ | | ||
+ | | ||
+ | .tasklist { | ||
+ | | ||
+ | } | ||
- | # Lucency | + | /* The minimum length |
- | # hide the icon) and 100 (don't lighten the icon). | + | .tasklist { |
- | XfceTasklist::minimized-icon-lucency = 50 | + | |
+ | } | ||
- | # Maximum | + | /* The maximum size controls the number of lines on which |
- | # | + | buttons rearrange themselves: panel-size / max-button-size. |
- | XfceTasklist::menu-max-width-chars = 24 | + | So the button size can actually |
+ | When this value is set to -1 there is no maximum size. */ | ||
+ | .tasklist { | ||
+ | | ||
} | } | ||
- | class "XfceTasklist" style "xfce-tasklist-style" | + | |
+ | /* Ellipsizing used in the task list and overflow menu labels. */ | ||
+ | .tasklist { | ||
+ | -XfceTasklist-ellipsize-mode: | ||
+ | } | ||
+ | |||
+ | /* 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]] | ||
---- | ---- | ||
- | [[ : | + | [[: |