Compare commits
5 Commits
updates
...
18baf1e1a6
| Author | SHA1 | Date | |
|---|---|---|---|
| 18baf1e1a6 | |||
| 8809b1a0b5 | |||
| b2734d8e54 | |||
| 200f9b5a22 | |||
| fdf5dcfe9d |
@@ -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
|
# Source rust things if they exist
|
||||||
if [ -f ~/.cargo/env ]; then
|
if [ -f ~/.cargo/env ]; then
|
||||||
. ~/.cargo/env
|
. ~/.cargo/env
|
||||||
@@ -16,7 +11,7 @@ if [ -f /.dockerenv ]; then
|
|||||||
alias ,init='apt update -y && apt install -y $DOT_PACKAGES'
|
alias ,init='apt update -y && apt install -y $DOT_PACKAGES'
|
||||||
alias ,swap='swapoff -a && swapon -a'
|
alias ,swap='swapoff -a && swapon -a'
|
||||||
else
|
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 ,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'
|
alias ,init='sudo apt update -y && sudo apt install -y $DOT_PACKAGES'
|
||||||
# Clear kscreen cached settings
|
# Clear kscreen cached settings
|
||||||
|
|||||||
@@ -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
1
.gitignore
vendored
@@ -15,6 +15,7 @@
|
|||||||
**/.config/.brightness
|
**/.config/.brightness
|
||||||
.local/share/fonts/.uuid
|
.local/share/fonts/.uuid
|
||||||
|
|
||||||
|
|
||||||
# Byte-compiled / optimized / DLL files
|
# Byte-compiled / optimized / DLL files
|
||||||
*__pycache__/
|
*__pycache__/
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
|
|||||||
27
setup.sh
27
setup.sh
@@ -1,33 +1,12 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -Eeuo pipefail
|
git submodule update --init
|
||||||
|
|
||||||
# $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
|
|
||||||
|
|
||||||
# Use alias for installing packages so we don't maintain several dependency lists.
|
# 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
|
. .bash_aliases
|
||||||
|
,init
|
||||||
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
|
|
||||||
go install github.com/arl/gitmux@latest
|
go install github.com/arl/gitmux@latest
|
||||||
|
|
||||||
# Install bash line editor for auto completion.
|
# Install bash line editor for auto completion.
|
||||||
git clone --recursive --depth 1 --shallow-submodules https://github.com/akinomyoga/ble.sh.git
|
git clone --recursive --depth 1 --shallow-submodules https://github.com/akinomyoga/ble.sh.git
|
||||||
make -C ble.sh install PREFIX=$(pwd)/.local
|
make -C ble.sh install PREFIX=$(pwd)/.local
|
||||||
|
echo 'source -- ~/.local/share/blesh/ble.sh' >> .bash_aliases
|
||||||
rm -rf ble.sh
|
rm -rf ble.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user