some changes to dots
This commit is contained in:
parent
0faed1a871
commit
81084e0b27
@ -7,6 +7,8 @@ all: $(TARGETS)
|
|||||||
TARGETS = \
|
TARGETS = \
|
||||||
$(HOME)/.aliases \
|
$(HOME)/.aliases \
|
||||||
$(HOME)/.config/bspwm/bspwmrc \
|
$(HOME)/.config/bspwm/bspwmrc \
|
||||||
|
$(HOME)/.config/helix/config.toml \
|
||||||
|
$(HOME)/.config/helix/themes/trinity.toml \
|
||||||
$(HOME)/.config/nvim/init.vim \
|
$(HOME)/.config/nvim/init.vim \
|
||||||
$(HOME)/.config/sxhkd/sxhkdrc \
|
$(HOME)/.config/sxhkd/sxhkdrc \
|
||||||
$(HOME)/.config/sxmo/profile \
|
$(HOME)/.config/sxmo/profile \
|
||||||
@ -21,7 +23,7 @@ TARGETS = \
|
|||||||
$(HOME)/.config/youtube-dl/youtube-dl.conf
|
$(HOME)/.config/youtube-dl/youtube-dl.conf
|
||||||
|
|
||||||
$(HOME)/.aliases: sh/aliases
|
$(HOME)/.aliases: sh/aliases
|
||||||
cp sh/aliases $(HOME)/.aliases
|
ln -s sh/aliases $(HOME)/.aliases
|
||||||
|
|
||||||
$(HOME)/.config/bspwm/bspwmrc: bspwm/bspwmrc
|
$(HOME)/.config/bspwm/bspwmrc: bspwm/bspwmrc
|
||||||
mkdir -p $(HOME)/.config/bspwm/
|
mkdir -p $(HOME)/.config/bspwm/
|
||||||
@ -35,9 +37,17 @@ $(HOME)/.config/i3status/config: i3status/config
|
|||||||
mkdir -p $(HOME)/.config/i3status/
|
mkdir -p $(HOME)/.config/i3status/
|
||||||
cp i3status/config $(HOME)/.config/i3status/config
|
cp i3status/config $(HOME)/.config/i3status/config
|
||||||
|
|
||||||
|
$(HOME)/.config/helix/config.toml: helix/config.toml
|
||||||
|
mkdir -p $(HOME)/.config/helix
|
||||||
|
ln -s helix/config.toml $(HOME)/.config/helix/config.toml
|
||||||
|
|
||||||
|
$(HOME)/.config/helix/themes/trinity.toml: helix/trinity.toml
|
||||||
|
mkdir -p $(HOME)/.config/helix/themes
|
||||||
|
ln -s helix/trinity.toml $(HOME)/.config/helix/themes/trinity.toml
|
||||||
|
|
||||||
$(HOME)/.config/nvim/init.vim: nvim/init.vim
|
$(HOME)/.config/nvim/init.vim: nvim/init.vim
|
||||||
mkdir -p $(HOME)/.config/nvim/
|
mkdir -p $(HOME)/.config/nvim/
|
||||||
cp nvim/init.vim $(HOME)/.config/nvim/init.vim
|
ln -s nvim/init.vim $(HOME)/.config/nvim/init.vim
|
||||||
|
|
||||||
$(HOME)/.config/sxhkd/sxhkdrc: sxhkd/sxhkdrc
|
$(HOME)/.config/sxhkd/sxhkdrc: sxhkd/sxhkdrc
|
||||||
mkdir -p $(HOME)/.config/sxhkd/
|
mkdir -p $(HOME)/.config/sxhkd/
|
||||||
@ -52,25 +62,25 @@ $(HOME)/.ctwmrc: ctwm/ctwmrc
|
|||||||
cp ctwm/ctwmrc $(HOME)/.ctwmrc
|
cp ctwm/ctwmrc $(HOME)/.ctwmrc
|
||||||
|
|
||||||
$(HOME)/.env: sh/env
|
$(HOME)/.env: sh/env
|
||||||
cp sh/env $(HOME)/.env
|
ln -s sh/env $(HOME)/.env
|
||||||
|
|
||||||
$(HOME)/.gitconfig: git/gitconfig
|
$(HOME)/.gitconfig: git/gitconfig
|
||||||
cp git/gitconfig $(HOME)/.gitconfig
|
cp git/gitconfig $(HOME)/.gitconfig
|
||||||
|
|
||||||
$(HOME)/.nethackrc: nethack/nethackrc
|
$(HOME)/.nethackrc: nethack/nethackrc
|
||||||
cp nethack/nethackrc $(HOME)/.nethackrc
|
ln -s nethack/nethackrc $(HOME)/.nethackrc
|
||||||
|
|
||||||
$(HOME)/.profile: sh/profile
|
$(HOME)/.profile: sh/profile
|
||||||
cp sh/profile $(HOME)/.profile
|
ln -s sh/profile $(HOME)/.profile
|
||||||
|
|
||||||
$(HOME)/.vimrc: vim/vimrc
|
$(HOME)/.vimrc: vim/vimrc
|
||||||
cp vim/vimrc $(HOME)/.vimrc
|
ln -s vim/vimrc $(HOME)/.vimrc
|
||||||
|
|
||||||
$(HOME)/.xinitrc: xinit/xinitrc
|
$(HOME)/.xinitrc: xinit/xinitrc
|
||||||
cp xinit/xinitrc $(HOME)/.xinitrc
|
ln -s xinit/xinitrc $(HOME)/.xinitrc
|
||||||
|
|
||||||
$(HOME)/.Xresources: X/Xresources
|
$(HOME)/.Xresources: X/Xresources
|
||||||
cp X/Xresources $(HOME)/.Xresources
|
ln -s X/Xresources $(HOME)/.Xresources
|
||||||
|
|
||||||
$(HOME)/.config/youtube-dl/youtube-dl.conf: youtube-dl/youtube-dl.conf
|
$(HOME)/.config/youtube-dl/youtube-dl.conf: youtube-dl/youtube-dl.conf
|
||||||
mkdir -p $(HOME)/.config/youtube-dl
|
mkdir -p $(HOME)/.config/youtube-dl
|
||||||
|
@ -9,12 +9,16 @@
|
|||||||
! unscii font
|
! unscii font
|
||||||
*faceName: unscii:antialias=false
|
*faceName: unscii:antialias=false
|
||||||
*faceSize: 12
|
*faceSize: 12
|
||||||
|
*font: xft:unscii:style=Regular:size=12
|
||||||
|
|
||||||
*cursorColor: FOREGROUND
|
*cursorColor: FOREGROUND
|
||||||
|
*foreground: FOREGROUND
|
||||||
*Foreground: FOREGROUND
|
*Foreground: FOREGROUND
|
||||||
|
*background: BACKGROUND
|
||||||
*Background: BACKGROUND
|
*Background: BACKGROUND
|
||||||
|
|
||||||
! xterm specific stuff
|
urxvt.scrollBar: false
|
||||||
|
|
||||||
xterm*loginshell: true
|
xterm*loginshell: true
|
||||||
xterm*locale: UTF-8
|
xterm*locale: UTF-8
|
||||||
xterm*titleModes: 16
|
xterm*titleModes: 16
|
||||||
|
26
trinitystuff/helix/config.toml
Normal file
26
trinitystuff/helix/config.toml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
theme = "trinity"
|
||||||
|
|
||||||
|
[editor]
|
||||||
|
gutters = [
|
||||||
|
"diagnostics",
|
||||||
|
"spacer",
|
||||||
|
"diff",
|
||||||
|
"line-numbers",
|
||||||
|
"spacer"
|
||||||
|
]
|
||||||
|
mouse = false
|
||||||
|
rulers = [80, 100, 120]
|
||||||
|
scrolloff = 5
|
||||||
|
|
||||||
|
[editor.file-picker]
|
||||||
|
hidden = false
|
||||||
|
|
||||||
|
[editor.statusline]
|
||||||
|
mode.insert = "--- INSERT ---"
|
||||||
|
mode.normal = "--- NORMAL ---"
|
||||||
|
mode.select = "--- VISUAL ---"
|
||||||
|
|
||||||
|
[keys.normal]
|
||||||
|
"$" = "goto_line_end"
|
||||||
|
C-s = ":w"
|
||||||
|
A-x = ":wq"
|
6
trinitystuff/helix/trinity.toml
Normal file
6
trinitystuff/helix/trinity.toml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
inherits = "base16_transparent"
|
||||||
|
|
||||||
|
"comment" = { fg = "white" }
|
||||||
|
"ui.cursor.match" = { modifiers = ["reversed"] }
|
||||||
|
"ui.selection" = { bg = "white", fg = "black" }
|
||||||
|
"ui.virtual.ruler" = { bg = "red", fg = "white" }
|
@ -1,47 +1,22 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# audio drive
|
#alias awk=nawk # not packaged for chimera
|
||||||
#alias audio="sudo mount -L 'AUDIO' /mnt/audio"
|
alias cls=clear
|
||||||
|
alias cp='cp -iv'
|
||||||
alias awk="nawk"
|
|
||||||
alias b="$BROWSER"
|
|
||||||
alias cls="clear"
|
|
||||||
alias cp="cp -iv"
|
|
||||||
alias doas="$SUDO"
|
alias doas="$SUDO"
|
||||||
alias dots="\
|
|
||||||
cp -f ~/src/trinitystuff/sxhkd/sxhkdrc ~/.config/sxhkd/sxhkdrc && \
|
|
||||||
pkill -USR1 -x sxhkd && \
|
|
||||||
cp -f ~/src/trinitystuff/bspwm/bspwmrc ~/.config/bspwm/bspwmrc"
|
|
||||||
alias e="$EDITOR"
|
alias e="$EDITOR"
|
||||||
alias ipconfig="ifconfig"
|
alias ls='lsd -1A --long --icon never'
|
||||||
#alias ls="9 ls"
|
# shim for NetBSD X200 Tablet, Raspberry Pi 4B+
|
||||||
#alias ls="ls -1A"
|
alias mpv='LIBGL_ALWAYS_SOFTWARE=1 mpv --vo=x11'
|
||||||
alias ls="lsd -1A --icon-theme unicode --long"
|
|
||||||
alias mpv="LIBGL_ALWAYS_SOFTWARE=1 mpv --vo=x11"
|
|
||||||
alias mullvad="curl https://am.i.mullvad.net/connected"
|
alias mullvad="curl https://am.i.mullvad.net/connected"
|
||||||
alias mv="mv -iv"
|
alias mv='mv -iv'
|
||||||
alias p="ping 1.1.1.1"
|
alias p='ping 1.1.1.1'
|
||||||
|
alias sensors='watch sensors'
|
||||||
# media hard drive
|
|
||||||
alias partone="sudo mount -L 'PARTONE' /mnt/partone"
|
|
||||||
alias prat="$HOME/src/packrat/prat"
|
|
||||||
|
|
||||||
pyenv() {
|
|
||||||
eq $# 0 \
|
|
||||||
&& . ./bin/activate \
|
|
||||||
|| . $1/bin/activate
|
|
||||||
}
|
|
||||||
|
|
||||||
alias sensors="watch sensors"
|
|
||||||
alias sudo="$SUDO"
|
alias sudo="$SUDO"
|
||||||
alias try="PREFIX=/home/trinity/src/trilsd/ /home/trinity/src/trilsd/dist/try"
|
alias units='units --history /dev/null'
|
||||||
alias units="units --history /dev/null"
|
|
||||||
alias v="$VISUAL"
|
alias v="$VISUAL"
|
||||||
alias weather="curl wttr.in/lewiston+maine?m"
|
# BEWARE -- injectable
|
||||||
|
# (though unauthorized $EDITOR $VISUAL modification is a problem on its own)
|
||||||
webm() {
|
alias vidir="doas env EDITOR='$EDITOR' VISUAL='$VISUAL' vidir"
|
||||||
ffmpeg -i $1 -c:v libvpx -b:v 1M -c:a libvorbis "$(printf "%b" "$1" | awk -F '.' '{print $1}')".webm
|
alias youtube-dl=yt-dlp
|
||||||
}
|
alias yay=paru
|
||||||
|
|
||||||
alias y=youtube-dl
|
|
||||||
alias yay="paru"
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
BROWSER=firefox; export BROWSER
|
BROWSER=netsurf-gtk; export BROWSER
|
||||||
test -f /usr/lib/plan9 && PLAN9=/usr/lib/plan9
|
test -f /usr/lib/plan9 && PLAN9=/usr/lib/plan9
|
||||||
test -f /usr/local/plan9 && PLAN9=/usr/local/plan9
|
test -f /usr/local/plan9 && PLAN9=/usr/local/plan9
|
||||||
export PLAN9
|
export PLAN9
|
||||||
@ -16,14 +16,21 @@ PATH="\
|
|||||||
/usr/pkg/qt5/bin:\
|
/usr/pkg/qt5/bin:\
|
||||||
/usr/X11R7/bin:\
|
/usr/X11R7/bin:\
|
||||||
$HOME/bin/:\
|
$HOME/bin/:\
|
||||||
|
$HOME/.local/bin:\
|
||||||
$HOME/src/dist:\
|
$HOME/src/dist:\
|
||||||
$PLAN9/bin:\
|
$PLAN9/bin:\
|
||||||
$PATH"; export PATH
|
$PATH"; export PATH
|
||||||
PAGER="less"; export PAGER
|
PAGER=less; export PAGER
|
||||||
TERMINAL=urxvt; export TERMINAL
|
TERMINAL=urxvt; export TERMINAL
|
||||||
UNITS_SYSTEM=si; export UNITS_SYSTEM
|
UNITS_SYSTEM=si; export UNITS_SYSTEM
|
||||||
VISUAL=vi; export VISUAL
|
if command -v hx >/dev/null
|
||||||
|
then VISUAL=hx
|
||||||
|
elif command -v vi >/dev/null
|
||||||
|
then VISUAL=vi
|
||||||
|
fi
|
||||||
|
export VISUAL
|
||||||
WALLPAPER="$HOME/Pictures/Wallpapers/ghibli_wars.jpg"; export WALLPAPER
|
WALLPAPER="$HOME/Pictures/Wallpapers/ghibli_wars.jpg"; export WALLPAPER
|
||||||
|
XDG_RUNTIME_DIR="/tmp/$(id -u)-runtime-dir"; export XDG_RUNTIME_DIR
|
||||||
|
|
||||||
# lowest to highest priority
|
# lowest to highest priority
|
||||||
command -v sudo >/dev/null 2>&1 && SUDO="sudo" && export SUDO
|
command -v sudo >/dev/null 2>&1 && SUDO="sudo" && export SUDO
|
||||||
|
@ -26,14 +26,14 @@ mod1 + {_,shift +}{1-4}
|
|||||||
alt + {_,shift +}{1-4}
|
alt + {_,shift +}{1-4}
|
||||||
bspc {desktop -f,node -d} '^{1-4}' --follow
|
bspc {desktop -f,node -d} '^{1-4}' --follow
|
||||||
|
|
||||||
mod1 + equal
|
#mod1 + equal
|
||||||
light -A 5
|
# light -A 5
|
||||||
mod1 + shift + equal
|
#mod1 + shift + equal
|
||||||
light -A 1
|
# light -A 1
|
||||||
mod1 + minus
|
#mod1 + minus
|
||||||
light -U 5
|
# light -U 5
|
||||||
mod1 + shift + minus
|
#mod1 + shift + minus
|
||||||
light -U 1
|
# light -U 1
|
||||||
|
|
||||||
super + shift + q
|
super + shift + q
|
||||||
bspc quit
|
bspc quit
|
||||||
@ -51,6 +51,8 @@ super + shift + r
|
|||||||
alt + t
|
alt + t
|
||||||
urxvt
|
urxvt
|
||||||
|
|
||||||
|
alt + s
|
||||||
|
scrot
|
||||||
alt + d
|
alt + d
|
||||||
rofi -show drun
|
rofi -show drun
|
||||||
mod1 + d
|
mod1 + d
|
||||||
|
Loading…
Reference in New Issue
Block a user