moving to bspwm, using ed, etc
This commit is contained in:
parent
65d47523e1
commit
0d261bd1bd
@ -1,19 +1,27 @@
|
|||||||
|
#define AMBER #FFBD00
|
||||||
|
#define BLACK #000000
|
||||||
|
#define PINK #FFDBDB
|
||||||
|
#define WHITE #FFFFFF
|
||||||
|
|
||||||
|
#define FOREGROUND BLACK
|
||||||
|
#define BACKGROUND WHITE
|
||||||
|
|
||||||
! unscii font
|
! unscii font
|
||||||
*faceName: unscii:antialias=false
|
*faceName: unscii:antialias=false
|
||||||
*faceSize: 12
|
*faceSize: 12
|
||||||
|
|
||||||
*Background: #000000
|
*cursorColor: FOREGROUND
|
||||||
|
*Foreground: FOREGROUND
|
||||||
|
*Background: BACKGROUND
|
||||||
|
|
||||||
! amber
|
! xterm specific stuff
|
||||||
!*Foreground: #FFBF00
|
xterm*loginshell: true
|
||||||
!*cursorColor: #FFBF00
|
xterm*locale: UTF-8
|
||||||
|
xterm*titleModes: 16
|
||||||
! pink
|
xterm*metaSendsEscape: true
|
||||||
*Foreground: #FFDBDB
|
xterm*utf8: 1
|
||||||
*cursorColor: #FFDBDB
|
xterm*utf8Fonts: 1
|
||||||
|
xterm*utf8Title: true
|
||||||
! black on white (first uncomment white's stuff)
|
|
||||||
!*reverseVideo: true
|
|
||||||
|
|
||||||
! I used to use these but they make it really hard to see default Lynx.
|
! I used to use these but they make it really hard to see default Lynx.
|
||||||
|
|
||||||
@ -71,14 +79,3 @@
|
|||||||
!*.color7: #808080
|
!*.color7: #808080
|
||||||
!*.color15: #C0C0C0
|
!*.color15: #C0C0C0
|
||||||
! =====================================
|
! =====================================
|
||||||
|
|
||||||
! xterm specific stuff
|
|
||||||
|
|
||||||
xterm*font: -*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
|
||||||
xterm*loginshell: true
|
|
||||||
xterm*locale: UTF-8
|
|
||||||
xterm*titleModes: 16
|
|
||||||
xterm*metaSendsEscape: true
|
|
||||||
xterm*utf8: 1
|
|
||||||
xterm*utf8Fonts: 1
|
|
||||||
xterm*utf8Title: true
|
|
||||||
|
@ -4,11 +4,11 @@
|
|||||||
alias audio="sudo mount -L 'AUDIO' /mnt/audio"
|
alias audio="sudo mount -L 'AUDIO' /mnt/audio"
|
||||||
|
|
||||||
alias awk="nawk"
|
alias awk="nawk"
|
||||||
alias cat="9 cat"
|
|
||||||
alias cls="clear"
|
alias cls="clear"
|
||||||
alias cp="cp -iv"
|
alias cp="cp -iv"
|
||||||
alias ipconfig="ifconfig"
|
alias ipconfig="ifconfig"
|
||||||
alias ls="9 ls"
|
alias ls="9 ls"
|
||||||
|
alias man="/home/trinity/src/utilities/bin/man"
|
||||||
|
|
||||||
# other volumes
|
# other volumes
|
||||||
mnt() {
|
mnt() {
|
||||||
@ -21,6 +21,7 @@ alias p="ping 1.1.1.1"
|
|||||||
|
|
||||||
# media hard drive
|
# media hard drive
|
||||||
alias partone="sudo mount -L 'PARTONE' /mnt/partone"
|
alias partone="sudo mount -L 'PARTONE' /mnt/partone"
|
||||||
|
alias prat="$HOME/src/packrat/prat"
|
||||||
|
|
||||||
pyenv() {
|
pyenv() {
|
||||||
eq $# 0 \
|
eq $# 0 \
|
||||||
@ -36,9 +37,10 @@ alias tabon="xsetwacom set 'Wacom Intuos2 6x8 Pen stylus' MapToOutput VGA-1"
|
|||||||
|
|
||||||
alias tracert="tracepath"
|
alias tracert="tracepath"
|
||||||
alias units="units --history /dev/null"
|
alias units="units --history /dev/null"
|
||||||
alias vi="vim"
|
|
||||||
alias weather="curl wttr.in/lewiston+maine?m"
|
alias weather="curl wttr.in/lewiston+maine?m"
|
||||||
|
|
||||||
webm() {
|
webm() {
|
||||||
ffmpeg -i $1 -c:v libvpx -b:v 1M -c:a libvorbis "$(printf "$1" | awk -F '.' '{print $1}')".webm
|
ffmpeg -i $1 -c:v libvpx -b:v 1M -c:a libvorbis "$(printf "$1" | awk -F '.' '{print $1}')".webm
|
||||||
}
|
}
|
||||||
|
|
||||||
|
alias yay="paru"
|
||||||
|
5
dotfiles-old/.config/bspwm/bspwmrc
Executable file
5
dotfiles-old/.config/bspwm/bspwmrc
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
bspc config window_gap 0
|
||||||
|
bspc monitor -d 1 2 3 4 5 6 7 8 9 10
|
||||||
|
pgrep -x sxhkd >/dev/null || sxhkd &
|
||||||
|
polybar bar &
|
@ -1,7 +1,5 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
control + shift + Escape
|
control + shift + Escape
|
||||||
uxterm -e htop
|
$TERMINAL -e htop
|
||||||
|
|
||||||
mod1 + d
|
mod1 + d
|
||||||
dmenu_run
|
dmenu_run
|
||||||
@ -16,38 +14,15 @@ mod1 + minus
|
|||||||
mod1 + shift + minus
|
mod1 + shift + minus
|
||||||
light -U 1
|
light -U 1
|
||||||
|
|
||||||
mod1 + F4
|
|
||||||
i3-msg kill
|
|
||||||
|
|
||||||
mod1 + {h,j,k,l}
|
|
||||||
i3-msg focus {left,down,up,right}
|
|
||||||
|
|
||||||
mod1 + f
|
|
||||||
i3-msg fullscreen toggle
|
|
||||||
mod1 + F11
|
|
||||||
i3-msg fullscreen toggle
|
|
||||||
|
|
||||||
mod1 + {s,w}
|
|
||||||
i3-msg layout {stacking,tabbed}
|
|
||||||
mod1 + e
|
|
||||||
i3-msg layout toggle split
|
|
||||||
|
|
||||||
mod1 + space
|
|
||||||
i3-msg focus mode_toggle
|
|
||||||
|
|
||||||
mod1 + shift + space
|
|
||||||
i3-msg floating toggle
|
|
||||||
|
|
||||||
mod1 + shift + {h,j,k,l}
|
|
||||||
i3-msg move {left,down,up,right}
|
|
||||||
|
|
||||||
mod1 + shift + e
|
|
||||||
[ "Yes." = $(printf "No.\nYes." | dmenu -p "You pressed the exit shortcut. Do you really want to exit? This will end your X session.") ] && i3-msg exit
|
|
||||||
|
|
||||||
mod1 + m
|
mod1 + m
|
||||||
pactl -- set-sink-mute @DEFAULT_SINK@ toggle
|
pactl -- set-sink-mute @DEFAULT_SINK@ toggle
|
||||||
mod1 + shift + m
|
mod1 + shift + m
|
||||||
pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||||
|
|
||||||
|
mod1 + v
|
||||||
|
$TERMINAL -e pulsemixer
|
||||||
|
|
||||||
mod1 + Return
|
mod1 + Return
|
||||||
uxterm
|
uxterm
|
||||||
|
|
22
dotfiles-old/.config/sxhkd/sxhkdrc-bspwm
Normal file
22
dotfiles-old/.config/sxhkd/sxhkdrc-bspwm
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# thanks weedsmokingjew
|
||||||
|
|
||||||
|
mod1 + {_,shift + }F4
|
||||||
|
bspc node -{c,k}
|
||||||
|
|
||||||
|
mod1 + {_,shift + }{1-9,0}
|
||||||
|
bspc {desktop -f,node -d} '^{1-9,10}'
|
||||||
|
|
||||||
|
mod1 + shift + e
|
||||||
|
[ "Yes." = $(printf "No.\nYes." | dmenu -p "You pressed the exit shortcut. Do you really want to exit? This will end your X session.") ] && bspc quit
|
||||||
|
|
||||||
|
mod1 + f
|
||||||
|
bspc node -t '~fullscreen'
|
||||||
|
|
||||||
|
mod1 + {h,j,k,l}
|
||||||
|
bspc node -f {west,south,north,east}
|
||||||
|
|
||||||
|
mod1 + shift + {h,j,k,l}
|
||||||
|
bspc node -s {west,south,north,east}
|
||||||
|
|
||||||
|
mod1 + shift + r
|
||||||
|
bspc wm -r && pkill -USR1 -x sxhkd
|
27
dotfiles-old/.config/sxhkd/sxhkdrc-i3wm
Executable file
27
dotfiles-old/.config/sxhkd/sxhkdrc-i3wm
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
mod1 + F4
|
||||||
|
i3-msg kill
|
||||||
|
|
||||||
|
mod1 + {h,j,k,l}
|
||||||
|
i3-msg focus {left,down,up,right}
|
||||||
|
|
||||||
|
mod1 + f
|
||||||
|
i3-msg fullscreen toggle
|
||||||
|
mod1 + F11
|
||||||
|
i3-msg fullscreen toggle
|
||||||
|
|
||||||
|
mod1 + {s,w}
|
||||||
|
i3-msg layout {stacking,tabbed}
|
||||||
|
mod1 + e
|
||||||
|
i3-msg layout toggle split
|
||||||
|
|
||||||
|
mod1 + space
|
||||||
|
i3-msg focus mode_toggle
|
||||||
|
|
||||||
|
mod1 + shift + space
|
||||||
|
i3-msg floating toggle
|
||||||
|
|
||||||
|
mod1 + shift + {h,j,k,l}
|
||||||
|
i3-msg move {left,down,up,right}
|
||||||
|
|
||||||
|
mod1 + shift + e
|
||||||
|
[ "Yes." = $(printf "No.\nYes." | dmenu -p "You pressed the exit shortcut. Do you really want to exit? This will end your X session.") ] && i3-msg exit
|
@ -1,12 +1,14 @@
|
|||||||
|
BROWSER=firefox; export BROWSER
|
||||||
DOOMWADDIR=/mnt/partone/misc/doomwads/; export DOOMWADDIR
|
DOOMWADDIR=/mnt/partone/misc/doomwads/; export DOOMWADDIR
|
||||||
EDITOR=vim; export EDITOR
|
EDITOR=ed; export EDITOR
|
||||||
PAGER="less"; export PAGER
|
PAGER="less"; export PAGER
|
||||||
|
|
||||||
PLAN9=/usr/local/plan9; export PLAN9
|
PLAN9=/usr/local/plan9; export PLAN9
|
||||||
|
|
||||||
PATH="$HOME/bin/:$HOME/bin/oneliners/:"$PATH":$PLAN9/bin"; export PATH
|
PATH="$HOME/bin/:$HOME/bin/oneliners/:"$PATH":$PLAN9/bin"; export PATH
|
||||||
|
TERMINAL="uxterm"; export TERMINAL
|
||||||
if [ "$0" = "bash" ] || [ "$0" = "-bash" ]; then complete -c man which; fi
|
UNITS_SYSTEM="si"; export UNITS_SYSTEM
|
||||||
|
|
||||||
ENV=$HOME/.env; export ENV
|
ENV=$HOME/.env; export ENV
|
||||||
. $ENV
|
. $ENV
|
||||||
|
|
||||||
|
if [ "$0" = "bash" ] || [ "$0" = "-bash" ]; then complete -c man which; fi
|
||||||
|
|
||||||
|
@ -1,19 +1,26 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
[ "$(printf "Abort.\nContinue.\n" | dmenu -p "Current path is '$(pwd)'. Continue?")" = "Continue." ] || return || exit
|
[ "$(printf "Abort.\nContinue.\n" | dmenu -p "Current path is '$(pwd)'. Continue?")" = "Continue." ] || exit
|
||||||
set -x
|
set -x
|
||||||
cp $HOME/.Xresources ./
|
cp $HOME/.Xresources ./
|
||||||
cp $HOME/.aliases ./
|
cp $HOME/.aliases ./
|
||||||
#cp $HOME/.bashrc ./
|
|
||||||
cp $HOME/.env ./
|
cp $HOME/.env ./
|
||||||
cp $HOME/.profile ./
|
cp $HOME/.profile ./
|
||||||
cp $HOME/.vimrc ./
|
cp $HOME/.vimrc ./
|
||||||
|
|
||||||
mkdir -p ./.config/
|
mkdir -p ./.config/
|
||||||
cp $HOME/.config/ytfeed-config.txt ./.config/
|
cp $HOME/.config/ytfeed-config.txt ./.config/
|
||||||
|
|
||||||
|
mkdir -p ./.config/bspwm
|
||||||
|
cp $HOME/.config/bspwm/bspwmrc ./.config/bspwm/bspwmrc
|
||||||
|
|
||||||
mkdir -p ./.config/i3
|
mkdir -p ./.config/i3
|
||||||
cp $HOME/.config/i3/config ./.config/i3/config
|
cp $HOME/.config/i3/config ./.config/i3/config
|
||||||
mkdir -p ./.config/i3status
|
mkdir -p ./.config/i3status
|
||||||
cp $HOME/.config/i3status/config ./.config/i3status/config
|
cp $HOME/.config/i3status/config ./.config/i3status/config
|
||||||
|
|
||||||
mkdir -p ./.config/sxhkd
|
mkdir -p ./.config/sxhkd
|
||||||
cp $HOME/.config/sxhkd/sxhkdrc ./.config/sxhkd/sxhkdrc
|
cp $HOME/.config/sxhkd/* ./.config/sxhkd/
|
||||||
|
rm ./.config/sxhkd/sxhkdrc
|
||||||
|
|
||||||
mkdir -p ./src/dmenu
|
mkdir -p ./src/dmenu
|
||||||
cp $HOME/src/dmenu/config.h ./src/dmenu/config.h
|
cp $HOME/src/dmenu/config.h ./src/dmenu/config.h
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
adb
|
adb
|
||||||
|
alsa-utils
|
||||||
anki
|
anki
|
||||||
audacious
|
audacious
|
||||||
blender
|
blender
|
||||||
@ -58,6 +59,7 @@ vlc
|
|||||||
wget
|
wget
|
||||||
wireguard-tools
|
wireguard-tools
|
||||||
xclip
|
xclip
|
||||||
|
xf86-input-wacom
|
||||||
xscreensaver
|
xscreensaver
|
||||||
xterm
|
xterm
|
||||||
zathura
|
zathura
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
acpid
|
acpid
|
||||||
acpid-openrc
|
acpid-openrc
|
||||||
|
fuse-openrc
|
||||||
iwd-openrc
|
iwd-openrc
|
||||||
libvirt-openrc
|
libvirt-openrc
|
||||||
openresolv
|
openresolv
|
||||||
|
@ -23,6 +23,7 @@ pulseaudio-bluetooth
|
|||||||
python-pip
|
python-pip
|
||||||
qemu-arch-extra
|
qemu-arch-extra
|
||||||
qt5-imageformats
|
qt5-imageformats
|
||||||
|
stalonetray
|
||||||
ttf-dejavu
|
ttf-dejavu
|
||||||
vi
|
vi
|
||||||
which
|
which
|
||||||
|
@ -12,6 +12,8 @@ i3-gaps
|
|||||||
i3-swallow
|
i3-swallow
|
||||||
instagram-scraper
|
instagram-scraper
|
||||||
iwgtk
|
iwgtk
|
||||||
|
lemonbar-git
|
||||||
|
makebootfat
|
||||||
minecraft-launcher
|
minecraft-launcher
|
||||||
mullvad-vpn-beta
|
mullvad-vpn-beta
|
||||||
multimc5
|
multimc5
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
moon-buggy
|
moon-buggy
|
||||||
ne
|
|
||||||
syncterm
|
syncterm
|
||||||
|
Loading…
Reference in New Issue
Block a user