Compare commits
3 Commits
7fec866385
...
111b0cef32
| Author | SHA1 | Date | |
|---|---|---|---|
| 111b0cef32 | |||
| fb9570fd74 | |||
| f94fc0aa97 |
@@ -20,14 +20,25 @@ gsettings set org.cinnamon.desktop.wm.preferences mouse-button-modifier "'<Super
|
||||
|
||||
# hide annoying super menu icons
|
||||
|
||||
# set up taskbar
|
||||
|
||||
# startup programs - artha
|
||||
mkdir -p $HOME/.config/autostart
|
||||
cp ./utils/artha-autostart.desktop $HOME/.config/autostart/artha.desktop
|
||||
chmod 755 $HOME/.config/autostart/artha.desktop
|
||||
|
||||
# disable calendar widget showing events too
|
||||
FP="$HOME/.config/cinnamon/spices/calendar@cinnamon.org/13.json" # why is this 13? doesn't seem very robust
|
||||
cat $FP | jq '.["show-events"].value = false' | tee $FP
|
||||
# 13.json corresponds to the numerical (zero-indexed) position in the
|
||||
# enabled-applets section of `dconf dump /org/cinnamon/`
|
||||
FP="$HOME/.config/cinnamon/spices/calendar@cinnamon.org/13.json"
|
||||
cat $FP | jq '.["show-events"].value = false' | tee tmp.json && mv tmp.json "$FP"
|
||||
|
||||
# set up taskbar (grouped-window-list widget)
|
||||
FP="$HOME/.config/cinnamon/spices/grouped-window-list@cinnamon.org/2.json"
|
||||
TASKBAR_LAYOUT='[
|
||||
"nemo.desktop",
|
||||
"org.gnome.Terminal.desktop",
|
||||
"brave-browser.desktop",
|
||||
"discord.desktop",
|
||||
"code.desktop"
|
||||
]'
|
||||
cat $FP | jq --argjson layout "$TASKBAR_LAYOUT" '.["pinned-apps"]["value"] = $layout' | tee tmp.json && mv tmp.json "$FP"
|
||||
|
||||
|
||||
21
main.sh
21
main.sh
@@ -60,7 +60,12 @@ echo 'export PATH="$PATH:/opt/nvim-linux-x86_64/bin"' | tee "$HOME/.bashrc" -a
|
||||
git clone https://gitea.jovan04.com/evan/neovim-config "$HOME/.config/nvim"
|
||||
echo "* install pyright language server (and any other relevant ones)" | tee todo.md -a
|
||||
|
||||
# Other editor(s) (TBD)
|
||||
# install VS Code
|
||||
wget "https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64" -O "vs-code-linux-x64.deb"
|
||||
echo "code code/add-microsoft-repo boolean true" | sudo debconf-set-selections
|
||||
sudo apt-get install -y ./vs-code-linux-x64.deb
|
||||
rm ./vs-code-linux-x64.deb
|
||||
|
||||
echo "* investigate and install other IDE(s)" | tee todo.md -a
|
||||
|
||||
# Brave browser
|
||||
@@ -71,7 +76,14 @@ echo "* generate new SSH key and add to GitHub?" | tee todo.md -a
|
||||
|
||||
# things I'd rather not install but have to
|
||||
# Discord (chat)
|
||||
echo "* install Discord (chat)" | tee todo.md -a
|
||||
wget "https://discord.com/api/download?platform=linux&format=deb" -O "discord-linux.deb"
|
||||
sudo apt-get install -y ./discord-linux.deb
|
||||
rm ./discord-linux.deb
|
||||
|
||||
mkdir -p "$HOME/.config/discord"
|
||||
echo '{ "DANGEROUS_ENABLE_DEVTOOLS_ONLY_ENABLE_IF_YOU_KNOW_WHAT_YOURE_DOING": true }' | tee "$HOME/.config/discord/settings.json"
|
||||
|
||||
echo "* find discord replacement" | tee todo.md -a
|
||||
|
||||
# Zoom (video call)
|
||||
echo "* install Zoom (video call)" | tee todo.md -a
|
||||
@@ -143,13 +155,16 @@ sudo apt-get install -y btop
|
||||
##########################
|
||||
source ./user-programs.sh
|
||||
|
||||
|
||||
###########################
|
||||
## DESKTOP ENVIRONMENT ##
|
||||
###########################
|
||||
# designed & tested on Cinnamon 6.4.8
|
||||
source ./desktop-env.sh
|
||||
|
||||
######################
|
||||
## REMOVING STUFF ##
|
||||
######################
|
||||
source ./removing-stuff.sh
|
||||
|
||||
echo "Installation and setup finished. You must log out and log back in for all changes to take effect."
|
||||
read -p "Press enter to log out."
|
||||
|
||||
Reference in New Issue
Block a user