diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-05-31 15:18:41 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-05-31 15:18:41 -0400 |
| commit | 37ea7a555269a92d524bf78d492e4ebc64a133d0 (patch) | |
| tree | 1bc8b9310c1e7f3c2fb7fdf30ae7e525797ca166 /.local | |
| parent | a876f3788efd2f2d08aefface2ea7e01abfbd094 (diff) | |
| download | eibhear-37ea7a555269a92d524bf78d492e4ebc64a133d0.tar.gz eibhear-37ea7a555269a92d524bf78d492e4ebc64a133d0.tar.zst eibhear-37ea7a555269a92d524bf78d492e4ebc64a133d0.zip | |
old scripts cleanup
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/lmc | 28 | ||||
| -rwxr-xr-x | .local/bin/showclip | 10 |
2 files changed, 0 insertions, 38 deletions
diff --git a/.local/bin/lmc b/.local/bin/lmc deleted file mode 100755 index d431495..0000000 --- a/.local/bin/lmc +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -NUM="${2:-5}" - -# Uncomment the following line to use Pulseaudio. -# PULSE=true - -if [ "$PULSE" ]; then - toggle() { pulsemixer --toggle-mute ;} - mute() { pulsemixer --mute ;} - up() { pulsemixer --change-volume +"$NUM" ;} - down() { pulsemixer --change-volume -"$NUM" ;} - control() { pulsemixer ;} -else - toggle() { amixer sset Master toggle ;} - mute() { amixer sset Master mute ;} - up() { amixer sset Master "$NUM"%+ ;} - down() { amixer sset Master "$NUM"%- ;} - control() { alsamixer ;} -fi - -case "$1" in - toggle) toggle ;; - mute) mute ;; - up) up ;; - down) down ;; - control) control ;; -esac diff --git a/.local/bin/showclip b/.local/bin/showclip deleted file mode 100755 index d2faff8..0000000 --- a/.local/bin/showclip +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# Display contents of selection via dunst if running. -# Separate script for i3. - -clip=$(xclip -o -selection clipboard) -prim=$(xclip -o -selection primary) - -[ -n "$clip" ] && notify-send "Clipboard:" "$clip" -[ -n "$prim" ] && notify-send "Primary:" "$prim" |
