This commit is contained in:
Adam 2023-02-05 21:42:24 -05:00
parent 47dfd71360
commit 8194b7ac02
4 changed files with 44 additions and 126 deletions

View file

@ -1,118 +0,0 @@
#!/bin/zsh
export PATH="$PATH:$(du "$HOME/.local/bin" | cut -f2 | paste -sd ':' -)"
unsetopt PROMPT_SP
# Default programs:
export EDITOR="nvim"
export TERMINAL="kitty"
export BROWSER="firefox-developer-edition"
# Move config files out of home and into .config/
export XINITRC="${XDG_CONFIG_HOME:-$HOME/.config}/x11/xinitrc"
export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0"
export LESSHISTFILE="-"
export INPUTRC="${XDG_CONFIG_HOME:-$HOME/.config}/shell/inputrc"
export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh"
export KODI_DATA="${XDG_DATA_HOME:-$HOME/.local/share}/kodi"
export PASSWORD_STORE_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/password-store"
export TMUX_TMPDIR="$XDG_RUNTIME_DIR"
export ANDROID_SDK_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/android"
export CARGO_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/cargo"
export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go"
export HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/history"
# Other program settings:
export FZF_DEFAULT_OPTS="--layout=reverse --height 40%"
export LESS=-R
export LESS_TERMCAP_mb="$(printf '%b' '')"
export LESS_TERMCAP_md="$(printf '%b' '')"
export LESS_TERMCAP_me="$(printf '%b' '')"
export LESS_TERMCAP_so="$(printf '%b' '')"
export LESS_TERMCAP_se="$(printf '%b' '')"
export LESS_TERMCAP_us="$(printf '%b' '')"
export LESS_TERMCAP_ue="$(printf '%b' '')"
export LESSOPEN="| /usr/bin/highlight -O ansi %s 2>/dev/null"
export QT_QPA_PLATFORMTHEME="gtk2" # Have QT use gtk2 theme.
# This is the list for lf icons:
export LF_ICONS="di=📁:\
fi=📃:\
tw=🤝:\
ow=📂:\
ln=⛓:\
or=❌:\
ex=🎯:\
*.txt=✍:\
*.mom=✍:\
*.me=✍:\
*.ms=✍:\
*.png=🖼:\
*.webp=🖼:\
*.ico=🖼:\
*.jpg=📸:\
*.jpe=📸:\
*.jpeg=📸:\
*.gif=🖼:\
*.svg=🗺:\
*.tif=🖼:\
*.tiff=🖼:\
*.xcf=🖌:\
*.html=🌎:\
*.xml=📰:\
*.gpg=🔒:\
*.css=🎨:\
*.pdf=📚:\
*.djvu=📚:\
*.epub=📚:\
*.csv=📓:\
*.xlsx=📓:\
*.tex=📜:\
*.md=📘:\
*.r=📊:\
*.R=📊:\
*.rmd=📊:\
*.Rmd=📊:\
*.m=📊:\
*.mp3=🎵:\
*.opus=🎵:\
*.ogg=🎵:\
*.m4a=🎵:\
*.flac=🎼:\
*.wav=🎼:\
*.mkv=🎥:\
*.mp4=🎥:\
*.webm=🎥:\
*.mpeg=🎥:\
*.avi=🎥:\
*.mov=🎥:\
*.mpg=🎥:\
*.wmv=🎥:\
*.m4b=🎥:\
*.flv=🎥:\
*.zip=📦:\
*.rar=📦:\
*.7z=📦:\
*.tar.gz=📦:\
*.z64=🎮:\
*.v64=🎮:\
*.n64=🎮:\
*.gba=🎮:\
*.nes=🎮:\
*.gdi=🎮:\
*.1=:\
*.nfo=:\
*.info=:\
*.log=📙:\
*.iso=📀:\
*.img=📀:\
*.bib=🎓:\
*.ged=👪:\
*.part=💔:\
*.torrent=🔽:\
*.jar=♨:\
*.java=♨:\
"
[ ! -f ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc ] && shortcuts >/dev/null 2>&1 &

View file

@ -1 +0,0 @@
set -g mouse on

1
.gitignore vendored
View file

@ -1 +0,0 @@
*

View file

@ -2,7 +2,7 @@
The idea is a one liner to have a quick workbench, like flipping a door on its side for a quick desk.
It's a bootstrap script for my personal desktop environment that is:
I'm writing speedrun install scripts for my personal desktop environment that is:
1. Reliable
1. Fast
@ -10,29 +10,67 @@ It's a bootstrap script for my personal desktop environment that is:
1. Simple (see above)
1. Decent looking
I try to use the terminal as much as possible for performance and also so it's the same experience whether
you're at the computer or connected via ssh.
Use as much or as little as you need.
## Features
### Shell/Base
- [Yay](https://github.com/Jguer/yay) - Package manager with AUR support (Arch only)
- [rsync](https://rsync.samba.org/) - For my 'push' alias
- [sl](https://github.com/eyJhb/sl) - For when you're too fast
- [btop](https://github.com/aristocratos/btop) - Top++
- [neovim](https://github.com/neovim/neovim) - Blazingly fast editor
- [byobu](https://www.byobu.org/) - Comfy multiplexer
- [zsh](https://github.com/ohmyzsh/ohmyzsh) - Community enhancements for zsh. Easier than DIY
- [nnn](https://github.com/jarun/nnn) - Blazingly fast file manager
### Graphical environment
Business:
- [AwesomeWM](https://awesomewm.org/) - Fast and light Tiling WM configured with lua
- [kitty](https://github.com/kovidgoyal/kitty) - Fast terminal with GPU acceleration and image support
- [redshift](https://github.com/jonls/redshift) - Easier on the eyes at night
- [picom](https://github.com/yshui/picom) - Compositing
- [unclutter](https://github.com/Airblader/unclutter-xfixes) - Hide mouse cursor after inactivity
- [xclip](https://github.com/astrand/xclip) - Make clipboard work between terminal and gui
- [playerctl](https://github.com/altdesktop/playerctl) - Handle media keys
- [acpi](https://archlinux.org/packages/community/x86_64/acpi/) - Power/thermal stuff, standby, etc. You want this for a desktop
Eye Candy:
- [nitrogen](https://github.com/l3ib/nitrogen/) - I use it in my wal script to set wallpaper spanning across multiple screens
- [pywal](https://github.com/dylanaraps/pywal) - Set whole system color scheme from wallpaper colors
- [pywal-discord](https://github.com/FilipLitwora/pywal-discord) - See above
- [wal-telegram](https://github.com/guillaumeboehm/wal-telegram) - See above
- [Pywalfox](https://github.com/Frewacom/pywalfox) - See above
## Install
You should have an [Arch](https://archlinux.org) system, you can run this immediately after a minimal `archinstall` setup:
If you want recommendations for archinstall I'll say:
If you want recommendations for [archinstall](https://wiki.archlinux.org/title/Archinstall) I'll say:
- [Btrfs](https://wiki.archlinux.org/title/Btrfs)
- I personally dislike [Swap](https://wiki.archlinux.org/title/Swap) (don't run out of ram if you don't have swap)
- [PipeWire](https://wiki.archlinux.org/title/PipeWire)
- [linux-zen](https://wiki.archlinux.org/title/Kernel)
- [NetworkManager](https://wiki.archlinux.org/title/NetworkManager)
- Whatever else you want
Shell install also works on Ubuntu Server 22.04 so it should work on any buntu or Mint, Pop, etc. and maybe Debian too but packer is broken for some reason at least on minimum install
Shell install also works on Ubuntu Server 22.04 so it should work on any buntu or Mint, Pop, etc. and maybe Debian too but
packer is broken for some reason at least on minimum (Ubuntu Server 22.04) install
### Quick shell(start here):
### Quick shell (start here):
As your new user in your new user's home directory run: (will overwrite some user files)
1. ```curl -s https://doordesk.net/setup | bash```
1. ```curl https://doordesk.net/setup | bash```
2. Log out and log back in
Minimum install is the default, if you want a graphical environment run: (Arch only)
### Graphical environment
If you want a graphical environment run: (Arch only)
`.scripts/doors/.installdeps_full_arch`