diff --git a/background_selection.py b/background_selection.py deleted file mode 100644 index 033d940..0000000 --- a/background_selection.py +++ /dev/null @@ -1,18 +0,0 @@ -import os -import random - -image_dir = '/directory/to/image/folder' # path to the background image folder -install_dir = '/opt/cool-cyber-term/' # leave like this if you follow the install instructions -scale_perc = 0.18 # downscale factor of background image (0.18 => 18% of original size) is used for pixellation -opacity_perc = 0.7 # opacity of the background image, so you still see your desktop - -scale_perc = int(scale_perc*100) -if image_dir[-1] != '/': - image_dir += '/' -if install_dir[-1] != '/': - install_dir += '/' -files=os.listdir(image_dir) -if len(files) > 0: - random.shuffle(files) - os.system('convert -resize '+str(scale_perc)+'% '+image_dir+files[0]+' '+install_dir+'background.png') - os.system('convert '+install_dir+'background.png -alpha set -background none -channel A -evaluate multiply '+str(round(opacity_perc,2))+' +channel '+install_dir+'background.png') diff --git a/cool-cyber-term.desktop b/cool-retro-term.desktop similarity index 54% rename from cool-cyber-term.desktop rename to cool-retro-term.desktop index 99e4255..c980272 100644 --- a/cool-cyber-term.desktop +++ b/cool-retro-term.desktop @@ -1,11 +1,11 @@ [Desktop Entry] Comment=Use the command line the old way -Exec=/opt/cool-cyber-term/start.sh +Exec=cool-retro-term GenericName=Terminal emulator -Icon=/opt/cool-cyber-term/cool-retro-term.png -Name=Cool Cyber Term +Icon=cool-retro-term +Name=Cool Retro Term Categories=System;TerminalEmulator; StartupNotify=true Terminal=false Type=Application -Keywords=shell;prompt;command;commandline; +Keywords=shell;prompt;command;commandline; \ No newline at end of file diff --git a/start.sh b/start.sh deleted file mode 100644 index 9ff96e6..0000000 --- a/start.sh +++ /dev/null @@ -1,3 +0,0 @@ -cd /opt/cool-cyber-term -python3 background_selection.py -./cool-retro-term