Skip to content

Instantly share code, notes, and snippets.

View ideaflare's full-sized avatar

Christoph ideaflare

View GitHub Profile
@ideaflare
ideaflare / post-setup.sh
Last active May 24, 2018 16:30
Customization for Ubuntu 18.04 minimal
## auto-upgrades
sudo apt install unattended-upgrades
# remove trash icon from desktop & add tweak ui (i.e. activities overview hot corner)
gsettings set org.gnome.nautilus.desktop trash-icon-visible false
#sudo apt-get install gnome-tweak-tool
## red shift
gsettings set org.gnome.settings-daemon.plugins.color night-light-enabled true
@ideaflare
ideaflare / unsplash-background.sh
Last active November 23, 2024 22:39
Update background to random unsplash image (Ubuntu /w Gnome Desktop)
readonly THEME='sky'
readonly PIC_PATH='/home/'"$USER"'/Pictures/Unsplash/'
readonly PIC_FILE=''"$PIC_PATH"'today.jpeg'
setupDirectory() {
mkdir -p $PIC_PATH
}
downloadToday() {
local RES=$(xdpyinfo | awk '/dimensions/{print $2}')
@ideaflare
ideaflare / bash_profile
Created October 13, 2018 19:20
MacOS ~/.bash_profile
PS1="\A\w $ "
alias code='/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code'