dev: automated commit - 2025-11-17 13:07:30

This commit is contained in:
Mariano Z. 2025-11-17 13:07:31 -03:00
parent 9dca029a62
commit ba26418a15
5 changed files with 156 additions and 32 deletions

View file

@ -1,18 +1,18 @@
{ {
"mError": "#fd4663", "mError": "#eb6f92",
"mHover": "#9bfece", "mHover": "#524f67",
"mOnError": "#0e0e43", "mOnError": "#191724",
"mOnHover": "#0e0e43", "mOnHover": "#e0def4",
"mOnPrimary": "#0e0e43", "mOnPrimary": "#191724",
"mOnSecondary": "#0e0e43", "mOnSecondary": "#191724",
"mOnSurface": "#f3edf7", "mOnSurface": "#e0def4",
"mOnSurfaceVariant": "#7c80b4", "mOnSurfaceVariant": "#908caa",
"mOnTertiary": "#0e0e43", "mOnTertiary": "#e0def4",
"mOutline": "#21215f", "mOutline": "#403d52",
"mPrimary": "#fff59b", "mPrimary": "#ebbcba",
"mSecondary": "#a9aefe", "mSecondary": "#9ccfd8",
"mShadow": "#070722", "mShadow": "#191724",
"mSurface": "#070722", "mSurface": "#1f1d2e",
"mSurfaceVariant": "#11112d", "mSurfaceVariant": "#26233a",
"mTertiary": "#9bfece" "mTertiary": "#31748f"
} }

View file

@ -1,6 +1,5 @@
{ {
"appLauncher": { "appLauncher": {
"backgroundOpacity": 1,
"customLaunchPrefix": "", "customLaunchPrefix": "",
"customLaunchPrefixEnabled": false, "customLaunchPrefixEnabled": false,
"enableClipboardHistory": true, "enableClipboardHistory": true,
@ -99,10 +98,9 @@
], ],
"colorizeIcons": false, "colorizeIcons": false,
"drawerEnabled": true, "drawerEnabled": true,
"favorites": [ "id": "Tray",
"nm-applet" "pinned": [
], ]
"id": "Tray"
} }
] ]
} }
@ -198,7 +196,7 @@
"animationSpeed": 1, "animationSpeed": 1,
"avatarImage": "/home/mzunino/Downloads/6627528.jpg", "avatarImage": "/home/mzunino/Downloads/6627528.jpg",
"compactLockScreen": true, "compactLockScreen": true,
"dimDesktop": false, "dimmerOpacity": 0.8,
"enableShadows": false, "enableShadows": false,
"forceBlackScreenCorners": true, "forceBlackScreenCorners": true,
"language": "", "language": "",
@ -228,7 +226,7 @@
"weatherEnabled": true "weatherEnabled": true
}, },
"network": { "network": {
"wifiEnabled": false "wifiEnabled": true
}, },
"nightLight": { "nightLight": {
"autoSchedule": true, "autoSchedule": true,
@ -242,7 +240,7 @@
"notifications": { "notifications": {
"backgroundOpacity": 1, "backgroundOpacity": 1,
"criticalUrgencyDuration": 15, "criticalUrgencyDuration": 15,
"doNotDisturb": false, "enableKeyboardLayoutToast": true,
"enabled": true, "enabled": true,
"location": "top_right", "location": "top_right",
"lowUrgencyDuration": 3, "lowUrgencyDuration": 3,
@ -254,6 +252,7 @@
}, },
"osd": { "osd": {
"autoHideMs": 2000, "autoHideMs": 2000,
"backgroundOpacity": 1,
"enabled": true, "enabled": true,
"location": "top_right", "location": "top_right",
"monitors": [ "monitors": [
@ -271,18 +270,57 @@
"videoCodec": "h264", "videoCodec": "h264",
"videoSource": "portal" "videoSource": "portal"
}, },
"settingsVersion": 20, "sessionMenu": {
"countdownDuration": 10000,
"enableCountdown": true,
"position": "center",
"powerOptions": [
{
"action": "lock",
"enabled": true
},
{
"action": "suspend",
"enabled": true
},
{
"action": "hibernate",
"enabled": true
},
{
"action": "reboot",
"enabled": true
},
{
"action": "logout",
"enabled": true
},
{
"action": "shutdown",
"enabled": true
}
],
"showHeader": true
},
"settingsVersion": 23,
"setupCompleted": true, "setupCompleted": true,
"systemMonitor": {
"cpuCriticalThreshold": 90,
"cpuWarningThreshold": 80,
"criticalColor": "",
"diskCriticalThreshold": 90,
"diskWarningThreshold": 80,
"memCriticalThreshold": 90,
"memWarningThreshold": 80,
"tempCriticalThreshold": 90,
"tempWarningThreshold": 80,
"useCustomColors": false,
"warningColor": ""
},
"templates": { "templates": {
"alacritty": false, "alacritty": false,
"code": false, "code": false,
"discord": false, "discord": false,
"discord_armcord": false,
"discord_dorion": false,
"discord_equibop": false,
"discord_lightcord": false,
"discord_vesktop": false,
"discord_webcord": false,
"enableUserTemplates": false, "enableUserTemplates": false,
"foot": false, "foot": false,
"fuzzel": false, "fuzzel": false,
@ -302,6 +340,7 @@
"fontDefaultScale": 1, "fontDefaultScale": 1,
"fontFixed": "DejaVu Sans Mono", "fontFixed": "DejaVu Sans Mono",
"fontFixedScale": 1, "fontFixedScale": 1,
"panelBackgroundOpacity": 1,
"panelsAttachedToBar": true, "panelsAttachedToBar": true,
"settingsPanelAttachToBar": false, "settingsPanelAttachToBar": false,
"tooltipsEnabled": true "tooltipsEnabled": true
@ -313,6 +352,7 @@
"enabled": true, "enabled": true,
"fillColor": "#000000", "fillColor": "#000000",
"fillMode": "crop", "fillMode": "crop",
"hideWallpaperFilenames": false,
"monitors": [ "monitors": [
{ {
"directory": "/home/mzunino/Pictures", "directory": "/home/mzunino/Pictures",
@ -323,6 +363,11 @@
"directory": "/home/mzunino/Pictures", "directory": "/home/mzunino/Pictures",
"name": "DP-1", "name": "DP-1",
"wallpaper": "/home/mzunino/Pictures/wallhaven-569155.jpg" "wallpaper": "/home/mzunino/Pictures/wallhaven-569155.jpg"
},
{
"directory": "/home/mzunino/Pictures",
"name": "eDP-1",
"wallpaper": "/home/mzunino/Pictures/ign_herakles.png"
} }
], ],
"overviewEnabled": true, "overviewEnabled": true,
@ -333,6 +378,15 @@
"setWallpaperOnAllMonitors": true, "setWallpaperOnAllMonitors": true,
"transitionDuration": 1500, "transitionDuration": 1500,
"transitionEdgeSmoothness": 0.05, "transitionEdgeSmoothness": 0.05,
"transitionType": "random" "transitionType": "random",
"useWallhaven": false,
"wallhavenCategories": "111",
"wallhavenOrder": "desc",
"wallhavenPurity": "100",
"wallhavenQuery": "",
"wallhavenResolutionHeight": "",
"wallhavenResolutionMode": "atleast",
"wallhavenResolutionWidth": "",
"wallhavenSorting": "date_added"
} }
} }

Binary file not shown.

View file

@ -79,6 +79,76 @@ function zshrc {
cd "$original_dir" cd "$original_dir"
} }
function sb {
if [[ "$1" == "-h" || "$1" == "--help" ]]; then
echo "Usage: sb"
echo "Launch SilverBullet for notes and open in browser"
echo "Notes directory: ~/Documents/Notes"
echo "Port: 42069"
return 0
fi
local notes_dir="$HOME/Documents/Notes"
local port=42069
# Check if silverbullet command exists
if ! command -v silverbullet >/dev/null 2>&1; then
echo "Error: silverbullet command not found" >&2
echo "Please install SilverBullet first" >&2
return 1
fi
# Check if notes directory exists
if [[ ! -d "$notes_dir" ]]; then
echo "Error: Notes directory not found at $notes_dir" >&2
return 1
fi
# Check if SilverBullet is already running on port 42069
if lsof -i ":$port" >/dev/null 2>&1 && pgrep -f "silverbullet.*$notes_dir" >/dev/null 2>&1; then
echo "SilverBullet is already running for $notes_dir on port $port"
echo "Opening browser at http://127.0.0.1:$port..."
xdg-open "http://127.0.0.1:$port" 2>/dev/null || {
echo "Error: Could not open browser. Please open http://127.0.0.1:$port manually" >&2
return 1
}
return 0
fi
echo "Launching SilverBullet on port $port..."
echo "Notes directory: $notes_dir"
# Launch SilverBullet in the background
silverbullet --port "$port" "$notes_dir" >/dev/null 2>&1 &
local sb_pid=$!
# Wait a moment for SilverBullet to start
local wait_count=0
local max_wait=10
while [[ $wait_count -lt $max_wait ]]; do
if lsof -i ":$port" >/dev/null 2>&1; then
break
fi
sleep 0.5
wait_count=$((wait_count + 1))
done
# Check if process is still running
if ! kill -0 "$sb_pid" 2>/dev/null; then
echo "Error: SilverBullet failed to start" >&2
return 1
fi
# Open browser
echo "Opening browser at http://127.0.0.1:$port..."
xdg-open "http://127.0.0.1:$port" 2>/dev/null || {
echo "Error: Could not open browser. Please open http://127.0.0.1:$port manually" >&2
return 1
}
echo "SilverBullet is running (PID: $sb_pid) on port $port"
}
function yay() { function yay() {
# Set up completion on first call # Set up completion on first call
if [[ -z "$_yay_completion_setup" ]]; then if [[ -z "$_yay_completion_setup" ]]; then

Binary file not shown.