This commit is contained in:
2022-01-18 01:25:46 -05:00
parent 2e1e1f38b2
commit def5ca8b9a
86 changed files with 9017 additions and 0 deletions
Executable
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
HOME=$R_HOME
/usr/bin/R "$@"
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
HOME=$XDG_CONFIG_HOME /home/emh/ctf/binaryninja/binaryninja
Executable
+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
for i in {101..110};
do
bspc desktop -f $i || true
done
Executable
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
HOME=$FEH_HOME
/usr/bin/feh "$@"
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
filename=$(basename -- "$1" .osz)
unzip "$@" -d "/home/emh/media/games/osu/songs/$filename/"
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
HOME=$MOZILLA_HOME
/usr/bin/firefox "$@"
Executable
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
ps aux | grep "$@" | awk '{print $2}' | xargs kill -9
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
HOME=$KRUNKER_HOME /usr/bin/krunker "$@"
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
filename=$(basename -- "$1" .osz)
unzip "$@" -d "$HOME/media/games/osu/songs/$filename/"
Executable
BIN
View File
Binary file not shown.
Executable
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
cat /dev/urandom | tr -dc "a-zA-Z0-9_" | head -c 50; echo
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
HOME=$MOZILLA_HOME $MOZILLA_HOME/.local/bin/pywalfox "$@"
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
sudo btrfs subvolume snapshot / /.snapshots/root-$(date +%F)
sudo btrfs subvolume snapshot /home /.snapshots/home-$(date +%F)
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
sg spotify -c "/usr/bin/spicetify $@"
+32
View File
@@ -0,0 +1,32 @@
#!/usr/bin/env python
# vim: ft=python
import dbus
try:
sess = dbus.SessionBus()
spotify = sess.get_object('org.mpris.MediaPlayer2.spotify', '/org/mpris/MediaPlayer2')
properties = dbus.Interface(spotify, 'org.freedesktop.DBus.Properties')
metadata = properties.Get("org.mpris.MediaPlayer2.Player", "Metadata")
status = properties.Get("org.mpris.MediaPlayer2.Player", "PlaybackStatus")
artist = metadata['xesam:artist'][0] if metadata['xesam:artist'] else ''
song = metadata['xesam:title'] if metadata['xesam:title'] else ''
album = metadata['xesam:album'] if metadata['xesam:album'] else ''
pause_symbol = " "
play_symbol = " "
if (not song and not artist):
print("")
if (song == "Advertisement" or not artist):
print(pause_symbol + "Advertisement")
else:
symbol = pause_symbol
if status == "Playing":
symbol = play_symbol
print(f"{symbol} {song}: {artist}"[:25] + "...")
except dbus.exceptions.DBusException:
print("")
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
HOME=$SPOTIFY_HOME
LD_PRELOAD=/usr/lib/spotify-adblock.so /usr/bin/spotify "$@"
Executable
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
scrot -s -f -F $SCREENSHOT_HOME/$(date +%F-%H%M%S).png -e 'xclip -sel clipboard -t image/png -i $f'
Executable
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
HOME=$STEAM_HOME /usr/bin/steam "$@"
BIN
View File
Binary file not shown.
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
feh --bg-fill "$1"
Executable
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
fuck polybar
pywal-discord &
pywalfox update &
spicetify update &
bspc wm -r &
killall dunst
dunst &
Executable
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
source "$HOME"/.cache/wal/colors.sh
XSECURELOCK_AUTH_BACKGROUND_COLOR=$background XSECURELOCK_AUTH_FOREGROUND_COLOR=$foreground XSECURELOCK_NO_COMPOSITE=1 xsecurelock