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
! white - from alnj/dotfiles
*background: #FFFCFD
*foreground: #250E07
*cursorColor: #250E07
!*background: #FFFCFD
!*foreground: #250E07
!*cursorColor: #250E07
!*Background: #000000
*Background: #000000
! amber
!*Foreground: #FFBF00
!*cursorColor: #FFBF00
*Foreground: #FFBF00
*cursorColor: #FFBF00
! black on white (first uncomment white's stuff)
!*reverseVideo: true
@ -36,29 +36,29 @@ xterm*faceSize: 12
! "quantified colors" but every nybble
! is decremented ======================
! black/dark-gray
*.color0: #000000
*.color8: #343434
!*.color0: #000000
!*.color8: #343434
! red/orange
*.color1: #DE9591
*.color9: #D09E74
!*.color1: #DE9591
!*.color9: #D09E74
! green/aquamarine
*.color2: #70B880
*.color10: #49BB9E
!*.color2: #70B880
!*.color10: #49BB9E
! amber/yellow
*.color3: #958350
*.color11: #B7B763
!*.color3: #958350
!*.color11: #B7B763
! blue/violet
*.color4: #92A7DE
*.color12: #BB9BDC
!*.color4: #92A7DE
!*.color12: #BB9BDC
! magenta/rose
*.color5: #D592CB
*.color13: #E190B1
!*.color5: #D592CB
!*.color13: #E190B1
! cyan/azure
*.color6: #40B9BC
*.color14: #63B2D3
!*.color6: #40B9BC
!*.color14: #63B2D3
! gray/white
*.color7: #707070
*.color15: #B0B0B0
!*.color7: #707070
!*.color15: #B0B0B0
! =====================================
! "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
# tons of repeated code, should be fixed
album() {
@ -17,17 +13,14 @@ song() {
alias audio="sudo mount -L 'AUDIO' /mnt/audio"
# private bookmarks
alias bmarks="firefox file:///home/trinity/bookmarks.html"
alias bmarks="firefox file://"$HOME"/bookmarks.html"
# requires bat
alias cat="bat --theme=ansi-light"
alias cat="9 cat"
alias cls="clear"
alias firefox="firefox-developer-edition"
alias hdmioff="xrandr --output HDMI-1 --off"
# useful aliases
alias iftoggle="sudo ip link set"
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 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"

View File

@ -1,12 +1,19 @@
#!/bin/sh
complete -c man which
EDITOR=vim
PS1="; "
PS2=">; "
PS3=">>; "
export PATH=$PATH":$HOME/bin:$HOME/.local/bin"
source $HOME/.aliases
complete -c man which
# for ruby working
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
# 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
# - because why make fifty files when i can make one file that does that for me?
source ./cdecho.sh
mkdir -p $HOME/bin/oneliners || exit
cde $HOME/bin/oneliners
# appimage launcher
printf "python $HOME/apps/appimagelauncher.py\n" >appimgs
# deemix
printf "python $HOME/src/deemix-pyweb/deemix-pyweb.py\n" >deemix
# settings for specific monitors
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 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 *