2022.07.07
@ -2,14 +2,35 @@
|
||||
icons="$HOME"/.local/share/Theme-Switcher
|
||||
|
||||
set_theme() {
|
||||
# Check for Zafiro icon pack, icon packs won't be changed if Zafiro is not in use
|
||||
current_icon_theme=$(xfconf-query -c xsettings -p /Net/IconThemeName)
|
||||
[ "${current_icon_theme%-Icons-Light-Black-f}" = 'Zafiro' ] && Zafiro='True'
|
||||
|
||||
if [ "${1##*-}" = 'Light' ]; then
|
||||
yad --image "dialog-question" --title '' --button='DARK':1 --button='LIGHT':0 --text 'Select the panels theme:'
|
||||
case $? in
|
||||
1)
|
||||
# Enable dark panels
|
||||
xfconf-query -c xfce4-panel -p /panels/dark-mode -n -t bool -s true
|
||||
# Use the dark icon pack
|
||||
[ "$Zafiro" = 'True' ] && xfconf-query -c xsettings -p /Net/IconThemeName -n -t string -s Zafiro
|
||||
;;
|
||||
0)
|
||||
# Disable dark panels
|
||||
xfconf-query -c xfce4-panel -p /panels/dark-mode -n -t bool -s false
|
||||
# Use the light icon pack
|
||||
[ "$Zafiro" = 'True' ] && xfconf-query -c xsettings -p /Net/IconThemeName -n -t string -s Zafiro-Icons-Light-Black-f
|
||||
;;
|
||||
*) exit ;;
|
||||
esac
|
||||
else
|
||||
# Use the dark icon pack
|
||||
[ "$Zafiro" = 'True' ] && xfconf-query -c xsettings -p /Net/IconThemeName -n -t string -s Zafiro
|
||||
fi
|
||||
# Change the main theme to the chosen one
|
||||
xfconf-query -c xsettings -p /Net/ThemeName -n -t string -s "Skeuos-$1"
|
||||
xfconf-query -c xfwm4 -p /general/theme -n -t string -s "Skeuos-$1-XFWM"
|
||||
gsettings set org.gnome.desktop.interface gtk-theme "Skeuos-$1"
|
||||
if [ "${1##*-}" = 'Light' ]; then
|
||||
xfconf-query -c xsettings -p /Net/IconThemeName -n -t string -s Zafiro-Icons-Light-Black-f
|
||||
else
|
||||
xfconf-query -c xsettings -p /Net/IconThemeName -n -t string -s Zafiro
|
||||
fi
|
||||
notify-send "Skeuos-$1 theme was enabled"
|
||||
}
|
||||
export -f set_theme
|
||||
|
@ -1 +0,0 @@
|
||||
thunar.svg
|
Before Width: | Height: | Size: 10 B After Width: | Height: | Size: 1.7 KiB |
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
height="48"
|
||||
width="48"
|
||||
version="1.1"
|
||||
id="svg6"
|
||||
sodipodi:docname="nautilus.svg"
|
||||
inkscape:version="1.1 (c4e8f9ed74, 2021-05-24)"
|
||||
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">
|
||||
<defs
|
||||
id="defs10" />
|
||||
<sodipodi:namedview
|
||||
id="namedview8"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="15.979167"
|
||||
inkscape:cx="24"
|
||||
inkscape:cy="24.031291"
|
||||
inkscape:window-width="1867"
|
||||
inkscape:window-height="1048"
|
||||
inkscape:window-x="53"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg6" />
|
||||
<path
|
||||
d="m1.996094 5.888227c-.554 0-1 .446-1 1v4 32c0 .554.446 1 1 1h42l.656393-.690979c.381556-.40166.658631.146694.343607-.309021v-1.283203-30.716797c0-.554-.446-1-1-1h-25l-2.074219-3c-.315024-.4557149-.446-1-1-1z"
|
||||
fill="#e5e5e5"
|
||||
id="path2" />
|
||||
<path
|
||||
d="m19.996094 12c-.554 0-.715199.524812-1 1l-2.996094 5h-14.003906c-.554 0-1 .446-1 1v23.888227c0 .01318.0073.02405.0078.03711-.169125.345773.170691.708979.582032.873047.000999.000449.0029-.000446.0039 0 .124539.05545.260703.08984.406268.08984h.01953 41.980469c.1385 0 .270906-.02766.390625-.07813s.226031-.124469.316406-.214844c.180751-.180745.29297-.430026.29297-.707026v-23.888224-6c0-.554-.446-1-1-1z"
|
||||
fill="#5c9ce4"
|
||||
id="path4" />
|
||||
</svg>
|
Before Width: | Height: | Size: 10 B After Width: | Height: | Size: 1.7 KiB |
@ -1 +0,0 @@
|
||||
thunar.svg
|
Before Width: | Height: | Size: 10 B After Width: | Height: | Size: 1.7 KiB |
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
height="48"
|
||||
width="48"
|
||||
version="1.1"
|
||||
id="svg6"
|
||||
sodipodi:docname="nautilus.svg"
|
||||
inkscape:version="1.1 (c4e8f9ed74, 2021-05-24)"
|
||||
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">
|
||||
<defs
|
||||
id="defs10" />
|
||||
<sodipodi:namedview
|
||||
id="namedview8"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="15.979167"
|
||||
inkscape:cx="24"
|
||||
inkscape:cy="24.031291"
|
||||
inkscape:window-width="1867"
|
||||
inkscape:window-height="1048"
|
||||
inkscape:window-x="53"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg6" />
|
||||
<path
|
||||
d="m1.996094 5.888227c-.554 0-1 .446-1 1v4 32c0 .554.446 1 1 1h42l.656393-.690979c.381556-.40166.658631.146694.343607-.309021v-1.283203-30.716797c0-.554-.446-1-1-1h-25l-2.074219-3c-.315024-.4557149-.446-1-1-1z"
|
||||
fill="#e5e5e5"
|
||||
id="path2" />
|
||||
<path
|
||||
d="m19.996094 12c-.554 0-.715199.524812-1 1l-2.996094 5h-14.003906c-.554 0-1 .446-1 1v23.888227c0 .01318.0073.02405.0078.03711-.169125.345773.170691.708979.582032.873047.000999.000449.0029-.000446.0039 0 .124539.05545.260703.08984.406268.08984h.01953 41.980469c.1385 0 .270906-.02766.390625-.07813s.226031-.124469.316406-.214844c.180751-.180745.29297-.430026.29297-.707026v-23.888224-6c0-.554-.446-1-1-1z"
|
||||
fill="#5c9ce4"
|
||||
id="path4" />
|
||||
</svg>
|
Before Width: | Height: | Size: 10 B After Width: | Height: | Size: 1.7 KiB |
@ -1 +0,0 @@
|
||||
file-manager.svg
|
Before Width: | Height: | Size: 16 B After Width: | Height: | Size: 1.7 KiB |
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
height="48"
|
||||
width="48"
|
||||
version="1.1"
|
||||
id="svg6"
|
||||
sodipodi:docname="nautilus.svg"
|
||||
inkscape:version="1.1 (c4e8f9ed74, 2021-05-24)"
|
||||
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">
|
||||
<defs
|
||||
id="defs10" />
|
||||
<sodipodi:namedview
|
||||
id="namedview8"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="15.979167"
|
||||
inkscape:cx="24"
|
||||
inkscape:cy="24.031291"
|
||||
inkscape:window-width="1867"
|
||||
inkscape:window-height="1048"
|
||||
inkscape:window-x="53"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg6" />
|
||||
<path
|
||||
d="m1.996094 5.888227c-.554 0-1 .446-1 1v4 32c0 .554.446 1 1 1h42l.656393-.690979c.381556-.40166.658631.146694.343607-.309021v-1.283203-30.716797c0-.554-.446-1-1-1h-25l-2.074219-3c-.315024-.4557149-.446-1-1-1z"
|
||||
fill="#e5e5e5"
|
||||
id="path2" />
|
||||
<path
|
||||
d="m19.996094 12c-.554 0-.715199.524812-1 1l-2.996094 5h-14.003906c-.554 0-1 .446-1 1v23.888227c0 .01318.0073.02405.0078.03711-.169125.345773.170691.708979.582032.873047.000999.000449.0029-.000446.0039 0 .124539.05545.260703.08984.406268.08984h.01953 41.980469c.1385 0 .270906-.02766.390625-.07813s.226031-.124469.316406-.214844c.180751-.180745.29297-.430026.29297-.707026v-23.888224-6c0-.554-.446-1-1-1z"
|
||||
fill="#5c9ce4"
|
||||
id="path4" />
|
||||
</svg>
|
Before Width: | Height: | Size: 16 B After Width: | Height: | Size: 1.7 KiB |
@ -1 +0,0 @@
|
||||
file-manager.svg
|
Before Width: | Height: | Size: 16 B After Width: | Height: | Size: 1.7 KiB |
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
height="48"
|
||||
width="48"
|
||||
version="1.1"
|
||||
id="svg6"
|
||||
sodipodi:docname="nautilus.svg"
|
||||
inkscape:version="1.1 (c4e8f9ed74, 2021-05-24)"
|
||||
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">
|
||||
<defs
|
||||
id="defs10" />
|
||||
<sodipodi:namedview
|
||||
id="namedview8"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="15.979167"
|
||||
inkscape:cx="24"
|
||||
inkscape:cy="24.031291"
|
||||
inkscape:window-width="1867"
|
||||
inkscape:window-height="1048"
|
||||
inkscape:window-x="53"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg6" />
|
||||
<path
|
||||
d="m1.996094 5.888227c-.554 0-1 .446-1 1v4 32c0 .554.446 1 1 1h42l.656393-.690979c.381556-.40166.658631.146694.343607-.309021v-1.283203-30.716797c0-.554-.446-1-1-1h-25l-2.074219-3c-.315024-.4557149-.446-1-1-1z"
|
||||
fill="#e5e5e5"
|
||||
id="path2" />
|
||||
<path
|
||||
d="m19.996094 12c-.554 0-.715199.524812-1 1l-2.996094 5h-14.003906c-.554 0-1 .446-1 1v23.888227c0 .01318.0073.02405.0078.03711-.169125.345773.170691.708979.582032.873047.000999.000449.0029-.000446.0039 0 .124539.05545.260703.08984.406268.08984h.01953 41.980469c.1385 0 .270906-.02766.390625-.07813s.226031-.124469.316406-.214844c.180751-.180745.29297-.430026.29297-.707026v-23.888224-6c0-.554-.446-1-1-1z"
|
||||
fill="#5c9ce4"
|
||||
id="path4" />
|
||||
</svg>
|
Before Width: | Height: | Size: 16 B After Width: | Height: | Size: 1.7 KiB |
@ -1 +0,0 @@
|
||||
file-manager.svg
|
Before Width: | Height: | Size: 16 B After Width: | Height: | Size: 1.7 KiB |
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
height="48"
|
||||
width="48"
|
||||
version="1.1"
|
||||
id="svg6"
|
||||
sodipodi:docname="nautilus.svg"
|
||||
inkscape:version="1.1 (c4e8f9ed74, 2021-05-24)"
|
||||
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">
|
||||
<defs
|
||||
id="defs10" />
|
||||
<sodipodi:namedview
|
||||
id="namedview8"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="15.979167"
|
||||
inkscape:cx="24"
|
||||
inkscape:cy="24.031291"
|
||||
inkscape:window-width="1867"
|
||||
inkscape:window-height="1048"
|
||||
inkscape:window-x="53"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg6" />
|
||||
<path
|
||||
d="m1.996094 5.888227c-.554 0-1 .446-1 1v4 32c0 .554.446 1 1 1h42l.656393-.690979c.381556-.40166.658631.146694.343607-.309021v-1.283203-30.716797c0-.554-.446-1-1-1h-25l-2.074219-3c-.315024-.4557149-.446-1-1-1z"
|
||||
fill="#e5e5e5"
|
||||
id="path2" />
|
||||
<path
|
||||
d="m19.996094 12c-.554 0-.715199.524812-1 1l-2.996094 5h-14.003906c-.554 0-1 .446-1 1v23.888227c0 .01318.0073.02405.0078.03711-.169125.345773.170691.708979.582032.873047.000999.000449.0029-.000446.0039 0 .124539.05545.260703.08984.406268.08984h.01953 41.980469c.1385 0 .270906-.02766.390625-.07813s.226031-.124469.316406-.214844c.180751-.180745.29297-.430026.29297-.707026v-23.888224-6c0-.554-.446-1-1-1z"
|
||||
fill="#5c9ce4"
|
||||
id="path4" />
|
||||
</svg>
|
Before Width: | Height: | Size: 16 B After Width: | Height: | Size: 1.7 KiB |