Update #61
parent
6539ba21ca
commit
a38895041b
@ -1,61 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
REPO_DIR=$(cd $(dirname $0) && pwd)
|
||||
ROOT_UID=0
|
||||
|
||||
# Destination directory
|
||||
if [ "$UID" -eq "$ROOT_UID" ]; then
|
||||
DEST_DIR="/usr/share/gnome-shell/extensions/dash-to-panel@jderose9.github.com"
|
||||
else
|
||||
DEST_DIR="$HOME/.local/share/gnome-shell/extensions/dash-to-panel@jderose9.github.com"
|
||||
fi
|
||||
|
||||
_install() {
|
||||
if [[ -f ${DEST_DIR}/stylesheet.css ]]; then
|
||||
mv -n ${DEST_DIR}/stylesheet.css ${DEST_DIR}/stylesheet.css.back
|
||||
cp -r ${REPO_DIR}/stylesheet.css ${DEST_DIR}/stylesheet.css
|
||||
else
|
||||
echo -e "\n stylesheet.css not exist!"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo
|
||||
echo -e "Done!"
|
||||
}
|
||||
|
||||
_restore() {
|
||||
if [[ -f ${DEST_DIR}/stylesheet.css.back ]]; then
|
||||
rm -rf ${DEST_DIR}/stylesheet.css
|
||||
mv -n ${REPO_DIR}/stylesheet.css.back ${DEST_DIR}/stylesheet.css
|
||||
else
|
||||
echo -e "\n stylesheet.css.back not exist!"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo
|
||||
echo -e "Done!"
|
||||
}
|
||||
|
||||
while [[ "$#" -gt 0 ]]; do
|
||||
case "${1:-}" in
|
||||
-r|--restore)
|
||||
restore="true"
|
||||
;;
|
||||
-h|--help)
|
||||
usage
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
echo "ERROR: Unrecognized installation option '${1:-}'."
|
||||
echo "Try '$0 --help' for more information."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [[ "${restore}" == "true" ]]; then
|
||||
_restore
|
||||
else
|
||||
_install
|
||||
fi
|
||||
|
||||
@ -1,128 +0,0 @@
|
||||
.dashtopanelMainPanel {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#dashtopanelTaskbar .dash-item-container > StWidget {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#dashtopanelScrollview .app-well-app .overview-icon,
|
||||
.dashtopanelMainPanel .show-apps .overview-icon {
|
||||
background: none;
|
||||
border: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#dashtopanelScrollview .app-well-app .overview-label {
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
#dashtopanelScrollview .app-well-app:hover .overview-icon,
|
||||
#dashtopanelScrollview .app-well-app:focus .overview-icon {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.dashtopanelMainPanel .show-apps:hover .overview-icon,
|
||||
#dashtopanelScrollview .app-well-app:hover .dtp-container,
|
||||
#dashtopanelScrollview .app-well-app:focus .dtp-container {
|
||||
background-color: rgba(238, 238, 236, 0.1);
|
||||
}
|
||||
|
||||
#dashtopanelScrollview .app-well-app:active .dtp-container {
|
||||
background-color: rgba(238, 238, 236, 0.18);
|
||||
}
|
||||
|
||||
#dashtopanelScrollview .app-well-app .favorite {
|
||||
background-color: rgba(80, 150, 255, 0.4);
|
||||
}
|
||||
|
||||
#dashtopanelScrollview .app-well-app-running-dot {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#dashtopanelTaskbar .scrollview-fade {
|
||||
background-gradient-end: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
.dashtopanelSecondaryMenu {
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
.dashtopanelMainPanel.vertical .panel-button {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.dashtopanelMainPanel.vertical .panel-button.vertical *,
|
||||
.dashtopanelMainPanel.vertical .panel-button.clock-display * {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.dashtopanelMainPanel.vertical .panel-button > *,
|
||||
.dashtopanelMainPanel.vertical .panel-button.vertical > *,
|
||||
.dashtopanelMainPanel.vertical .panel-button.clock-display > * {
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
#dashtopanelThumbnailList {
|
||||
spacing: 0em;
|
||||
padding: 0 1em;
|
||||
}
|
||||
|
||||
#dashtopanelThumbnailList .popup-menu-item {
|
||||
padding: 0;
|
||||
border-radius: 3px;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
#dashtopanelThumbnailList .window-box {
|
||||
padding: 0;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
#dashtopanelThumbnailList .preview-window-title {
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
.popup-menu.panel-menu {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.popup-menu-boxpointer .popup-menu-content {
|
||||
margin: 6px;
|
||||
}
|
||||
|
||||
#panel #panelLeft, #panel #panelCenter {
|
||||
spacing: 0;
|
||||
margin: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.showdesktop-button-dark-hovered {
|
||||
background-color: rgba(200, 200, 200, .4);
|
||||
}
|
||||
|
||||
.showdesktop-button-light-hovered {
|
||||
background-color: rgba(55, 55, 55, .4);
|
||||
}
|
||||
|
||||
.panel-corner.hidden:active, .panel-corner.hidden:overview, .panel-corner.hidden:focus {
|
||||
-panel-corner-border-color: rgba(0, 0, 0, .001);
|
||||
}
|
||||
#dashtopanelScrollview .badge {
|
||||
color: rgba(255, 255, 255, 1);
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#dashtopanelScrollview .number-overlay {
|
||||
background-color: rgba(0,0,0,0.8);
|
||||
}
|
||||
|
||||
#dashtopanelScrollview .notification-badge {
|
||||
background-color: rgba(255,0,0,0.8);
|
||||
}
|
||||
Loading…
Reference in New Issue