Compare commits

..

4 Commits

Author SHA1 Message Date
Jason Swank
da19218b33 zsh: ignore files, improve secrets mgmt 2026-01-04 22:35:40 -05:00
Jason Swank
19ced517f3 foot: use solarized theme 2026-01-04 22:31:07 -05:00
Jason Swank
e0c651da62 docs: update README 2026-01-04 22:30:29 -05:00
Jason Swank
898ee818e8 sway: poweroff monitor 2026-01-04 22:29:44 -05:00
5 changed files with 28 additions and 21 deletions

View File

@@ -5,7 +5,7 @@ Clone this repo:
$ 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
```
@@ -15,18 +15,18 @@ Install my dotfiles:
$ ./install.sh
```
This will install most common dotfiles: if you want to install a set, provide
that as an argument:
This will install dotfiles for commonly used apps: if you want to install for
an app not included, provide that as an argument:
```console
$ ./install.sh i3 # installed i3 dotfiles
```
There are two potential gotchas:
1. `stow` is not installed on the system. There is a bash equivalent that is
close enough for most purposes in this repo that the install script will
use.
1. There are submodules in this repo (mostly vim/neovim plugins) which didn't
get populated when you cloned the repo. See above.
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.

View File

@@ -1,2 +1,5 @@
[main]
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

View File

@@ -39,14 +39,20 @@ font Droid Sans Mono Bold 10
#
# Example configuration:
#
# exec swayidle -w \
# timeout 300 'swaylock -f -c 000000' \
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
# before-sleep 'swaylock -f -c 000000'
#
# 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 \
# timeout 300 'swaylock -f -c 000000' \
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
# 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
#
### Input configuration
#

2
zsh/.local/share/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
# ignore all files in the stew directory
stew/*

View File

@@ -83,16 +83,12 @@ fi
whence -p direnv &>/dev/null && eval "$(direnv hook zsh)"
# secrets
if [ -r $HOME/.env_secrets ]; then
export $(xargs < "$HOME/.env_secrets")
if [ -r "$HOME/.env_secrets" ]; then
set -a
source "$HOME/.env_secrets"
set +a
fi
# for env in $HOME/.config/*/.env; do
# if [ -r "$env" ]; then
# export $(xargs < "$env")
# fi
# done
# command line completion
autoload -U +X bashcompinit && bashcompinit
autoload -Uz compinit && compinit