first
This commit is contained in:
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
HOME=$XDG_CONFIG_HOME /home/emh/ctf/binaryninja/binaryninja
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
for i in {101..110};
|
||||
do
|
||||
bspc desktop -f $i || true
|
||||
done
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
HOME=$FEH_HOME
|
||||
/usr/bin/feh "$@"
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
filename=$(basename -- "$1" .osz)
|
||||
|
||||
unzip "$@" -d "/home/emh/media/games/osu/songs/$filename/"
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
HOME=$MOZILLA_HOME
|
||||
/usr/bin/firefox "$@"
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
ps aux | grep "$@" | awk '{print $2}' | xargs kill -9
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
HOME=$KRUNKER_HOME /usr/bin/krunker "$@"
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
filename=$(basename -- "$1" .osz)
|
||||
|
||||
unzip "$@" -d "$HOME/media/games/osu/songs/$filename/"
|
||||
Executable
BIN
Binary file not shown.
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
cat /dev/urandom | tr -dc "a-zA-Z0-9_" | head -c 50; echo
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
HOME=$MOZILLA_HOME $MOZILLA_HOME/.local/bin/pywalfox "$@"
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
sudo btrfs subvolume snapshot / /.snapshots/root-$(date +%F)
|
||||
sudo btrfs subvolume snapshot /home /.snapshots/home-$(date +%F)
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
sg spotify -c "/usr/bin/spicetify $@"
|
||||
Executable
+32
@@ -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("")
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
HOME=$SPOTIFY_HOME
|
||||
LD_PRELOAD=/usr/lib/spotify-adblock.so /usr/bin/spotify "$@"
|
||||
Executable
+3
@@ -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
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
HOME=$STEAM_HOME /usr/bin/steam "$@"
|
||||
Executable
BIN
Binary file not shown.
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
feh --bg-fill "$1"
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
fuck polybar
|
||||
pywal-discord &
|
||||
pywalfox update &
|
||||
spicetify update &
|
||||
bspc wm -r &
|
||||
killall dunst
|
||||
dunst &
|
||||
Executable
+5
@@ -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
|
||||
Reference in New Issue
Block a user