mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Simpler shebang
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/bash
|
||||
|
||||
if pgrep -x hypridle > /dev/null; then
|
||||
if pgrep -x hypridle >/dev/null; then
|
||||
pkill -x hypridle
|
||||
notify-send "Stop locking computer when idle"
|
||||
else
|
||||
setsid hypridle &> /dev/null &
|
||||
setsid hypridle &>/dev/null &
|
||||
notify-send "Now locking computer when idle"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user