Rename: set_gtk_theme to set-gsettings

This commit is contained in:
Arkaprabha Chakraborty
2024-08-28 13:33:49 +05:30
parent 857c61bc38
commit ffd3189b82
2 changed files with 15 additions and 8 deletions

23
suspend
View File

@@ -1,14 +1,21 @@
#!/usr/bin/sh
#!/bin/sh
#
# Script: suspend
# License: MIT
# Author: Arkaprabha Chakraborty
# Created: 23-12-2023
# Dependencies: systemd
# Created: 12-05-24
# Dependencies: None
#
# Copyright (C) 2023 Arkaprabha Chakraborty
# Copyright (C) 2024 Arkaprabha Chakraborty
PROG=systemctl
OPTS=suspend
# Call systemctl suspend
systemctl suspend
$PROG $OPTS
# Check the return status of systemctl suspend
if [ $? -ne 0 ]; then
echo "Error: Failed to suspend the system." >&2
exit 1
fi
echo "System suspended successfully."
exit 0