fix
This commit is contained in:
parent
a6eccb6d7a
commit
f3e2f5e1ed
2 changed files with 47 additions and 16 deletions
|
@ -231,18 +231,6 @@ function links() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function gnomeconfig() {
|
function gnomeconfig() {
|
||||||
mkdir -p /home/"$username"/.config/gtk-3.0/
|
|
||||||
echo "[Settings]" > /home/"$username"/.config/gtk-3.0/settings.ini
|
|
||||||
echo "gtk-theme-name = Adwaita" >> /home/"$username"/.config/gtk-3.0/settings.ini
|
|
||||||
echo "# next option is applicable only if selected theme supports it" >> /home/"$username"/.config/gtk-3.0/settings.ini
|
|
||||||
echo "gtk-application-prefer-dark-theme = true" >> /home/"$username"/.config/gtk-3.0/settings.ini
|
|
||||||
echo "# set font name and dimension" >> /home/"$username"/.config/gtk-3.0/settings.ini
|
|
||||||
echo "gtk-font-name = Sans 10" >> /home/"$username"/.config/gtk-3.0/settings.ini
|
|
||||||
|
|
||||||
mkdir -p /home/"$username"/.local/share/applications/
|
|
||||||
echo "[Default Applications]" > /home/"$username"/.local/share/applications/mimeapps.list
|
|
||||||
echo "inode/directory=org.gnome.Nautilus.desktop" >> /home/"$username"/.local/share/applications/mimeapps.list
|
|
||||||
|
|
||||||
mkdir -p /root/.config/gtk-3.0/
|
mkdir -p /root/.config/gtk-3.0/
|
||||||
echo "[Settings]" > /root/.config/gtk-3.0/settings.ini
|
echo "[Settings]" > /root/.config/gtk-3.0/settings.ini
|
||||||
echo "gtk-theme-name = Adwaita" >> /root/.config/gtk-3.0/settings.ini
|
echo "gtk-theme-name = Adwaita" >> /root/.config/gtk-3.0/settings.ini
|
||||||
|
@ -251,10 +239,6 @@ function gnomeconfig() {
|
||||||
echo "# set font name and dimension" >> /root/.config/gtk-3.0/settings.ini
|
echo "# set font name and dimension" >> /root/.config/gtk-3.0/settings.ini
|
||||||
echo "gtk-font-name = Sans 10" >> /root/.config/gtk-3.0/settings.ini
|
echo "gtk-font-name = Sans 10" >> /root/.config/gtk-3.0/settings.ini
|
||||||
|
|
||||||
mkdir -p /root/.local/share/applications/
|
|
||||||
echo "[Default Applications]" > /root/.local/share/applications/mimeapps.list
|
|
||||||
echo "inode/directory=org.gnome.Nautilus.desktop" >> /root/.local/share/applications/mimeapps.list
|
|
||||||
|
|
||||||
gsettings set org.gnome.desktop.media-handling automount 'false'
|
gsettings set org.gnome.desktop.media-handling automount 'false'
|
||||||
gsettings set org.gnome.desktop.media-handling automount-open 'false'
|
gsettings set org.gnome.desktop.media-handling automount-open 'false'
|
||||||
}
|
}
|
||||||
|
@ -663,6 +647,9 @@ if [ "${vollinstallation}" != "n" ]; then
|
||||||
tar -vxJf /opt/${repo}/vibrancy-colors.tar.xz -C /usr/share/icons/
|
tar -vxJf /opt/${repo}/vibrancy-colors.tar.xz -C /usr/share/icons/
|
||||||
gtk-update-icon-cache /usr/share/icons/Vibrancy-Colors-Dark/
|
gtk-update-icon-cache /usr/share/icons/Vibrancy-Colors-Dark/
|
||||||
|
|
||||||
|
# XDG standard
|
||||||
|
cp mimeapps.list /etc/xdg/mimeapps.list
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
44
mimeapps.list
Normal file
44
mimeapps.list
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
[Added Associations]
|
||||||
|
application/octet-stream=org.gnome.FileRoller.desktop;
|
||||||
|
x-scheme-handler/http=exo-web-browser.desktop;firefox.desktop;
|
||||||
|
x-scheme-handler/https=exo-web-browser.desktop;firefox.desktop;
|
||||||
|
x-scheme-handler/mailto=exo-mail-reader.desktop;thunderbird.desktop;
|
||||||
|
text/markdown=org.gnome.gedit.desktop;
|
||||||
|
x-scheme-handler/ftp=firefox.desktop;
|
||||||
|
x-scheme-handler/chrome=firefox.desktop;
|
||||||
|
text/html=firefox.desktop;org.gnome.gedit.desktop;
|
||||||
|
application/x-extension-htm=firefox.desktop;
|
||||||
|
application/x-extension-html=firefox.desktop;
|
||||||
|
application/x-extension-shtml=firefox.desktop;
|
||||||
|
application/xhtml+xml=firefox.desktop;
|
||||||
|
application/x-extension-xhtml=firefox.desktop;
|
||||||
|
application/x-extension-xht=firefox.desktop;
|
||||||
|
message/rfc822=thunderbird.desktop;
|
||||||
|
application/x-shellscript=pluma.desktop;
|
||||||
|
application/x-cue=org.gnome.gedit.desktop;
|
||||||
|
application/x-7z-compressed=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||||
|
model/x.stl-binary=org.gnome.FileRoller.desktop;
|
||||||
|
application/x-compressed-tar=org.gnome.Nautilus.desktop;
|
||||||
|
application/json=org.gnome.gedit.desktop;
|
||||||
|
text/vcard=kaddressbook-importer.desktop;
|
||||||
|
text/x-opml+xml=firefox.desktop;
|
||||||
|
text/csv=libreoffice-calc.desktop;
|
||||||
|
image/png=eog.desktop;
|
||||||
|
image/jpeg=eog.desktop;
|
||||||
|
|
||||||
|
[Default Applications]
|
||||||
|
x-scheme-handler/http=firefox.desktop
|
||||||
|
x-scheme-handler/https=firefox.desktop
|
||||||
|
x-scheme-handler/ftp=firefox.desktop
|
||||||
|
x-scheme-handler/chrome=firefox.desktop
|
||||||
|
text/html=firefox.desktop
|
||||||
|
application/x-extension-htm=firefox.desktop
|
||||||
|
application/x-extension-html=firefox.desktop
|
||||||
|
application/x-extension-shtml=firefox.desktop
|
||||||
|
application/xhtml+xml=firefox.desktop
|
||||||
|
application/x-extension-xhtml=firefox.desktop
|
||||||
|
application/x-extension-xht=firefox.desktop
|
||||||
|
x-scheme-handler/mailto=thunderbird.desktop
|
||||||
|
message/rfc822=thunderbird.desktop
|
||||||
|
x-scheme-handler/discord-402572971681644545=discord-402572971681644545.desktop
|
||||||
|
image/png=eog.desktop
|
Loading…
Reference in a new issue