1
0
This commit is contained in:
Deven Blake 2021-01-19 11:48:13 -05:00
parent ec6ae63c9c
commit ae3ef5f182
4 changed files with 44 additions and 37 deletions

View File

@ -20,15 +20,15 @@ xterm*faceName: unscii:antialias=false
xterm*faceSize: 12 xterm*faceSize: 12
! white - from alnj/dotfiles ! white - from alnj/dotfiles
*background: #FFFCFD !*background: #FFFCFD
*foreground: #250E07 !*foreground: #250E07
*cursorColor: #250E07 !*cursorColor: #250E07
!*Background: #000000 *Background: #000000
! amber ! amber
!*Foreground: #FFBF00 *Foreground: #FFBF00
!*cursorColor: #FFBF00 *cursorColor: #FFBF00
! black on white (first uncomment white's stuff) ! black on white (first uncomment white's stuff)
!*reverseVideo: true !*reverseVideo: true
@ -36,29 +36,29 @@ xterm*faceSize: 12
! "quantified colors" but every nybble ! "quantified colors" but every nybble
! is decremented ====================== ! is decremented ======================
! black/dark-gray ! black/dark-gray
*.color0: #000000 !*.color0: #000000
*.color8: #343434 !*.color8: #343434
! red/orange ! red/orange
*.color1: #DE9591 !*.color1: #DE9591
*.color9: #D09E74 !*.color9: #D09E74
! green/aquamarine ! green/aquamarine
*.color2: #70B880 !*.color2: #70B880
*.color10: #49BB9E !*.color10: #49BB9E
! amber/yellow ! amber/yellow
*.color3: #958350 !*.color3: #958350
*.color11: #B7B763 !*.color11: #B7B763
! blue/violet ! blue/violet
*.color4: #92A7DE !*.color4: #92A7DE
*.color12: #BB9BDC !*.color12: #BB9BDC
! magenta/rose ! magenta/rose
*.color5: #D592CB !*.color5: #D592CB
*.color13: #E190B1 !*.color13: #E190B1
! cyan/azure ! cyan/azure
*.color6: #40B9BC !*.color6: #40B9BC
*.color14: #63B2D3 !*.color14: #63B2D3
! gray/white ! gray/white
*.color7: #707070 !*.color7: #707070
*.color15: #B0B0B0 !*.color15: #B0B0B0
! ===================================== ! =====================================
! "quantified colors" ================= ! "quantified colors" =================

View File

@ -1,7 +1,3 @@
# settings for specific monitors
alias 1702="xrandr --output HDMI-1 --auto --mode 720x480 --right-of LVDS-1"
alias mv720="xrandr --output VGA-1 --auto --right-of LVDS-1"
# convenient music play # convenient music play
# tons of repeated code, should be fixed # tons of repeated code, should be fixed
album() { album() {
@ -17,17 +13,14 @@ song() {
alias audio="sudo mount -L 'AUDIO' /mnt/audio" alias audio="sudo mount -L 'AUDIO' /mnt/audio"
# private bookmarks # private bookmarks
alias bmarks="firefox file:///home/trinity/bookmarks.html" alias bmarks="firefox file://"$HOME"/bookmarks.html"
# requires bat alias cat="9 cat"
alias cat="bat --theme=ansi-light"
alias cls="clear" alias cls="clear"
alias firefox="firefox-developer-edition" alias firefox="firefox-developer-edition"
alias hdmioff="xrandr --output HDMI-1 --off"
# useful aliases # useful aliases
alias iftoggle="sudo ip link set" alias iftoggle="sudo ip link set"
alias ifswitch="iftoggle $1 down && iftoggle $1 up" alias ifswitch="iftoggle $1 down && iftoggle $1 up"
@ -72,7 +65,9 @@ alias tabon="xsetwacom set 'Wacom Intuos2 6x8 Pen stylus' MapToOutput VGA-1"
alias tracert="tracepath" alias tracert="tracepath"
alias vgaoff="xrandr --output VGA-1 --off" webm() {
ffmpeg -i $1 -c:v libvpx -b:v 1M -c:a libvorbis $(printf "$1" | asplit - . 0).webm
}
alias yta="youtube-dl -f bestaudio" alias yta="youtube-dl -f bestaudio"

View File

@ -1,12 +1,19 @@
#!/bin/sh #!/bin/sh
complete -c man which EDITOR=vim
PS1="; " PS1="; "
PS2=">; " PS2=">; "
PS3=">>; " PS3=">>; "
export PATH=$PATH":$HOME/bin:$HOME/.local/bin"
source $HOME/.aliases source $HOME/.aliases
complete -c man which
# for ruby working # for ruby working
eval "$(rbenv init -)" eval "$(rbenv init -)"
PLAN9=/usr/local/plan9
export PLAN9
PATH=$PATH":$HOME/bin/:$HOME/bin/oneliners/:$PLAN9/bin"
export PATH

View File

@ -1,15 +1,16 @@
#!/bin/sh #!/bin/sh
# a bunch of one-line programs i want in my dmenu # a bunch of one-line programs i want in my dmenu (and sometimes elsewhere)
# these have use outside the terminal and thus are generated here # these have use outside the terminal and thus are generated here
# - because why make fifty files when i can make one file that does that for me?
source ./cdecho.sh source ./cdecho.sh
mkdir -p $HOME/bin/oneliners || exit mkdir -p $HOME/bin/oneliners || exit
cde $HOME/bin/oneliners cde $HOME/bin/oneliners
# appimage launcher # deemix
printf "python $HOME/apps/appimagelauncher.py\n" >appimgs printf "python $HOME/src/deemix-pyweb/deemix-pyweb.py\n" >deemix
# settings for specific monitors # settings for specific monitors
printf "xrandr --output HDMI-1 --auto --mode 720x480 --right-of LVDS-1\n" >1702 printf "xrandr --output HDMI-1 --auto --mode 720x480 --right-of LVDS-1\n" >1702
@ -19,4 +20,8 @@ printf "xrandr --output VGA-1 --auto --right-of LVDS-1\n" >mv720
printf "xrandr --output HDMI-1 --off\n" >hdmioff printf "xrandr --output HDMI-1 --off\n" >hdmioff
printf "xrandr --output VGA-1 --off\n" >vgaoff printf "xrandr --output VGA-1 --off\n" >vgaoff
# youtube-dl stuff
printf "youtube-dl -f \$(youtube-dl -F \$1 | 9 tail +4 | dmenu -p \"Choose a format.\" -l 10 | asplit - SP 0) \"\$@\"\n" >youtube-dl-interactive
printf "youtube-dl-interactive \"\$@\" -o - | mpv -\n" >youtube-mpv
ls && [ $(printf "Yes.\nNo." | dmenu -p "Any risky files?") = "No." ] && printf "Making executable.\n" && chmod +x * ls && [ $(printf "Yes.\nNo." | dmenu -p "Any risky files?") = "No." ] && printf "Making executable.\n" && chmod +x *