5 Commits

Author SHA1 Message Date
18baf1e1a6 Revert "Add bash line editor."
This reverts commit 10251dd1cb.
2026-02-14 21:52:37 -05:00
8809b1a0b5 Reapply "Add blerc."
This reverts commit b2734d8e54.
2026-02-14 21:52:29 -05:00
b2734d8e54 Revert "Add blerc."
This reverts commit fdf5dcfe9d.
2026-02-14 21:49:07 -05:00
200f9b5a22 Install ble.sh in setup script. 2026-02-14 21:48:25 -05:00
fdf5dcfe9d Add blerc. 2026-02-14 17:22:53 -05:00
4 changed files with 5 additions and 82 deletions

View File

@@ -1,8 +1,3 @@
# Source ble.sh if installed.
if [ -f ~/.local/share/blesh/ble.sh ]; then
source -- ~/.local/share/blesh/ble.sh
fi
# Source rust things if they exist
if [ -f ~/.cargo/env ]; then
. ~/.cargo/env
@@ -16,7 +11,7 @@ if [ -f /.dockerenv ]; then
alias ,init='apt update -y && apt install -y $DOT_PACKAGES'
alias ,swap='swapoff -a && swapon -a'
else
export DOT_PACKAGES='git stow vim vim-gtk3 xsel xclip tmux ranger clang yakuake wget curl golang-go gawk'
export DOT_PACKAGES='git stow vim vim-gtk3 xsel xclip tmux ranger clang yakuake wget curl golang-go'
alias ,update='sudo apt update -y && sudo apt upgrade -y && sudo apt upgrade --fix-broken --fix-missing --auto-remove'
alias ,init='sudo apt update -y && sudo apt install -y $DOT_PACKAGES'
# Clear kscreen cached settings

View File

@@ -1,52 +0,0 @@
[Animation]
AutoOpen=false
Frames=17
PollInterval=500
UseVMAssist=true
[Appearance]
BackgroundColor=#000000
BackgroundColorOpacity=0.4
Blur=false
KeyboardInputBlockIndicatorColor=#FF0000
KeyboardInputBlockIndicatorDuration=250
Skin=default
SkinInstallWithKns=false
TerminalHighlightDuration=250
Translucency=false
[Behavior]
FocusFollowMouse=false
OpenAfterStart=false
RememberFullscreen=false
[Desktop Entry]
DefaultProfile=
[Dialogs]
ConfirmQuit=true
FirstRun=false
[Favorite Profiles]
Favorites=
[KFileDialog Settings]
detailViewIconSize=0
[PrintOptions]
PrinterFriendly=true
ScaleOutput=true
[Window]
DynamicTabTitles=false
Height=60
KeepAbove=true
KeepOpen=true
KeepOpenAfterLastSessionCloses=false
Position=50
Screen=0
ShowOnAllDesktops=true
ShowSystrayIcon=true
ShowTabBar=true
ShowTitleBar=true
ToggleToFocus=false

1
.gitignore vendored
View File

@@ -15,6 +15,7 @@
**/.config/.brightness
.local/share/fonts/.uuid
# Byte-compiled / optimized / DLL files
*__pycache__/
*.py[cod]

View File

@@ -1,33 +1,12 @@
#!/usr/bin/env bash
set -Eeuo pipefail
# $1: Error message
# $2: Error code
function fatal() {
local msg=${1:-"Unspecified error"}
echo "[Error:$LINENO] Could not install dotfiles: $msg"
exit ${2:-1}
}
trap 'fatal "Trapped an unknown error" $?' ERR
if ! git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
fatal "Run setup.sh from the root directory of the dotfiles repository." 2
fi
git submodule update --init --recursive
git submodule update --init
# Use alias for installing packages so we don't maintain several dependency lists.
if ! [[ -f .bash_aliases ]]; then
fatal "Failed to locate .bash_aliases in path: $(pwd)" 3
fi
. .bash_aliases
if [[ -z ${DOT_PACKAGES:-} ]]; then
fatal "DOT_PACKAGES variable not found after sourcing $(pwd)/.bash_aliases" 4
fi
sudo apt update -y && sudo apt install -y $DOT_PACKAGES
,init
go install github.com/arl/gitmux@latest
# Install bash line editor for auto completion.
git clone --recursive --depth 1 --shallow-submodules https://github.com/akinomyoga/ble.sh.git
make -C ble.sh install PREFIX=$(pwd)/.local
echo 'source -- ~/.local/share/blesh/ble.sh' >> .bash_aliases
rm -rf ble.sh