This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Modifier Key (Super) | |
set $mod Mod4 | |
# No mouse focus | |
focus_follows_mouse no | |
# Font for window titles. Will also be used by the bar unless a different font | |
# is used in the bar {} block below. | |
font pango:Noto Sans 11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
align=left | |
separator=false | |
separator_block_width=10 | |
color=#fefefe | |
[window] | |
markup=pango | |
command=echo "<span background='#2b3948'> $(/home/marcus-s/Private/Scripts/xfcetweaks/windowtitle) </span>" | |
interval=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
free | awk '/Mem/{printf("RAM Usage: %.2f%\n"), $3/$2*100}' | awk '{print $3}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
small script to check for unread count on imap inbox | |
""" | |
import imaplib | |
IMAPSERVER = 'YOUR.IMAP-SERVER.COM' | |
USER = 'EMAIL@NUTZERNAME' | |
PASSWORD = 'ACCOUNT-PASSWORT' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while : | |
do | |
apt update | |
apt -t buster-backports update | |
sleep 3600 | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rm -rf /tmp/apt | |
APTU=`apt list --upgradable | wc -l` | |
APT=`expr $APTU - 1 > /tmp/apt` | |
cat /tmp/apt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Update APT caches every hour | |
After=network.target | |
[Service] | |
Type=simple | |
Restart=always | |
ExecStart=/home/marcus-s/Private/Scripts/updateApt.sh | |
[Install] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
xdotool getactivewindow getwindowname |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
HOMEDIR="/home/YOUR_USERNAME" | |
BROWSERSYNC="/mnt/PI_MOUNTPOINT_TO_DESIRED_FOLDER" | |
TMPSYNC="/tmp/browsersync" | |
rm -rf $TMPSYNC | |
mkdir $TMPSYNC | |
unlink $HOMEDIR/.mozilla |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import argparse | |
import os | |
import queue | |
import sounddevice as sd | |
import vosk | |
import sys | |
import json | |
import subprocess |