mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2025-07-06 11:49:41 +03:00
Compare commits
7 Commits
95c858c285
...
d9309eb451
Author | SHA1 | Date | |
---|---|---|---|
d9309eb451 | |||
3c64972def | |||
6fa57fba4d | |||
069f309d1b | |||
a2601209f1 | |||
fe8ed7d94e | |||
d73bad7437 |
@ -0,0 +1 @@
|
|||||||
|
{"title":"MyCustom","rules":[{"description":"Change right alt + turkish char to right opt + turkish char","manipulators":[{"type":"basic","from":{"modifiers":{"mandatory":["right_gui"]},"key_code":"i"},"to":[{"repeat":true,"lazy":false,"key_code":"i","modifiers":["right_alt"]}]},{"type":"basic","from":{"modifiers":{"mandatory":["right_gui"]},"key_code":"o"},"to":[{"repeat":true,"key_code":"o","modifiers":["right_alt"]}]}]},{"description":"","manipulators":[{"type":"basic","from":{}}]}]}
|
206
.config/karabiner/karabiner.json
Normal file
206
.config/karabiner/karabiner.json
Normal file
@ -0,0 +1,206 @@
|
|||||||
|
{
|
||||||
|
"profiles": [
|
||||||
|
{
|
||||||
|
"complex_modifications": {
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"description": "Change right_command+hjkl to arrow keys",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "h",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["right_alt"],
|
||||||
|
"optional": ["any"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [{ "key_code": "left_arrow" }],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "j",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["right_alt"],
|
||||||
|
"optional": ["any"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [{ "key_code": "down_arrow" }],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "k",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["right_alt"],
|
||||||
|
"optional": ["any"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [{ "key_code": "up_arrow" }],
|
||||||
|
"type": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "l",
|
||||||
|
"modifiers": {
|
||||||
|
"mandatory": ["right_alt"],
|
||||||
|
"optional": ["any"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to": [{ "key_code": "right_arrow" }],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"devices": [
|
||||||
|
{
|
||||||
|
"identifiers": { "is_keyboard": true },
|
||||||
|
"simple_modifications": [
|
||||||
|
{
|
||||||
|
"from": { "key_code": "caps_lock" },
|
||||||
|
"to": [{ "key_code": "left_control" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "grave_accent_and_tilde" },
|
||||||
|
"to": [{ "key_code": "z" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "non_us_backslash" },
|
||||||
|
"to": [{ "key_code": "grave_accent_and_tilde" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "x" },
|
||||||
|
"to": [{ "key_code": "c" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "z" },
|
||||||
|
"to": [{ "key_code": "x" }]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fn_function_keys": [
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f1" },
|
||||||
|
"to": [{ "key_code": "f1" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f2" },
|
||||||
|
"to": [{ "key_code": "f2" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f3" },
|
||||||
|
"to": [{ "key_code": "f3" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f4" },
|
||||||
|
"to": [{ "key_code": "f4" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f5" },
|
||||||
|
"to": [{ "key_code": "f5" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f6" },
|
||||||
|
"to": [{ "key_code": "f6" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f7" },
|
||||||
|
"to": [{ "key_code": "f7" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f8" },
|
||||||
|
"to": [{ "key_code": "f8" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f9" },
|
||||||
|
"to": [{ "key_code": "f9" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f10" },
|
||||||
|
"to": [{ "key_code": "f10" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f11" },
|
||||||
|
"to": [{ "key_code": "f11" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f12" },
|
||||||
|
"to": [{ "key_code": "f12" }]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"identifiers": {
|
||||||
|
"is_keyboard": true,
|
||||||
|
"product_id": 1,
|
||||||
|
"vendor_id": 16962
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fn_function_keys": [
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f1" },
|
||||||
|
"to": [{ "key_code": "f1" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f2" },
|
||||||
|
"to": [{ "key_code": "f2" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f3" },
|
||||||
|
"to": [{ "key_code": "f3" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f4" },
|
||||||
|
"to": [{ "key_code": "f4" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f5" },
|
||||||
|
"to": [{ "key_code": "f5" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f6" },
|
||||||
|
"to": [{ "key_code": "f6" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f7" },
|
||||||
|
"to": [{ "key_code": "f7" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f8" },
|
||||||
|
"to": [{ "key_code": "f8" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f9" },
|
||||||
|
"to": [{ "key_code": "f9" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f10" },
|
||||||
|
"to": [{ "key_code": "f10" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f11" },
|
||||||
|
"to": [{ "key_code": "f11" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "f12" },
|
||||||
|
"to": [{ "key_code": "f12" }]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"identifiers": {
|
||||||
|
"is_pointing_device": true,
|
||||||
|
"product_id": 1,
|
||||||
|
"vendor_id": 16962
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "Default profile",
|
||||||
|
"selected": true,
|
||||||
|
"virtual_hid_keyboard": {
|
||||||
|
"country_code": 0,
|
||||||
|
"keyboard_type_v2": "ansi"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -18,7 +18,7 @@ action_alias kitty_scrollback_nvim kitten $HOME/.local/share/nvim/lazy/kitty-scr
|
|||||||
|
|
||||||
# include ./themes/themes/OneDark.conf
|
# include ./themes/themes/OneDark.conf
|
||||||
# include ~/.local/share/nvim/lazy/tokyonight.nvim/extras/kitty/tokyonight_day.conf
|
# include ~/.local/share/nvim/lazy/tokyonight.nvim/extras/kitty/tokyonight_day.conf
|
||||||
include ~/.local/share/nvim/lazy/kanagawa.nvim/extras/kanagawa_light.conf
|
include ~/.local/share/nvim/lazy/kanagawa.nvim/extras/kitty/kanagawa.conf
|
||||||
#include ./tokyonight.conf
|
#include ./tokyonight.conf
|
||||||
#Fonts {{{
|
#Fonts {{{
|
||||||
|
|
||||||
|
89
.config/kitty/tab_bar.py
Normal file
89
.config/kitty/tab_bar.py
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
import math
|
||||||
|
from kitty.fast_data_types import Screen, get_options
|
||||||
|
from kitty.tab_bar import (
|
||||||
|
DrawData,
|
||||||
|
ExtraData,
|
||||||
|
TabBarData,
|
||||||
|
as_rgb,
|
||||||
|
draw_tab_with_powerline,
|
||||||
|
)
|
||||||
|
|
||||||
|
opts = get_options()
|
||||||
|
|
||||||
|
surface1 = as_rgb(int("45475A", 16))
|
||||||
|
window_icon = ""
|
||||||
|
layout_icon = ""
|
||||||
|
|
||||||
|
active_tab_layout_name = ""
|
||||||
|
active_tab_num_windows = 1
|
||||||
|
|
||||||
|
layout_symbols = {
|
||||||
|
"grid": " ",
|
||||||
|
"stack": " ",
|
||||||
|
"fat": " ",
|
||||||
|
"tall": " ",
|
||||||
|
"splits": " "
|
||||||
|
}
|
||||||
|
|
||||||
|
def draw_tab(
|
||||||
|
draw_data: DrawData,
|
||||||
|
screen: Screen,
|
||||||
|
tab: TabBarData,
|
||||||
|
before: int,
|
||||||
|
max_title_length: int,
|
||||||
|
index: int,
|
||||||
|
is_last: bool,
|
||||||
|
extra_data: ExtraData,
|
||||||
|
) -> int:
|
||||||
|
global active_tab_layout_name
|
||||||
|
global active_tab_num_windows
|
||||||
|
if tab.is_active:
|
||||||
|
active_tab_layout_name = tab.layout_name
|
||||||
|
active_tab_num_windows = tab.num_windows
|
||||||
|
end = draw_tab_with_powerline(
|
||||||
|
draw_data, screen, tab, before, max_title_length, index, is_last, extra_data
|
||||||
|
)
|
||||||
|
_draw_right_status(
|
||||||
|
screen,
|
||||||
|
is_last,
|
||||||
|
)
|
||||||
|
return end
|
||||||
|
|
||||||
|
|
||||||
|
def _draw_right_status(screen: Screen, is_last: bool) -> int:
|
||||||
|
if not is_last:
|
||||||
|
return screen.cursor.x
|
||||||
|
|
||||||
|
cells = [
|
||||||
|
# layout name
|
||||||
|
(surface1, screen.cursor.bg, " " + layout_symbols[active_tab_layout_name] + " "),
|
||||||
|
(surface1, screen.cursor.bg, active_tab_layout_name + ('' if active_tab_num_windows == 1 else f" ({active_tab_num_windows} windows)")),
|
||||||
|
]
|
||||||
|
|
||||||
|
# calculate leading spaces to separate tabs from right status
|
||||||
|
right_status_length = 0
|
||||||
|
for _, _, cell in cells:
|
||||||
|
right_status_length += len(cell)
|
||||||
|
leading_spaces = 0
|
||||||
|
if opts.tab_bar_align == "center":
|
||||||
|
leading_spaces = (
|
||||||
|
math.ceil((screen.columns - screen.cursor.x) / 2) - right_status_length
|
||||||
|
)
|
||||||
|
elif opts.tab_bar_align == "left":
|
||||||
|
leading_spaces = screen.columns - screen.cursor.x - right_status_length
|
||||||
|
|
||||||
|
# draw leading spaces
|
||||||
|
if leading_spaces > 0:
|
||||||
|
screen.draw(" " * leading_spaces)
|
||||||
|
|
||||||
|
# draw right status
|
||||||
|
for fg, bg, cell in cells:
|
||||||
|
screen.cursor.fg = fg
|
||||||
|
screen.cursor.bg = bg
|
||||||
|
screen.draw(cell)
|
||||||
|
screen.cursor.fg = 0
|
||||||
|
screen.cursor.bg = 0
|
||||||
|
|
||||||
|
# update cursor position
|
||||||
|
screen.cursor.x = max(screen.cursor.x, screen.columns - right_status_length)
|
||||||
|
return screen.cursor.x
|
0
.config/lazygit/config.yml
Normal file
0
.config/lazygit/config.yml
Normal file
Submodule .config/nvim updated: ca15756f0c...8f895c096d
6
.config/sahinakkaya/splash
Normal file
6
.config/sahinakkaya/splash
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
Welcome ______ _____
|
||||||
|
______back,__ ___ /____(_)______
|
||||||
|
__ ___/ __ `/_ __ \_ /__ __ \
|
||||||
|
_(__ )/ /_/ /_ / / / / _ / / /
|
||||||
|
/____/ \__,_/ /_/ /_//_/ /_/ /_/
|
||||||
|
|
43
.config/tridactyl/tridactylrc
Normal file
43
.config/tridactyl/tridactylrc
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
" General Settings
|
||||||
|
set update.lastchecktime 1746702576363
|
||||||
|
set configversion 2.0
|
||||||
|
set smoothscroll true
|
||||||
|
set hintchars jklasdfghuioqwertynmzxcv
|
||||||
|
|
||||||
|
" Binds
|
||||||
|
bind j scrollline 5
|
||||||
|
bind h back
|
||||||
|
bind l forward
|
||||||
|
bind J tabnext
|
||||||
|
bind K tabprev
|
||||||
|
bind H scrollpx -50
|
||||||
|
bind L scrollpx 50
|
||||||
|
bind q back
|
||||||
|
bind Q forward
|
||||||
|
bindurl github.com gp open github.com/sahinakkaya
|
||||||
|
bindurl github.com gc composite git_clone | clipboard yank
|
||||||
|
bindurl github.com gC composite git_clone_ssh | clipboard yank
|
||||||
|
bindurl github.com yr composite js "\"" + document.location.href.split('#')[0].split('/').slice(3, 5).join('/') + "\"" | clipboard yank
|
||||||
|
bindurl gitlab.com gp open gitlab.com/sahinakkayadev
|
||||||
|
bindurl gitlab.com gc composite git_clone | clipboard yank
|
||||||
|
bindurl gitlab.com gC composite git_clone_ssh | clipboard yank
|
||||||
|
bindurl gitlab.com yr composite js "\"" + document.location.href.split('#')[0].split('/').slice(3, 5).join('/') + "\"" | clipboard yank
|
||||||
|
bindurl stackoverflow.com gp open stackoverflow.com/users/9608759/sahinakkaya
|
||||||
|
bindurl youtube.com p composite get_current_url | mpvsafe
|
||||||
|
bindurl youtube.com P hint -W mpvsafe
|
||||||
|
|
||||||
|
" Subconfig Settings
|
||||||
|
seturl monkeytype.com allowautofocus true
|
||||||
|
|
||||||
|
" Aliases
|
||||||
|
alias git_clone js "git clone " + document.location.href.split('#')[0].split('/').slice(0, 5).join('/') + " ;cd " + document.location.href.split('#')[0].split('/').at(4)
|
||||||
|
alias git_clone_ssh js "git clone " + document.location.href.split('#')[0].split('/').slice(0, 5).join('/').replace(/https?:\/\//,"git@").replace("/",":").replace(/$/,".git") + " ;cd " + document.location.href.split('#')[0].split('/').at(4)
|
||||||
|
alias get_current_url js document.location.href
|
||||||
|
alias mpvsafe js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('mpv --no-terminal ' + url))
|
||||||
|
|
||||||
|
" Autocmds
|
||||||
|
autocmd DocStart monkeytype.com mode ignore
|
||||||
|
autocmd DocStart agar.io mode ignore
|
||||||
|
|
||||||
|
" For syntax highlighting see https://github.com/tridactyl/vim-tridactyl
|
||||||
|
" vim: set filetype=tridactyl
|
BIN
.config/zed/prompts/prompts-library-db.0.mdb/data.mdb
Normal file
BIN
.config/zed/prompts/prompts-library-db.0.mdb/data.mdb
Normal file
Binary file not shown.
BIN
.config/zed/prompts/prompts-library-db.0.mdb/lock.mdb
Normal file
BIN
.config/zed/prompts/prompts-library-db.0.mdb/lock.mdb
Normal file
Binary file not shown.
26
.config/zed/settings.json
Normal file
26
.config/zed/settings.json
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
// Zed settings
|
||||||
|
//
|
||||||
|
// For information on how to configure Zed, see the Zed
|
||||||
|
// documentation: https://zed.dev/docs/configuring-zed
|
||||||
|
//
|
||||||
|
// To see all of Zed's default settings without changing your
|
||||||
|
// custom settings, run `zed: open default settings` from the
|
||||||
|
// command palette (cmd-shift-p / ctrl-shift-p)
|
||||||
|
{
|
||||||
|
"agent": {
|
||||||
|
"model_parameters": [],
|
||||||
|
"default_model": {
|
||||||
|
"provider": "zed.dev",
|
||||||
|
"model": "claude-3-7-sonnet-latest"
|
||||||
|
},
|
||||||
|
"version": "2"
|
||||||
|
},
|
||||||
|
"vim_mode": true,
|
||||||
|
"ui_font_size": 16,
|
||||||
|
"buffer_font_size": 16,
|
||||||
|
"theme": {
|
||||||
|
"mode": "system",
|
||||||
|
"light": "One Light",
|
||||||
|
"dark": "One Dark"
|
||||||
|
}
|
||||||
|
}
|
Submodule .config/zsh updated: fe2265cb27...39b2d8c383
10
.gitconfig
10
.gitconfig
@ -2,5 +2,15 @@
|
|||||||
email = sahin@sahinakkaya.dev
|
email = sahin@sahinakkaya.dev
|
||||||
name = Şahin Akkaya
|
name = Şahin Akkaya
|
||||||
signingkey = sahin@sahinakkaya.dev
|
signingkey = sahin@sahinakkaya.dev
|
||||||
|
|
||||||
|
[include]
|
||||||
|
path = ~/.gitconfig-work ;this file is ignored in dot files intentionally. create it if you are using work computer
|
||||||
|
[includeIf "gitdir:~/.dots/"]
|
||||||
|
path = ~/.gitconfig-personal
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
|
[url "ssh://git@bitbucket.org/"]
|
||||||
|
insteadOf = https://bitbucket.org/
|
||||||
|
[url "ssh://git@github.com/"]
|
||||||
|
insteadOf = https://github.com/
|
||||||
|
|
||||||
|
3
.gitconfig-personal
Normal file
3
.gitconfig-personal
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[user]
|
||||||
|
email = sahin@sahinakkaya.dev
|
||||||
|
signingkey = sahinakkaya@scorpapp.com
|
36
.gitignore
vendored
Normal file
36
.gitignore
vendored
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
Library
|
||||||
|
Desktop
|
||||||
|
Pictures
|
||||||
|
OrbStack
|
||||||
|
Music
|
||||||
|
Movies
|
||||||
|
Projects
|
||||||
|
Public
|
||||||
|
Documents
|
||||||
|
Downloads
|
||||||
|
.zsh_sessions
|
||||||
|
.zsh_history
|
||||||
|
.zlua*
|
||||||
|
.vscode
|
||||||
|
.theme
|
||||||
|
.ssh
|
||||||
|
.npm
|
||||||
|
.orbstack
|
||||||
|
.lesshst
|
||||||
|
**.DS_Store
|
||||||
|
.CFUserTextEncoding
|
||||||
|
.aws
|
||||||
|
.cache
|
||||||
|
.dots
|
||||||
|
.local
|
||||||
|
.docker
|
||||||
|
.gitconfig-work
|
||||||
|
**automatic_backups/
|
||||||
|
.config/github-copilot/
|
||||||
|
navigate_kitty.py
|
||||||
|
pass_keys.py
|
||||||
|
uv-receipt.json
|
||||||
|
.claude
|
||||||
|
.claude.json
|
||||||
|
.pyenv
|
||||||
|
.yarnrc
|
Reference in New Issue
Block a user