aboutsummaryrefslogtreecommitdiff
path: root/.scripts
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-11-24 20:20:08 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-11-24 20:20:08 +0530
commit24045012e69eb4d72b7a4344bca515e53412bba0 (patch)
tree5277c330f3b442bd8d09fad2e83b815038a24c6a /.scripts
parentf300ba9a9302e70dcc72523639aecc1e04feec53 (diff)
added playerctl keybindings
Diffstat (limited to '.scripts')
-rwxr-xr-x.scripts/macli-keys6
-rwxr-xr-x.scripts/secondmonitor.sh2
2 files changed, 6 insertions, 2 deletions
diff --git a/.scripts/macli-keys b/.scripts/macli-keys
new file mode 100755
index 0000000..4122c91
--- /dev/null
+++ b/.scripts/macli-keys
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+choice="great teacher onizuka"
+
+notify-send "macli" "$(macli episodes -S 1 -s +1 $choice | sed -e 's/\x1b\[[0-9;]*m//g')"
+
diff --git a/.scripts/secondmonitor.sh b/.scripts/secondmonitor.sh
deleted file mode 100755
index cc379c0..0000000
--- a/.scripts/secondmonitor.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-xrandr --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate normal --output eDP-1-1 --primary --mode 1920x1080 --pos 1920x0 --rotate normal