From 9c651bc6478a372c756d2deb9843da36a05b1fc7 Mon Sep 17 00:00:00 2001
From: jedi <git@m.j3d1.de>
Date: Thu, 17 Feb 2022 23:25:22 +0100
Subject: [PATCH] setup gtk mate ui themes

---
 entry.sh | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/entry.sh b/entry.sh
index 6335f36..d100ffe 100755
--- a/entry.sh
+++ b/entry.sh
@@ -1,6 +1,12 @@
 #!/bin/bash
 
 function user_install(){
+	
+	dconf write /org/mate/desktop/interface/gtk-theme "'Materia-dark'"
+	dconf write /org/mate/marco/general/theme "'Materia-dark'"
+	dconf write /org/mate/desktop/interface/icon-theme "'Adwaita'"
+	dconf write /org/mate/desktop/peripherals/mouse/cursor-theme "'Adwaita'"
+	
 	#wget --show-progress -qO ./toolbox.tar.gz https://download.jetbrains.com/toolbox/jetbrains-toolbox-1.20.7940.tar.gz
 	
 	#TOOLBOX_TEMP_DIR=$(mktemp -d)
@@ -20,7 +26,7 @@ function first_stage(){
 	echo foo first_stage
 
 	echo -n "hostname: "
-	read -s hostname_in
+	read hostname_in
 	export NEW_HOSTNAME=$hostname_in
 	echo
 
@@ -154,12 +160,13 @@ function second_stage(){
 	unset USER_PASSWORD
 
 	btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_user_gui)
-	apt install -y git wget materia-gtk-theme htop nmap
-	#apt install -y virt-manager telegram-desktop firefox thunderbird geany vlc pidgin inkscape meld kicad blender freecad
+	apt install -y git wget materia-gtk-theme htop nmap arandr timeshift gparted
+	apt install -y virt-manager telegram-desktop chromium firefox thunderbird geany vlc pidgin gimp inkscape meld kicad blender freecad remmina gmpc
+	btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_user_gui)
 	git clone git://github.com/robbyrussell/oh-my-zsh.git $HOME/.oh-my-zsh
 	chmod 0755 $HOME/.oh-my-zsh
 	chown -R jedi:jedi $HOME
-	chsh --shell /bin/zsh jedi
+	chsh --shell /usr/bin/zsh jedi
 	
 	export -f user_install
 	su jedi -c "bash -c user_install"