summaryrefslogtreecommitdiff
path: root/ar/.config/rmpc/scripts/onresize
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-02-17 22:19:16 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-02-17 22:19:16 +0900
commitba6a11651f6ab23e62ceab18e3fd383318fe02d2 (patch)
treed492a99af564d5990be4f01976571b1405033f70 /ar/.config/rmpc/scripts/onresize
parenteec577616f0f23949030c36e2a5061974c9bfe45 (diff)
updates
Diffstat (limited to 'ar/.config/rmpc/scripts/onresize')
-rwxr-xr-xar/.config/rmpc/scripts/onresize7
1 files changed, 7 insertions, 0 deletions
diff --git a/ar/.config/rmpc/scripts/onresize b/ar/.config/rmpc/scripts/onresize
new file mode 100755
index 0000000..36462ce
--- /dev/null
+++ b/ar/.config/rmpc/scripts/onresize
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+if [[ $COLS -gt 100 ]]; then
+ rmpc remote --pid "$PID" set theme ~/.config/rmpc/themes/catppuccin-mocha.ron
+else
+ rmpc remote --pid "$PID" set theme ~/.config/rmpc/themes/catppuccin-mocha-small.ron
+fi