Compare commits
4 Commits
b8b1aaf016
...
2492b303c1
Author | SHA1 | Date | |
---|---|---|---|
2492b303c1 | |||
dd1073cd6e | |||
41193201ac | |||
62c4589800 |
1
src/.config/radare2/radare2rc
Normal file
1
src/.config/radare2/radare2rc
Normal file
@ -0,0 +1 @@
|
||||
e scr.prompt.vi = true
|
@ -10,5 +10,3 @@ set inputbar-bg "#000000"
|
||||
set inputbar-fg "#CCCCCC"
|
||||
|
||||
set selection-clipboard clipboard
|
||||
|
||||
map D feedkeys ":set recolor<Return>"
|
||||
|
@ -43,6 +43,10 @@ impf () {
|
||||
find "$1" -mindepth 1 -maxdepth 1 | xargs -I{} mv "{}"/ "$2"
|
||||
}
|
||||
|
||||
impf_cp () {
|
||||
find "$1" -mindepth 1 -maxdepth 1 | xargs -I{} cp -r "{}"/ "$2"
|
||||
}
|
||||
|
||||
exp () {
|
||||
find "$1" -type f | xargs -I{} cp -n "{}" "$2"
|
||||
}
|
||||
@ -84,7 +88,7 @@ case "$ACTION" in
|
||||
|
||||
imp "$ROOT/Documents/contacts.vcf" $DEST
|
||||
imp "$ROOT/infbk/" $DEST
|
||||
impf "$ROOT/.SeedVaultAndroidBackup/" $DEST/seedvault/
|
||||
impf_cp "$ROOT/.SeedVaultAndroidBackup/" $DEST/seedvault/
|
||||
;;
|
||||
|
||||
HELP)
|
||||
|
@ -24,7 +24,7 @@ export XMODIFIERS=@im=fcitx
|
||||
while true; do
|
||||
DATE=$(date +'%H:%M:%S %a %b %d')
|
||||
TEMP="$(($(cat /sys/class/thermal/thermal_zone0/temp) / 1000))C"
|
||||
BAT="$(acpi | cut -f4 -d " " | tr -d ',')"
|
||||
BAT="$(acpi -b | head -n 1 | awk -F'[,:]' '{print $3}' | tr -d '[:space:]')"
|
||||
KEY="$(xkblayout-state print '%s')"
|
||||
|
||||
xsetroot -name " $DATE // $TEMP, $BAT // $KEY"
|
||||
|
Loading…
x
Reference in New Issue
Block a user