setup gtk mate ui themes

This commit is contained in:
j3d1 2022-02-17 23:25:22 +01:00
parent 18ac54c81f
commit 9c651bc647

View file

@ -1,6 +1,12 @@
#!/bin/bash #!/bin/bash
function user_install(){ 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 #wget --show-progress -qO ./toolbox.tar.gz https://download.jetbrains.com/toolbox/jetbrains-toolbox-1.20.7940.tar.gz
#TOOLBOX_TEMP_DIR=$(mktemp -d) #TOOLBOX_TEMP_DIR=$(mktemp -d)
@ -20,7 +26,7 @@ function first_stage(){
echo foo first_stage echo foo first_stage
echo -n "hostname: " echo -n "hostname: "
read -s hostname_in read hostname_in
export NEW_HOSTNAME=$hostname_in export NEW_HOSTNAME=$hostname_in
echo echo
@ -154,12 +160,13 @@ function second_stage(){
unset USER_PASSWORD unset USER_PASSWORD
btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_user_gui) btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_user_gui)
apt install -y git wget materia-gtk-theme htop nmap apt install -y git wget materia-gtk-theme htop nmap arandr timeshift gparted
#apt install -y virt-manager telegram-desktop firefox thunderbird geany vlc pidgin inkscape meld kicad blender freecad 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 git clone git://github.com/robbyrussell/oh-my-zsh.git $HOME/.oh-my-zsh
chmod 0755 $HOME/.oh-my-zsh chmod 0755 $HOME/.oh-my-zsh
chown -R jedi:jedi $HOME chown -R jedi:jedi $HOME
chsh --shell /bin/zsh jedi chsh --shell /usr/bin/zsh jedi
export -f user_install export -f user_install
su jedi -c "bash -c user_install" su jedi -c "bash -c user_install"