From 29dfb510c1fb85a2a1cd0ffbe069ee9250d81e96 Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Tue, 14 Nov 2023 22:07:24 +0100 Subject: [PATCH] Remove old scripts --- arch/stow/_scripts/.scripts/wlsunset.sh | 15 --------------- arch/stow/_scripts/git-flake | 7 ------- 2 files changed, 22 deletions(-) delete mode 100644 arch/stow/_scripts/.scripts/wlsunset.sh delete mode 100755 arch/stow/_scripts/git-flake diff --git a/arch/stow/_scripts/.scripts/wlsunset.sh b/arch/stow/_scripts/.scripts/wlsunset.sh deleted file mode 100644 index f185115..0000000 --- a/arch/stow/_scripts/.scripts/wlsunset.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash -# Script to disable for an hour or immediately continue wlsunset. 'Toggle' - -# Check if wlsunset is still running -pid=$(pgrep wlsunset) - -if [[ -z ${pid} ]] ; then - # Start wlsunset right away. - wlsunset -l 50.50 -L 4.00 -t 3000 -T 6500 & -else - # Currently stop wlsunset but restart in an hour. - kill ${pid} - notify-send 'Stopping sunset' 'Restarting in an hour' - at now +1 hours -f "${0}" -fi diff --git a/arch/stow/_scripts/git-flake b/arch/stow/_scripts/git-flake deleted file mode 100755 index e6df509..0000000 --- a/arch/stow/_scripts/git-flake +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash -# Ignore flake.nix and flake.lock -# For using personal flakes in a project that does not provide and want flakes. -# Syntaxis: git flake - -git add --intent-to-add flake.nix flake.lock -git update-index --assume-unchanged flake.nix