Commit 676419e

Ansari <ping@ansari.wtf>
2025-07-14 15:35:51
Relieving from dotfiles
Changed files (7)
.assets
wallpapers
.config
ghostty
input-remapper-2
.assets/wallpapers/quote1.jpg
Binary file
.config/ghostty/config
@@ -0,0 +1,19 @@
+theme = ayu
+
+keybind = ctrl+shift+w=close_window
+keybind = ctrl+shift+e=new_split:right
+keybind = ctrl+shift+o=new_split:down
+keybind = ctrl+shift+r=reload_config
+# keybind = ctrl+scroll=increase_font_size
+# keybind = global:super+space=toggle_quick_terminal
+
+
+background-opacity = 0.95
+
+# title = " "
+cursor-color = lightgreen
+
+cursor-style = bar
+cursor-style-blink = true
+shell-integration = none
+# shell-integration-features = none
\ No newline at end of file
.config/input-remapper-2/presets/Logitech G304/Mouse Mapping.json
@@ -0,0 +1,28 @@
+[
+    {
+        "input_combination": [
+            {
+                "type": 1,
+                "code": 276,
+                "origin_hash": "1fcff82a38587dcf5ba131085e0ffb0d"
+            }
+        ],
+        "target_uinput": "keyboard",
+        "output_symbol": "Control_L + Super_L +  Right",
+        "name": "Windows Right",
+        "mapping_type": "key_macro"
+    },
+    {
+        "input_combination": [
+            {
+                "type": 1,
+                "code": 275,
+                "origin_hash": "1fcff82a38587dcf5ba131085e0ffb0d"
+            }
+        ],
+        "target_uinput": "keyboard",
+        "output_symbol": "Control_L + Super_L +  Left",
+        "name": "Windows Left",
+        "mapping_type": "key_macro"
+    }
+]
.config/input-remapper-2/config.json
@@ -0,0 +1,6 @@
+{
+    "version": "2.1.1",
+    "autoload": {
+        "Logitech G304": "Mouse Mapping"
+    }
+}
.config/user-dirs.dirs
@@ -0,0 +1,8 @@
+XDG_DESKTOP_DIR="$HOME/dev/desktop"
+XDG_DOCUMENTS_DIR="$HOME/dev/desktop"
+XDG_DOWNLOAD_DIR="$HOME/dev/downloads"
+XDG_MUSIC_DIR="$HOME/dev/desktop"
+XDG_PICTURES_DIR="$HOME/dev/desktop"
+XDG_PUBLICSHARE_DIR="$HOME/dev/desktop"
+XDG_TEMPLATES_DIR="$HOME/dev/desktop"
+XDG_VIDEOS_DIR="$HOME/dev/desktop"
.gitconfig
@@ -0,0 +1,9 @@
+[user]
+    email = ping@ansari.wtf
+    name = Ansari
+[init]
+	defaultBranch = main
+[alias]
+	lg = log --oneline --graph --all
+[core]
+	editor = vim
.zshrc
@@ -0,0 +1,49 @@
+# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
+export DEV="$HOME/dev"
+export ZSH="$HOME/.oh-my-zsh"
+
+alias cdd="cd $DEV"
+
+ZSH_THEME="robbyrussell"
+
+zstyle ':omz:update' mode reminder  # just remind me to update when it's time
+
+# Uncomment the following line to enable command auto-correction.
+# ENABLE_CORRECTION="true"
+
+# Which plugins would you like to load?
+# Standard plugins can be found in $ZSH/plugins/
+# Custom plugins may be added to $ZSH_CUSTOM/plugins/
+# Example format: plugins=(rails git textmate ruby lighthouse)
+# Add wisely, as too many plugins slow down shell startup.
+plugins=(git)
+
+source $ZSH/oh-my-zsh.sh
+export EDITOR='vim'
+
+# SSH Configs
+eval $(keychain -q --eval github)
+
+#Obsidian Hack
+if [[ -n "$SSH_AUTH_SOCK" ]]; then
+  sed -i "s|Exec=.*SSH_AUTH_SOCK=[^ ]\\+ /usr/bin/obsidian %U|Exec=SSH_AUTH_SOCK=$SSH_AUTH_SOCK /usr/bin/obsidian %U|" ~/.local/share/applications/obsidian.desktop
+fi
+
+
+sync-config() {
+  DOTFILES_DIR="$HOME/dev/.dotfiles"
+
+  echo "โš ๏ธ  This will sync all dotfiles from:"
+  echo "    $DOTFILES_DIR --> $HOME"
+  echo
+  read "reply?Proceed with sync? [y/N]: "
+
+  if [[ "$reply" =~ ^[Yy]$ ]]; then
+    echo "๐Ÿ”„ Syncing..."
+    cd "$DOTFILES_DIR" || { echo "โŒ Failed to change directory"; return 1; }
+    stow --target="$HOME" .
+    echo "โœ… Dotfiles synced."
+  else
+    echo "โŒ Sync cancelled."
+  fi
+}
\ No newline at end of file