feat: Add tab JSON

This commit is contained in:
Liam 2024-08-14 13:55:16 -07:00
parent e73c978d95
commit 7d2f92a38c
No known key found for this signature in database
6 changed files with 195 additions and 0 deletions

View File

@ -0,0 +1,47 @@
{
"name": "Applications Setup",
"data": [
{
"script": {
"name": "Alacritty",
"data": "alacritty-setup.sh"
}
},
{
"command": {
"name": "Bash Prompt",
"data": "bash -c \"$(curl -s https://raw.githubusercontent.com/ChrisTitusTech/mybash/main/setup.sh)\""
}
},
{
"script": {
"name": "DWM-Titus",
"data": "dwmtitus-setup.sh"
}
},
{
"script": {
"name": "Kitty",
"data": "kitty-setup.sh"
}
},
{
"command": {
"name": "Neovim",
"data": "bash -c \"$(curl -s https://raw.githubusercontent.com/ChrisTitusTech/neovim/main/setup.sh)\""
}
},
{
"script": {
"name": "Rofi",
"data": "rofi-setup.sh"
}
},
{
"script": {
"name": "ZSH Prompt",
"data": "zsh-setup.sh"
}
}
]
}

View File

@ -0,0 +1,6 @@
{
"name": "Security",
"data": [
{"script": { "name": "Firewall Baselines (CTT)", "data": "firewall-baselines.sh" }}
]
}

View File

@ -0,0 +1,35 @@
{
"name": "System Setup",
"data": [
{
"script": {
"name": "Full System Update",
"data": "system-update.sh"
}
},
{
"script": {
"name": "Build Prerequisites",
"data": "1-compile-setup.sh"
}
},
{
"script": {
"name": "Gaming Dependencies",
"data": "2-gaming-setup.sh"
}
},
{
"script": {
"name": "Global Theme",
"data": "3-global-theme.sh"
}
},
{
"script": {
"name": "Remove Snaps",
"data": "4-remove-snaps.sh"
}
}
]
}

6
src/commands/tabs.json Normal file
View File

@ -0,0 +1,6 @@
[
"system-setup/tab_data.json",
"applications-setup/tab_data.json",
"security/tab_data.json",
"utils/tab_data.json"
]

View File

@ -0,0 +1,101 @@
{
"name": "Utilities",
"data": [
{
"script": {
"name": "WiFi Manager",
"data": "wifi-control.sh"
}
},
{
"script": {
"name": "Bluetooth Manager",
"data": "bluetooth-control.sh"
}
},
{
"directory": {
"name": "Monitor Control",
"preconditions": [
{
"matches": true,
"data": {
"environment": "XDG_SESSION_TYPE"
},
"values": [
"x11"
]
}
],
"data": [
{
"script": {
"name": "Set Resolution",
"data": "monitor-control/set_resolutions.sh"
}
},
{
"script": {
"name": "Duplicate Displays",
"data": "monitor-control/duplicate_displays.sh"
}
},
{
"script": {
"name": "Extend Displays",
"data": "monitor-control/extend_displays.sh"
}
},
{
"script": {
"name": "Auto Detect Displays",
"data": "monitor-control/auto_detect_displays.sh"
}
},
{
"script": {
"name": "Enable Monitor",
"data": "monitor-control/enable_monitor.sh"
}
},
{
"script": {
"name": "Disable Monitor",
"data": "monitor-control/disable_monitor.sh"
}
},
{
"script": {
"name": "Set Primary Monitor",
"data": "monitor-control/set_primary_monitor.sh"
}
},
{
"script": {
"name": "Change Orientation",
"data": "monitor-control/change_orientation.sh"
}
},
{
"script": {
"name": "Manage Arrangement",
"data": "monitor-control/manage_arrangement.sh"
}
},
{
"script": {
"name": "Scale Monitors",
"data": "monitor-control/scale_monitor.sh"
}
},
{
"script": {
"name": "Reset Scaling",
"data": "monitor-control/reset_scaling.sh"
}
}
]
}
}
]
}