Skip to content

Instantly share code, notes, and snippets.

@rodrigo-x
Created February 27, 2024 23:33
Show Gist options
  • Save rodrigo-x/316308766ac478b70ca5289e6aeba99a to your computer and use it in GitHub Desktop.
Save rodrigo-x/316308766ac478b70ca5289e6aeba99a to your computer and use it in GitHub Desktop.
gtk.css do xfce4 debian 12 bookworm
/*.xfce4-panel {
border-bottom-left-radius: 13px;
border-bottom-right-radius: 13px;
border-top-left-radius: 13px;
border-top-right-radius: 13px;
}*/
#whiskermenu-button image {
-gtk-icon-transform: scale(1);
}
#showdesktop-button image {
-gtk-icon-transform: scale(1);
}
#pulseaudio-button image {
-gtk-icon-transform: scale(0.5);
}
#xfce4-clipman-plugin image {
-gtk-icon-transform: scale(0.5);
}
#xfce4-notification-plugin image {
-gtk-icon-transform: scale(0.5);
}
#xfce4-power-manager-plugin image {
-gtk-icon-transform: scale(0.6);
}
#xfce-panel-toggle-button image {
-gtk-icon-transform: scale(0.6);
}
/* shrink headerbars */
headerbar {
border: 0;
background-color: #2d2d2d;
border-radius: 0;
min-height: 0;
padding-left: 2px; /* same as childrens vertical margins for nicer proportions */
padding-right: 2px;
}
headerbar entry,
headerbar spinbutton,
headerbar button,
headerbar separator {
margin-bottom: 0;
margin-top: 0; /* same as headerbar side padding for nicer proportions */
}
/* shrink ssd titlebars */
.default-decoration {
background-color: #2d2d2d;
min-height: 0; /* let the entry and button drive the titlebar size */
padding: 0;
}
.default-decoration .titlebutton {
min-height: 0; /* tweak these two props to reduce button size */
min-width: 0;
}
window.ssd headerbar.titlebar {
min-height: 0;
padding-top: 3px;
padding-bottom: 3px;
}
window.ssd headerbar.titlebar button.titlebutton {
border-radius: 0;
min-height: 0;
margin-right: 2px;
padding: 3px;
}
.tasklist button {
border-width: 2px;
border-style: solid;
}
.tasklist button {
border-color: white;
border-radius: 2px;
margin-left: 4px;
}
.tasklist button:checked {
border-color: cyan;
border-radius: 2px;
box-shadow: none;
}
.tasklist button:hover {
border-color: white;
border-radius: 2px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment