From 89de22305e4115be766663c0edb269a43395e5f1 Mon Sep 17 00:00:00 2001 From: ZachIR Date: Thu, 14 Aug 2025 12:37:51 -0500 Subject: Use ls and rm aliases if progs exist If `type eza` then use eza for ls. If `type trash-put` use trash-put for rm. --- sh/aliases | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sh/aliases b/sh/aliases index 93784e7..2e7ecf5 100644 --- a/sh/aliases +++ b/sh/aliases @@ -19,10 +19,10 @@ case `uname -s` in ;; "Linux") #alias ls="ls -h $COLOR_FLAGS_GNU" - alias ls="eza" + type eza >/dev/null && alias ls="eza" ;; "Darwin") - alias ls="eza --color" + type eza >/dev/null && alias ls="eza --color" ;; esac alias ll='ls -l' @@ -44,7 +44,7 @@ case `uname -s` in alias rm='rm -i' ;; "Linux") - alias rm='trash-put' + type trash-put >/dev/null && alias rm='trash-put' ;; esac alias cp='cp -i' -- cgit v1.2.3 From 2c60ceb12271e77ce44f7b0efa9b08f856293e71 Mon Sep 17 00:00:00 2001 From: ZachIR Date: Thu, 14 Aug 2025 12:38:22 -0500 Subject: Remove deprecated option in hyprlock conf Apparently fail_transition is no longer in the hyperlock config. --- hypr/hyprlock.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf index 2ec72d3..8ee636d 100644 --- a/hypr/hyprlock.conf +++ b/hypr/hyprlock.conf @@ -41,7 +41,7 @@ input-field { check_color = rgb(204, 136, 34) fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color fail_text = $FAIL ($ATTEMPTS) # can be set to empty - fail_transition = 300 # transition time in ms between normal outer_color and fail_color + #fail_transition = 300 # transition time in ms between normal outer_color and fail_color capslock_color = -1 numlock_color = -1 bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above) -- cgit v1.2.3