From 7f335c1a8c2f39ea417e20c8d04d2f5e23b2cdd1 Mon Sep 17 00:00:00 2001 From: Void Soul Date: Wed, 1 Jul 2020 20:44:26 +0530 Subject: [PATCH] my custom scripts added --- .local/bin/fireplaces | 36 ++++++++++++++++++++++++++++++++++++ .local/bin/myprograms | 13 +++++++++++++ .local/share/larbs/appslist | 15 +++++++++++++++ .xprofile | 2 +- 4 files changed, 65 insertions(+), 1 deletion(-) create mode 100755 .local/bin/fireplaces create mode 100755 .local/bin/myprograms create mode 100644 .local/share/larbs/appslist diff --git a/.local/bin/fireplaces b/.local/bin/fireplaces new file mode 100755 index 00000000..7d54ca27 --- /dev/null +++ b/.local/bin/fireplaces @@ -0,0 +1,36 @@ +#!/bin/zsh + +case "$1" in + floo) + sudo mount /dev/sda3 ~/tent/durmstrang && + sudo mount /dev/sda4 ~/tent/ilvermony && + sudo mount /dev/sdb1 ~/tent/hogsmead && + sudo mount /dev/sdb2 ~/tent/muzix && + sudo mount /dev/sdb3 ~/tent/castelobruxo && + sudo mount /dev/sdb4 ~/tent/hogwarts && + notify-send "You got Access in: +🚢 Durmstrang +🌲 Ilvermony +🏘 Hogsmead +🎼 Muzix +🏯 Castelobruxo +🧙 Hogwarts" + ;; + flew) + sudo umount /dev/sda3 && + sudo umount /dev/sda4 && + sudo umount /dev/sdb1 && + sudo umount /dev/sdb2 && + sudo umount /dev/sdb3 && + sudo umount /dev/sdb4 && + notify-send "(Enjoy Holidays) Regards- +🚢 Durmstrang +🌲 Ilvermony +🏘 Hogsmed +🎼 Muzix +🏯 Castelobruxo +🧙 Hogwarts" + ;; + *) + notify-send "Do you want to floo in or flew out from portals" ;; +esac diff --git a/.local/bin/myprograms b/.local/bin/myprograms new file mode 100755 index 00000000..63bd1685 --- /dev/null +++ b/.local/bin/myprograms @@ -0,0 +1,13 @@ +#!/bin/sh + +# This Script shows the Apps list generated by you in appslist file +# Its based on Luke Smith's dmenunicode script and tutorialvids script + +appslist="/home/voidme/.local/share/larbs/appslist" + +less "$appslist" | grep -P "^$(less "$appslist" | grep ";" | sed 's/\t.*//g' | dmenu -i -p "All Programs: (ESC to cancel)" -l 20 | awk '{print $1}')\s" | sed 's/.*\t;//' | ${SHELL:-"/bin/bash"} & + + +#dmenu_path | dmenu "$@" | ${SHELL:-"/bin/sh"} & + +#xargs -r st -e diff --git a/.local/share/larbs/appslist b/.local/share/larbs/appslist new file mode 100644 index 00000000..b44c9830 --- /dev/null +++ b/.local/share/larbs/appslist @@ -0,0 +1,15 @@ +🦁 brave ;exec `brave` +📔 Libre Office ;exec '/home/voidme/tent/hogsmead/Softwares/home/LibreOffice-fresh.basic-x86_64.AppImage' +🖌 Gimp ;exec '/home/voidme/tent/hogsmead/Softwares/home/GIMP.AppImage' +🎶 cava ;$TERMINAL -e '/home/voidme/tent/hogsmead/Softwares/Linux_Soft/Binary_Builds/cava/cava' +🎼 vis ;$TERMINAL -e '/home/voidme/tent/hogsmead/Softwares/Linux_Soft/Binary_Builds/cli-visualizer/build/vis' +👀 Speed Reader ;wine '/home/voidme/tent/hogsmead/Softwares/Linux_Soft/Binary_Builds/Speed Reader Enhanced Portable/Speed Reader Enhanced Portable/Speed Reader Enhanced.exe' +💭 RIOT.IM ;exec '/home/voidme/tent/hogsmead/Softwares/home/Riot-x86_64.AppImage' +🐧 eDEX-UI ;exec '/home/voidme/tent/hogsmead/Softwares/home/eDEX-UI.Linux.x86_64.AppImage' +🎹 lmms ;exec '/home/voidme/tent/hogsmead/Softwares/home/lmms.AppImage' +💭 Discord ;exec '/home/voidme/tent/hogsmead/Softwares/home/Discord' + + +☠ CS:CZ ;cd '/home/voidme/.local/share/wineprefixes/default/drive_c/Program Files (x86)/Condition Zero - Xtreme Edition/' && wine 'czero.exe' +🤖 Xonotic ;cd '/home/voidme/tent/hogsmead/Softwares/home/Xonotic/' && ./xonotic-linux64-glx +⛑ Delta Force 2 ;cd '/home/voidme/tent/hogwarts/Games/Delta 2/DeltaF_2/' && wine Df2.exe diff --git a/.xprofile b/.xprofile index 8eff74e0..dfadb4be 100755 --- a/.xprofile +++ b/.xprofile @@ -9,7 +9,7 @@ dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XA mpd & # music player daemon-you might prefer it as a service though remaps & # run the remaps script, switching caps/esc and more; check it for more info -fireplaces floo # Mounting Drives +fireplaces floo & # Mounting Drives #xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/Xresources & # Uncomment to use Xresources colors/settings on startup xcompmgr & # xcompmgr for transparency dunst & # dunst for notifications