Compare commits
4 Commits
45aeff98d0
...
da19218b33
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da19218b33 | ||
|
|
19ced517f3 | ||
|
|
e0c651da62 | ||
|
|
898ee818e8 |
16
README.md
16
README.md
@@ -5,7 +5,7 @@ Clone this repo:
|
|||||||
$ git clone --recurse-submodules https://git.sr.ht/~jswank/dotfiles
|
$ git clone --recurse-submodules https://git.sr.ht/~jswank/dotfiles
|
||||||
```
|
```
|
||||||
|
|
||||||
But since you forgot to grab the submodules, get them now:
|
But since you cloned the repo and forgot to grab the submodules, get them now:
|
||||||
```
|
```
|
||||||
$ git submodule update --init --recursive
|
$ git submodule update --init --recursive
|
||||||
```
|
```
|
||||||
@@ -15,18 +15,18 @@ Install my dotfiles:
|
|||||||
$ ./install.sh
|
$ ./install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
This will install most common dotfiles: if you want to install a set, provide
|
This will install dotfiles for commonly used apps: if you want to install for
|
||||||
that as an argument:
|
an app not included, provide that as an argument:
|
||||||
```console
|
```console
|
||||||
$ ./install.sh i3 # installed i3 dotfiles
|
$ ./install.sh i3 # installed i3 dotfiles
|
||||||
```
|
```
|
||||||
|
|
||||||
There are two potential gotchas:
|
There are two potential gotchas:
|
||||||
|
|
||||||
1. `stow` is not installed on the system. There is a bash equivalent that is
|
1. There are submodules in this repo (mostly vim/neovim plugins) which didn't
|
||||||
close enough for most purposes in this repo that the install script will
|
get populated when you cloned the repo. See above.
|
||||||
use.
|
|
||||||
|
2. `stow` is not installed on the system. There is a bash equivalent that is
|
||||||
|
close enough in this repo that the install script will automatically use.
|
||||||
|
|
||||||
2. There submodules in this repo (mostly neovim plugins) and they didn't get
|
|
||||||
populated when you cloned the repo. See above.
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,5 @@
|
|||||||
[main]
|
[main]
|
||||||
font=droid Sans Mono:size=13
|
font=droid Sans Mono:size=13
|
||||||
|
include=/usr/share/foot/themes/solarized
|
||||||
|
#include=/usr/share/foot/themes/selenized
|
||||||
|
#include=/usr/share/foot/themes/jetbrains-darcula
|
||||||
|
|||||||
@@ -39,14 +39,20 @@ font Droid Sans Mono Bold 10
|
|||||||
#
|
#
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
|
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||||
|
# your displays after another 300 seconds, and turn your screens back on when
|
||||||
|
# resumed. It will also lock your screen before your computer goes to sleep.
|
||||||
|
#
|
||||||
#exec swayidle -w \
|
#exec swayidle -w \
|
||||||
# timeout 300 'swaylock -f -c 000000' \
|
# timeout 300 'swaylock -f -c 000000' \
|
||||||
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||||
# before-sleep 'swaylock -f -c 000000'
|
# before-sleep 'swaylock -f -c 000000'
|
||||||
|
|
||||||
|
exec swayidle -w \
|
||||||
|
timeout 300 'swaymsg "output * power off"' resume 'swaymsg "output * power on"'
|
||||||
|
|
||||||
|
# exec dbus-update-activation-environment WAYLAND_DISPLAY DISPLAY XDG_CURRENT_DESKTOP=sway SWAYSOCK I3SOCK
|
||||||
#
|
#
|
||||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
|
||||||
# your displays after another 300 seconds, and turn your screens back on when
|
|
||||||
# resumed. It will also lock your screen before your computer goes to sleep.
|
|
||||||
|
|
||||||
### Input configuration
|
### Input configuration
|
||||||
#
|
#
|
||||||
|
|||||||
2
zsh/.local/share/.gitignore
vendored
Normal file
2
zsh/.local/share/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# ignore all files in the stew directory
|
||||||
|
stew/*
|
||||||
12
zsh/.zshrc
12
zsh/.zshrc
@@ -83,16 +83,12 @@ fi
|
|||||||
whence -p direnv &>/dev/null && eval "$(direnv hook zsh)"
|
whence -p direnv &>/dev/null && eval "$(direnv hook zsh)"
|
||||||
|
|
||||||
# secrets
|
# secrets
|
||||||
if [ -r $HOME/.env_secrets ]; then
|
if [ -r "$HOME/.env_secrets" ]; then
|
||||||
export $(xargs < "$HOME/.env_secrets")
|
set -a
|
||||||
|
source "$HOME/.env_secrets"
|
||||||
|
set +a
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# for env in $HOME/.config/*/.env; do
|
|
||||||
# if [ -r "$env" ]; then
|
|
||||||
# export $(xargs < "$env")
|
|
||||||
# fi
|
|
||||||
# done
|
|
||||||
|
|
||||||
# command line completion
|
# command line completion
|
||||||
autoload -U +X bashcompinit && bashcompinit
|
autoload -U +X bashcompinit && bashcompinit
|
||||||
autoload -Uz compinit && compinit
|
autoload -Uz compinit && compinit
|
||||||
|
|||||||
Reference in New Issue
Block a user