added hypridle-reload
This commit is contained in:
@@ -155,17 +155,28 @@ end
|
||||
|
||||
if test -e /usr/bin/tmux
|
||||
function quickshell-reload
|
||||
if test -e /usr/bin/quickshell
|
||||
if command -q quickshell
|
||||
tmux kill-session -t qs 2>/dev/null
|
||||
tmux new-session -d -s qs 'quickshell'
|
||||
else
|
||||
echo "'quickshell' is not installed. Install it via your package manager."
|
||||
end
|
||||
end
|
||||
function hypridle-reload
|
||||
if command -q hypridle
|
||||
tmux kill-session -t hypridle 2>/dev/null
|
||||
tmux new-session -d -s hypridle 'hypridle'
|
||||
else
|
||||
echo "'hypridle' is not installed. Install it via your package manager."
|
||||
end
|
||||
end
|
||||
else
|
||||
function quickshell-reload
|
||||
echo "'tmux' is not installed. Install it via your package manager."
|
||||
end
|
||||
function hypridle-reload
|
||||
echo "'tmux' is not installed. Install it via your package manager."
|
||||
end
|
||||
end
|
||||
|
||||
if test -e /usr/bin/reflector
|
||||
|
||||
Reference in New Issue
Block a user