1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-09 19:11:15 +02:00

giving some props to the creators

This commit is contained in:
TiynGER
2020-04-02 00:06:34 +02:00
parent 5b15670a44
commit 13f56aab85
33 changed files with 56 additions and 121 deletions

View File

@@ -1,8 +1,10 @@
#!/bin/sh
# Gives a dmenu prompt to mount unmounted drives.
# If they're in /etc/fstab, they'll be mounted automatically.
# Otherwise, you'll be prompted to give a mountpoint from already existsing directories.
# If you input a novel directory, it will prompt you to create that directory.
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
getmount() { \
[ -z "$chosen" ] && exit 1

View File

@@ -1,7 +1,9 @@
#!/bin/sh
# A dmenu prompt to unmount drives.
# Provides you with mounted partitions, select one to unmount.
# Drives mounted at /, /boot and /home will not be options to unmount.
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
unmountusb() {
[ -z "$drives" ] && exit

View File

@@ -1,5 +1,7 @@
#!/bin/sh
# A general audio interface for LARBS.
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
[ -z "$2" ] && num="2" || num="$2"

View File

@@ -1,8 +1,11 @@
#!/bin/sh
# Gives a dmenu prompt to search Startpage.
# Without input, will open Startpage.com.
# URLs will be directly handed to the browser.
# Anything else, it search it.
# original by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
browser=${RTVBROWSER:-firefox}
pgrep -x dmenu && exit

View File

@@ -1,5 +1,8 @@
#!/bin/sh
# toggle external monitor
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
intern=LVDS-1
extern=HDMI-1
(xrandr | grep "$extern disconnected")

View File

@@ -1,4 +1,7 @@
#!/bin/sh
# Toggle touchpad. Requires xf86-input-synaptics.
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
(synclient | grep "TouchpadOff.*1" && synclient TouchpadOff=0)>/dev/null && notify-send "TouchPad reactivated." && exit
synclient TouchpadOff=1 && notify-send "TouchPad deactivated."