Compare commits

...

10 Commits

Author SHA1 Message Date
dabruh 36d7d0d23f Remove invalid option 2024-04-11 14:47:36 +02:00
dabruh 66bb79a6cc Fix invalid arg 2024-04-11 14:45:07 +02:00
dabruh 8aa1211254 Fix typo 2024-04-11 13:18:12 +02:00
dabruh 86af7096b3 Install azure-cli from official repo 2024-04-11 13:16:57 +02:00
dabruh a5f11197c8 Set default value 2024-04-11 12:49:48 +02:00
dabruh 69515a3af0 Install new picom dependencies 2024-04-11 12:30:06 +02:00
dabruh add942a2c0 Add venv apt package 2024-04-11 12:24:07 +02:00
dabruh aff2e3af98 Adjust python executable name 2024-04-11 12:21:20 +02:00
dabruh 1cf86dd7d5 Add computer 2024-04-11 12:19:22 +02:00
dabruh c8d02955dc Move homebrew dir 2024-04-11 12:15:19 +02:00
6 changed files with 291 additions and 279 deletions

View File

@ -0,0 +1,2 @@
config.pre-main-10-ubuntu
config.post-main-90-laptop

View File

@ -102,8 +102,11 @@ prepend_paths=(
)
append_paths=()
[ -f "$HOME/homebrew/bin/brew" ] && eval "$("$HOME/homebrew/bin/brew" shellenv)"
[ -n "$HOMEBREW_PREFIX" ] && append_paths+=("$HOMEBREW_PREFIX/bin" "$HOMEBREW_PREFIX/sbin")
HOMEBREW_PREFIX="$XDG_DATA_HOME/homebrew"
if [ -x "$HOMEBREW_PREFIX/bin/brew" ]; then
eval "$("$HOMEBREW_PREFIX/bin/brew" shellenv)"
append_paths+=("$HOMEBREW_PREFIX/bin" "$HOMEBREW_PREFIX/sbin")
fi
rm_path_entries "${prepend_paths[@]}" "${append_paths[@]}" # Ensure we clean up first
prepend_path_with_entries "${prepend_paths[@]}"

View File

@ -26,276 +26,273 @@ dpmsOff: 4:00:00
grabDesktopImages: False
grabVideoFrames: False
chooseRandomImages: False
imageDirectory:
imageDirectory:
mode: random
selected: 50
textMode: url
textLiteral: XScreenSaver
textFile:
textFile:
textProgram: fortune
textURL: https://feeds.feedburner.com/ubuntu-news
dialogTheme: default
settingsGeom: 1725,32 -1,-1
programs: \
- maze --root \n\
- GL: sphereeversion --root \n\
- GL: superquadrics --root \n\
- attraction --root \n\
- blitspin --root \n\
- greynetic --root \n\
- helix --root \n\
- hopalong --root \n\
- imsmap --root \n\
- noseguy --root \n\
- pyro --root \n\
- qix --root \n\
- rocks --root \n\
- rorschach --root \n\
- decayscreen --root \n\
- flame --root \n\
- halo --root \n\
slidescreen --root \n\
- pedal --root \n\
- bouboule --root \n\
- braid --root \n\
- coral --root \n\
- deco --root \n\
- drift --root \n\
- fadeplot --root \n\
- galaxy --root \n\
- goop --root \n\
- grav --root \n\
- ifs --root \n\
- unicode --root \n\
- GL: jigsaw --root \n\
- julia --root \n\
- kaleidescope --root \n\
- GL: moebius --root \n\
- moire --root \n\
- GL: morph3d --root \n\
- mountain --root \n\
- munch --root \n\
- penrose --root \n\
- GL: pipes --root \n\
- rd-bomb --root \n\
- GL: rubik --root \n\
- sierpinski --root \n\
- slip --root \n\
- GL: sproingies --root \n\
- starfish --root \n\
- strange --root \n\
- swirl --root \n\
- triangle --root \n\
- xjack --root \n\
xlyap --root \n\
- GL: atlantis --root \n\
- bsod --root \n\
- GL: bubble3d --root \n\
- GL: cage --root \n\
- crystal --root \n\
- cynosure --root \n\
- discrete --root \n\
- distort --root \n\
- epicycle --root \n\
- flow --root \n\
- GL: glplanet --root \n\
- interference --root \n\
- kumppa --root \n\
- GL: lament --root \n\
- moire2 --root \n\
- GL: sonar --root \n\
- GL: stairs --root \n\
- truchet --root \n\
- vidwhacker --root \n\
- blaster --root \n\
- bumps --root \n\
- ccurve --root \n\
- compass --root \n\
- deluxe --root \n\
- demon --root \n\
- GL: extrusion --root \n\
- loop --root \n\
- penetrate --root \n\
- petri --root \n\
- phosphor --root \n\
- GL: pulsar --root \n\
- ripples --root \n\
- shadebobs --root \n\
- GL: sierpinski3d --root \n\
- spotlight --root \n\
- squiral --root \n\
- wander --root \n\
- webcollage --root \n\
- xflame --root \n\
xmatrix --root \n\
- GL: gflux --root \n\
- nerverot --root \n\
- xrayswarm --root \n\
- xspirograph --root \n\
- GL: circuit --root \n\
- GL: dangerball --root \n\
- GL: engine --root \n\
- GL: flipscreen3d --root \n\
- GL: gltext --root \n\
- GL: menger --root \n\
- GL: molecule --root \n\
- rotzoomer --root \n\
scooter --root \n\
- speedmine --root \n\
- GL: starwars --root \n\
- GL: stonerview --root \n\
- vermiculate --root \n\
- whirlwindwarp --root \n\
- zoom --root \n\
- anemone --root \n\
- apollonian --root \n\
- GL: boxed --root \n\
- GL: cubenetic --root \n\
- GL: endgame --root \n\
- euler2d --root \n\
- fluidballs --root \n\
- GL: flurry --root \n\
- GL: glblur --root \n\
- GL: glsnake --root \n\
- halftone --root \n\
- GL: juggler3d --root \n\
- GL: lavalite --root \n\
- polyominoes --root \n\
- GL: queens --root \n\
- GL: sballs --root \n\
- GL: spheremonics --root \n\
- thornbird --root \n\
- twang --root \n\
- GL: antspotlight --root \n\
apple2 --root \n\
- GL: atunnel --root \n\
- barcode --root \n\
- GL: blinkbox --root \n\
- GL: blocktube --root \n\
- GL: bouncingcow --root \n\
- cloudlife --root \n\
- GL: cubestorm --root \n\
- eruption --root \n\
- GL: flipflop --root \n\
- GL: flyingtoasters --root \n\
- fontglide --root \n\
- GL: gleidescope --root \n\
- GL: glknots --root \n\
- GL: glmatrix --root \n\
- GL: glslideshow --root \n\
- GL: hypertorus --root \n\
- GL: jigglypuff --root \n\
- metaballs --root \n\
- GL: mirrorblob --root \n\
- piecewise --root \n\
- GL: polytopes --root \n\
- pong --root \n\
- popsquares --root \n\
- GL: surfaces --root \n\
- xanalogtv --root \n\
- abstractile --root \n\
- anemotaxis --root \n\
- GL: antinspect --root \n\
- fireworkx --root \n\
- fuzzyflakes --root \n\
- interaggregate --root \n\
- intermomentary --root \n\
- memscroller --root \n\
- GL: noof --root \n\
- pacman --root \n\
- GL: pinion --root \n\
- GL: polyhedra --root \n\
- GL: providence --root \n\
- substrate --root \n\
- wormhole --root \n\
- GL: antmaze --root \n\
- GL: boing --root \n\
- boxfit --root \n\
- GL: carousel --root \n\
- celtic --root \n\
GL: crackberg --root \n\
- GL: cube21 --root \n\
- fiberlamp --root \n\
- GL: fliptext --root \n\
- GL: glhanoi --root \n\
- GL: tangram --root \n\
- GL: timetunnel --root \n\
- GL: glschool --root \n\
- GL: topblock --root \n\
- GL: cubicgrid --root \n\
- cwaves --root \n\
- GL: gears --root \n\
- GL: glcells --root \n\
- GL: lockward --root \n\
- m6502 --root \n\
- GL: moebiusgears --root \n\
- GL: voronoi --root \n\
- GL: hypnowheel --root \n\
- GL: klein --root \n\
- lcdscrub --root \n\
- GL: photopile --root \n\
- GL: skytentacles --root \n\
- GL: rubikblocks --root \n\
- GL: companioncube --root \n\
- GL: hilbert --root \n\
- GL: tronbit --root \n\
- GL: geodesic --root \n\
- hexadrop --root \n\
- GL: kaleidocycle --root \n\
- GL: quasicrystal --root \n\
- GL: unknownpleasures --root \n\
binaryring --root \n\
- GL: cityflow --root \n\
- GL: geodesicgears --root \n\
- GL: projectiveplane --root \n\
- GL: romanboy --root \n\
- tessellimage --root \n\
- GL: winduprobot --root \n\
- GL: splitflap --root \n\
- GL: cubestack --root \n\
- GL: cubetwist --root \n\
- GL: discoball --root \n\
- GL: dymaxionmap --root \n\
- GL: energystream --root \n\
- GL: hexstrut --root \n\
- GL: hydrostat --root \n\
- GL: raverhoop --root \n\
- GL: splodesic --root \n\
- GL: unicrud --root \n\
- GL: esper --root \n\
- GL: vigilance --root \n\
- GL: crumbler --root \n\
- filmleader --root \n\
- glitchpeg --root \n\
- GL: handsy --root \n\
- GL: maze3d --root \n\
- GL: peepers --root \n\
- GL: razzledazzle --root \n\
- vfeedback --root \n\
- GL: deepstars --root \n\
- GL: gravitywell --root \n\
- GL: beats --root \n\
- GL: covid19 --root \n\
- GL: etruscanvenus --root \n\
- GL: gibson --root \n\
- GL: headroom --root \n\
- GL: dnalogo --root \n\
binaryhorizon --root \n\
marbling --root \n\
GL: chompytower --root \n\
- GL: hextrail --root \n\
- GL: mapscroller --root \n\
- GL: nakagin --root \n\
- GL: squirtorus --root \n\
- GL: cubocteversion --root \n\
- droste --root \n\
- GL: papercube --root \n\
- GL: skulloop --root \n\
- maze -root \n\
- GL: sphereeversion -root \n\
- GL: superquadrics -root \n\
- attraction -root \n\
- blitspin -root \n\
- greynetic -root \n\
- helix -root \n\
- hopalong -root \n\
- imsmap -root \n\
- noseguy -root \n\
- pyro -root \n\
- qix -root \n\
- rocks -root \n\
- rorschach -root \n\
- decayscreen -root \n\
- flame -root \n\
- halo -root \n\
slidescreen -root \n\
- pedal -root \n\
- bouboule -root \n\
- braid -root \n\
- coral -root \n\
- deco -root \n\
- drift -root \n\
- fadeplot -root \n\
- galaxy -root \n\
- goop -root \n\
- grav -root \n\
- ifs -root \n\
- unicode -root \n\
- GL: jigsaw -root \n\
- julia -root \n\
- kaleidescope -root \n\
- GL: moebius -root \n\
- moire -root \n\
- GL: morph3d -root \n\
- mountain -root \n\
- munch -root \n\
- penrose -root \n\
- GL: pipes -root \n\
- rd-bomb -root \n\
- GL: rubik -root \n\
- sierpinski -root \n\
- slip -root \n\
- GL: sproingies -root \n\
- starfish -root \n\
- strange -root \n\
- swirl -root \n\
- triangle -root \n\
- xjack -root \n\
xlyap -root \n\
- GL: atlantis -root \n\
- bsod -root \n\
- GL: bubble3d -root \n\
- GL: cage -root \n\
- crystal -root \n\
- cynosure -root \n\
- discrete -root \n\
- distort -root \n\
- epicycle -root \n\
- flow -root \n\
- GL: glplanet -root \n\
- interference -root \n\
- kumppa -root \n\
- GL: lament -root \n\
- moire2 -root \n\
- GL: sonar -root \n\
- GL: stairs -root \n\
- truchet -root \n\
- vidwhacker -root \n\
- blaster -root \n\
- bumps -root \n\
- ccurve -root \n\
- compass -root \n\
- deluxe -root \n\
- demon -root \n\
- GL: extrusion -root \n\
- loop -root \n\
- penetrate -root \n\
- petri -root \n\
- phosphor -root \n\
- GL: pulsar -root \n\
- ripples -root \n\
- shadebobs -root \n\
- GL: sierpinski3d -root \n\
- spotlight -root \n\
- squiral -root \n\
- wander -root \n\
- webcollage -root \n\
- xflame -root \n\
xmatrix -root \n\
- GL: gflux -root \n\
- nerverot -root \n\
- xrayswarm -root \n\
- xspirograph -root \n\
- GL: circuit -root \n\
- GL: dangerball -root \n\
- GL: engine -root \n\
- GL: flipscreen3d -root \n\
- GL: gltext -root \n\
- GL: menger -root \n\
- GL: molecule -root \n\
- rotzoomer -root \n\
scooter -root \n\
- speedmine -root \n\
- GL: starwars -root \n\
- GL: stonerview -root \n\
- vermiculate -root \n\
- whirlwindwarp -root \n\
- zoom -root \n\
- anemone -root \n\
- apollonian -root \n\
- GL: boxed -root \n\
- GL: cubenetic -root \n\
- GL: endgame -root \n\
- euler2d -root \n\
- fluidballs -root \n\
- GL: flurry -root \n\
- GL: glblur -root \n\
- GL: glsnake -root \n\
- halftone -root \n\
- GL: juggler3d -root \n\
- GL: lavalite -root \n\
- polyominoes -root \n\
- GL: queens -root \n\
- GL: sballs -root \n\
- GL: spheremonics -root \n\
- thornbird -root \n\
- twang -root \n\
- GL: antspotlight -root \n\
apple2 -root \n\
- GL: atunnel -root \n\
- barcode -root \n\
- GL: blinkbox -root \n\
- GL: blocktube -root \n\
- GL: bouncingcow -root \n\
- cloudlife -root \n\
- GL: cubestorm -root \n\
- eruption -root \n\
- GL: flipflop -root \n\
- GL: flyingtoasters -root \n\
- fontglide -root \n\
- GL: gleidescope -root \n\
- GL: glknots -root \n\
- GL: glmatrix -root \n\
- GL: glslideshow -root \n\
- GL: hypertorus -root \n\
- GL: jigglypuff -root \n\
- metaballs -root \n\
- GL: mirrorblob -root \n\
- piecewise -root \n\
- GL: polytopes -root \n\
- pong -root \n\
- popsquares -root \n\
- GL: surfaces -root \n\
- xanalogtv -root \n\
- abstractile -root \n\
- anemotaxis -root \n\
- GL: antinspect -root \n\
- fireworkx -root \n\
- fuzzyflakes -root \n\
- interaggregate -root \n\
- intermomentary -root \n\
- memscroller -root \n\
- GL: noof -root \n\
- pacman -root \n\
- GL: pinion -root \n\
- GL: polyhedra -root \n\
- GL: providence -root \n\
- substrate -root \n\
- wormhole -root \n\
- GL: antmaze -root \n\
- GL: boing -root \n\
- boxfit -root \n\
- GL: carousel -root \n\
- celtic -root \n\
GL: crackberg -root \n\
- GL: cube21 -root \n\
- fiberlamp -root \n\
- GL: fliptext -root \n\
- GL: glhanoi -root \n\
- GL: tangram -root \n\
- GL: timetunnel -root \n\
- GL: glschool -root \n\
- GL: topblock -root \n\
- GL: cubicgrid -root \n\
- cwaves -root \n\
- GL: gears -root \n\
- GL: glcells -root \n\
- GL: lockward -root \n\
- m6502 -root \n\
- GL: moebiusgears -root \n\
- GL: voronoi -root \n\
- GL: hypnowheel -root \n\
- GL: klein -root \n\
- lcdscrub -root \n\
- GL: photopile -root \n\
- GL: skytentacles -root \n\
- GL: rubikblocks -root \n\
- GL: companioncube -root \n\
- GL: hilbert -root \n\
- GL: tronbit -root \n\
- GL: geodesic -root \n\
- hexadrop -root \n\
- GL: kaleidocycle -root \n\
- GL: quasicrystal -root \n\
- GL: unknownpleasures -root \n\
binaryring -root \n\
- GL: cityflow -root \n\
- GL: geodesicgears -root \n\
- GL: projectiveplane -root \n\
- GL: romanboy -root \n\
- tessellimage -root \n\
- GL: winduprobot -root \n\
- GL: splitflap -root \n\
- GL: cubestack -root \n\
- GL: cubetwist -root \n\
- GL: discoball -root \n\
- GL: dymaxionmap -root \n\
- GL: energystream -root \n\
- GL: hexstrut -root \n\
- GL: hydrostat -root \n\
- GL: raverhoop -root \n\
- GL: splodesic -root \n\
- GL: unicrud -root \n\
- GL: esper -root \n\
- GL: vigilance -root \n\
- GL: crumbler -root \n\
- filmleader -root \n\
- glitchpeg -root \n\
- GL: handsy -root \n\
- GL: maze3d -root \n\
- GL: peepers -root \n\
- GL: razzledazzle -root \n\
- vfeedback -root \n\
- GL: deepstars -root \n\
- GL: gravitywell -root \n\
- GL: beats -root \n\
- GL: covid19 -root \n\
- GL: etruscanvenus -root \n\
- GL: gibson -root \n\
- GL: headroom -root \n\
- GL: dnalogo -root \n\
binaryhorizon -root \n\
marbling -root \n\
GL: chompytower -root \n\
- GL: hextrail -root \n\
- GL: mapscroller -root \n\
- GL: nakagin -root \n\
- GL: squirtorus -root \n\
- GL: cubocteversion -root \n\
- droste -root \n\
- GL: papercube -root \n\
- GL: skulloop -root \n\
pointerHysteresis: 10
authWarningSlack: 20

View File

@ -128,13 +128,13 @@ git_prompt_string() {
## Plugins section: Enable fish style features
# Use syntax highlighting
source $HOME/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source $HOME/.local/share/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Use history substring search
source $HOME/homebrew/share/zsh-history-substring-search/zsh-history-substring-search.zsh
source $HOME/.local/share/homebrew/share/zsh-history-substring-search/zsh-history-substring-search.zsh
# Use autosuggestion
source $HOME/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source $HOME/.local/share/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh
ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=20
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8'

View File

@ -9,14 +9,15 @@ apt-base:acpi wget curl ca-certificates gnupg lsb-release # Required for setup_s
apt-any:i3 feh i3status nm-tray pasystray xscreensaver xautolock inotify-tools xss-lock fonts-noto-color-emoji fonts-hack-ttf xclip
apt-any:docker-ce docker-ce-cli containerd.io docker-compose-plugin
apt-any:arandr chromium-browser codium dunst flameshot kitty ranger scrot thunar tmux ufw vim zsh
apt-any:libxext-dev libxcb1-dev libxcb-damage0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-render-util0-dev libxcb-render0-dev libxcb-randr0-dev libxcb-composite0-dev libxcb-image0-dev libxcb-present-dev libxcb-xinerama0-dev libxcb-glx0-dev libpixman-1-dev libdbus-1-dev libconfig-dev libgl1-mesa-dev libpcre2-dev libpcre3-dev libevdev-dev uthash-dev libev-dev libx11-xcb-dev meson
apt-any:python3 python3-pip
apt-any:libconfig-dev libdbus-1-dev libegl-dev libev-dev libgl-dev libepoxy-dev libpcre2-dev libpixman-1-dev libx11-xcb-dev libxcb1-dev libxcb-composite0-dev libxcb-damage0-dev libxcb-dpms0-dev libxcb-glx0-dev libxcb-image0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-render-util0-dev libxcb-shape0-dev libxcb-util-dev libxcb-xfixes0-dev libxext-dev meson ninja-build uthash-dev
apt-any:python3 python3-pip python3-venv
apt-any:sddm gstreamer1.0-libav phonon4qt5-backend-gstreamer gstreamer1.0-plugins-good qml-module-qtquick-controls qml-module-qtgraphicaleffects qml-module-qtmultimedia
apt-any:cargo cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3
apt-any:libxcb-render0-dev libffi-dev python3-dev python3-cffi
apt-any:libpam-u2f # For YubiKey
apt-any:borgbackup borgmatic # Backup software
apt-type-hasbattery:brightnessctl
apt-host-5cg41059y2:azure-cli
pip-any:flashfocus
code-any:zhuangtongfa.material-theme PKief.material-icon-theme CoenraadS.bracket-pair-colorizer-2 # Visuals
@ -33,5 +34,6 @@ brew-any:kubectl helm shellcheck velero derailed/k9s/k9s fluxcd/tap/flux # Kuber
brew-any:zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting # ZSH related
brew-any:difftastic glow # Great utilities for the terminal
brew-host-5cg9521pyj:weaveworks/tap/gitops azure/kubelogin/kubelogin azure-cli git-review # Work related
brew-host-5cg41059y2:weaveworks/tap/gitops azure/kubelogin/kubelogin git-review # Work related
krew-any:ctx krew ns slice stern tree

View File

@ -86,7 +86,7 @@ function setup_pip_packages() {
echo "Installing Python packages into virtualenv $python_venv"
! [ -d "$opt_dir" ] && sudo mkdir "$opt_dir"
sudo python -m venv "$python_venv"
sudo python3 -m venv "$python_venv"
# shellcheck disable=SC1091
source "$python_venv/bin/activate"
@ -162,7 +162,7 @@ function install_picom() {
}
function setup_homebrew() {
local dir="$HOME/homebrew"
local dir="${XDG_DATA_HOME:-$HOME/.local/share}/homebrew"
echo "Setting up Homebrew."
@ -312,6 +312,13 @@ function setup_debian_repo_vscodium() {
sudo tee /etc/apt/sources.list.d/vscodium.list
}
function setup_debian_repo_azure() {
echo "Setting up repository for Azure CLI."
add_debian_keyring "https://packages.microsoft.com/keys/microsoft.asc" "microsoft" || return 1
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/azure-cli/ $(lsb_release -cs) main" |
sudo tee /etc/apt/sources.list.d/azure-cli.list
}
function setup_debian_base_with_apt() {
sudo apt-get update
# shellcheck disable=SC2046
@ -332,17 +339,18 @@ function setup_debian_with_git() {
function setup_debian() {
setup_debian_base_with_apt || return 1
setup_debian_repo_vscodium || return 2
setup_debian_repo_docker || return 3
setup_debian_with_apt || return 4
setup_pip_packages || return 5
setup_debian_with_git || return 6
configure_sddm || return 7
configure_ufw || return 8
setup_homebrew || return 9
setup_brew_formulas || return 10
setup_krew || return 11
setup_krew_plugins || return 12
change_shell || return 13
setup_debian_repo_azure || return 3
setup_debian_repo_docker || return 4
setup_debian_with_apt || return 5
setup_pip_packages || return 6
setup_debian_with_git || return 7
configure_sddm || return 8
configure_ufw || return 9
setup_homebrew || return 10
setup_brew_formulas || return 11
setup_krew || return 12
setup_krew_plugins || return 13
change_shell || return 14
}
#