Compare commits

...

4 Commits

Author SHA1 Message Date
2492b303c1
xinitrc: use more resilient command for battery status 2022-08-13 20:18:34 -04:00
dd1073cd6e
msync: do not delete backups from mobile 2022-08-13 20:18:11 -04:00
41193201ac
zathura: remove recolor bind
Zathura already has one by default.
2022-08-05 10:43:40 -04:00
62c4589800
radare2: add config 2022-08-02 14:28:49 -04:00
4 changed files with 7 additions and 4 deletions

View File

@ -0,0 +1 @@
e scr.prompt.vi = true

View File

@ -10,5 +10,3 @@ set inputbar-bg "#000000"
set inputbar-fg "#CCCCCC"
set selection-clipboard clipboard
map D feedkeys ":set recolor<Return>"

View File

@ -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)

View File

@ -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"