summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsteven-na <noreply.github@stvnc.dev>2026-08-15 08:37:27 -0700
committersteven-na <noreply.github@stvnc.dev>2026-08-15 08:37:27 -0700
commit663b54a302a0f2525eb232eafc9aa2212c3c556b (patch)
treea6e88b5672c08ed93b0a0914d8bb02695c6abf36
parent23a4344cefe423ad27c9c6ab48973688d4942154 (diff)
Scripint + monitor
-rw-r--r--arch/fish/.config/fish/conf.d/aliases.fish2
-rw-r--r--arch/hyprland/.config/hypr/monitors.conf1
-rwxr-xr-xarch/scripts/.local/bin/!remindme27
3 files changed, 30 insertions, 0 deletions
diff --git a/arch/fish/.config/fish/conf.d/aliases.fish b/arch/fish/.config/fish/conf.d/aliases.fish
index a7f237c..f75fcf7 100644
--- a/arch/fish/.config/fish/conf.d/aliases.fish
+++ b/arch/fish/.config/fish/conf.d/aliases.fish
@@ -9,6 +9,8 @@ alias tl 'tldr'
alias tm 'bash seshc.sh'
alias info 'pinfo'
+alias bak 'systemctl --user start backup.service'
+
# Man page shortcuts
abbr -a m1 'man -s 1'
abbr -a m2 'man -s 2'
diff --git a/arch/hyprland/.config/hypr/monitors.conf b/arch/hyprland/.config/hypr/monitors.conf
index 6acb585..ce71109 100644
--- a/arch/hyprland/.config/hypr/monitors.conf
+++ b/arch/hyprland/.config/hypr/monitors.conf
@@ -6,3 +6,4 @@ monitor = , preferred, auto, 1
# Multi-monitor: uncomment and configure when adding external display
# monitor = desc:YOUR_MONITOR_DESC, 1920x1080@144, auto, 1, transform, 1
+monitor=desc:ASUSTek COMPUTER INC VG259QM SALMQS078467, 1920x1080@144, auto, 1, transform, 0, vrr, 2
diff --git a/arch/scripts/.local/bin/!remindme b/arch/scripts/.local/bin/!remindme
new file mode 100755
index 0000000..35b817f
--- /dev/null
+++ b/arch/scripts/.local/bin/!remindme
@@ -0,0 +1,27 @@
+#!/usr/bin/env bash
+
+parse_time() {
+ local input="${1,}"
+
+ if [[ $input =~ ^([0-9]+)(m|min|mins|minute|minutes)$ ]]; then
+ echo "now + ${BASH_REMATCH[1]} minutes"
+ elif [[ $input =~ ^([0-9]+)(h|hr|hrs|hour|hours)$ ]]; then
+ echo "now + ${BASH_REMATCH[1]} hours"
+ elif [[ $input =~ ^([0-9]+)(d|day|days)$ ]]; then
+ echo "now + ${BASH_REMATCH[1]} days"
+ elif [[ $input =~ ^([0-9]+)(w|wk|wks|week|weeks)$ ]]; then
+ echo "now + ${BASH_REMATCH[1]} weeks"
+ elif [[ $input =~ ^([0-9]+)(mo|month|months)$ ]]; then
+ echo "now + ${BASH_REMATCH[1]} months"
+ elif [[ $input =~ ^([0-9]+)(y|yr|yrs|year|years)$ ]]; then
+ echo "now + ${BASH_REMATCH[1]} years"
+ else
+ echo "$input"
+ fi
+}
+
+AT_TIME=$(parse_time "$2")
+at "$AT_TIME" <<EOF
+notify-send "$1"
+ffplay -autoexit -nodisp -f lavfi -i "sine=f=880:d=0.6,adelay=450|0[a]; sine=f=1320:d=0.6[b]; [a][b]amix=inputs=2,afade=t=in:d=0.05,afade=t=out:st=0.35:d=0.5"
+EOF