From b66a71129e5fef0e20a7570ec5b902408359e1d8 Mon Sep 17 00:00:00 2001 From: RafayAhmad7548 Date: Wed, 23 Oct 2024 08:40:23 +0500 Subject: [PATCH] added vscode settings --- .../Android Open Source Project/Emulator.conf | 10 + .config/QtProject.conf | 10 +- .config/Unknown Organization/zoom.conf | 3 + .config/dconf/user | Bin 10599 -> 10855 bytes .config/hypr/hyprbinds.conf | 4 +- .config/hypr/hypridle.conf | 2 +- .config/hypr/hyprland.conf | 3 +- .config/hypr/hyprlock/1.conf | 4 +- .config/hypr/hyprlock/2.conf | 4 +- .config/hypr/hyprpaper.conf | 6 +- .config/waybar/modules.jsonc | 2 +- .config/zoom.conf | 7 + .config/zoomus.conf | 89 ++++ keybindings.json | 461 ++++++++++++++++++ scripts/battWarning.sh | 2 +- scripts/currentWallpaperHyprlock.sh | 1 + settings.json | 217 +++++++++ 17 files changed, 807 insertions(+), 18 deletions(-) create mode 100644 .config/Android Open Source Project/Emulator.conf create mode 100644 .config/Unknown Organization/zoom.conf create mode 100644 .config/zoom.conf create mode 100644 .config/zoomus.conf create mode 100644 keybindings.json create mode 100644 settings.json diff --git a/.config/Android Open Source Project/Emulator.conf b/.config/Android Open Source Project/Emulator.conf new file mode 100644 index 0000000..a3057c2 --- /dev/null +++ b/.config/Android Open Source Project/Emulator.conf @@ -0,0 +1,10 @@ +[General] +showGpuWarning=false + +[set] +autoFindAdb=true +clipboardSharing=true +crashReportPreference=0 +disableMouseWheel=false +disablePinchToZoom=false +savePath=/home/rafayahmad/Desktop diff --git a/.config/QtProject.conf b/.config/QtProject.conf index efa7720..a59f131 100644 --- a/.config/QtProject.conf +++ b/.config/QtProject.conf @@ -1,8 +1,8 @@ [FileDialog] -history=file:///home, file:///home/rafayahmad, file:///usr/share/icons/Adwaita/cursors, file:///usr/share/icons/breeze-dark, file:///usr/share/icons/mytheme/cursors -lastVisited=file:///usr/share/icons/mytheme/cursors -qtVersion=5.15.15 -shortcuts=file:///home/rafayahmad/Downloads, file:///home/rafayahmad/Documents, file:///home/rafayahmad, file:mods -sidebarWidth=103 +history=file:///usr/share/icons/Adwaita/cursors, file:///usr/share/icons/breeze-dark, file:///usr/share/icons/mytheme/cursors, file:///home/rafayahmad/Downloads, file:///opt/zoom +lastVisited=file:///opt/zoom +qtVersion=5.15.17 +shortcuts=file:///home/rafayahmad/Documents, file:///home/rafayahmad/Downloads, file:///home/rafayahmad, file:mods +sidebarWidth=48 treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x2[\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\x1\x45\0\0\0\x1\0\0\0\0\0\0\0H\0\0\0\x1\0\0\0\0\0\0\0N\0\0\0\x1\0\0\0\0\0\0\0\x80\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff) viewMode=Detail diff --git a/.config/Unknown Organization/zoom.conf b/.config/Unknown Organization/zoom.conf new file mode 100644 index 0000000..e8512f9 --- /dev/null +++ b/.config/Unknown Organization/zoom.conf @@ -0,0 +1,3 @@ +[General] +key_pmi=6173642469 +key_pmi_invite_msg="Ultimate Success is inviting you to a scheduled Zoom meeting.\r\n\r\nTopic: Ultimate Success's Personal Meeting Room\r\n\r\nJoin Zoom Meeting\r\nhttps://us05web.zoom.us/j/6173642469?pwd=OXFkUDRndGZLKzA2RUg4U2srNG5FQT09\r\n\r\nMeeting ID: 617 364 2469\r\nPasscode: 3ctxDk\r\n\r\n" diff --git a/.config/dconf/user b/.config/dconf/user index b2d7534ab40f7fdccab00d35c6be0f9da97289d4..8766839452278b1a090db58bd721addab96a1435 100644 GIT binary patch delta 3253 zcmXAr2~btn0fw(Ef{20%i$T$cD~2M-F0>JWmZvp>4n}OW>;WReiy%^gJZ4^uWa2~; zCe{TBig5)*%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!H=Vh9j6_7JH*!8fe)i?ixxB% zlZ$nDNAPG1*Ihk(~}d*SCp;DFDc{!{?)m{ zf<|>6st!9FFyV-?XOyvgd1YByby;!g+JrU#aup`KqKC~+O(wNaX0f(NAi?;m_ D*cW*w diff --git a/.config/hypr/hyprbinds.conf b/.config/hypr/hyprbinds.conf index 36f531d..4c51904 100644 --- a/.config/hypr/hyprbinds.conf +++ b/.config/hypr/hyprbinds.conf @@ -58,8 +58,8 @@ bind = $mainMod, R, exec, ~/dotfiles/scripts/reloadwaybar bind = $mainMod CTRL, R, exec, killall waybar # Screenshots -bind = , Print, exec, grim -g "$(slurp)" && mv ~/ *_grim.png ~/Pictures/screenshots -bind = $mainMod, Print, exec, grim && mv ~/*_grim.png ~/Pictures/screenshots +bind = , Print, exec, grim -g "$(slurp)" +bind = $mainMod, Print, exec, grim # Color Picker bind = ALT, P, exec, hyprpicker --format=hex -a diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf index 8c0224c..a389cbc 100644 --- a/.config/hypr/hypridle.conf +++ b/.config/hypr/hypridle.conf @@ -1,4 +1,4 @@ listener { timeout = 300 # in seconds - on-timeout = ~/Stuff/scripts/currentWallpaperHyprlock.sh + on-timeout = ~/dotfiles/scripts/currentWallpaperHyprlock.sh } diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 9e8b277..2b9c027 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -12,11 +12,12 @@ monitor=HDMI-A-1,1920x1080@60,0x0,1,mirror,eDP-1 # See https://wiki.hyprland.org/Configuring/Keywords/ for more # Execute your favorite apps at launch -exec-once = hyprpaper && ~/dotfiles/scripts/currentWallpaperHyprlock.sh exec-once = hypridle exec-once = waybar +exec-once = hyprpaper && ~/dotfiles/scripts/currentWallpaperHyprlock.sh exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once = ~/dotfiles/scripts/battWarning.sh +exec-once = [workspace 4 silent] flatpak run com.rtosta.zapzap # Source a file (multi-file configs) # source = ~/.config/hypr/myColors.conf diff --git a/.config/hypr/hyprlock/1.conf b/.config/hypr/hyprlock/1.conf index bb8d108..f5ae753 100644 --- a/.config/hypr/hyprlock/1.conf +++ b/.config/hypr/hyprlock/1.conf @@ -19,8 +19,8 @@ input-field { dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 dots_center = true dots_rounding = -1 # -1 default circle, -2 follow input-field rounding - outer_color = rgba(000000,0) - inner_color = rgba(000000,0) + outer_color = rgba(0, 0, 0, 0) + inner_color = rgba(0, 0, 0, 0) font_color = rgb(FFFFFF) fade_on_empty = true fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered. diff --git a/.config/hypr/hyprlock/2.conf b/.config/hypr/hyprlock/2.conf index b2f644c..9888fe9 100644 --- a/.config/hypr/hyprlock/2.conf +++ b/.config/hypr/hyprlock/2.conf @@ -19,8 +19,8 @@ input-field { dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 dots_center = true dots_rounding = -1 # -1 default circle, -2 follow input-field rounding - outer_color = rgba(000000,0) - inner_color = rgba(000000,0) + outer_color = rgba(0, 0, 0, 0) + inner_color = rgba(0, 0, 0, 0) font_color = rgb(FFFFFF) fade_on_empty = true fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered. diff --git a/.config/hypr/hyprpaper.conf b/.config/hypr/hyprpaper.conf index 569e58c..349ec14 100644 --- a/.config/hypr/hyprpaper.conf +++ b/.config/hypr/hyprpaper.conf @@ -1,4 +1,4 @@ splash = false -preload = ~/Pictures/bgs/2.png -preload = ~/Pictures/bgs/1.png -wallpaper = eDP-1, ~/Pictures/bgs/1.png +preload = ~/dotfiles/bgs/2.png +preload = ~/dotfiles/bgs/1.png +wallpaper = eDP-1, ~/dotfiles/bgs/1.png diff --git a/.config/waybar/modules.jsonc b/.config/waybar/modules.jsonc index 3a31ab9..b330329 100644 --- a/.config/waybar/modules.jsonc +++ b/.config/waybar/modules.jsonc @@ -66,7 +66,7 @@ "custom/arch": { "format": "󰣇", - "on-click": "~/Stuff/scripts/changeWallpaper.sh", + "on-click": "~/dotfiles/scripts/changeWallpaper.sh", "tooltip": false }, diff --git a/.config/zoom.conf b/.config/zoom.conf new file mode 100644 index 0000000..1e67fd9 --- /dev/null +++ b/.config/zoom.conf @@ -0,0 +1,7 @@ +[General] +initialize_flag=1 +random_key="qCGKV85bpbKrNqHAoDmcHqaFue1s0hKMMo/qcPLrm5o=" +u-ra_joytbgdcl4brzjfjw%40xmpp.zoom.us.asyn.enc.db=1 +u-ra_joytbgdcl4brzjfjw%40xmpp.zoom.us.enc.db=1 +u-ra_joytbgdcl4brzjfjw%40xmpp.zoom.us.idx.enc.db=1 +u-ra_joytbgdcl4brzjfjw%40xmpp.zoom.us.sync.enc.db=1 diff --git a/.config/zoomus.conf b/.config/zoomus.conf new file mode 100644 index 0000000..5721580 --- /dev/null +++ b/.config/zoomus.conf @@ -0,0 +1,89 @@ +[General] +%2B8gcPZIuASRcihpYJW6UA83rPnH%2B7ifu11s9xp3p8Rc%23=1728574875 +63tJmSFEpYg9dR34FZPBHK8VKGPcUT1yDVJWSS9UTuU%23=1728574876 +GeoLocale=system +SensitiveInfoMaskOn=true +UeJ7AgrtBappnQjaaFui4jk8yVCY2K4zE14gyE34Rzo%23=1728574876 +autoPlayGif=false +autoScale=true +bForceMaximizeWM=false +captureHDCamera=true +cefInstanceCountLimit=-1 +cefRefreshTime=0 +chatListPanelLastWidth=230 +com.disable.connection.pk.status=false +com.zoom.client.langid=0 +conf.webserver=https://us05web.zoom.us +conf.webserver.vendor.default=https://zoom.us +currentMeetingId=89563762162 +deviceID=8C:55:4A:D2:9F:FB +disableCef=false +enable.host.auto.grab=true +enableAlphaBuffer=true +enableCefGpu=false +enableCefLog=false +enableCloudSwitch=true +enableLog=true +enableMiniWindow=true +enableQmlCache=true +enableScreenSaveGuard=false +enableStartMeetingWithRoomSystem=false +enableTestMode=false +enablegpucomputeutilization=false +fake.version= +flashChatTime=0 +forceEnableTrayIcon=true +forceSSOURL= +host.auto.grab.interval=10 +isTransCoding=false +jK9BkbV8zNjw7whdX9AnddbmbOu4N8hVKwVt8iDnC38%23=1728574875 +logLevel=info +newMeetingWithVideo=true +noSandbox=false +pOoALJyX%2BqjXWD3Cr1Q4lH5ZpVshFjYob0SH3xBr2jQ%23=1728574876 +playSoundForNewMessage=false +shareBarTopMargin=0 +showOneTimePTAICTipHubble=false +showOneTimeQAMostUpvoteHubble=true +showOneTimeQueriesOptionTip=true +showOneTimeTranslationUpSellTip=false +showSystemTitlebar=false +sso_domain=.zoom.us +sso_gov_domain=.zoomgov.com +system.audio.type=default +timeFormat12HoursEnable=true +translationFreeTrialTipShowTime=0 +upcoming_meeting_header_image= +useSystemTheme=false +userEmailAddress=rafayahmad1425@gmail.com +xwayland=true + +[1VGa6fEsTQYEquYOdMv] +j1V5NQSTWNQPlSB8TSaIgvM%23=1728574876 + +[AS] +showframewindow=true + +[CodeSnippet] +lastCodeType=0 +wrapMode=0 + +[YF] +0eWmMbhXv8dLkLuwpAohJHPqqY98tsvJ8RMNR5r0%23=1728792736 + +[ZfyNXsYVXn89sSD] +u%2BfYJObfh7c2x33NhQnPBCxnUKg%23=1728574875 + +[chat.recent] +recentlast.session= + +[p2j01nOS5WVbsNRvQFnMTmH5SbwLdPoVQxAt] +B0jJHc%23=1728574875 + +[pvKc9SrvNy] +UrM6djKC7sBYYhjF2xNCSHVpXDpFealQ%23=1728574875 + +[zoom_new_im] +is_landscape_mode=true +main_frame_pixel_pos_narrow="376,770" +main_frame_pixel_pos_wide="1876,999" diff --git a/keybindings.json b/keybindings.json new file mode 100644 index 0000000..681aac5 --- /dev/null +++ b/keybindings.json @@ -0,0 +1,461 @@ +// Place your key bindings in this file to override the defaultsauto[] +[ + //removed keybinds + { + "key": "ctrl+shift+alt+up", + "command": "-editor.action.copyLinesUpAction", + "when": "editorTextFocus && !editorReadonly" + }, + { + "key": "ctrl+shift+alt+down", + "command": "-editor.action.copyLinesDownAction", + "when": "editorTextFocus && !editorReadonly" + }, + { + "key": "alt+up", + "command": "-editor.action.moveLinesUpAction", + "when": "editorTextFocus && !editorReadonly" + }, + { + "key": "alt+down", + "command": "-editor.action.moveLinesDownAction", + "when": "editorTextFocus && !editorReadonly" + }, + { + "key": "space", + "command": "-filesExplorer.openFilePreserveFocus", + "when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus" + }, + { + "key": "ctrl+j", + "command": "-workbench.action.togglePanel" + }, + { + "key": "shift+alt+up", + "command": "-editor.action.insertCursorAbove", + "when": "editorTextFocus" + }, + { + "key": "shift+alt+down", + "command": "-editor.action.insertCursorBelow", + "when": "editorTextFocus" + }, + { + "key": "ctrl+shift+up", + "command": "-editor.action.insertCursorAbove", + "when": "editorTextFocus" + }, + { + "key": "ctrl+d", + "command": "-editor.action.addSelectionToNextFindMatch", + "when": "editorFocus" + }, + { + "key": "ctrl+shift+s", + "command": "-workbench.action.files.saveAs" + }, + { + "key": "ctrl+shift+s", + "command": "-workbench.action.files.saveLocalFile", + "when": "remoteFileDialogVisible" + }, + { + "key": "ctrl+shift+down", + "command": "-editor.action.insertCursorBelow", + "when": "editorTextFocus" + }, + { + "key": "ctrl+k ctrl+o", + "command": "-workbench.action.files.openFolder", + "when": "openFolderWorkspaceSupport" + }, + { + "key": "ctrl+shift+o", + "command": "-editor.action.accessibleViewGoToSymbol", + "when": "accessibilityHelpIsShown && accessibleViewGoToSymbolSupported || accessibleViewGoToSymbolSupported && accessibleViewIsShown" + }, + { + "key": "ctrl+shift+o", + "command": "-workbench.action.gotoSymbol", + "when": "!accessibilityHelpIsShown && !accessibleViewIsShown" + }, + { + "key": "ctrl+o", + "command": "-workbench.action.files.openFolderViaWorkspace", + "when": "!openFolderWorkspaceSupport && workbenchState == 'workspace'" + }, + { + "key": "ctrl+o", + "command": "-workbench.action.files.openFile", + "when": "true" + }, + { + "key": "ctrl+alt+o", + "command": "-workbench.action.remote.showMenu" + }, + { + "key": "down", + "command": "-selectNextSuggestion", + "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" + }, + { + "key": "up", + "command": "-selectPrevSuggestion", + "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" + }, + { + "key": "shift+alt+i", + "command": "-editor.action.insertCursorAtEndOfEachLineSelected", + "when": "editorTextFocus" + }, + { + "key": "down", + "command": "-selectNextCodeAction", + "when": "codeActionMenuVisible" + }, + { + "key": "up", + "command": "-selectPrevCodeAction", + "when": "codeActionMenuVisible" + }, + { + "key": "escape", + "command": "-extension.vim_escape", + "when": "editorTextFocus && vim.active && !inDebugRepl" + }, + // basic line movement + { + "key": "shift+alt+I", + "command": "editor.action.copyLinesUpAction", + "when": "editorTextFocus && !editorReadonly" + }, + { + "key": "shift+alt+K", + "command": "editor.action.copyLinesDownAction", + "when": "editorTextFocus && !editorReadonly" + }, + { + "key": "alt+i", + "command": "editor.action.moveLinesUpAction", + "when": "editorTextFocus && !editorReadonly" + }, + { + "key": "alt+k", + "command": "editor.action.moveLinesDownAction", + "when": "editorTextFocus && !editorReadonly" + }, + { + "key": "ctrl+shift+i", + "command": "editor.action.insertCursorAbove", + "when": "editorTextFocus" + }, + { + "key": "ctrl+shift+k", + "command": "editor.action.insertCursorBelow", + "when": "editorTextFocus" + }, + { + "key": "ctrl+shift+s", + "command": "editor.action.addSelectionToNextFindMatch", + }, + { + "key": "ctrl+alt+l", + "command": "editor.action.insertCursorAtEndOfEachLineSelected", + "when": "editorTextFocus" + }, + // suggestion nav + { + "key": "ctrl+k", + "command": "selectNextSuggestion", + "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" + }, + { + "key": "ctrl+i", + "command": "selectPrevSuggestion", + "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" + }, + { + "key": "ctrl+k", + "command": "selectNextCodeAction", + "when": "codeActionMenuVisible" + }, + { + "key": "ctrl+i", + "command": "selectPrevCodeAction", + "when": "codeActionMenuVisible" + }, + // open file/folder + { + "key": "ctrl+shift+o", + "command": "workbench.action.files.openFolder", + "when": "openFolderWorkspaceSupport" + }, + { + "key": "ctrl+alt+o", + "command": "workbench.action.files.openFile", + "when": "true" + }, + //--------------VIM STUFF----------------------// + { + "key": "capslock", + "command": "extension.vim_escape", + "when": "editorTextFocus && !inDebugRepl && !suggestWidgetVisible" + }, + { + "key": "ctrl+w", + "command": "workbench.action.closeActiveEditor" + }, + //terminal + { + "key": "ctrl+l", + "command": "terminal.focus", + "when": "" + }, + { + "key": "ctrl+j", + "command": "workbench.action.focusActiveEditorGroup", + "when": "terminalFocus" + }, + { + "key": "ctrl+k", + "command": "workbench.action.terminal.focusNext", + "when": "terminalFocus" + }, + { + "key": "ctrl+i", + "command": "workbench.action.terminal.focusPrevious", + "when": "terminalFocus" + }, + + { + "key": "ctrl+n", + "command": "workbench.action.terminal.new", + "when": "terminalFocus" + }, + { + "key": "ctrl+w", + "command": "workbench.action.terminal.kill", + "when": "terminalFocus" + }, + //file tree + { + "key": "ctrl+shift+k", + "command": "workbench.explorer.fileView.focus", + "when": "terminalFocus" + }, + { + "key": "ctrl+shift+i", + "command": "terminal.focus", + "when": "explorerViewletFocus" + }, + { + "key": "ctrl+j", + "command": "workbench.action.focusActiveEditorGroup", + "when": "explorerViewletFocus" + }, + { + "key": "ctrl+w", + "command": "workbench.action.toggleSidebarVisibility", + "when": "explorerViewletFocus" + }, + { + "key": "ctrl+n", + "command": "explorer.newFile", + "when": "explorerViewletFocus" + }, + { + "key": "ctrl+shift+n", + "command": "explorer.newFolder", + "when": "explorerViewletFocus" + }, + // copilot + { + "key": "ctrl+shift+k", + "command": "workbench.panel.chat.view.copilot.focus", + "when": "explorerViewletFocus" + }, + { + "key": "ctrl+shift+i", + "command": "workbench.explorer.fileView.focus", + "when": "!editorFocus && !terminalFocus && !explorerViewletFocus" + }, + { + "key": "ctrl+j", + "command": "workbench.action.focusActiveEditorGroup", + "when": "!editorFocus && !terminalFocus" + }, + { + "key": "capslock", + "command": "editor.action.inlineSuggest.hide", + "when": "inlineSuggestionVisible" + }, + { + "key": "escape", + "command": "-editor.action.inlineSuggest.hide", + "when": "inlineSuggestionVisible" + }, + { + "key": "capslock", + "command": "editor.action.inlineEdit.reject", + "when": "inlineEditVisible && !editorReadonly" + }, + { + "key": "escape", + "command": "-editor.action.inlineEdit.reject", + "when": "inlineEditVisible && !editorReadonly" + }, + { + "key": "capslock", + "command": "cancelRenameInput", + "when": "editorFocus && renameInputVisible" + }, + { + "key": "escape", + "command": "-cancelRenameInput", + "when": "editorFocus && renameInputVisible" + }, + { + "key": "capslock", + "command": "cancelSelection", + "when": "editorHasSelection && textInputFocus" + }, + { + "key": "escape", + "command": "-cancelSelection", + "when": "editorHasSelection && textInputFocus" + }, + { + "key": "capslock", + "command": "closeFindWidget", + "when": "editorFocus && findWidgetVisible && !isComposing" + }, + { + "key": "escape", + "command": "-closeFindWidget", + "when": "editorFocus && findWidgetVisible && !isComposing" + }, + { + "key": "capslock", + "command": "editor.action.cancelSelectionAnchor", + "when": "editorTextFocus && selectionAnchorSet" + }, + { + "key": "escape", + "command": "-editor.action.cancelSelectionAnchor", + "when": "editorTextFocus && selectionAnchorSet" + }, + { + "key": "capslock", + "command": "editor.debug.action.closeExceptionWidget", + "when": "exceptionWidgetVisible" + }, + { + "key": "escape", + "command": "-editor.debug.action.closeExceptionWidget", + "when": "exceptionWidgetVisible" + }, + { + "key": "capslock", + "command": "editor.action.hideColorPicker", + "when": "standaloneColorPickerVisible" + }, + { + "key": "escape", + "command": "-editor.action.hideColorPicker", + "when": "standaloneColorPickerVisible" + }, + { + "key": "capslock", + "command": "hideCodeActionWidget", + "when": "codeActionMenuVisible" + }, + { + "key": "escape", + "command": "-hideCodeActionWidget", + "when": "codeActionMenuVisible" + }, + { + "key": "capslock", + "command": "hideSuggestWidget", + "when": "suggestWidgetVisible && textInputFocus" + }, + { + "key": "escape", + "command": "-hideSuggestWidget", + "when": "suggestWidgetVisible && textInputFocus" + }, + { + "key": "ctrl+f5", + "command": "workbench.action.tasks.test" + }, + { + "key": "j", + "command": "-notebook.focusNextEditor", + "when": "editorTextFocus && inputFocus && notebookEditorFocused && vim.mode == 'Normal' && notebookEditorCursorAtBoundary != 'none' && notebookEditorCursorAtBoundary != 'top'" + }, + { + "key": "j", + "command": "-list.focusDown", + "when": "listFocus && !inputFocus" + }, + { + "key": "k", + "command": "-notebook.focusPreviousEditor", + "when": "editorTextFocus && inputFocus && notebookEditorFocused && vim.mode == 'Normal' && notebookEditorCursorAtBoundary != 'bottom' && notebookEditorCursorAtBoundary != 'none'" + }, + { + "key": "shift+enter", + "command": "-jupyter.runcurrentcelladvance", + "when": "editorTextFocus && isWorkspaceTrusted && jupyter.hascodecells && !editorHasSelection && !notebookEditorFocused" + }, + { + "key": "f5", + "command": "jupyter.runcurrentcell", + "when": "editorTextFocus && isWorkspaceTrusted && jupyter.hascodecells && !editorHasSelection && !jupyter.havenativecells && !notebookEditorFocused" + }, + { + "key": "ctrl+enter", + "command": "-jupyter.runcurrentcell", + "when": "editorTextFocus && isWorkspaceTrusted && jupyter.hascodecells && !editorHasSelection && !jupyter.havenativecells && !notebookEditorFocused" + }, + { + "key": "alt+enter", + "command": "-jupyter.runcurrentcellandaddbelow", + "when": "editorTextFocus && jupyter.hascodecells && !editorHasSelection && !notebookEditorFocused" + }, + { + "key": "shift+enter", + "command": "-jupyter.execSelectionInteractive", + "when": "editorTextFocus && isWorkspaceTrusted && jupyter.ownsSelection && !findInputFocussed && !notebookEditorFocused && !replaceInputFocussed && editorLangId == 'python' && activeEditor != 'workbench.editor.interactive'" + }, + { + "key": "ctrl+shift+alt+enter", + "command": "-jupyter.runAndDebugCell", + "when": "isWorkspaceTrusted && jupyter.ispythonnotebook && !notebookKernel && notebookCellType == 'code' || isWorkspaceTrusted && jupyter.ispythonnotebook && notebookCellType == 'code' && notebookKernel =~ /^ms-toolsai.jupyter\\// && resource not in 'jupyter.notebookeditor.debugDocuments'" + }, + { + "key": "shift+enter", + "command": "-notebook.cell.executeAndSelectBelow", + "when": "notebookCellListFocused && !inlineChatFocused && notebookCellType == 'markup' || notebookCellListFocused && notebookMissingKernelExtension && !inlineChatFocused && !notebookCellExecuting && notebookCellType == 'code' || notebookCellListFocused && !inlineChatFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelCount > 0 || notebookCellListFocused && !inlineChatFocused && !notebookCellExecuting && notebookCellType == 'code' && notebookKernelSourceCount > 0" + }, + { + "key": "shift+enter", + "command": "-notebook.cell.executeAndSelectBelow", + "when": "notebookCellListFocused && !interactiveEditorFocused && notebookCellType == 'code' || editorTextFocus && inputFocus && notebookEditorFocused && !interactiveEditorFocused" + }, + { + "key": "shift+enter", + "command": "-python.execInREPL", + "when": "config.python.REPL.sendToNativeREPL && editorTextFocus && !accessibilityModeEnabled && !jupyter.ownsSelection && !notebookEditorFocused && editorLangId == 'python' && activeEditor != 'workbench.editor.interactive'" + }, + { + "key": "shift+enter", + "command": "-python.execSelectionInTerminal", + "when": "editorTextFocus && !findInputFocussed && !jupyter.ownsSelection && !notebookEditorFocused && !replaceInputFocussed && editorLangId == 'python' && activeEditor != 'workbench.editor.interactive'" + }, + { + "key": "shift+enter", + "command": "-workbench.action.terminal.findNext", + "when": "terminalFindInputFocused && terminalHasBeenCreated || terminalFindInputFocused && terminalProcessSupported" + } +] \ No newline at end of file diff --git a/scripts/battWarning.sh b/scripts/battWarning.sh index 1768334..a76d522 100755 --- a/scripts/battWarning.sh +++ b/scripts/battWarning.sh @@ -7,7 +7,7 @@ while true; do currentPowerSetting=$(powerprofilesctl get) if [ "$batteryLevel" -le "25" ] && [ "$batteryStatus" == "Discharging" ]; then - notify-send -u critical -i ~/Stuff/scripts/battery-alert.svg "Low Battery" "25% battery remaining" + notify-send -u critical -i ~/dotfiles/scripts/battery-alert.svg "Low Battery" "25% battery remaining" fi diff --git a/scripts/currentWallpaperHyprlock.sh b/scripts/currentWallpaperHyprlock.sh index 24295fa..a02979a 100755 --- a/scripts/currentWallpaperHyprlock.sh +++ b/scripts/currentWallpaperHyprlock.sh @@ -4,4 +4,5 @@ currentWallpaper=${currentWallpaper:8} configFile=${currentWallpaper: -5:1} configFile="/home/rafayahmad/.config/hypr/hyprlock/${configFile}.conf" export currentWallpaper +echo "$configFile" hyprlock -c "$configFile" diff --git a/settings.json b/settings.json new file mode 100644 index 0000000..f6518f5 --- /dev/null +++ b/settings.json @@ -0,0 +1,217 @@ +{ + //--------------VIM STUFF----------------------// + + "vim.useSystemClipboard": true, + "vim.cursorStylePerMode.normal": "block", + "vim.leader": "", + "editor.lineNumbers": "relative", + "vim.handleKeys": { + }, + "vim.insertModeKeyBindingsNonRecursive": [ + + ], + "vim.visualModeKeyBindingsNonRecursive": [ + // hjkl remap + { + "before": ["j"], + "after": ["h"] + }, + { + "before": ["k"], + "after": ["j"] + }, + { + "before": ["i"], + "after": ["k"] + }, + { + "before": ["h"], + "after": ["i"] + }, + + // start of line + { + "before": ["_"], + "after": ["#"] + }, + { + "before": ["#"], + "after": ["_"] + } + ], + "vim.operatorPendingModeKeyBindingsNonRecursive": [ + // hjkl remap + { + "before": ["j"], + "after": ["h"] + }, + { + "before": ["k"], + "after": ["j"] + }, + { + "before": ["i"], + "after": ["k"] + }, + { + "before": ["h"], + "after": ["i"] + }, + // start of line + { + "before": ["_"], + "after": ["#"] + }, + { + "before": ["#"], + "after": ["_"] + }, + ], + "vim.normalModeKeyBindingsNonRecursive": [ + // hjkl remap + { + "before": ["j"], + "after": ["h"] + }, + { + "before": ["k"], + "after": ["j"] + }, + { + "before": ["i"], + "after": ["k"] + }, + { + "before": ["h"], + "after": ["i"] + }, + + // start of line + { + "before": ["_"], + "after": ["#"] + }, + { + "before": ["#"], + "after": ["_"] + }, + + // vertical movement + { + "before": [""], + "after": ["", "z", "z"] + }, + { + "before": [""], + "after": ["", "z", "z"] + }, + + // command pallete stuff + { + "before": ["leader", "o"], + "commands": ["workbench.action.quickOpen"] + }, + { + "before": ["leader", "c"], + "commands": ["workbench.action.showCommands"] + }, + { + "before": ["leader", "s"], + "commands": ["workbench.action.gotoSymbol"] + }, + { + "before": ["leader", "f"], + "commands": ["actions.find"] + }, + // sidebar + { + "before": ["leader", "e"], + "commands": ["workbench.explorer.fileView.focus"] + }, + { + "before": ["leader", "g"], + "commands": ["workbench.panel.chat.view.copilot.focus"] + } + + ], + + //------------------------NORMAL SETTINGS----------------------------------// + + "workbench.colorTheme": "Default Dark Modern", + "window.titleBarStyle": "custom", + "workbench.panel.defaultLocation": "right", + "workbench.settings.applyToAllProfiles": ["workbench.panel.defaultLocation"], + "workbench.startupEditor": "none", + "security.workspace.trust.untrustedFiles": "open", + "C_Cpp.autocompleteAddParentheses": true, + "C_Cpp.suggestSnippets": false, + "cmake.showOptionsMovedNotification": false, + "git.autofetch": true, + "git.confirmSync": false, + "terminal.integrated.cursorStyle": "line", + "redhat.telemetry.enabled": false, + "editor.minimap.enabled": false, + "editor.renderWhitespace": "none", + "git.openRepositoryInParentFolders": "never", + "github.copilot.enable": { + "*": false, + "plaintext": false, + "markdown": false, + "scminput": false + }, + "java.import.gradle.java.home": "/usr/lib/jvm/java-21-openjdk", + "cmake.configureOnOpen": true, + "terminal.integrated.fontFamily": "\"Hack Nerd Font\"", + "editor.fontFamily": "\"Hack Nerd Font\"", + "editor.fontSize": 16, + "terminal.integrated.fontSize": 16, + "workbench.enableExperiments": false, + "workbench.settings.enableNaturalLanguageSearch": false, + "extensions.autoCheckUpdates": false, + "update.showReleaseNotes": false, + "explorer.confirmDelete": false, + "window.customTitleBarVisibility": "auto", + "workbench.sideBar.location": "right", + "todo-tree.highlights.customHighlight": { + "TODO": { + "type": "text-and-comment", + "foreground": "#000000", + "background": "#08B5E4" + }, + "FIXME": { + "gutterIcon": true + }, + "BUG": { + "icon": "bug" + }, + "HACK": { + "icon": "tools" + }, + "XXX": { + "icon": "x" + }, + "[ ]": { + "icon": "issue-draft" + }, + "[x]": { + "icon": "issue-closed" + } + }, + "workbench.colorCustomizations": { + // "errorLens.warningBackground": "#3694FF", + // "errorLens.infoBackground": "#3694FF", + }, + "github.copilot.editor.enableAutoCompletions": true, + "cmake.pinnedCommands": [ + "workbench.action.tasks.configureTaskRunner", + "workbench.action.tasks.runTask" + ], + "dart.debugExternalPackageLibraries": false, + "dart.debugSdkLibraries": false, + "breadcrumbs.enabled": false, + "editor.largeFileOptimizations": false, + + + + +} \ No newline at end of file