Compare commits
10 Commits
18baf1e1a6
...
updates
| Author | SHA1 | Date | |
|---|---|---|---|
| 5784d733d6 | |||
| 5d6db8b9be | |||
| 3c04a3a24a | |||
| 060dd0b44f | |||
| 72f807aaf0 | |||
| 6d59e72866 | |||
| 90f24b1edd | |||
| 4b41cbe467 | |||
| bb77a3a032 | |||
| 6b6e88dcbb |
@@ -1,3 +1,8 @@
|
|||||||
|
# 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
|
||||||
@@ -11,7 +16,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'
|
export DOT_PACKAGES='git stow vim vim-gtk3 xsel xclip tmux ranger clang yakuake wget curl golang-go gawk'
|
||||||
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
|
||||||
|
|||||||
52
.config/yakuakerc
Normal file
52
.config/yakuakerc
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
[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,7 +15,6 @@
|
|||||||
**/.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,12 +1,33 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
git submodule update --init
|
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
|
||||||
|
|
||||||
# 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