diff --git a/.config/karabiner/karabiner.json b/.config/karabiner/karabiner.json index 9ccc4aa..916646e 100644 --- a/.config/karabiner/karabiner.json +++ b/.config/karabiner/karabiner.json @@ -4,6 +4,7 @@ "complex_modifications": { "rules": [ { + "enabled": false, "manipulators": [ { "description": "Change caps_lock to hyper.", diff --git a/.config/yadm/encrypt b/.config/yadm/encrypt index 94babb4..a51d772 100644 --- a/.config/yadm/encrypt +++ b/.config/yadm/encrypt @@ -1,3 +1,5 @@ scripts/vault-ssh .ssh/ .awssso/ +.npmrc +.env diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..5fb6fc5 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,13 @@ +[user] + name = Melissa Dumont + email = melissa.dumont@bayer.con +[alias] + acm = add . && git commit -m + ohno = rebase -i HEAD~10 +[filter "lfs"] + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true +[pull] + rebase = true diff --git a/.local/share/yadm/archive b/.local/share/yadm/archive index 0b7a8f5..eb7fa10 100644 Binary files a/.local/share/yadm/archive and b/.local/share/yadm/archive differ diff --git a/.skhdrc b/.skhdrc new file mode 100755 index 0000000..4f05c72 --- /dev/null +++ b/.skhdrc @@ -0,0 +1,145 @@ +# ################################################################ # +# THE FOLLOWING IS AN EXPLANATION OF THE GRAMMAR THAT SKHD PARSES. # +# FOR SIMPLE EXAMPLE MAPPINGS LOOK FURTHER DOWN THIS FILE.. # +# ################################################################ # + +# A list of all built-in modifier and literal keywords can +# be found at https://github.com/koekeishiya/skhd/issues/1 +# +# A hotkey is written according to the following rules: +# +# hotkey = '<' | +# +# mode = 'name of mode' | ',' +# +# action = '[' ']' | '->' '[' ']' +# ':' | '->' ':' +# ';' | '->' ';' +# +# keysym = '-' | +# +# mod = 'modifier keyword' | '+' +# +# key = | +# +# literal = 'single letter or built-in keyword' +# +# keycode = 'apple keyboard kVK_ values (0x3C)' +# +# proc_map_lst = * +# +# proc_map = ':' | '~' | +# '*' ':' | '*' '~' +# +# string = '"' 'sequence of characters' '"' +# +# command = command is executed through '$SHELL -c' and +# follows valid shell syntax. if the $SHELL environment +# variable is not set, it will default to '/bin/bash'. +# when bash is used, the ';' delimeter can be specified +# to chain commands. +# +# to allow a command to extend into multiple lines, +# prepend '\' at the end of the previous line. +# +# an EOL character signifies the end of the bind. +# +# -> = keypress is not consumed by skhd +# +# * = matches every application not specified in +# +# ~ = application is unbound and keypress is forwarded per usual, when specified in a +# +# A mode is declared according to the following rules: +# +# mode_decl = '::' '@' ':' | '::' ':' | +# '::' '@' | '::' +# +# name = desired name for this mode, +# +# @ = capture keypresses regardless of being bound to an action +# +# command = command is executed through '$SHELL -c' and +# follows valid shell syntax. if the $SHELL environment +# variable is not set, it will default to '/bin/bash'. +# when bash is used, the ';' delimeter can be specified +# to chain commands. +# +# to allow a command to extend into multiple lines, +# prepend '\' at the end of the previous line. +# +# an EOL character signifies the end of the bind. + +# ############################################################### # +# THE FOLLOWING SECTION CONTAIN SIMPLE MAPPINGS DEMONSTRATING HOW # +# TO INTERACT WITH THE YABAI WM. THESE ARE SUPPOSED TO BE USED AS # +# A REFERENCE ONLY, WHEN MAKING YOUR OWN CONFIGURATION.. # +# ############################################################### # + +# focus window +# alt - h : yabai -m window --focus west + +# swap managed window +# shift + alt - h : yabai -m window --swap north + +# move managed window +# shift + cmd - h : yabai -m window --warp east + +# balance size of windows +# shift + alt - 0 : yabai -m space --balance + +# make floating window fill screen +# shift + alt - up : yabai -m window --grid 1:1:0:0:1:1 + +# make floating window fill left-half of screen +# shift + alt - left : yabai -m window --grid 1:2:0:0:1:1 + +# create desktop, move window and follow focus - uses jq for parsing json (brew install jq) +# shift + cmd - n : yabai -m space --create && \ +# index="$(yabai -m query --spaces --display | jq 'map(select(."is-native-fullscreen" == false))[-1].index')" && \ +# yabai -m window --space "${index}" && \ +# yabai -m space --focus "${index}" + +# fast focus desktop +# cmd + alt - x : yabai -m space --focus recent +# cmd + alt - 1 : yabai -m space --focus 1 + +# send window to desktop and follow focus +# shift + cmd - z : yabai -m window --space next; yabai -m space --focus next +# shift + cmd - 2 : yabai -m window --space 2; yabai -m space --focus 2 + +# focus monitor +# ctrl + alt - z : yabai -m display --focus prev +# ctrl + alt - 3 : yabai -m display --focus 3 + +# send window to monitor and follow focus +# ctrl + cmd - c : yabai -m window --display next; yabai -m display --focus next +# ctrl + cmd - 1 : yabai -m window --display 1; yabai -m display --focus 1 + +# move floating window +# shift + ctrl - a : yabai -m window --move rel:-20:0 +# shift + ctrl - s : yabai -m window --move rel:0:20 + +# increase window size +# shift + alt - a : yabai -m window --resize left:-20:0 +# shift + alt - w : yabai -m window --resize top:0:-20 + +# decrease window size +# shift + cmd - s : yabai -m window --resize bottom:0:-20 +# shift + cmd - w : yabai -m window --resize top:0:20 + +# set insertion point in focused container +# ctrl + alt - h : yabai -m window --insert west + +# toggle window zoom +# alt - d : yabai -m window --toggle zoom-parent +# alt - f : yabai -m window --toggle zoom-fullscreen + +# toggle window split type +# alt - e : yabai -m window --toggle split + +# float / unfloat window and center on screen +# alt - t : yabai -m window --toggle float --grid 4:4:1:1:2:2 + +# toggle sticky(+float), picture-in-picture +# alt - p : yabai -m window --toggle sticky --toggle pip diff --git a/.spacebarrc b/.spacebarrc new file mode 100755 index 0000000..ab6d6a9 --- /dev/null +++ b/.spacebarrc @@ -0,0 +1,36 @@ +#!/usr/bin/env sh + +spacebar -m config position top +spacebar -m config display main +spacebar -m config height 26 +spacebar -m config title on +spacebar -m config spaces on +spacebar -m config clock on +spacebar -m config power on +spacebar -m config padding_left 20 +spacebar -m config padding_right 20 +spacebar -m config spacing_left 25 +spacebar -m config spacing_right 15 +spacebar -m config text_font "Menlo:Regular:12.0" +spacebar -m config icon_font "Font Awesome 5 Free:Solid:12.0" +spacebar -m config background_color 0xff202020 +spacebar -m config foreground_color 0xffa8a8a8 +spacebar -m config power_icon_color 0xffcd950c +spacebar -m config battery_icon_color 0xffd75f5f +spacebar -m config dnd_icon_color 0xffa8a8a8 +spacebar -m config clock_icon_color 0xffa8a8a8 +spacebar -m config power_icon_strip   +spacebar -m config space_icon • +spacebar -m config space_icon_color 0xffffab91 +spacebar -m config space_icon_color_secondary 0xff78c4d4 +spacebar -m config space_icon_color_tertiary 0xfffff9b0 +spacebar -m config space_icon_strip 1 2 3 4 5 6 7 8 9 10 +spacebar -m config spaces_for_all_displays on +spacebar -m config clock_icon  +spacebar -m config dnd_icon  +spacebar -m config clock_format "%d/%m/%y %R" +spacebar -m config right_shell on +spacebar -m config right_shell_icon  +spacebar -m config right_shell_command "whoami" + +echo "spacebar configuration loaded.." diff --git a/.yabairc b/.yabairc new file mode 100755 index 0000000..d523e9f --- /dev/null +++ b/.yabairc @@ -0,0 +1,46 @@ +#!/usr/bin/env sh + +# +# for this to work you must configure sudo such that +# it will be able to run the command without password +# +# see this wiki page for information: +# - https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-release)#configure-scripting-addition +# +# yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa" +# sudo yabai --load-sa +# + +# global settings +yabai -m config \ + external_bar off:40:0 \ + menubar_opacity 1.0 \ + mouse_follows_focus off \ + focus_follows_mouse off \ + display_arrangement_order default \ + window_origin_display default \ + window_placement second_child \ + window_zoom_persist on \ + window_shadow on \ + window_animation_duration 0.0 \ + window_animation_easing ease_out_circ \ + window_opacity_duration 0.0 \ + active_window_opacity 1.0 \ + normal_window_opacity 0.90 \ + window_opacity off \ + insert_feedback_color 0xffd75f5f \ + split_ratio 0.50 \ + split_type auto \ + auto_balance off \ + top_padding 12 \ + bottom_padding 12 \ + left_padding 12 \ + right_padding 12 \ + window_gap 06 \ + layout bsp \ + mouse_modifier fn \ + mouse_action1 move \ + mouse_action2 resize \ + mouse_drop_action swap + +echo "yabai configuration loaded.." diff --git a/.zshrc b/.zshrc index a43c051..8cb6e70 100644 --- a/.zshrc +++ b/.zshrc @@ -112,6 +112,7 @@ export ASPNETCORE_ENVIRONMENT="dev" export AWS_PROFILE=default # convenience aliases +alias zshr="source ~/.zshrc" alias npml="npm login --scope @monsantoit" alias npmid="npm install --include=dev" alias ..="cd .." @@ -138,6 +139,12 @@ command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init -)" export PATH="/opt/homebrew/opt/postgresql@15/bin:$PATH" - +export PATH="/Users/gotuq/.cargo/bin:$PATH" export PATH="$HOME/.rbenv/bin:$PATH" eval "$(rbenv init -)" + +# The next line updates PATH for the Google Cloud SDK. +if [ -f '/Users/gotuq/Downloads/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/gotuq/Downloads/google-cloud-sdk/path.zsh.inc'; fi + +# The next line enables shell command completion for gcloud. +if [ -f '/Users/gotuq/Downloads/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/gotuq/Downloads/google-cloud-sdk/completion.zsh.inc'; fi