Compare commits

7 Commits

Author SHA1 Message Date
d9309eb451 Update dotfiles 2025-06-10 22:08:30 +03:00
3c64972def Update kitty config 2025-05-11 00:53:27 +03:00
6fa57fba4d Add karabiner config 2025-05-11 00:37:41 +03:00
069f309d1b Track tridactyl config 2025-05-10 23:38:50 +03:00
a2601209f1 Create .gitignore file 2025-05-10 23:37:46 +03:00
fe8ed7d94e Update .gitconfig 2025-05-10 23:37:12 +03:00
d73bad7437 Update .gitconfig 2025-05-10 23:33:34 +03:00
15 changed files with 423 additions and 3 deletions

View File

@ -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":{}}]}]}

View 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"
}
}
]
}

View File

@ -18,7 +18,7 @@ action_alias kitty_scrollback_nvim kitten $HOME/.local/share/nvim/lazy/kitty-scr
# include ./themes/themes/OneDark.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
#Fonts {{{

89
.config/kitty/tab_bar.py Normal file
View 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

View File

View File

@ -0,0 +1,6 @@
Welcome ______ _____
______back,__ ___ /____(_)______
__ ___/ __ `/_ __ \_ /__ __ \
_(__ )/ /_/ /_ / / / / _ / / /
/____/ \__,_/ /_/ /_//_/ /_/ /_/

View 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

Binary file not shown.

Binary file not shown.

26
.config/zed/settings.json Normal file
View 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"
}
}

View File

@ -2,5 +2,15 @@
email = sahin@sahinakkaya.dev
name = Şahin Akkaya
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]
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
View File

@ -0,0 +1,3 @@
[user]
email = sahin@sahinakkaya.dev
signingkey = sahinakkaya@scorpapp.com

36
.gitignore vendored Normal file
View 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