Updates
This commit is contained in:
parent
d5a483755c
commit
fc536b2902
1
.bashrc
1
.bashrc
@ -48,6 +48,7 @@ alias gpf="git stash; git pull"
|
||||
# SCRIPTS
|
||||
alias gr='python ~/dotfiles/scripts/growthrate.py'
|
||||
alias chat='python ~/mychatgpt/mychatgpt.py'
|
||||
alias ascii='~/dotfiles/scripts/figlet.sh'
|
||||
|
||||
# VIRTUAL MACHINE
|
||||
# alias vm='~/dotfiles/scripts/launchvm.sh'
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# ____ _ _ __
|
||||
# | _ \| | __ _| |_ / _| ___ _ __ _ __ ___
|
||||
# | |_) | |/ _` | __| |_ / _ \| '__| '_ ` _ \
|
||||
@ -6,6 +6,9 @@
|
||||
# |_| |_|\__,_|\__|_| \___/|_| |_| |_| |_|
|
||||
#
|
||||
# by Stephan Raabe (2023)
|
||||
# -----------------------------------------------------
|
||||
# 3 = Desktop
|
||||
# 10 = Laptop
|
||||
# -----------------------------------------------------
|
||||
|
||||
cat /sys/class/dmi/id/chassis_type
|
||||
|
@ -1,4 +1,13 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# _ _ _ _
|
||||
# | | | |_ __ __| | __ _| |_ ___ ___
|
||||
# | | | | '_ \ / _` |/ _` | __/ _ \/ __|
|
||||
# | |_| | |_) | (_| | (_| | || __/\__ \
|
||||
# \___/| .__/ \__,_|\__,_|\__\___||___/
|
||||
# |_|
|
||||
#
|
||||
# by Stephan Raabe (2023)
|
||||
# -----------------------------------------------------
|
||||
|
||||
format() {
|
||||
if [ "$1" -eq 0 ]; then
|
||||
|
@ -1,4 +1,13 @@
|
||||
#!/bin/bash
|
||||
# _ _ _ _
|
||||
# | | | |_ __ __| | __ _| |_ ___ ___
|
||||
# | | | | '_ \ / _` |/ _` | __/ _ \/ __|
|
||||
# | |_| | |_) | (_| | (_| | || __/\__ \
|
||||
# \___/| .__/ \__,_|\__,_|\__\___||___/
|
||||
# |_|
|
||||
#
|
||||
# by Stephan Raabe (2023)
|
||||
# -----------------------------------------------------
|
||||
|
||||
pacmanUpdates=$(pacman -Syup | grep http:// | wc -l)
|
||||
aurUpdates=$(yaourt -Qua | grep aur | wc -l)
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# _____ _ _
|
||||
# | ___|__ _ __ | |_ ___ ___ __ _ _ __ ___| |__
|
||||
# | |_ / _ \| '_ \| __/ __|/ _ \/ _` | '__/ __| '_ \
|
||||
@ -6,6 +6,7 @@
|
||||
# |_| \___/|_| |_|\__|___/\___|\__,_|_| \___|_| |_|
|
||||
#
|
||||
# by Stephan Raabe (2023)
|
||||
# -----------------------------------------------------
|
||||
#
|
||||
fc-list \
|
||||
| grep -ioE ": [^:]*$1[^:]+:" \
|
||||
|
@ -1,4 +1,13 @@
|
||||
#!/bin/bash
|
||||
# _ _ __ ____ __
|
||||
# | | __ _ _ _ _ __ ___| |__ \ \ / / \/ |
|
||||
# | | / _` | | | | '_ \ / __| '_ \ \ \ / /| |\/| |
|
||||
# | |__| (_| | |_| | | | | (__| | | | \ V / | | | |
|
||||
# |_____\__,_|\__,_|_| |_|\___|_| |_| \_/ |_| |_|
|
||||
#
|
||||
#
|
||||
# by Stephan Raabe (2023)
|
||||
# -----------------------------------------------------
|
||||
|
||||
function countdown
|
||||
{
|
||||
|
@ -1,4 +1,13 @@
|
||||
#!/bin/bash
|
||||
# _ _ _ ____ _
|
||||
# | | ___ ___ | | _(_)_ __ __ _ / ___| | __ _ ___ ___
|
||||
# | | / _ \ / _ \| |/ / | '_ \ / _` | | | _| |/ _` / __/ __|
|
||||
# | |__| (_) | (_) | <| | | | | (_| | | |_| | | (_| \__ \__ \
|
||||
# |_____\___/ \___/|_|\_\_|_| |_|\__, | \____|_|\__,_|___/___/
|
||||
# |___/
|
||||
#
|
||||
# by Stephan Raabe (2023)
|
||||
# -----------------------------------------------------
|
||||
|
||||
virsh --connect qemu:///system start win11
|
||||
looking-glass-client &
|
||||
|
@ -1,8 +1,16 @@
|
||||
#!/bin/bash
|
||||
# ____ _ _
|
||||
# / ___| _ __ __ _ _ __ ___| |__ ___ | |_
|
||||
# \___ \| '_ \ / _` | '_ \/ __| '_ \ / _ \| __|
|
||||
# ___) | | | | (_| | |_) \__ \ | | | (_) | |_
|
||||
# |____/|_| |_|\__,_| .__/|___/_| |_|\___/ \__|
|
||||
# |_|
|
||||
#
|
||||
# by Stephan Raabe (2023)
|
||||
# -----------------------------------------------------
|
||||
|
||||
read -p "Enter a comment for the snapshot: " c
|
||||
sudo timeshift --create --comments "$c"
|
||||
sudo timeshift --list
|
||||
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
||||
echo "DONE. Snapshot $c created!"
|
||||
|
||||
|
@ -1,10 +0,0 @@
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
os.chdir("/home/raabe")
|
||||
# os.system("ls")
|
||||
|
||||
# process = subprocess.run(["ls", "-al"], stdout=subprocess.PIPE, universal_newlines=True)
|
||||
process = subprocess.run(["ls", "-al"], stdout=subprocess.PIPE)
|
||||
# print(process.stdout)
|
||||
|
@ -1,4 +1,13 @@
|
||||
# ~/.bashrc
|
||||
#!/bin/bash
|
||||
# ____ _ _____ _
|
||||
# / ___| |__ __ _ _ __ __ _ ___ |_ _| |__ ___ _ __ ___ ___
|
||||
# | | | '_ \ / _` | '_ \ / _` |/ _ \ | | | '_ \ / _ \ '_ ` _ \ / _ \
|
||||
# | |___| | | | (_| | | | | (_| | __/ | | | | | | __/ | | | | | __/
|
||||
# \____|_| |_|\__,_|_| |_|\__, |\___| |_| |_| |_|\___|_| |_| |_|\___|
|
||||
# |___/
|
||||
#
|
||||
# by Stephan Raabe (2023)
|
||||
# -----------------------------------------------------
|
||||
|
||||
echo "Changing theme..."
|
||||
# Update Wallpaper with pywal
|
||||
|
Loading…
Reference in New Issue
Block a user