----- Changes:

+ Rework a lot of stuff
This commit is contained in:
ziro 2020-05-23 13:49:13 +07:00
parent 7d757116d2
commit 18f105cea0
9 changed files with 31 additions and 9 deletions

View file

@ -75,3 +75,4 @@ bspc rule -a qTox:qtox desktop='^9'
bspc rule -a pr:pr desktop='^10'
bspc rule -a firefox:Toolkit desktop='^3' state=floating
bspc rule -a mpv:gl state=floating
bspc rule -a mpv state=floating

View file

@ -1,4 +1,3 @@
set previewer ~/.config/lf/preview
# Config
set preview true
#set previewer ~/.config/lf/preview
@ -9,6 +8,8 @@ set color256
set hidden true
set ignorecase true
set smartcase true
set shellopts '-eu'
set ifs "\n"
# Custom Functions
cmd open ${{
@ -41,7 +42,9 @@ cmd touch $touch "$(echo $* | tr ' ' '\ ')"
cmd q :quit
cmd chmod $chmod "$*" "$f"
cmd chmod ${{
chmod $1 $fx
}}
cmd rename %[ -e $1 ] && printf "file exists" || mv $f $1

View file

@ -651,7 +651,7 @@ format-padding = 1
[module/currency]
type = custom/script
exec = "rateUSD -"
exec = "rateUSD -s"
interval = 16000
tail = true
label = "$1 = Rp.%output%"

View file

@ -5,5 +5,5 @@ warn=""
[ $capacity -lt 21 ] && warn='!'
printf "%s%s" "$warn " "$(echo $capacity | sed "s/$/G free/")"
printf "%s%s\n" "$warn " "$(echo $capacity | sed "s/$/G free/")"

View file

@ -17,7 +17,8 @@ export READER='zathura'
export MANPAGER="/bin/sh -c \"col -b | vim --not-a-term -c 'set ft=man ts=8 nomod nolist noma' -\""
# SUDO
export SUDO_ASKPASS=/bin/rofi-askpass
#export SUDO_ASKPASS=/bin/rofi-askpass
export SUDO_ASKPASS="/bin/dmenu-askpass"
# XDG
export XDG_CACHE_HOME="$HOME/.cache"

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
#sudo
alias sudo='sudo '
[ "x$(pgrep startx)" = "x" ] && alias sudo='sudo ' || alias sudo='sudo --askpass '
#sudo + vim, yea imagine having that powe- nvm
alias sudovim='sudoedit'
@ -83,7 +83,10 @@ alias cp='cp -i'
alias mntfd='sudo mount -o gid=users,fmask=113,dmask=002'
alias umntfd='sudo umount'
alias cmatrix='unimatrix -n -s 96 -l 'o''
#folder shortcut
alias cdclg='cd "$HOME/my Files/Kuliah/"'
alias cdwine='cd "$HOME/.local/share/wineprefixes/"'
#Git Aliases
alias gR='git restore'