mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 22:55:52 +05:30
Added stylix themed launcher icons
This commit is contained in:
parent
415bf194d4
commit
d6fda69eee
|
@ -178,6 +178,12 @@
|
|||
ventoy
|
||||
]) ++ ([ pkgs-kdenlive.kdenlive ]);
|
||||
|
||||
home.file.".local/share/pixmaps/nixos-snowflake-stylix.svg".source =
|
||||
config.lib.stylix.colors {
|
||||
template = builtins.readFile ../../user/pkgs/nixos-snowflake-stylix.svg.mustache;
|
||||
extension = "svg";
|
||||
};
|
||||
|
||||
services.syncthing.enable = true;
|
||||
|
||||
xdg.enable = true;
|
||||
|
|
93
user/pkgs/hyprland-logo-stylix.svg.mustache
Normal file
93
user/pkgs/hyprland-logo-stylix.svg.mustache
Normal file
|
@ -0,0 +1,93 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
viewBox="0 0 673.25996 673.26"
|
||||
version="1.1"
|
||||
id="svg3"
|
||||
sodipodi:docname="hyprland-logo-stylix.svg.mustache"
|
||||
width="673.26001"
|
||||
height="673.26001"
|
||||
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview3"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="0.40477109"
|
||||
inkscape:cx="-80.292296"
|
||||
inkscape:cy="517.57649"
|
||||
inkscape:window-width="1898"
|
||||
inkscape:window-height="1013"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1" />
|
||||
<defs
|
||||
id="defs2">
|
||||
<rect
|
||||
x="545.83734"
|
||||
y="201.69579"
|
||||
width="908.50922"
|
||||
height="362.9158"
|
||||
id="rect4" />
|
||||
<style
|
||||
id="style1">
|
||||
.cls-1 {
|
||||
mix-blend-mode: difference;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.cls-3 {
|
||||
fill: url(#linear-gradient);
|
||||
}
|
||||
</style>
|
||||
<linearGradient
|
||||
id="linear-gradient"
|
||||
x1="8.9300003"
|
||||
y1="572.38"
|
||||
x2="572.67999"
|
||||
y2="102.08"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
offset="0"
|
||||
stop-color="#{{base0B-hex}}"
|
||||
id="stop1" />
|
||||
<stop
|
||||
offset="1"
|
||||
stop-color="#{{base07-hex}}"
|
||||
id="stop2" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g
|
||||
class="cls-2"
|
||||
id="g3"
|
||||
transform="translate(78.953583)">
|
||||
<g
|
||||
id="Layer_2"
|
||||
data-name="Layer 2">
|
||||
<g
|
||||
id="Layer_1-2"
|
||||
data-name="Layer 1">
|
||||
<g
|
||||
class="cls-1"
|
||||
id="g2">
|
||||
<path
|
||||
class="cls-3"
|
||||
d="m 288.53,0 c 1.99,2.11 3.26,3.13 4.14,4.42 15.97,23.63 31.7,47.44 47.91,70.91 9.33,13.51 19.26,26.61 29.22,39.67 9.63,12.65 19.8,24.88 29.44,37.53 11.15,14.63 22.45,29.18 32.81,44.36 13.27,19.45 26.64,38.94 38.12,59.44 9.76,17.43 17.56,36.05 25.02,54.64 5.28,13.16 8.82,27.06 12.6,40.78 1.75,6.36 2.24,13.07 3.26,19.62 1.26,8.02 3.4,16.04 3.53,24.08 0.35,20.94 2.17,41.95 -1.48,62.8 -4.02,22.99 -10.75,45 -20.76,66.23 -10.12,21.45 -22.38,41.26 -37.39,59.59 -13.6,16.61 -29.57,30.33 -46.84,42.91 -12.68,9.23 -26.09,17.07 -40.36,23.3 -12.84,5.6 -26.07,10.09 -39.69,13.89 -30.75,8.56 -61.93,10.44 -93.33,8.23 -18.93,-1.33 -38.08,-3.65 -56.11,-10.46 -14.82,-5.6 -29.75,-11.13 -43.92,-18.13 -11.19,-5.52 -21.91,-12.44 -31.73,-20.15 C 90.09,613.55 77.45,602.85 66.3,590.92 56.31,580.24 47.66,568.05 39.9,555.61 31.72,542.48 24.51,528.6 18.32,514.41 11.63,499.09 7.31,482.96 3.79,466.44 -1.69,440.73 0.08,415 1.2,389.35 c 0.64,-14.73 4.53,-29.47 8.26,-43.86 3.93,-15.18 8.68,-30.26 14.44,-44.84 5.77,-14.6 12.47,-28.96 20.14,-42.65 9.63,-17.18 20.25,-33.85 31.2,-50.23 9.94,-14.88 20.68,-29.24 31.47,-43.52 8.69,-11.5 18.17,-22.41 26.97,-33.83 8.9,-11.55 17.46,-23.36 26.07,-35.13 9.11,-12.46 18.29,-24.87 27.09,-37.55 11.16,-16.07 21.91,-32.43 32.97,-48.57 1.58,-2.31 3.88,-4.14 5.84,-6.19 0.39,0.22 0.78,0.44 1.18,0.66 0.08,1.77 0.23,3.54 0.23,5.31 0.01,26.33 0.15,52.66 -0.17,78.99 -0.05,3.86 -1.62,8.15 -3.72,11.46 -8.5,13.45 -17.19,26.8 -26.38,39.79 -8.71,12.31 -18.12,24.13 -27.22,36.16 -7.5,9.91 -14.97,19.83 -22.52,29.7 -5.24,6.85 -10.74,13.5 -15.86,20.44 -7.16,9.72 -14.35,19.45 -21.03,29.5 -8.06,12.12 -15.99,24.36 -23.23,36.97 -5.18,9.02 -9.26,18.69 -13.59,28.17 -2.4,5.26 -4.61,10.64 -6.36,16.14 -3.1,9.76 -5.58,19.71 -8.68,29.47 -8.72,27.42 -6.87,55.63 -4.92,83.5 0.99,14.15 6.11,28.15 10.4,41.89 6.01,19.24 16.32,36.3 27.95,52.74 7.94,11.23 16.95,21.38 27.14,30.36 8.39,7.38 17.5,14.17 27.07,19.92 10.89,6.54 22.23,12.77 34.12,17.07 12.69,4.59 26.1,7.99 39.48,9.68 15.93,2.01 32.16,1.58 48.25,2.34 14.94,0.7 29.43,-2.29 43.93,-5.14 18.41,-3.62 35.23,-11.56 51.58,-20.26 19.55,-10.4 35.98,-25.13 50.37,-41.73 14.71,-16.97 27.06,-36.05 34.92,-57 8.29,-22.1 15.2,-44.97 14.15,-69.26 -0.57,-13.13 0.15,-26.34 -1.06,-39.39 -0.89,-9.61 -3.62,-19.11 -6.16,-28.5 -2.98,-11.03 -6.03,-22.1 -10.16,-32.73 -4.11,-10.59 -9.36,-20.75 -14.52,-30.9 -4.57,-8.99 -9.32,-17.92 -14.66,-26.46 -6.5,-10.39 -13.38,-20.59 -20.68,-30.43 -11.05,-14.9 -22.74,-29.32 -33.91,-44.12 -13.08,-17.33 -26.13,-34.68 -38.77,-52.33 -10.91,-15.22 -21.31,-30.81 -31.71,-46.39 -1.67,-2.5 -3,-5.79 -3.03,-8.72 -0.23,-28.49 -0.15,-56.98 -0.13,-85.47 0,-0.95 0.24,-1.91 0.58,-4.44 z"
|
||||
id="path2"
|
||||
style="fill:url(#linear-gradient)" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.8 KiB |
187
user/pkgs/nixos-snowflake-stylix.svg.mustache
Normal file
187
user/pkgs/nixos-snowflake-stylix.svg.mustache
Normal file
|
@ -0,0 +1,187 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="535"
|
||||
height="535"
|
||||
viewBox="0 0 501.56251 501.56249"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
|
||||
sodipodi:docname="nix-snowflake-colours.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs4">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient5562">
|
||||
<stop
|
||||
style="stop-color:#{{base0C-hex}};stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop5564" />
|
||||
<stop
|
||||
id="stop5566"
|
||||
offset="0.44345198"
|
||||
style="stop-color:#{{base0D-hex}};stop-opacity:1" />
|
||||
<stop
|
||||
style="stop-color:#{{base0E-hex}};stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop5568" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient5053">
|
||||
<stop
|
||||
style="stop-color:#{{base0A-hex}};stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop5055" />
|
||||
<stop
|
||||
id="stop5057"
|
||||
offset="0.43168644"
|
||||
style="stop-color:#{{base09-hex}};stop-opacity:1" />
|
||||
<stop
|
||||
style="stop-color:#{{base08-hex}};stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop5059" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5562"
|
||||
id="linearGradient4328"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(70.650339,-1055.1511)"
|
||||
x1="200.59668"
|
||||
y1="351.41116"
|
||||
x2="290.08701"
|
||||
y2="506.18814" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5053"
|
||||
id="linearGradient4330"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(864.69589,-1491.3405)"
|
||||
x1="-584.19934"
|
||||
y1="782.33563"
|
||||
x2="-496.29703"
|
||||
y2="937.71399" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.70904368"
|
||||
inkscape:cx="99.429699"
|
||||
inkscape:cy="195.33352"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer3"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1050"
|
||||
inkscape:window-x="1920"
|
||||
inkscape:window-y="30"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:snap-global="true"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1" />
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer3"
|
||||
inkscape:label="gradient-logo"
|
||||
style="display:inline;opacity:1"
|
||||
transform="translate(-156.41121,933.30685)">
|
||||
<g
|
||||
id="g2"
|
||||
transform="matrix(0.99994059,0,0,0.99994059,-0.06321798,33.188377)"
|
||||
style="stroke-width:1.00006">
|
||||
<path
|
||||
sodipodi:nodetypes="cccccccccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path3336-6"
|
||||
d="m 309.54892,-710.38827 122.19683,211.67512 -56.15706,0.5268 -32.6236,-56.8692 -32.85645,56.5653 -27.90237,-0.011 -14.29086,-24.6896 46.81047,-80.4901 -33.22946,-57.8257 z"
|
||||
style="opacity:1;fill:url(#linearGradient4328);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.00018;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<use
|
||||
height="100%"
|
||||
width="100%"
|
||||
transform="rotate(60,407.11155,-715.78724)"
|
||||
id="use3439-6"
|
||||
inkscape:transform-center-y="151.59082"
|
||||
inkscape:transform-center-x="124.43045"
|
||||
xlink:href="#path3336-6"
|
||||
y="0"
|
||||
x="0"
|
||||
style="stroke-width:1.00006" />
|
||||
<use
|
||||
height="100%"
|
||||
width="100%"
|
||||
transform="rotate(-60,407.31177,-715.70016)"
|
||||
id="use3445-0"
|
||||
inkscape:transform-center-y="75.573958"
|
||||
inkscape:transform-center-x="-168.20651"
|
||||
xlink:href="#path3336-6"
|
||||
y="0"
|
||||
x="0"
|
||||
style="stroke-width:1.00006" />
|
||||
<use
|
||||
height="100%"
|
||||
width="100%"
|
||||
transform="rotate(180,407.41868,-715.7565)"
|
||||
id="use3449-5"
|
||||
inkscape:transform-center-y="-139.94592"
|
||||
inkscape:transform-center-x="59.669705"
|
||||
xlink:href="#path3336-6"
|
||||
y="0"
|
||||
x="0"
|
||||
style="stroke-width:1.00006" />
|
||||
<path
|
||||
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#linearGradient4330);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.00018;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
|
||||
d="m 309.54892,-710.38827 122.19683,211.67512 -56.15706,0.5268 -32.6236,-56.8692 -32.85645,56.5653 -27.90237,-0.011 -14.29086,-24.6896 46.81047,-80.4901 -33.22946,-57.8256 z"
|
||||
id="path4260-0"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccccccccc" />
|
||||
<use
|
||||
height="100%"
|
||||
width="100%"
|
||||
transform="rotate(120,407.33916,-716.08356)"
|
||||
id="use4354-5"
|
||||
xlink:href="#path4260-0"
|
||||
y="0"
|
||||
x="0"
|
||||
style="display:inline;stroke-width:1.00006" />
|
||||
<use
|
||||
height="100%"
|
||||
width="100%"
|
||||
transform="rotate(-120,407.28823,-715.86995)"
|
||||
id="use4362-2"
|
||||
xlink:href="#path4260-0"
|
||||
y="0"
|
||||
x="0"
|
||||
style="display:inline;stroke-width:1.00006" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 6.5 KiB |
|
@ -393,7 +393,7 @@ in
|
|||
terminal = false;
|
||||
type = "Application";
|
||||
noDisplay = true;
|
||||
icon = "application-x-executable"; # TODO make custom icon for dock
|
||||
icon = "/home/"+userSettings.username+"/.local/share/pixmaps/hyprland-logo-stylix.svg";
|
||||
})
|
||||
(pyprland.overrideAttrs (oldAttrs: {
|
||||
src = fetchFromGitHub {
|
||||
|
@ -519,6 +519,11 @@ in
|
|||
})])
|
||||
++
|
||||
(with pkgs-hyprland; [ hyprlock ]);
|
||||
home.file.".local/share/pixmaps/hyprland-logo-stylix.svg".source =
|
||||
config.lib.stylix.colors {
|
||||
template = builtins.readFile ../../pkgs/hyprland-logo-stylix.svg.mustache;
|
||||
extension = "svg";
|
||||
};
|
||||
home.file.".config/nwg-dock-hyprland/style.css".text = ''
|
||||
window {
|
||||
background: rgba(''+config.lib.stylix.colors.base00-rgb-r+'',''+config.lib.stylix.colors.base00-rgb-g+'',''+config.lib.stylix.colors.base00-rgb-b+'',0.0);
|
||||
|
|
Loading…
Reference in a new issue