Skip to content

Instantly share code, notes, and snippets.

@dagolinuxoid
Created June 14, 2021 08:48
Show Gist options
  • Save dagolinuxoid/35adfda5651e703dce7bb0a1246c772e to your computer and use it in GitHub Desktop.
Save dagolinuxoid/35adfda5651e703dce7bb0a1246c772e to your computer and use it in GitHub Desktop.
Elementary OS plank setup
#This file auto-generated by Plank.
#2021-05-08T20:30:53+0000
[PlankTheme]
#The roundness of the top corners.
TopRoundness=0
#The roundness of the bottom corners.
BottomRoundness=0
#The thickness (in pixels) of lines drawn.
LineWidth=0
#The color (RGBA) of the outer stroke.
OuterStrokeColor=41;;41;;41;;255
#The starting color (RGBA) of the fill gradient. IMPORTANT
FillStartColor=41;;41;;41;;0
#The ending color (RGBA) of the fill gradient. IMPORTANT
FillEndColor=80;;80;;80;;0
#The color (RGBA) of the inner stroke.
InnerStrokeColor=255;;255;;255;;255
[PlankDockTheme]
#The padding on the left/right dock edges, in tenths of a percent of IconSize.
HorizPadding=0
#The padding on the top dock edge, in tenths of a percent of IconSize. IMORTANT
TopPadding=0
#The padding on the bottom dock edge, in tenths of a percent of IconSize. IMORTANT
BottomPadding=1
#The padding between items on the dock, in tenths of a percent of IconSize. IMPORTANT
ItemPadding=8
#The size of item indicators, in tenths of a percent of IconSize. IMPORTANT
IndicatorSize=0
#The size of the icon-shadow behind every item, in tenths of a percent of IconSize.
IconShadowSize=1
#The height (in percent of IconSize) to bounce an icon when the application sets urgent.
UrgentBounceHeight=1.6666666666666667
#The height (in percent of IconSize) to bounce an icon when launching an application.
LaunchBounceHeight=0.625
#The opacity value (0 to 1) to fade the dock to when hiding it.
FadeOpacity=1
#The amount of time (in ms) for click animations.
ClickTime=300
#The amount of time (in ms) to bounce an urgent icon.
UrgentBounceTime=600
#The amount of time (in ms) to bounce an icon when launching an application.
LaunchBounceTime=600
#The amount of time (in ms) for active window indicator animations.
ActiveTime=300
#The amount of time (in ms) to slide icons into/out of the dock.
SlideTime=300
#The time (in ms) to fade the dock in/out on a hide (if FadeOpacity is < 1).
FadeTime=250
#The time (in ms) to slide the dock in/out on a hide (if FadeOpacity is 1).
HideTime=250
#The size of the urgent glow (shown when dock is hidden), in tenths of a percent of IconSize.
GlowSize=30
#The total time (in ms) to show the hidden-dock urgent glow.
GlowTime=10000
#The time (in ms) of each pulse of the hidden-dock urgent glow.
GlowPulseTime=2000
#The hue-shift (-180 to 180) of the urgent indicator color.
UrgentHueShift=150
#The time (in ms) to move an item to its new position or its addition/removal to/from the dock. IMPORTANT
ItemMoveTime=500
#Whether background and icons will unhide/hide with different speeds. The top-border of both will leave/hit the screen-edge at the same time.
CascadeHide=true
#The color (RGBA) of the badge displaying urgent count
BadgeColor=0;;0;;0;;0

Configure plank.

cd ~/.local/share/plank/themes
mkdir Freedom
cd Freedom
> dock.theme

cd ~/.config/plank/dock1/launchers
> hack_transparent.dockitem

cd ~/.local/share/applications
> hack_transparent.desktop

cd ~/.local/share/icons
> hack_transparent.png

cd ~/.config/gtk-3.0
>> gtk.css

plank --preferences

hack-transparent.png

note: Freedom theme described in the attached dock.theme file

Configure alt-tab manager

/*********************
* wingpanel support *
********************/
.panel {
background-color: transparent;
/* background-color: rgba(39, 39, 39, 0); */
/* transition: all 0.2s linear; */
/* background-image: url('/home/arti/.local/share/icons/distributor-logo.svg'); */
/* background-image: url('/home/arti/Downloads/elogo_wingpanel.png'); */
/* background-repeat: no-repeat; */
/* background-position: 4px 2px; */
}
/* hide Applications text from wingpanel*/
.panel.maximized > .horizontal:first-child > :first-child,
.panel.color-dark > .horizontal:first-child > :first-child {
font-size: 0px;
}
/* keep initial wingpanel state when window is maximized */
/* .panel.maximized {
background-color: rgba(39, 39, 39, 1);
} */
/* CUSTOM */
/*
.titlebar,
.titlebar .background {
border-radius: 0;
}
*/
/*
decoration {
border-radius: 0;
}
*/
[Desktop Entry]
Name=Hack
GenericName=Hack
Exec=echo 'hack'
Icon=hack_transparent
Terminal=false
StartupNotify=true
Type=Application
Categories=System;
X-GNOME-UsesNotifications=false
Name[en_US]=Hack
X-GNOME-FullName[en_US]=Hack
Comment[en_US]=ugly hack
NoDisplay=true
Path=
[PlankDockItemPreferences]
Launcher=file:///home/arti/.local/share/applications/hack_transparent.desktop
Appearance => Theme: Freedom, Position: Top, Alignment: Start, Icon Size: 24, On Primary Display: on
Behaviour => Hide Dock: off, Show Unpinned: on, Restrict to Workspace: off, Lock Icons: off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment