diff --git a/Dockerfile b/Dockerfile index 359ef0e..6d77529 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,38 +30,52 @@ RUN apt-get install -y \ vlc \ git \ build-essential \ - python-is-python3 + python-is-python3 \ + xarchiver \ + thunar-archive-plugin + # Java RUN apt-get install -y default-jre # Firefox -RUN apt-get install -y firefox-esr firefox-esr-l10n-fi +RUN apt-get install -y firefox-esr firefox-esr-l10n-fi && cp /usr/share/applications/firefox-esr.desktop $HOME/Desktop COPY firefox-policies.json /etc/firefox/policies/policies.json # Thunderbird -RUN apt-get install -y thunderbird thunderbird-l10n-fi +RUN apt-get install -y thunderbird thunderbird-l10n-fi && cp /usr/share/applications/thunderbird.desktop $HOME/Desktop # Libreoffice -RUN apt-get install -y libreoffice libreoffice-l10n-fi +RUN apt-get install -y libreoffice libreoffice-l10n-fi && cp /usr/share/applications/libreoffice-startcenter.desktop $HOME/Desktop # GIMP -RUN apt-get install -y gimp +RUN apt-get install -y gimp && cp /usr/share/applications/gimp.desktop $HOME/Desktop # VSCodium RUN \ apt-get install codium \ - && sed -i 's#/usr/share/codium/codium#/usr/share/codium/codium --no-sandbox##' /usr/share/applications/codium.desktop - + && sed -i 's#/usr/share/codium/codium#/usr/share/codium/codium --no-sandbox##' /usr/share/applications/codium.desktop \ + && cp /usr/share/applications/codium.desktop $HOME/Desktop +# Obsidian +RUN \ + curl -s https://api.github.com/repos/obsidianmd/obsidian-releases/releases/latest \ + | grep "browser_download_url.*amd64.deb" \ + | cut -d : -f 2,3 \ + | tr -d \" \ + | wget -i - -O obsidian.deb \ + && dpkg -i obsidian.deb \ + && sed -i 's#/opt/Obsidian/obsidian#/opt/Obsidian/obsidian --no-sandbox##' /usr/share/applications/obsidian.desktop \ + && cp /usr/share/applications/obsidian.desktop $HOME/Desktop \ + && rm obsidian.deb # Desktop icons RUN \ cp \ - /usr/share/applications/codium.desktop \ - /usr/share/applications/thunderbird.desktop \ - /usr/share/applications/libreoffice-startcenter.desktop \ - /usr/share/applications/gimp.desktop \ - /usr/share/applications/firefox-esr.desktop \ - /usr/share/applications/xfce4-terminal.desktop \ - $HOME/Desktop \ + /usr/share/applications/xfce4-terminal.desktop \ + $HOME/Desktop \ && chmod +x $HOME/Desktop/*.desktop \ && chown 1000:1000 $HOME/Desktop/*.desktop +# Configs +COPY etc /etc/ +COPY user-config $HOME/.config +COPY bg_default.png /usr/share/backgrounds/bg_default.png + # Cleanup and stuff # Services we don't want to start disable in xfce init RUN \ diff --git a/bg_default.png b/bg_default.png new file mode 100644 index 0000000..3aef0e6 Binary files /dev/null and b/bg_default.png differ diff --git a/etc/drirc b/etc/drirc new file mode 100644 index 0000000..3925bcf --- /dev/null +++ b/etc/drirc @@ -0,0 +1,7 @@ + + + + + + diff --git a/etc/inputrc b/etc/inputrc new file mode 100644 index 0000000..b0be867 --- /dev/null +++ b/etc/inputrc @@ -0,0 +1,6 @@ +set show-all-if-unmodified on +set show-all-if-ambiguous on +set colored-stats on +set mark-symlinked-directories on +set colored-completion-prefix on +set menu-complete-display-prefix on diff --git a/etc/nanorc b/etc/nanorc new file mode 100644 index 0000000..65df6d1 --- /dev/null +++ b/etc/nanorc @@ -0,0 +1,331 @@ +## Sample initialization file for GNU nano. +## +## For the options that take parameters, the default value is shown. +## Other options are unset by default. To make sure that an option +## is disabled, you can use "unset