deleted Telegram Desktop executable, added utility scripts, improved operating systems compatibility
noos-noarch/home/bryanpedini/bin/telegram is a softlink to noos-noarch/home/bryanpedini/bin/Telegram/Telegram noos-noarch/home/bryanpedini/bin/Telegram contains two dummy files called exactly the same as the ones extracted from official desktop app, please replace them! modified Telegram ".desktop" files accordingly to new telegram symlink filename added cat-directory utility, lists all the content of the current directory (or first argument) and prints all the files' contents to STDOUT added cpuload utility, prints a simplified version of the "Load Average" that top/htop provide, useful in scripts or widgets added incognito utility, opens the first argument in a Google Chrome tab in incognito mode, useful for developing/debugging added rmhistory utility, just a single command to not have to remember the bash_history filename, callable everywhere modified externalip to use "env" program to call bash, truly noos-noarch
This commit is contained in:
parent
ff1df27eb4
commit
8f896625eb
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
sudo systemctl start dns-clean
|
|
@ -2,5 +2,5 @@
|
|||
Name=Telegram BJPGameVideosITA
|
||||
Description=A new era of messaging
|
||||
Type=application
|
||||
Exec=telegram-desktop -workdir $HOME/telegram-data/bjpgamevideosita
|
||||
Exec=telegram -workdir $HOME/telegram-data/bjpgamevideosita
|
||||
Icon=$HOME/Pictures/icons/telegram.ico
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
Name=Telegram Bryanpedini
|
||||
Description=A new era of messaging
|
||||
Type=application
|
||||
Exec=telegram-desktop -workdir $HOME/telegram-data/bryanpedini
|
||||
Exec=telegram -workdir $HOME/telegram-data/bryanpedini
|
||||
Icon=$HOME/Pictures/icons/telegram.ico
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
dummy file
|
|
@ -0,0 +1 @@
|
|||
dummy filex
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
[[ "$#" -eq 1 ]] && BASEDIR="$1" || BASEDIR="$(pwd)"
|
||||
find "$BASEDIR" -type f -exec echo -e "\e[32m$(basename -- {})\e[37m:" \; -exec cat {} \;
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo -n "CPU: "
|
||||
top -bn1 | grep "Cpu(s)" | cut -c 10-13 | awk '{print $1"%"}'
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
curl http://ipecho.net/plain
|
||||
echo
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
google-chrome --incognito "$1"
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
rm -i $HOME/.bash_history 2> /dev/null
|
|
@ -0,0 +1 @@
|
|||
/home/bryanpedini/projects/linux-utils-temp/linux-utils/noos-noarch/home/bryanpedini/bin/Telegram/Telegram
|
Binary file not shown.
Loading…
Reference in New Issue