#! /bin/bash

$(dirname "$BASH_SOURCE")/urn_bash_install

cp $(dirname "$BASH_SOURCE")/emacs ~/.emacs

dconf write /org/mate/panel/objects/object-0/prefs/command "'dsddi'"
dconf write /org/mate/panel/objects/object-0/applet-iid "'CommandAppletFactory::CommandApplet'"
dconf write /org/mate/panel/objects/object-0/object-type "'applet'"
dconf write /org/mate/panel/objects/object-0/panel-right-stick false
dconf write /org/mate/panel/objects/object-0/position 1132
dconf write /org/mate/panel/objects/object-0/toplevel-id "'top'"
dconf write /org/mate/panel/general/object-id-list "['menu', 'files', 'browser', 'windowlistapplet', 'indicatorappletcomplete', 'showdesktopapplet', 'object-0']"

dconf write /org/ayatana/indicator/datetime/time-format "'custom'"
dconf write /org/ayatana/indicator/datetime/custom-time-format "'%Y-%j %T'"

cp $(dirname "$BASH_SOURCE")/lxpanel ~/.config/lxpanel/Trisquel-mini/panels/panel
sed 's/ClockFmt=%R/ClockFmt=%F %T/' -i ~/.config/lxpanel/Trisquel-mini/panels/panel
lxpanelctl restart

timedatectl set-timezone right/GMT

setxkbmap -option keypad:pointerkeys

rm ~/Desktop/ubiquity.desktop
rmdir ~/Desktop ~/Documents ~/Downloads ~/Music ~/Pictures ~/Public ~/Templates ~/Videos

pactl set-sink-volume 0 0%
