diff --git a/noctalia/.config/noctalia/colors.json b/noctalia/.config/noctalia/colors.json index a5f7161..18521c0 100644 --- a/noctalia/.config/noctalia/colors.json +++ b/noctalia/.config/noctalia/colors.json @@ -1,18 +1,18 @@ { - "mError": "#fd4663", - "mHover": "#9bfece", - "mOnError": "#0e0e43", - "mOnHover": "#0e0e43", - "mOnPrimary": "#0e0e43", - "mOnSecondary": "#0e0e43", - "mOnSurface": "#f3edf7", - "mOnSurfaceVariant": "#7c80b4", - "mOnTertiary": "#0e0e43", - "mOutline": "#21215f", - "mPrimary": "#fff59b", - "mSecondary": "#a9aefe", - "mShadow": "#070722", - "mSurface": "#070722", - "mSurfaceVariant": "#11112d", - "mTertiary": "#9bfece" + "mError": "#eb6f92", + "mHover": "#524f67", + "mOnError": "#191724", + "mOnHover": "#e0def4", + "mOnPrimary": "#191724", + "mOnSecondary": "#191724", + "mOnSurface": "#e0def4", + "mOnSurfaceVariant": "#908caa", + "mOnTertiary": "#e0def4", + "mOutline": "#403d52", + "mPrimary": "#ebbcba", + "mSecondary": "#9ccfd8", + "mShadow": "#191724", + "mSurface": "#1f1d2e", + "mSurfaceVariant": "#26233a", + "mTertiary": "#31748f" } diff --git a/noctalia/.config/noctalia/settings.json b/noctalia/.config/noctalia/settings.json index 8bdb66e..9f9cd1c 100644 --- a/noctalia/.config/noctalia/settings.json +++ b/noctalia/.config/noctalia/settings.json @@ -1,6 +1,5 @@ { "appLauncher": { - "backgroundOpacity": 1, "customLaunchPrefix": "", "customLaunchPrefixEnabled": false, "enableClipboardHistory": true, @@ -99,10 +98,9 @@ ], "colorizeIcons": false, "drawerEnabled": true, - "favorites": [ - "nm-applet" - ], - "id": "Tray" + "id": "Tray", + "pinned": [ + ] } ] } @@ -198,7 +196,7 @@ "animationSpeed": 1, "avatarImage": "/home/mzunino/Downloads/6627528.jpg", "compactLockScreen": true, - "dimDesktop": false, + "dimmerOpacity": 0.8, "enableShadows": false, "forceBlackScreenCorners": true, "language": "", @@ -228,7 +226,7 @@ "weatherEnabled": true }, "network": { - "wifiEnabled": false + "wifiEnabled": true }, "nightLight": { "autoSchedule": true, @@ -242,7 +240,7 @@ "notifications": { "backgroundOpacity": 1, "criticalUrgencyDuration": 15, - "doNotDisturb": false, + "enableKeyboardLayoutToast": true, "enabled": true, "location": "top_right", "lowUrgencyDuration": 3, @@ -254,6 +252,7 @@ }, "osd": { "autoHideMs": 2000, + "backgroundOpacity": 1, "enabled": true, "location": "top_right", "monitors": [ @@ -271,18 +270,57 @@ "videoCodec": "h264", "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, + "systemMonitor": { + "cpuCriticalThreshold": 90, + "cpuWarningThreshold": 80, + "criticalColor": "", + "diskCriticalThreshold": 90, + "diskWarningThreshold": 80, + "memCriticalThreshold": 90, + "memWarningThreshold": 80, + "tempCriticalThreshold": 90, + "tempWarningThreshold": 80, + "useCustomColors": false, + "warningColor": "" + }, "templates": { "alacritty": false, "code": false, "discord": false, - "discord_armcord": false, - "discord_dorion": false, - "discord_equibop": false, - "discord_lightcord": false, - "discord_vesktop": false, - "discord_webcord": false, "enableUserTemplates": false, "foot": false, "fuzzel": false, @@ -302,6 +340,7 @@ "fontDefaultScale": 1, "fontFixed": "DejaVu Sans Mono", "fontFixedScale": 1, + "panelBackgroundOpacity": 1, "panelsAttachedToBar": true, "settingsPanelAttachToBar": false, "tooltipsEnabled": true @@ -313,6 +352,7 @@ "enabled": true, "fillColor": "#000000", "fillMode": "crop", + "hideWallpaperFilenames": false, "monitors": [ { "directory": "/home/mzunino/Pictures", @@ -323,6 +363,11 @@ "directory": "/home/mzunino/Pictures", "name": "DP-1", "wallpaper": "/home/mzunino/Pictures/wallhaven-569155.jpg" + }, + { + "directory": "/home/mzunino/Pictures", + "name": "eDP-1", + "wallpaper": "/home/mzunino/Pictures/ign_herakles.png" } ], "overviewEnabled": true, @@ -333,6 +378,15 @@ "setWallpaperOnAllMonitors": true, "transitionDuration": 1500, "transitionEdgeSmoothness": 0.05, - "transitionType": "random" + "transitionType": "random", + "useWallhaven": false, + "wallhavenCategories": "111", + "wallhavenOrder": "desc", + "wallhavenPurity": "100", + "wallhavenQuery": "", + "wallhavenResolutionHeight": "", + "wallhavenResolutionMode": "atleast", + "wallhavenResolutionWidth": "", + "wallhavenSorting": "date_added" } } diff --git a/ssh/.ssh/config b/ssh/.ssh/config index 809250a..9a1d119 100644 Binary files a/ssh/.ssh/config and b/ssh/.ssh/config differ diff --git a/zsh/.config/zsh/functions/dev.zsh b/zsh/.config/zsh/functions/dev.zsh index 7e8a643..4721bdc 100644 --- a/zsh/.config/zsh/functions/dev.zsh +++ b/zsh/.config/zsh/functions/dev.zsh @@ -79,6 +79,76 @@ function zshrc { 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() { # Set up completion on first call if [[ -z "$_yay_completion_setup" ]]; then diff --git a/zsh/.config/zsh/zsh_history_fw b/zsh/.config/zsh/zsh_history_fw index 5a35122..aabf76d 100644 Binary files a/zsh/.config/zsh/zsh_history_fw and b/zsh/.config/zsh/zsh_history_fw differ