From 4230257e642c1f8fffcbd2bbd83d11296b2a1471 Mon Sep 17 00:00:00 2001 From: RafayAhmad Date: Wed, 2 Sep 2026 17:51:42 +0500 Subject: [PATCH] random ah update --- .config/hypr/hyprland.lua | 1 - .config/waybar/modules.jsonc | 2 +- .config/zed/settings.json | 18 +++++++++++++-- .config/zed/settings_backup.json | 39 +++++++++++++++++++++++++++----- .gitconfig | 2 ++ scripts/youtubeBlocker.sh | 4 ++-- 6 files changed, 54 insertions(+), 12 deletions(-) diff --git a/.config/hypr/hyprland.lua b/.config/hypr/hyprland.lua index f94feb3..e174e09 100644 --- a/.config/hypr/hyprland.lua +++ b/.config/hypr/hyprland.lua @@ -16,7 +16,6 @@ hl.monitor({ hl.on('hyprland.start', function () hl.exec_cmd("systemctl --user start hyprland-session.target") - hl.exec_cmd('hypridle') hl.exec_cmd('hyprpaper') hl.exec_cmd('waybar') hl.exec_cmd('clipse -listen') diff --git a/.config/waybar/modules.jsonc b/.config/waybar/modules.jsonc index 0bafe35..b40ce6e 100644 --- a/.config/waybar/modules.jsonc +++ b/.config/waybar/modules.jsonc @@ -11,7 +11,7 @@ { // Workspaces "hyprland/workspaces" : { - "on-click": "activate", + "on-click": "notify-send hello", "active-only": false, "all-outputs": true, "format": "{}", diff --git a/.config/zed/settings.json b/.config/zed/settings.json index 9cdcf00..742077b 100644 --- a/.config/zed/settings.json +++ b/.config/zed/settings.json @@ -23,8 +23,23 @@ }, "model_parameters": [] }, */ + "edit_predictions": { + "copilot": { + "enable_next_edit_suggestions": false + }, + "provider": "copilot" + }, "agent_servers": { - + "github-copilot-cli": { + "default_config_options": { + "allow_all": "off", + "mode": "https://agentclientprotocol.com/protocol/session-modes#agent" + }, + "type": "registry" + }, + "gemini": { + "type": "registry" + } }, "ssh_connections": [ { @@ -57,7 +72,6 @@ "agent": { "sidebar_side": "left", "dock": "right", - "always_allow_tool_actions": false, "default_profile": "ask", "default_model": { "enable_thinking": false, diff --git a/.config/zed/settings_backup.json b/.config/zed/settings_backup.json index 6c553db..d6ad901 100644 --- a/.config/zed/settings_backup.json +++ b/.config/zed/settings_backup.json @@ -7,7 +7,7 @@ // custom settings, run `zed: open default settings` from the // command palette (cmd-shift-p / ctrl-shift-p) { - "agent": { + /* Duplicated key auto-commented: "agent": { "profiles": { "agent": { "name": "Agent", @@ -22,7 +22,31 @@ "model": "claude-sonnet-4.5" }, "model_parameters": [] + }, */ + "edit_predictions": { + "copilot": { + "enable_next_edit_suggestions": false + }, + "provider": "copilot" }, + "agent_servers": { + + }, + "ssh_connections": [ + { + "host": "server", + "args": [], + "projects": [] + } + ], + "outline_panel": { + "dock": "left" + }, + "collaboration_panel": { + "dock": "left" + }, + "enable_language_server": false, + "remove_trailing_whitespace_on_save": false, "use_on_type_format": false, "git_panel": { "dock": "right" @@ -36,13 +60,16 @@ } }, "show_edit_predictions": false, - "assistant": { - "default_profile": "minimal", + "agent": { + "sidebar_side": "left", + "dock": "right", + "always_allow_tool_actions": false, + "default_profile": "ask", "default_model": { - "provider": "copilot_chat", - "model": "claude-3.7-sonnet" + "enable_thinking": false, + "provider": "google", + "model": "gemini-3-flash-preview" }, - "version": "2" }, "terminal": { "dock": "right", diff --git a/.gitconfig b/.gitconfig index d1b3ca1..b437862 100644 --- a/.gitconfig +++ b/.gitconfig @@ -16,3 +16,5 @@ gpgsign = true [gpg "ssh"] allowedSignersFile = /home/rafayahmad/.ssh/allowed_signers +[init] + defaultBranch = main diff --git a/scripts/youtubeBlocker.sh b/scripts/youtubeBlocker.sh index 9a27e1f..8877739 100755 --- a/scripts/youtubeBlocker.sh +++ b/scripts/youtubeBlocker.sh @@ -12,8 +12,8 @@ handle() { case $1 in activewindow*) echo $1 - if [[ $1 == *YouTube* || $1 == *Instagram* ]]; then - hyprctl dispatch killactive + if [[ $1 == *YouTube* ]]; then + hyprctl dispatch 'hl.dsp.window.close()' notify-send "ENOUGH, LOCK IN" "GET BACK TO WORK" -u critical -i $HOME/dotfiles/scripts/discipline.png mpv $HOME/dotfiles/scripts/getbacktowork.mp3 fi