Skip to content

Commit

Permalink
bacup
Browse files Browse the repository at this point in the history
  • Loading branch information
ediw8311xht committed Feb 6, 2023
1 parent 039e79a commit 54868ab
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 68 deletions.
17 changes: 16 additions & 1 deletion bash/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ function cd_from_lf() {
lf
if a="$(ls -1 -tr /tmp/tmplf* | tail -1)"
then
cd "$(cat "${a}")" || return 1
z="$(cat "${a}")"
if [[ "${PWD}" != "${a}" ]] ; then
cd "$(cat "${a}")" || return 1
fi
trash-put "${a}"
fi
}
Expand Down Expand Up @@ -157,6 +160,8 @@ alias c=' printf "\n%.0s_______________________________" {1..400} ; pr
alias comv=' command -V'
alias f=' find / -mount'
alias h=' cd "$HOME"'
alias i=' iex'
alias j=' flask run --cert="$HOME/ADD_TO_TRUSTED/mykey.crt" --key="$HOME/.cretse_ridi/mykey.pem"'
alias t=' trash-put'
alias bgr=' bash_history_grab'
alias hb=' nvim $HOME/.bash_history2'
Expand All @@ -172,6 +177,7 @@ alias mf=' find . -iname'
alias ic=' clear; imgcat'
alias nv=' nvim'
alias nvp=' nvim -p'
alias vn=' nvim -o'
alias nvo=' nvim -O'
alias snv=' sudoedit'
alias sf=' clear; screenfetch 2>/dev/null'
Expand All @@ -189,6 +195,11 @@ alias free=' free -h'
alias rmi=' rm -i'
alias pdf=' zathura'
alias i3c=' i3 -C "$HOME/.config/i3/config"'
alias lke=' cd $HOME/Notebooks/REFERENCE_SHEETS/; lf ; cd -'
alias lookup=' cd $HOME/Notebooks/REFERENCE_SHEETS/MARKDOWN/; lf ; cd -'
alias lookpdf=' cd $HOME/Notebooks/REFERENCE_SHEETS/PDF/; lf ; cd -'
alias lookmd=' cd $HOME/Notebooks/REFERENCE_SHEETS/MARKDOWN/; lf ; cd -'
alias stack=' cd $HOME/Notebooks/REFERENCE_SHEETS/MARKDOWN/; lf ; cd -'
#---rename-#
alias tyren=' perl-rename -v -n'
alias doren=' perl-rename -v'
Expand Down Expand Up @@ -367,7 +378,11 @@ set -o vi



alias jay_z="echo '$HOME/Downloads'"

alias pacdneed='pacman -Qet'





4 changes: 2 additions & 2 deletions i3wm/regular_bindings_i3wm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
gaps left all toggle $L_GAPS
$Br Super_L $B1 move position center
$Br space $B1 focus mode_toggle
$Br Up $_ exec pulseaudio-ctl 'up'
$Br Down $_ exec pulseaudio-ctl 'down'
$Br Up $_ exec "pulseaudio-ctl 'up' || pamixer --increase 1"
$Br Down $_ exec "pulseaudio-ctl 'down' || pamixer --decrease 1"
$Br slash $_ $xm_hd "Polymove"; mode polymove
#Br _________ $_ [class=".*icecat.*"] scratchpad show

2 changes: 1 addition & 1 deletion lf/lfrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set shell sh
set shellopts '-eu'
##USE DOUBLE QUOTES FOR 'set ifs "something"'
set ifs "\n"
set ratios 1:2:3
set ratios 1:8:5
set info size:time
set scrolloff 10
set autoquit
Expand Down
26 changes: 14 additions & 12 deletions nvim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,20 @@ let g:myFg = [ ".", ".", ".", ".", "
let g:python3_host_prog="/usr/bin/python"
"<--------- FUNCTIONS ------------------------------------------------------>
fu! CorrectColors()
hi StatusLine cterm=NONE ctermbg=NONE ctermfg=160 gui=NONE guibg=#000000 guifg=#00DD00
hi FoldColumn cterm=NONE ctermbg=NONE ctermfg=NONE gui=ITALIC guibg=NONE guifg=#00ff00
hi Folded cterm=NONE ctermbg=NONE ctermfg=NONE gui=ITALIC guibg=NONE guifg=#999999
hi CursorLine cterm=BOLD ctermfg=NONE ctermbg=18 gui=BOLD guibg=NONE guifg=NONE
hi CursorLineNr cterm=BOLD ctermfg=NONE ctermbg=18 gui=NONE guibg=NONE guifg=#FFFF00
hi SignColumn cterm=NONE ctermbg=NONE ctermfg=NONE gui=ITALIC guibg=NONE guifg=#000000
hi LineNr cterm=NONE ctermbg=NONE ctermfg=NONE gui=NONE guibg=#000000 guifg=#AAAAAA
hi LineNrAbove cterm=NONE ctermbg=NONE ctermfg=NONE gui=NONE guibg=#000000 guifg=#00AAFF
hi TabLine gui=NONE guibg=#222222 guifg=#999999
hi TabLineSel gui=BOLD guibg=#000000 guifg=#00FF00
hi MarkSignNumHL gui=NONE guibg=none guifg=NONE
hi MarkSignVirtTextHL gui=NONE guibg=NONE guifg=#00FF00
hi Normal ctermbg=black guibg=#000000
hi StatusLine cterm=NONE ctermbg=NONE ctermfg=160 gui=NONE guibg=#000000 guifg=#00DD00
hi StatusLineNC cterm=NONE ctermbg=NONE ctermfg=160 gui=NONE guibg=#000000 guifg=#FFFFFF
hi FoldColumn cterm=NONE ctermbg=NONE ctermfg=NONE gui=ITALIC guibg=NONE guifg=#00ff00
hi Folded cterm=NONE ctermbg=NONE ctermfg=NONE gui=ITALIC guibg=NONE guifg=#999999
hi CursorLine cterm=BOLD ctermfg=NONE ctermbg=18 gui=BOLD guibg=NONE guifg=NONE
hi CursorLineNr cterm=BOLD ctermfg=NONE ctermbg=18 gui=NONE guibg=NONE guifg=#FFFF00
hi SignColumn cterm=NONE ctermbg=NONE ctermfg=NONE gui=ITALIC guibg=NONE guifg=#000000
hi LineNr cterm=NONE ctermbg=NONE ctermfg=NONE gui=NONE guibg=#000000 guifg=#AAAAAA
hi LineNrAbove cterm=NONE ctermbg=NONE ctermfg=NONE gui=NONE guibg=#000000 guifg=#00AAFF
hi TabLine gui=NONE guibg=#222222 guifg=#999999
hi TabLineSel gui=BOLD guibg=#000000 guifg=#00FF00
hi MarkSignNumHL gui=NONE guibg=none guifg=NONE
hi MarkSignVirtTextHL gui=NONE guibg=NONE guifg=#00FF00
endfu

fu! L(keys, command, silent="0")
Expand Down
104 changes: 52 additions & 52 deletions xorg/Xresources
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@
!*.font: Tamzen:pixelsize=13:autohint=true:antialias=true
!*.font: TerminessTTF Nerd Font Mono:pixelsize=13:autohint=true:antialias=true
!*.font: xos4Terminus:pixelsize=15:autohint=true:antialias=true
*.font: Agave:style=Regular:size=13:antialias=true
!*.font: Agave:style=Regular:size=13:antialias=true
!*.font: IosevkaCustom:pixelsize=13:antialias=true:autohint=false
!*.font: Monoid:size=13:antialias=true:autohint=true
!*.font: FantasqueSansMono:style=Regular:pixelsize=13:autohint=true:antialias=true
!*.font: ComicMono:size=13:autohint=true:antialias=true
!*.font: Lekton:size=13:style=Medium:autohint=false:antialias=true
!*.font: LektonNerdFontMono:style=Medium:size=13:autohint=false:antialias=true
!*.font: CascadiaMono:size=13:antialias=true
!*.font: RobotoMono:size=13:antialias=true
!*.font: Consolas:size=13:antialias=true:autohint=true
!*.font: Monaco:size=13:antialias=true:autohint=true
!*.font: InputMono:size=13:antialias=true:autohint=true
!*.font: IosevkaNerdFont:size=13:antialias=true:autohint=true
*.font: IosevkaNerdFont:size=13:antialias=true:autohint=true
!*.font: FiraCode:size=13:antialias=true:autohint=true
!*.font: ShureTechMonoNerdFontMono:style=Regular:size=13:antialias=true:autohint=true
!*.font: SarasaMonoSlabCL:pixelsize=13:antialias=true:autohint=true
!*.font: SarasaMonoSCNerd:pixelsize=13:antialias=true:autohint=true
!*.font: SarasaMonoNerdFont:pixelsize=13:antialias=true:autohint=true
!*.font: Hack:size=13:antialias=true:autohint=true
!*.font: Hermit:size=13:antialias=true:autohint=true
!*.font: IBM 3270:style=Medium:pixelsize=13:antialias=true:autohint=true
Expand All @@ -33,10 +33,9 @@
!!*.cursorColor: #999999
!!*.internalBorder: 0px
!!*.borderSize: 0px
!!*.border: 10px
*.borderpx: 15px
!!!!!!!!!!!!!!!!!!!!!!!----------------DEFAULT
!.color: #FFFFFF
*.border: 10px
!!!!!!!!!!!!!!!!!!!!!!!!!----------------DEFAULT
!!!.color: #FFFFFF
*.foreground: #FFFFFF
*.background: #000000
! black
Expand Down Expand Up @@ -72,49 +71,50 @@

!!!!!!!!!!!!!!!!!!!!!!!!----------------CYBER-PUNK-NEON
!!special_note*background: #000000
special_float.font: Agave:style=Regular:pixelsize=17:antialias=true
special_note*background: #00090e
special_note*foreground: #0abdc6
special_note*color0: #123e7c
special_note*color1: #ff0000
special_note*color2: #d300c4
special_note*color3: #f57800
special_note*color4: #123e7c
special_note*color5: #711c91
special_note*color6: #0abdc6
special_note*color7: #d7d7d5
special_note*color8: #1c61c2
special_note*color9: #ff0000
special_note*color10: #d300c4
special_note*color11: #f57800
special_note*color12: #0090FF
special_note*color13: #711c91
special_note*color14: #0abdc6
special_note*color15: #888888
special_note*color16: #FFFFFF
special_note*color48: #FFFFFF
!!special_float.font: Agave:style=Regular:pixelsize=17:antialias=true
!*.borderpx: 10px
!*.background: #00090e
!*.foreground: #0abdc6
!*.color0: #123e7c
!*.color1: #ff0000
!*.color2: #d300c4
!*.color3: #f57800
!*.color4: #123e7c
!*.color5: #711c91
!*.color6: #0abdc6
!*.color7: #d7d7d5
!*.color8: #1c61c2
!*.color9: #ff0000
!*.color10: #d300c4
!*.color11: #f57800
!*.color12: #0090FF
!*.color13: #711c91
!*.color14: #0abdc6
!*.color15: #888888
!*.color16: #FFFFFF
!*.color48: #FFFFFF

!!special_float*background: #000011
special_float*background: #000000
special_float*foreground: #0abdc6
special_float*color0: #123e7c
special_float*color1: #ff0000
special_float*color2: #d300c4
special_float*color3: #f57800
special_float*color4: #123e7c
special_float*color5: #711c91
special_float*color6: #0abdc6
special_float*color7: #d7d7d5
special_float*color8: #1c61c2
special_float*color9: #ff0000
special_float*color10: #d300c4
special_float*color11: #f57800
special_float*color12: #0090FF
special_float*color13: #711c91
special_float*color14: #0abdc6
special_float*color15: #888888
special_float*color16: #FFFFFF
special_float*color48: #FFFFFF
!!special_float*background: #000000
!!special_float*foreground: #0abdc6
!!special_float*color0: #123e7c
!!special_float*color1: #ff0000
!!special_float*color2: #d300c4
!!special_float*color3: #f57800
!!special_float*color4: #123e7c
!!special_float*color5: #711c91
!!special_float*color6: #0abdc6
!!special_float*color7: #d7d7d5
!!special_float*color8: #1c61c2
!!special_float*color9: #ff0000
!!special_float*color10: #d300c4
!!special_float*color11: #f57800
!!special_float*color12: #0090FF
!!special_float*color13: #711c91
!!special_float*color14: #0abdc6
!!special_float*color15: #888888
!!special_float*color16: #FFFFFF
!!special_float*color48: #FFFFFF
!!!!!!!!!!!!!!!!!!!!!!!----------------SPECIAL-------(NOTE)
!!special_note*font: Agave:style=Regular:pixelsize=17:antialias=true
!!special_note*alpha: 1
Expand Down Expand Up @@ -220,18 +220,18 @@ dmenu.color48: #FFFFFF
!Xmessage*font: -abode-*-*-r-*-*-*-100-*-*-p-*-*-*
!Xmessage*font: -*-dejavu sans-medium-r-*-*-40-*-*-*-*-*-*-*
!xmessage*font: -*-dejavu sans-medium-r-*-*-40-*-*-*-*-*-*-*
xfontsel*font: -*-tamsyn-medium-r-normal--15-0-96-96-*-109-iso8859-1
xfontsel*font: -*-tamzen-medium-r-normal--15-0-96-96-*-109-iso8859-1
Xmessage*message.Scroll: Never
Xmessage*message.Border: 0
Xmessage*background: #008fF8
Xmessage*foreground: #000000
Xmessage*geometry: +5+5
Xmessage*geometry: +20+20
Xmessage*.*bw: 20
Xmessage*renderFont: true
Xmessage*faceName: Hack
Xmessage*faceSize: 20
Xmessage*font: -*-tamsyn-*-*-*-*-55-*-*-*-*-*-*-*
Xmessage*Buttons:
Xmessage*Buttons:
!!!!!!!!!!!!!!!!!!!!!!!----------------Zutty-----------!!!!!!!!!!!!!!!!!!!!!!!
Zutty.fontsize: 18
Zutty.font: Agave-Regular-Slashed
Expand Down

0 comments on commit 54868ab

Please sign in to comment.