Add a new script that toggles the font size between single and double size. Activated by the d key in nwipe drive selection, specifically for ShredOS use

This commit is contained in:
PartialVolume
2024-08-21 21:50:16 +01:00
parent 9c929fc958
commit c21ac29363

View File

@@ -0,0 +1,10 @@
#!/bin/bash
device=$(tty)
if [ ! -e "/usr/bin/.shredos_toggle_font_flag" ]; then
setfont -d -C $device
touch "/usr/bin/.shredos_toggle_font_flag"
else
setfont -C $device
rm "/usr/bin/.shredos_toggle_font_flag"
fi