mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
Compare commits
3 Commits
643b2bc79d
...
09e2e2aca6
Author | SHA1 | Date | |
---|---|---|---|
|
09e2e2aca6 | ||
|
696110eae5 | ||
|
c289267b04 |
19
.github/release.yml
vendored
19
.github/release.yml
vendored
|
@ -1,20 +1,23 @@
|
||||||
changelog:
|
changelog:
|
||||||
categories:
|
categories:
|
||||||
- title: '🚀 Features'
|
- title: '🚀 Features'
|
||||||
labels:
|
label: 'enhancement'
|
||||||
- 'feature'
|
|
||||||
- 'enhancement'
|
|
||||||
- title: '🐛 Bug Fixes'
|
- title: '🐛 Bug Fixes'
|
||||||
labels:
|
label: 'bug'
|
||||||
- 'fix'
|
- title: '⚙️ Refactoring'
|
||||||
- 'bugfix'
|
label: 'refactor'
|
||||||
- 'bug'
|
- title: '🧩 UI/UX'
|
||||||
|
label: 'UI/UX'
|
||||||
- title: '📚 Documentation'
|
- title: '📚 Documentation'
|
||||||
label: 'documentation'
|
label: 'documentation'
|
||||||
- title: '🔒 Security'
|
- title: '🔒 Security'
|
||||||
label: 'security'
|
label: 'security'
|
||||||
- title: '🧰 GitHub Actions'
|
- title: '🧰 GitHub Actions'
|
||||||
label: 'github actions'
|
label: 'github_actions'
|
||||||
|
- title: '🦀 Rust'
|
||||||
|
label: 'rust'
|
||||||
|
- title: '📃 Scripting'
|
||||||
|
label: 'script'
|
||||||
exclude:
|
exclude:
|
||||||
labels:
|
labels:
|
||||||
- 'skip-changelog'
|
- 'skip-changelog'
|
|
@ -2,11 +2,6 @@
|
||||||
|
|
||||||
. ../common-script.sh
|
. ../common-script.sh
|
||||||
|
|
||||||
# setleds can be used in all distros
|
|
||||||
# This method works by calling a script using systemd service
|
|
||||||
|
|
||||||
# Create a script to toggle numlock
|
|
||||||
|
|
||||||
create_file() {
|
create_file() {
|
||||||
printf "%b\n" "Creating script..."
|
printf "%b\n" "Creating script..."
|
||||||
"$ESCALATION_TOOL" tee "/usr/local/bin/numlock" >/dev/null <<'EOF'
|
"$ESCALATION_TOOL" tee "/usr/local/bin/numlock" >/dev/null <<'EOF'
|
||||||
|
@ -21,7 +16,6 @@ EOF
|
||||||
"$ESCALATION_TOOL" chmod +x /usr/local/bin/numlock
|
"$ESCALATION_TOOL" chmod +x /usr/local/bin/numlock
|
||||||
}
|
}
|
||||||
|
|
||||||
# Create a systemd service to run the script on boot
|
|
||||||
create_service() {
|
create_service() {
|
||||||
printf "%b\n" "Creating service..."
|
printf "%b\n" "Creating service..."
|
||||||
"$ESCALATION_TOOL" tee "/etc/systemd/system/numlock.service" >/dev/null <<'EOF'
|
"$ESCALATION_TOOL" tee "/etc/systemd/system/numlock.service" >/dev/null <<'EOF'
|
||||||
|
@ -39,7 +33,6 @@ EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
numlockSetup() {
|
numlockSetup() {
|
||||||
# Check if the script and service files exists
|
|
||||||
if [ ! -f "/usr/local/bin/numlock" ]; then
|
if [ ! -f "/usr/local/bin/numlock" ]; then
|
||||||
create_file
|
create_file
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -133,7 +133,7 @@ task_list = "I FM"
|
||||||
|
|
||||||
[[data]]
|
[[data]]
|
||||||
name = "Numlock on Startup"
|
name = "Numlock on Startup"
|
||||||
description = "This utility is designed to configure auto enabling of numlock on boot"
|
description = "This utility is designed to enable Num Lock at boot, rather than within desktop environments like KDE or GNOME"
|
||||||
script = "numlock.sh"
|
script = "numlock.sh"
|
||||||
task_list = "PFM SS"
|
task_list = "PFM SS"
|
||||||
|
|
||||||
|
|
|
@ -145,7 +145,7 @@ For more information visit: https://rpmfusion.org/
|
||||||
|
|
||||||
- **Auto Mount Drive**: This utility is designed to help with automating the process of mounting a drive on to your system.
|
- **Auto Mount Drive**: This utility is designed to help with automating the process of mounting a drive on to your system.
|
||||||
- **Bluetooth Manager**: This utility is designed to manage bluetooth in your system
|
- **Bluetooth Manager**: This utility is designed to manage bluetooth in your system
|
||||||
- **Numlock on Startup**: This utility is designed to configure auto enabling of numlock on boot
|
- **Numlock on Startup**: This utility is designed to enable Num Lock at boot, rather than within desktop environments like KDE or GNOME
|
||||||
- **Ollama**: This utility is designed to manage ollama in your system
|
- **Ollama**: This utility is designed to manage ollama in your system
|
||||||
- **Service Manager**: This utility is designed to manage services in your system
|
- **Service Manager**: This utility is designed to manage services in your system
|
||||||
- **WiFi Manager**: This utility is designed to manage wifi in your system
|
- **WiFi Manager**: This utility is designed to manage wifi in your system
|
||||||
|
|
Loading…
Reference in New Issue
Block a user