Browse Source

Actualizaciones menores

master
Luis 4 months ago
parent
commit
ce6b4e2159
  1. 2
      .local/bin/dmenuapagar.sh
  2. 4
      .local/bin/dmenurecord.sh

2
.local/bin/dmenuapagar.sh

@ -1,5 +1,5 @@
#!/bin/sh
SALIR=$(printf " Apagar\\n Reiniciar\\n Bloquear\\n Salir" | dmenu -i -fn "mononoki:size=9:style=Bold""Font Awesome 5 Free Solid:size=8:style=Solid" -nb "#222222" -nf "#cccccc" -sb "#4c4c4c" -sf "#ffffff" -p " Sesión:")
SALIR=$(printf " Apagar\\n Reiniciar\\n Bloquear\\n Salir" | dmenu -i -fn "mononoki:size=11:style=Bold""Font Awesome 5 Free Solid:size=10:style=Solid" -nb "#1e1e1e" -nf "#cccccc" -sb "#15539E" -sf "#ffffff" -p " Sesión:")
case $SALIR in
" Apagar") doas umount /media/livebox & doas poweroff;;
" Reiniciar") doas umount /media/livebox & doas reboot;;

4
.local/bin/dmenurecord.sh

@ -96,7 +96,7 @@ audio() { \
}
askrecording() { \
choice=$(printf " mkv\\n mkv\\n mp4\\n mp4\\n mp4\\n mp4" | dmenu -i -fn "mononoki:size=9:style=Bold""Font Awesome 5 Free Solid:size=8:style=Solid" -nb "#222222" -nf "#cccccc" -sb "#4c4c4c" -sf "#ffffff" -p "  ")
choice=$(printf " mkv\\n mkv\\n mp4\\n mp4\\n mp4\\n mp4" | dmenu -i -fn "mononoki:size=11:style=Bold""Font Awesome 5 Free Solid:size=10:style=Solid" -nb "#1e1e1e" -nf "#cccccc" -sb "#15539E" -sf "#ffffff" -p "  ")
case "$choice" in
" mkv") screencast;;
" mkv") video;;
@ -108,7 +108,7 @@ askrecording() { \
}
asktoend() { \
response=$(printf " Cancelar\\n Aceptar" | dmenu -i -fn "mononoki:size=9:style=Bold""Font Awesome 5 Free Solid:size=8:style=Solid" -nb "#222222" -nf "#cccccc" -sb "#4c4c4c" -sf "#ffffff" -p "  ") &&
response=$(printf " Cancelar\\n Aceptar" | dmenu -i -fn "mononoki:size=11:style=Bold""Font Awesome 5 Free Solid:size=10:style=Solid" -nb "#1e1e1e" -nf "#cccccc" -sb "#15539E" -sf "#ffffff" -p "  ") &&
[ "$response" = " Aceptar" ] && killrecording
}

Loading…
Cancel
Save