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 | |
# Pipe | |
while true | |
do | |
echo "1:#$(date '+%T')" | |
echo "1:$(date '+%1S')" | |
echo "2:#$(date '+%D %a')" | |
echo "2:$((60-$(date '+%1S')))" | |
sleep 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 | |
### Itchy video | |
### Downloads videos (with the best video + best audio or best option available) into ~/Videos | |
### If ffmpeg or avconv is installed, best video & best audio will be downloaded separately | |
### and combined into a single file | |
### Requires: xev (provided by "x11-utils" package), xdotool, yad, youtube-dl, wget | |
### Note: uses xev with -event option (so, should work in debian jessie or newer) | |
### Made by Misko_2083 |
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 | |
### Brisk-menu workaround when it's not unmapping by hot-key in Ubuntu Mate | |
### Install xdotool | |
### Save this script and make it executable | |
############################################################################### | |
# Launching this script with the Super_L keyboard key | |
# Install ksuperkey https://github.com/hanschen/ksuperkey | |
# Set brisk menu hot-key to none '' or some other key combo like '<Ctrl>F10' |
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 | |
####################################################### | |
# Description: # | |
# bash script to list and focus windows # | |
# via yad list UI Misko_2083 # | |
####################################################### | |
ERR(){ echo "ERROR: $1" 1>&2; } | |
declare -i DEPCOUNT=0 |
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 | |
# check if xdotool is installed | |
if ! hash xdotool; then | |
echo "Install xdotool!" | |
exit 1 | |
fi | |
TEMPFILE="$(mktemp /tmp/yadformX.XXXXXX)" |
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 | |
ERR(){ echo "ERROR: $1" 1>&2; } | |
declare -i DEPCOUNT=0 | |
for DEP in /usr/bin/{xdotool,yad,xprop};do | |
[ -x "$DEP" ] || { | |
ERR "$LINENO Dependency '$DEP' not met." | |
DEPCOUNT+=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 | |
# Dynamic panel transparency (Budgie) like in Mate Desktop | |
# This script sets the top panel to full transparency if no maximized window is on the current workspace. | |
# Sort of like Dynamic Transparency with budgie-panel’s in Solus. | |
# Whenever there is a maximized window on a workspace the top panel will turn off transparency. | |
# The only issue is that clock applet opacity isn’t changing. | |
# Save, make executable, run on startup | |
# Requires: xprop, imagemagick |
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 | |
# Script to set the monitor brightness | |
# Creates a notification icon UI | |
ERR(){ echo "ERROR: $1" 1>&2; } | |
declare -i DEPCOUNT=0 | |
for DEP in /usr/bin/{xdotool,yad,xrandr};do | |
[ -x "$DEP" ] || { | |
ERR "$LINENO Dependency '$DEP' not met." |
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 | |
# Fancy alarm Misko_2083 @ 2020 | |
# Requires: at, xfce4, wmctrl, xdotool, yad 0.42 (with html dialog), mpv | |
######################### | |
# Begin User Interface # | |
######################### | |
# JavaScript, HTML and CSS |
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 | |
UI=$(cat <<EOF | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<style> | |
.body { | |
background-color: #CECECE; |
OlderNewer