diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-02-17 22:19:16 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-02-17 22:19:16 +0900 |
| commit | 1864770d606c4aa8b0af5e88dd41c21caab8e851 (patch) | |
| tree | 888e82c9187b6833884d45d7e424c999ce5be93b /ar/.config/rmpc/scripts/onresize | |
| parent | c58bfa168fed713821dd434632e8da4ac65df479 (diff) | |
updates
Diffstat (limited to 'ar/.config/rmpc/scripts/onresize')
| -rwxr-xr-x | ar/.config/rmpc/scripts/onresize | 7 |
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 |
