Skip to content

Commit

Permalink
refactor: change background opacity of kitty
Browse files Browse the repository at this point in the history
  • Loading branch information
rayanramoul committed Oct 8, 2024
1 parent 5d00364 commit edea6b0
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 25 deletions.
8 changes: 4 additions & 4 deletions dotfiles/.bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/Users/r.ramoul/Documents/Github/deepchain-mrna/conda_environments/build/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
__conda_setup="$('/Users/r.ramoul/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/Users/r.ramoul/Documents/Github/deepchain-mrna/conda_environments/build/etc/profile.d/conda.sh" ]; then
. "/Users/r.ramoul/Documents/Github/deepchain-mrna/conda_environments/build/etc/profile.d/conda.sh"
if [ -f "/Users/r.ramoul/miniconda3/etc/profile.d/conda.sh" ]; then
. "/Users/r.ramoul/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/Users/r.ramoul/Documents/Github/deepchain-mrna/conda_environments/build/bin:$PATH"
export PATH="/Users/r.ramoul/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
Expand Down
2 changes: 1 addition & 1 deletion dotfiles/.config/kitty/kitty.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ remember_window_size no
initial_window_width 1000
initial_window_height 800
hide_window_decorations yes
background_opacity 0.8
background_opacity 0.9
dynamic_background_opacity yes

# Cursor settings
Expand Down
10 changes: 5 additions & 5 deletions dotfiles/.config/skhd/skhdrc
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ alt - g: yabai -m display --focus east
# -- Modifying Window Size --

# maximize a window
#alt - f : yabai -m window --toggle zoom-fullscreen
# alt - f : yabai -m window --toggle zoom-fullscreen
alt - f : yabai -m query --spaces --window | grep '"type":"float"' && yabai -m space --layout bsp;\
yabai -m query --windows --window | grep '"floating":1' && yabai -m window --toggle float;\
yabai -m window --toggle native-fullscreen; #zoom-fullscreen;
# alternative
#alt - f : yabai -m space --layout "$(yabai -m query --spaces --space | jq -r 'if .type == "bsp" then "stack" else "bsp" end')"
# alt - f : yabai -m space --layout "$(yabai -m query --spaces --space | jq -r 'if .type == "bsp" then "stack" else "bsp" end')"


# balance out tree of windows (resize to occupy same area)
Expand Down Expand Up @@ -80,7 +80,7 @@ shift + alt - 7 : yabai -m window --space 7;
# -- Starting/Stopping/Restarting Yabai --

# stop/start/restart yabai
shift + alt - q : yabai --stop-servicei
shift + alt - q : yabai --stop-service
shift + alt - s : yabai --start-service
shift + alt - r : yabai --restart-service

Expand All @@ -96,10 +96,10 @@ alt - 5 : yabai -m space --focus 5 || yabai -m space --focus recent
alt - 6 : yabai -m space --focus 6 || yabai -m space --focus recent
alt - 7 : yabai -m space --focus 7 || yabai -m space --focus recent

alt - return : /Applications/kitty.app/Contents/MacOS/kitty
alt - return : /Applications/kitty.app/Contents/MacOS/kitty ~

# close window shortcut
shift + alt - q: yabai -m window --close
alt - q: yabai -m window --close

# go to previous space
alt - p: yabai -m space --focus prev
21 changes: 7 additions & 14 deletions dotfiles/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,10 @@ ZSH_THEME="powerlevel10k/powerlevel10k"
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"



# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"


# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder



# User configuration

# export MANPATH="/usr/local/man:$MANPATH"
Expand Down Expand Up @@ -112,9 +102,6 @@ bindkey -s ^e 'selected_entry=$(find $HOME/Downloads $HOME/Documents -maxdepth 8
bindkey -s ^f 'tmux-sessionizer\n'





# FZF THEME
export FZF_DEFAULT_OPTS=" \
--color=bg+:#313244,bg:#1e1e2e,spinner:#f5e0dc,hl:#f38ba8 \
Expand All @@ -134,4 +121,10 @@ PERL_MB_OPT="--install_base \"$HOME/perl5\""; export PERL_MB_OPT;
PERL_MM_OPT="INSTALL_BASE=$HOME/perl5"; export PERL_MM_OPT;

# Export miniconda3 path
# export PATH="$HOME/miniconda3/bin:$PATH" # commented out by conda initialize # commented out by conda initialize # commented out by conda initialize
export PATH="$HOME/miniconda3/bin:$PATH"
source ~/miniconda3/bin/activate base

# Export google-cloud-sdk
export PATH="$HOME/google-cloud-sdk/bin:$PATH"


0 comments on commit edea6b0

Please sign in to comment.