mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 09:35:26 +00:00
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:
10
board/shredos/fsoverlay/usr/bin/shredos_toggle_font_size.sh
Executable file
10
board/shredos/fsoverlay/usr/bin/shredos_toggle_font_size.sh
Executable 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
|
||||
|
||||
Reference in New Issue
Block a user