Removed scale the screen script files

This commit is contained in:
Joao Azevedo 2021-10-29 23:11:28 +02:00
parent 368b936446
commit dcd01fd716
No known key found for this signature in database
GPG Key ID: 0E16C30A65F31D9D
2 changed files with 0 additions and 33 deletions

View File

@ -1,24 +0,0 @@
#!/bin/bash
function usage()
{
echo "Usage: $0, or just press the Scale the Screen Icon in the app tray"
exit 0
}
case "$1" in
--help|-h|-?)
usage
;;
esac
DISPLAY=$(wlr-randr | head -n 1 | awk '{print $1}')
yad --title scale_screen --form \
--field='Default dpi (2x scale)':fbtn "wlr-randr --output $DISPLAY --scale 2" \
--field='Low dpi (1.75x scale)!window-restore-symbolic':fbtn "wlr-randr --output $DISPLAY --scale 1.75" \
--field='Medium dpi (1.5x scale)!window-minimize-symbolic':fbtn "wlr-randr --output $DISPLAY --scale 1.5" \
--field='High dpi (1.25x scale)!window-maximize-symbolic':fbtn "wlr-randr --output $DISPLAY --scale 1.25" \
--field='Max dpi (1x scale)!view-fullscreen-symbolic':fbtn "wlr-randr --output $DISPLAY --scale 1" \
--field='Restart Phosh':fbtn "sudo systemctl restart phosh" \
--button='Close!gtk-cancel':1

View File

@ -1,9 +0,0 @@
[Desktop Entry]
Name=Scale Screen
Type=Application
Icon=video-display-symbolic
Exec=/usr/bin/l5-scale-the-screen %U
Categories=Utility;
# Translators: Do NOT translate or transliterate this text (these are enum types)!
X-Purism-FormFactor=Workstation;Mobile;