From 8a31a4011c9c19f25325d68dda3d2da450b81177 Mon Sep 17 00:00:00 2001 From: Bram Kelchtermans Date: Sat, 13 Jul 2024 18:46:37 +0200 Subject: [PATCH] update some gui scripts --- gui/floorp/setup.sh | 9 ++--- gui/plank/install.sh | 4 +++ gui/plank/theme/dock.theme | 67 ++++++++++++++++++++++++++++++++++++++ gui/setup.sh | 3 ++ 4 files changed, 79 insertions(+), 4 deletions(-) mode change 100644 => 100755 gui/floorp/setup.sh create mode 100755 gui/plank/install.sh create mode 100644 gui/plank/theme/dock.theme diff --git a/gui/floorp/setup.sh b/gui/floorp/setup.sh old mode 100644 new mode 100755 index 0368e78c..301bb206 --- a/gui/floorp/setup.sh +++ b/gui/floorp/setup.sh @@ -1,4 +1,5 @@ -apt install floorp -apt install unzip - -unzip ./gui/floorp/settings.zip -d ~/.floorp/tzj9zwjn.default-release \ No newline at end of file +curl -fsSL https://ppa.ablaze.one/KEY.gpg | sudo gpg --dearmor -o /usr/share/keyrings/Floorp.gpg +sudo curl -sS --compressed -o /etc/apt/sources.list.d/Floorp.list 'https://ppa.ablaze.one/Floorp.list' +sudo apt update +sudo apt install -y floorp +sudo apt install -y unzip diff --git a/gui/plank/install.sh b/gui/plank/install.sh new file mode 100755 index 00000000..2c4f9512 --- /dev/null +++ b/gui/plank/install.sh @@ -0,0 +1,4 @@ +sudo apt install -y plank + +mkdir -p ~/.local/share/plank/themes/MacOS\ Big\ Sur +cp -r ./gui/plank/theme/* ~/.local/share/plank/themes/MacOS\ Big\ Sur/ \ No newline at end of file diff --git a/gui/plank/theme/dock.theme b/gui/plank/theme/dock.theme new file mode 100644 index 00000000..cc86ecf2 --- /dev/null +++ b/gui/plank/theme/dock.theme @@ -0,0 +1,67 @@ +#This file auto-generated by Plank. +#2020-07-02T18:26:30+0000 +# MacOS Big Sur + +[PlankTheme] +#The roundness of the top corners. +TopRoundness=20 +#The roundness of the bottom corners. +BottomRoundness=20 +#The thickness (in pixels) of lines drawn. +LineWidth=1 +#The color (RGBA) of the outer stroke. +OuterStrokeColor=25;;25;;25;;100 +#The starting color (RGBA) of the fill gradient. +FillStartColor=46;;52;;58;;200 +#The ending color (RGBA) of the fill gradient. +FillEndColor=46;;52;;58;;200 +#The color (RGBA) of the inner stroke. +InnerStrokeColor=50;;50;;50;;100 + +[PlankDockTheme] +#The padding on the left/right dock edges, in tenths of a percent of IconSize. +HorizPadding=2.0 +#The padding on the top dock edge, in tenths of a percent of IconSize. +TopPadding=2.0 +#The padding on the bottom dock edge, in tenths of a percent of IconSize. +BottomPadding=2.0 +#The padding between items on the dock, in tenths of a percent of IconSize. +ItemPadding=1.5 +#The size of item indicators, in tenths of a percent of IconSize. +IndicatorSize=5 +#The size of the icon-shadow behind every item, in tenths of a percent of IconSize. +IconShadowSize=0.5 +#The height (in percent of IconSize) to bounce an icon when the application sets urgent. +UrgentBounceHeight=1 +#The height (in percent of IconSize) to bounce an icon when launching an application. +LaunchBounceHeight=0.90000000000000002 +#The opacity value (0 to 1) to fade the dock to when hiding it. +FadeOpacity=0 +#The amount of time (in ms) for click animations. +ClickTime=900 +#The amount of time (in ms) to bounce an urgent icon. +UrgentBounceTime=900 +#The amount of time (in ms) to bounce an icon when launching an application. +LaunchBounceTime=1000 +#The amount of time (in ms) for active window indicator animations. +ActiveTime=1500 +#The amount of time (in ms) to slide icons into/out of the dock. +SlideTime=500 +#The time (in ms) to fade the dock in/out on a hide (if FadeOpacity is < 1). +FadeTime=400 +#The time (in ms) to slide the dock in/out on a hide (if FadeOpacity is 1). +HideTime=500 +#The size of the urgent glow (shown when dock is hidden), in tenths of a percent of IconSize. +GlowSize=1000 +#The total time (in ms) to show the hidden-dock urgent glow. +GlowTime=0 +#The time (in ms) of each pulse of the hidden-dock urgent glow. +GlowPulseTime=0 +#The hue-shift (-180 to 180) of the urgent indicator color. +UrgentHueShift=180 +#The time (in ms) to move an item to its new position or its addition/removal to/from the dock. +ItemMoveTime=800 +#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 diff --git a/gui/setup.sh b/gui/setup.sh index 452368c3..6e26d63c 100755 --- a/gui/setup.sh +++ b/gui/setup.sh @@ -12,3 +12,6 @@ chmod +x ./gui/postman.sh chmod +x ./gui/floorp/setup.sh ./gui/floorp/setup.sh + +chmod +x ./gui/plank/install.sh +./gui/plank/install.sh \ No newline at end of file