feat: Add alacrity
This commit is contained in:
parent
5af6d0a38e
commit
d1b33bde8e
18
Alacritty.desktop
Normal file
18
Alacritty.desktop
Normal file
@ -0,0 +1,18 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
TryExec=alacritty
|
||||
Exec=alacritty
|
||||
Icon=Alacritty
|
||||
Terminal=false
|
||||
Categories=System;TerminalEmulator;
|
||||
|
||||
Name=Alacritty
|
||||
GenericName=Terminal
|
||||
Comment=A fast, cross-platform, OpenGL terminal emulator
|
||||
StartupNotify=true
|
||||
StartupWMClass=Alacritty
|
||||
Actions=New;
|
||||
|
||||
[Desktop Action New]
|
||||
Name=New Terminal
|
||||
Exec=alacritty
|
442
alacritty-term.svg
Normal file
442
alacritty-term.svg
Normal file
@ -0,0 +1,442 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
version="1.1"
|
||||
xml:space="preserve"
|
||||
style="clip-rule:evenodd;fill-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41420996;enable-background:new"
|
||||
id="svg3967"
|
||||
sodipodi:docname="alacritty-term.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata
|
||||
id="metadata3971"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><sodipodi:namedview
|
||||
pagecolor="#1b1b1b"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="1"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1912"
|
||||
inkscape:window-height="2051"
|
||||
id="namedview3969"
|
||||
showgrid="true"
|
||||
inkscape:pagecheckerboard="false"
|
||||
showguides="false"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:measure-start="35.0647,26.4746"
|
||||
inkscape:measure-end="23.3668,17.3739"
|
||||
inkscape:lockguides="false"
|
||||
inkscape:snap-page="false"
|
||||
inkscape:zoom="16.123347"
|
||||
inkscape:cx="21.299484"
|
||||
inkscape:cy="30.792291"
|
||||
inkscape:window-x="1912"
|
||||
inkscape:window-y="48"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="layer1"
|
||||
inkscape:snap-smooth-nodes="false"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
showborder="true"
|
||||
inkscape:showpageshadow="false"
|
||||
inkscape:object-nodes="true"
|
||||
viewbox-y="-0.5"
|
||||
inkscape:snap-to-guides="false"
|
||||
inkscape:snap-grids="false"><sodipodi:guide
|
||||
position="52,8.2500022"
|
||||
orientation="1,0"
|
||||
id="guide959"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="A Right"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="33,48.250002"
|
||||
orientation="0,1"
|
||||
id="guide961"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="A Top"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="14,8.2500022"
|
||||
orientation="1,0"
|
||||
id="guide963"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="A Left"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="33,24.750002"
|
||||
orientation="1,0"
|
||||
id="guide965"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Vertical Center"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="33,24.750002"
|
||||
orientation="0,1"
|
||||
id="guide967"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Horizontal Center"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="28.813,21.500002"
|
||||
orientation="1,0"
|
||||
id="guide969"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Flame Left"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="37.187,21.500002"
|
||||
orientation="1,0"
|
||||
id="guide971"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Flame Right"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="29.5,48.250002"
|
||||
orientation="1,0"
|
||||
id="guide973"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="A Top Left"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="36.5,48.250002"
|
||||
orientation="1,0"
|
||||
id="guide975"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="A Top Right"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="20.5,8.2500022"
|
||||
orientation="1,0"
|
||||
id="guide977"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Width A Left"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="45.5,8.2500022"
|
||||
orientation="1,0"
|
||||
id="guide979"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Width A Right"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="14,8.2500022"
|
||||
orientation="0,1"
|
||||
id="guide981"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="A Bottom"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="33,12.688002"
|
||||
orientation="0,1"
|
||||
id="guide983"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Flame Curve Intersect"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="34.5,12.688002"
|
||||
orientation="1,0"
|
||||
id="guide985"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Right Flame Curve"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="31.5,12.688002"
|
||||
orientation="1,0"
|
||||
id="guide987"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Left Flame Curve"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="33,15.855002"
|
||||
orientation="-0.93245628,0.36128283"
|
||||
id="guide3628"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Inner Flame Angle Right"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="33,15.855002"
|
||||
orientation="-0.93245628,-0.36128283"
|
||||
id="guide3630"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Inner Flame Angle Left"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="33,21.500002"
|
||||
orientation="0,1"
|
||||
id="guide3644"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Flame Center"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="29.813,24.080519"
|
||||
orientation="1,0"
|
||||
id="guide3646"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Inner Flame Left"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="36.187,24.080519"
|
||||
orientation="1,0"
|
||||
id="guide3648"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Inner Flame Right"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="33,32.305002"
|
||||
orientation="0,1"
|
||||
id="guide3650"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Flame Top"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="33,5.0000022"
|
||||
orientation="0,1"
|
||||
id="guide3652"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Flame Bottom"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="33,53.750002"
|
||||
orientation="0,1"
|
||||
id="guide3936"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Term Top"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="33,3.0000022"
|
||||
orientation="0,1"
|
||||
id="guide3938"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Term Bottom"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="63,24.750002"
|
||||
orientation="1,0"
|
||||
id="guide3940"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Term Right"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="3.0000001,24.750002"
|
||||
orientation="1,0"
|
||||
id="guide3942"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Term Left"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="1.4777768e-07,56.750002"
|
||||
orientation="0,1"
|
||||
id="guide15457"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Outline Top"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="1.4777768e-07,56.750002"
|
||||
orientation="1,0"
|
||||
id="guide15459"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Outline Left"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="66,2.2454491e-06"
|
||||
orientation="0,1"
|
||||
id="guide15461"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Outline Bottom"
|
||||
inkscape:color="rgb(0,0,255)" /><sodipodi:guide
|
||||
position="66,2.2454491e-06"
|
||||
orientation="1,0"
|
||||
id="guide15463"
|
||||
inkscape:locked="false"
|
||||
inkscape:label="Outline Right"
|
||||
inkscape:color="rgb(0,0,255)" /></sodipodi:namedview><defs
|
||||
id="defs3965"><linearGradient
|
||||
gradientTransform="matrix(0,473.895,-473.895,0,547.884,192.222)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="0"
|
||||
x2="1"
|
||||
y1="0.079489581"
|
||||
x1="0.025171699"
|
||||
id="shadow"><stop
|
||||
id="stop1000"
|
||||
style="stop-color:#000000;stop-opacity:1"
|
||||
offset="0" /><stop
|
||||
id="stop1002"
|
||||
style="stop-color:#000000;stop-opacity:0"
|
||||
offset="1" /></linearGradient><linearGradient
|
||||
id="red-orange"
|
||||
x1="0.025171699"
|
||||
y1="0.079489581"
|
||||
x2="1"
|
||||
y2="0"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0,473.895,-473.895,0,547.884,192.222)"><stop
|
||||
offset="0"
|
||||
style="stop-color:#ec2802;stop-opacity:1"
|
||||
id="stop926" /><stop
|
||||
offset="1"
|
||||
style="stop-color:#fcb200;stop-opacity:1"
|
||||
id="stop928" /></linearGradient><linearGradient
|
||||
id="linearGradient5362"
|
||||
osb:paint="solid"><stop
|
||||
style="stop-color:#aaaaaa;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop5360" /></linearGradient><linearGradient
|
||||
inkscape:collect="always"
|
||||
id="border"><stop
|
||||
style="stop-color:#aaaaaa;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop4723" /><stop
|
||||
style="stop-color:#424242;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop4725" /></linearGradient><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#red-orange"
|
||||
id="linearGradient11006"
|
||||
x1="19.0625"
|
||||
y1="0"
|
||||
x2="19"
|
||||
y2="43.25"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.95039318,0,0,0.91400987,29.942531,-23.16114)" /><clipPath
|
||||
clipPathUnits="userSpaceOnUse"
|
||||
id="clipPath3639"><path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path3641"
|
||||
d="M 14.813062,26.75 19,15.945 23.186938,26.75 19,43.25 Z"
|
||||
style="fill:none;stroke:#000000;stroke-width:0.03779528;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-dasharray:none;stroke-opacity:1" /></clipPath><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#border"
|
||||
id="linearGradient953"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.84565151,0,0,0.82216743,6.5635779,-53.720791)"
|
||||
x1="48.747543"
|
||||
y1="2.5380001"
|
||||
x2="48.747543"
|
||||
y2="59.381035" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#shadow"
|
||||
id="linearGradient998"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.95578689,0,0,1.0103945,0.41874974,-0.76487841)"
|
||||
x1="35.337124"
|
||||
y1="1.3206079"
|
||||
x2="35.337124"
|
||||
y2="-2.4122138" /><filter
|
||||
inkscape:collect="always"
|
||||
style="color-interpolation-filters:sRGB"
|
||||
id="filter1378"
|
||||
x="-0.096199476"
|
||||
width="1.192399"
|
||||
y="-0.074239448"
|
||||
height="1.1484789"><feGaussianBlur
|
||||
inkscape:collect="always"
|
||||
stdDeviation="1.0020779"
|
||||
id="feGaussianBlur1380" /></filter><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#red-orange"
|
||||
id="linearGradient1386"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.95578689,0,0,1.0103945,0.41874974,-0.76487841)"
|
||||
x1="2.5739074"
|
||||
y1="-0.58920789"
|
||||
x2="63.510384"
|
||||
y2="-0.58920789" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#border"
|
||||
id="linearGradient4287"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.96969697,0,0,0.95131275,0.48484848,-1.1843128)"
|
||||
x1="48.747543"
|
||||
y1="2.5380001"
|
||||
x2="48.747543"
|
||||
y2="59.381035" /></defs><g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer3"
|
||||
inkscape:label="Topbar"
|
||||
style="display:inline"
|
||||
transform="translate(0,7.3208818)"
|
||||
sodipodi:insensitive="true"><g
|
||||
id="g1008"><rect
|
||||
ry="2.1057909"
|
||||
rx="2.0726831"
|
||||
y="-4.3995399"
|
||||
x="2.8788567"
|
||||
height="6.0786581"
|
||||
width="58.242287"
|
||||
id="rect5358"
|
||||
style="fill:url(#linearGradient1386);fill-opacity:1;stroke-width:0.98271209" /><rect
|
||||
style="opacity:0.5;fill:url(#linearGradient998);fill-opacity:1;stroke-width:0.98271209"
|
||||
id="rect991"
|
||||
width="58.242287"
|
||||
height="6.0786581"
|
||||
x="2.8788567"
|
||||
y="-4.3995399"
|
||||
rx="2.0726831"
|
||||
ry="2.1057909" /></g></g><g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer7"
|
||||
inkscape:label="Outline"
|
||||
style="display:inline"
|
||||
transform="translate(-16,4.7828817)"
|
||||
sodipodi:insensitive="true"><g
|
||||
id="g951"><rect
|
||||
style="opacity:1;fill:#dedede;fill-opacity:1;stroke:none;stroke-width:0;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:1.5;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers fill stroke"
|
||||
id="rect944"
|
||||
width="64"
|
||||
height="54.297054"
|
||||
x="16"
|
||||
y="0.72006398"
|
||||
ry="3.4421675"
|
||||
rx="3.4067805" /><rect
|
||||
rx="3.4067805"
|
||||
ry="3.4225116"
|
||||
y="1.2301193"
|
||||
x="16"
|
||||
height="53.987"
|
||||
width="64"
|
||||
id="rect15455"
|
||||
style="opacity:1;fill:url(#linearGradient4287);fill-opacity:1;stroke:none;stroke-width:0;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:1.5;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers fill stroke" /><rect
|
||||
transform="scale(1,-1)"
|
||||
style="opacity:1;fill:url(#linearGradient953);fill-opacity:1;stroke:none;stroke-width:0;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:1.5;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers fill stroke"
|
||||
id="rect936"
|
||||
width="55.813"
|
||||
height="46.658001"
|
||||
x="20.094"
|
||||
y="-51.634117"
|
||||
ry="1.654344"
|
||||
rx="1.6426716" /></g></g><g
|
||||
id="layer4"
|
||||
inkscape:label="Background"
|
||||
style="display:inline"
|
||||
transform="translate(-16,35.820639)"
|
||||
sodipodi:insensitive="true"
|
||||
inkscape:groupmode="layer"><rect
|
||||
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.90957505;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:1.5;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers fill stroke"
|
||||
id="rect3934"
|
||||
width="55.226368"
|
||||
height="45.61607"
|
||||
x="20.386816"
|
||||
y="-25.561707"
|
||||
ry="1.5306553"
|
||||
rx="1.5306553" /><rect
|
||||
rx="0"
|
||||
ry="0"
|
||||
y="-24.604975"
|
||||
x="21.545111"
|
||||
height="43.702606"
|
||||
width="52.909779"
|
||||
id="rect932"
|
||||
style="opacity:1;fill:#14232b;fill-opacity:1;stroke:none;stroke-width:0.87142098;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:1.5;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers fill stroke" /></g><g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
inkscape:label="Main"
|
||||
style="display:inline"
|
||||
transform="translate(-16,35.820639)"
|
||||
sodipodi:insensitive="true"><g
|
||||
id="g4199"><path
|
||||
sodipodi:nodetypes="ccccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path5352"
|
||||
d="M 44.994167,1.199154 44.05107,3.4841975 C 46.585268,11.287754 46.585268,11.287754 48,18.095103 49.414732,11.287754 49.414732,11.287754 51.94893,3.4841975 L 51.005833,1.199154 48,-6.0837323 Z"
|
||||
style="clip-rule:evenodd;fill:#069efe;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.18277554;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-dasharray:none;stroke-opacity:0.4330357;paint-order:stroke markers fill" /><path
|
||||
sodipodi:nodetypes="cccccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path5336"
|
||||
d="m 44.673625,-23.161141 h 6.65275 L 66.05747,13.39925 H 59.879914 L 48,-14.524464 36.120086,13.39925 H 29.94253 Z"
|
||||
style="clip-rule:evenodd;fill:url(#linearGradient11006);fill-opacity:1;fill-rule:evenodd;stroke:url(#linearGradient10962);stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-dasharray:none;stroke-opacity:1" /><path
|
||||
transform="matrix(0.94315461,0,0,0.90704843,30.080063,-20.546611)"
|
||||
clip-path="url(#clipPath3639)"
|
||||
style="clip-rule:evenodd;display:inline;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers fill stroke;filter:url(#filter1378)"
|
||||
d="M 19,32.395 31.5,0 6.5,0.13313911 Z"
|
||||
id="path9580"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccc" /></g></g></svg>
|
After (image error) Size: 17 KiB |
72
setup.sh
72
setup.sh
@ -9,10 +9,11 @@ sudo apt-get install -y python3 python3-pip python3-venv curl wget stow
|
||||
# Terminal
|
||||
sudo apt-get install -y zsh fzf jq knot-dnsutils tre-command
|
||||
# Install fx
|
||||
curl https://fx.wtf/install.sh | sh
|
||||
curl https://fx.wtf/install.sh | sudo sh
|
||||
|
||||
# Install Rust
|
||||
curl https://sh.rustup.rs -sSf | sh
|
||||
. "$HOME/.cargo/env"
|
||||
|
||||
cargo install --locked zellij
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
@ -21,5 +22,72 @@ curl -sSfL https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh
|
||||
curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh
|
||||
cargo install eza
|
||||
|
||||
# Install Alacritty
|
||||
sudo apt install cmake g++ pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev
|
||||
cargo install alacritty
|
||||
# Add to menu
|
||||
sudo cp ./alacritty-term.svg /usr/share/pixmaps/Alacritty.svg
|
||||
sudo desktop-file-install ./Alacritty.desktop
|
||||
sudo update-desktop-database
|
||||
|
||||
|
||||
# Install dotfiles
|
||||
git clone git@woodburn.au:nathanwoodburn/dotfiles.git ~/.dotfiles
|
||||
cd ~/.dotfiles
|
||||
cd ~/.dotfiles
|
||||
# All files are in the dotfiles directory or a subdirectory
|
||||
|
||||
# Create symbolic links for all dotfiles
|
||||
echo "Creating symbolic links for dotfiles..."
|
||||
|
||||
# Function to create symlinks recursively
|
||||
create_symlinks() {
|
||||
local src_dir="$1"
|
||||
local target_dir="$2"
|
||||
|
||||
# Create the target directory if it doesn't exist
|
||||
mkdir -p "$target_dir"
|
||||
|
||||
# Handle .zsh_functions directory specially - link the whole directory
|
||||
if [ -d "$src_dir/.zsh_functions" ]; then
|
||||
local target_zsh_functions="$target_dir/.zsh_functions"
|
||||
|
||||
# Remove existing directory or symlink if it exists
|
||||
if [ -e "$target_zsh_functions" ] || [ -L "$target_zsh_functions" ]; then
|
||||
echo "Removing existing: $target_zsh_functions"
|
||||
rm -rf "$target_zsh_functions"
|
||||
fi
|
||||
|
||||
# Create symlink for the entire directory
|
||||
echo "Linking directory: $src_dir/.zsh_functions -> $target_zsh_functions"
|
||||
ln -s "$src_dir/.zsh_functions" "$target_zsh_functions"
|
||||
fi
|
||||
|
||||
# Find all files and directories in the source directory, excluding .git, README.md, and .zsh_functions
|
||||
find "$src_dir" \( -not -path "*/\.git*" -and -not -name "README.md" -and -not -path "*/.zsh_functions/*" -and -not -path "*/.zsh_functions" \) -and \( -type f -o -type l \) | while read -r src_file; do
|
||||
# Get the relative path from src_dir
|
||||
rel_path="${src_file#$src_dir/}"
|
||||
|
||||
# Construct the target file path
|
||||
target_file="$target_dir/$rel_path"
|
||||
|
||||
# Create parent directories if they don't exist
|
||||
mkdir -p "$(dirname "$target_file")"
|
||||
|
||||
# Remove existing file if it exists
|
||||
if [ -e "$target_file" ] || [ -L "$target_file" ]; then
|
||||
echo "Removing existing file: $target_file"
|
||||
rm -f "$target_file"
|
||||
fi
|
||||
|
||||
# Create symlink
|
||||
echo "Linking: $src_file -> $target_file"
|
||||
ln -s "$src_file" "$target_file"
|
||||
done
|
||||
}
|
||||
|
||||
# Call the function to create symlinks from dotfiles to home
|
||||
create_symlinks "$HOME/.dotfiles" "$HOME"
|
||||
|
||||
echo "Dotfiles setup complete!"
|
||||
|
||||
# Install fonts
|
Loading…
Reference in New Issue
Block a user