From 6f07a74d34d0ddbdb50394434be778b20ca53260 Mon Sep 17 00:00:00 2001 From: chodak166 Date: Sun, 5 Jul 2026 15:59:23 +0200 Subject: [PATCH] Added crush config --- .config/crush/crush.json | 74 ++++++++++++++++++++++++++++++++++++++++ .config/sway/config | 16 +++++---- 2 files changed, 84 insertions(+), 6 deletions(-) create mode 100644 .config/crush/crush.json diff --git a/.config/crush/crush.json b/.config/crush/crush.json new file mode 100644 index 0000000..c09a897 --- /dev/null +++ b/.config/crush/crush.json @@ -0,0 +1,74 @@ + +{ + "mcp": { + "fetch": { + "type": "sse", + "url": "http://localhost:8001/sse", + "disabled": false, + "alwaysAllow": [ + "fetch" + ] + }, + "google-search": { + "url": "http://localhost:8002/sse", + "disabled": true, + "alwaysAllow": [ + "google_search" + ] + }, + "telegram": { + "url": "http://localhost:8003/sse", + "disabled": true, + "alwaysAllow": [] + }, + "context7": { + "type": "sse", + "url": "http://localhost:8004/sse", + "disabled": false, + "alwaysAllow": [] + }, + "excel": { + "url": "http://localhost:8009/sse", + "disabled": true, + "alwaysAllow": [] + }, + "brave-search": { + "type": "sse", + "url": "http://localhost:8010/sse", + "disabled": false, + "alwaysAllow": [ + "brave_web_search" + ] + }, + "blender-mcp": { + "disabled": true, + "command": "uvx", + "args": [ + "/home/chodak/src/git/blender-mcp" + ], + "alwaysAllow": [ + "get_scene_info", + "get_object_info", + "execute_blender_code" + ] + }, + "gimp": { + "command": "uv", + "args": [ + "run", + "--directory", + "/home/chodak/src/git/gimp-mcp", + "gimp_mcp_server.py" + ], + "alwaysAllow": [ + "get_gimp_info" + ], + "disabled": true + }, + "cloudflare-docs": { + "type": "sse", + "url": "https://docs.mcp.cloudflare.com/sse", + "disabled": true + } + } +} diff --git a/.config/sway/config b/.config/sway/config index eb742d6..0748149 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -524,12 +524,17 @@ for_window [app_id="swaync"] floating enable set $lockCommand swaylock -f -c 000000 -exec swayidle -w \ - timeout 600 '$lockCommand' \ - timeout 900 'swaymsg "output * dpms off"' \ - resume 'swaymsg "output * dpms on"' \ - before-sleep '$lockCommand' +# exec swayidle -w \ +# timeout 600 '$lockCommand' \ +# timeout 900 'swaymsg "output * dpms off"' \ +# resume 'swaymsg "output * dpms on"' \ +# before-sleep '$lockCommand' + +# Disable autolock, keep screen dimming +exec swayidle -w \ + timeout 300 'swaymsg "output * power off"' \ + resume 'swaymsg "output * power on"' ################################################################# # Autostart @@ -574,7 +579,6 @@ exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # Background services for XDG desktop portals (screen sharing, file picker) exec --no-startup-id dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway - ################################################################# # Key repeat rate #################################################################