2
1
Fork 0

misc: add matrix to navbar and change icons

This commit is contained in:
outfoxxed 2024-04-01 22:27:50 -07:00
parent a036d378c0
commit adb293de95
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 28 additions and 4 deletions

17
data/icons.yaml Normal file
View file

@ -0,0 +1,17 @@
# SVG icons
#
# Example usage in templates using the icon.html partial:
#
# {{ partial "utils/icon.html" (dict "name" "github" "attributes" "height=24") }}
git: >
<svg fill="currentColor" viewBox="0 0 92 92">
<path d="M90.156 41.965 50.036 1.848a5.918 5.918 0 0 0-8.372 0l-8.328 8.332 10.566 10.566a7.03 7.03 0 0 1 7.23 1.684 7.034 7.034 0 0 1 1.669 7.277l10.187 10.184a7.028 7.028 0 0 1 7.278 1.672 7.04 7.04 0 0 1 0 9.957 7.05 7.05 0 0 1-9.965 0 7.044 7.044 0 0 1-1.528-7.66l-9.5-9.497V59.36a7.04 7.04 0 0 1 1.86 11.29 7.04 7.04 0 0 1-9.957 0 7.04 7.04 0 0 1 0-9.958 7.06 7.06 0 0 1 2.304-1.539V33.926a7.049 7.049 0 0 1-3.82-9.234L29.242 14.272 1.73 41.777a5.925 5.925 0 0 0 0 8.371L41.852 90.27a5.925 5.925 0 0 0 8.37 0l39.934-39.934a5.925 5.925 0 0 0 0-8.371"/>
</svg>
matrix: >
<svg fill="currentColor" viewBox="0 0 520 520">
<path d="m 35,30 v 460 h 60 v 30 H 0 V 0 h 95 v 30 z"/>
<path d="m 166.3,169.2 v 25.1 h 0.7 c 6.7,-9.6 14.8,-17 24.2,-22.2 9.4,-5.3 20.3,-7.9 32.5,-7.9 11.7,0 22.4,2.3 32.1,6.8 9.7,4.5 17,12.6 22.1,24 5.5,-8.1 13,-15.3 22.4,-21.5 9.4,-6.2 20.6,-9.3 33.5,-9.3 9.8,0 18.9,1.2 27.3,3.6 8.4,2.4 15.5,6.2 21.5,11.5 6,5.3 10.6,12.1 14,20.6 3.3,8.5 5,18.7 5,30.7 V 354.7 H 350.7 V 249.6 c 0,-6.2 -0.2,-12.1 -0.7,-17.6 -0.5,-5.5 -1.8,-10.3 -3.9,-14.3 -2.2,-4.1 -5.3,-7.3 -9.5,-9.7 -4.2,-2.4 -9.9,-3.6 -17,-3.6 -7.2,0 -13,1.4 -17.4,4.1 -4.4,2.8 -7.9,6.3 -10.4,10.8 -2.5,4.4 -4.2,9.4 -5,15.1 -0.8,5.6 -1.3,11.3 -1.3,17 v 103.3 h -50.9 v -104 c 0,-5.5 -0.1,-10.9 -0.4,-16.3 -0.2,-5.4 -1.3,-10.3 -3.1,-14.9 -1.8,-4.5 -4.8,-8.2 -9,-10.9 -4.2,-2.7 -10.3,-4.1 -18.5,-4.1 -2.4,0 -5.6,0.5 -9.5,1.6 -3.9,1.1 -7.8,3.1 -11.5,6.1 -3.7,3 -6.9,7.3 -9.5,12.9 -2.6,5.6 -3.9,13 -3.9,22.1 V 354.8 H 118.3 V 169.2 Z"/>
<path d="M 485,490 V 30 H 425 V 0 h 95 v 520 h -95 v -30 z"/>
</svg>

View file

@ -41,11 +41,18 @@ pageRef = "/docs/types"
weight = 2 weight = 2
[[menu.main]] [[menu.main]]
name = "Source ↗" name = "Search"
url = "https://git.outfoxxed.me/outfoxxed/quickshell"
weight = 3 weight = 3
params.type = "search"
[[menu.main]] [[menu.main]]
name = "Search" name = "matrix"
url = "https://matrix.to/#/#quickshell:outfoxxed.me"
weight = 4 weight = 4
params.type = "search" params.icon = "matrix"
[[menu.main]]
name = "git"
url = "https://git.outfoxxed.me/outfoxxed/quickshell"
weight = 5
params.icon = "git"