Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Sublime 3 - Install Flatland Theme

Flatland is my favourite theme for Sublime, and everything I do has to be automated as much as possible, so I made an installation script


mkdir /tmp/install-sublime-theme
cd /tmp/install-sublime-theme



mv flatland-master "/home/$USER/.config/sublime-text/Packages/Theme - Flatland"

# clean up
rm -rf /tmp/install-sublime-theme

# One day I may get bash to check for and overwrite these attributes 
# but for now just tell the user what to do manually.
echo ""
echo "======================= copy lines below ===================="
echo '"theme": "Flatland Dark.sublime-theme",'
echo '"color_scheme": "Packages/Theme - Flatland/Flatland Dark.tmTheme"'
echo "============================================================="
echo "Now update the settings file using the command below and add/overwrite the following two properties"
echo 'subl /home/$USER/.config/sublime-text-3/Packages/User/Preferences.sublime-settings'


Last updated: 16th June 2021
First published: 9th February 2020