Compare commits
3 Commits
de2e0bbbc2
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| b017293c6d | |||
| fe4a93818a | |||
| af08ce0334 |
@@ -6,8 +6,7 @@ unsetopt beep
|
|||||||
bindkey -v
|
bindkey -v
|
||||||
|
|
||||||
# End of lines configured by zsh-newuser-install
|
# End of lines configured by zsh-newuser-install
|
||||||
# The following lines were added by compinstall
|
# The following lines were added by compinstall zstyle :compinstall filename '/home/dqnid/.zshrc'
|
||||||
zstyle :compinstall filename '/home/dqnid/.zshrc'
|
|
||||||
|
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
compinit
|
compinit
|
||||||
@@ -21,18 +20,49 @@ export TERMINAL=/usr/local/bin/st
|
|||||||
|
|
||||||
# Aliases
|
# Aliases
|
||||||
alias r=ranger
|
alias r=ranger
|
||||||
alias v=nvim
|
|
||||||
alias sv="sudo nvim"
|
alias sv="sudo nvim"
|
||||||
alias n="nnn -e"
|
|
||||||
alias gs="git status --short"
|
alias gs="git status --short"
|
||||||
alias gl="git log --graph --oneline --all"
|
alias gl="git log --graph --oneline --all"
|
||||||
alias nvm_init='[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"'
|
alias nvm_init='[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"'
|
||||||
alias ls=lsd
|
alias ls=lsd
|
||||||
alias zj=zellij
|
alias zj=zellij
|
||||||
|
alias hx=helix
|
||||||
|
|
||||||
|
v() {
|
||||||
|
kitten @ set-spacing margin=4
|
||||||
|
nvim $@
|
||||||
|
kitten @ set-spacing margin=20
|
||||||
|
}
|
||||||
|
|
||||||
|
# nnn
|
||||||
|
export NNN_OPTS="de" # d for details, e for pipe params, H to auto-display hidden files
|
||||||
|
export LC_COLLATE="C" # hidden files on top
|
||||||
|
export NNN_FIFO="/tmp/nnn.fifo" # temporary buffer for the previews
|
||||||
|
export NNN_FCOLORS="AAAAE631BBBBCCCCDDDD9999"
|
||||||
|
#AAAAE6
|
||||||
|
#31BBBB
|
||||||
|
#CCCCDD
|
||||||
|
#DD9999
|
||||||
|
export NNN_PLUG='p:preview-tui'
|
||||||
|
export SPLIT='v'
|
||||||
|
n () # to cd on quit
|
||||||
|
{
|
||||||
|
if [ -n $NNNLVL ] && [ "${NNNLVL:-0}" -ge 1 ]; then
|
||||||
|
echo "nnn is already running"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
export NNN_TMPFILE="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd"
|
||||||
|
nnn "$@"
|
||||||
|
if [ -f "$NNN_TMPFILE" ]; then
|
||||||
|
. "$NNN_TMPFILE"
|
||||||
|
rm -f "$NNN_TMPFILE" > /dev/null
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
eval "$(zoxide init zsh)"
|
eval "$(zoxide init zsh)"
|
||||||
|
|
||||||
|
# Yazi with cd on quit
|
||||||
function y() {
|
function y() {
|
||||||
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
|
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
|
||||||
command yazi "$@" --cwd-file="$tmp"
|
command yazi "$@" --cwd-file="$tmp"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ default_floating_border normal
|
|||||||
smart_gaps inverse_outer
|
smart_gaps inverse_outer
|
||||||
|
|
||||||
# for_window [class="^.*"] border pixel 0
|
# for_window [class="^.*"] border pixel 0
|
||||||
gaps inner 0
|
gaps inner 30
|
||||||
gaps outer 0
|
gaps outer 0
|
||||||
|
|
||||||
popup_during_fullscreen smart
|
popup_during_fullscreen smart
|
||||||
@@ -17,6 +17,8 @@ for_window [title="Calendar02042023"] floating enable
|
|||||||
for_window [title="Music "] floating enable
|
for_window [title="Music "] floating enable
|
||||||
for_window [instance=rofi] sticky enable
|
for_window [instance=rofi] sticky enable
|
||||||
for_window [instance=st] floating enable
|
for_window [instance=st] floating enable
|
||||||
|
for_window [instance=kitty] floating enable
|
||||||
|
for_window [instance=kitty] resize set 800 600
|
||||||
for_window [instance=steam] floating disable
|
for_window [instance=steam] floating disable
|
||||||
for_window [instance=blueberry] floating enable
|
for_window [instance=blueberry] floating enable
|
||||||
for_window [instance=eww] border pixel 0
|
for_window [instance=eww] border pixel 0
|
||||||
|
|||||||
84
kitty/kitty.conf
Normal file
84
kitty/kitty.conf
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
# font_family SauceCodePro Nerd Font Mono Medium
|
||||||
|
font_size 11
|
||||||
|
# bold_font auto
|
||||||
|
# italic_font auto
|
||||||
|
# bold_italic_font auto
|
||||||
|
|
||||||
|
macos_option_as_alt no
|
||||||
|
|
||||||
|
background_opacity 1
|
||||||
|
|
||||||
|
background #d5c4a1
|
||||||
|
foreground #665c54
|
||||||
|
cursor #7c6f64
|
||||||
|
cursor_text_color #111111
|
||||||
|
color0 #3c3836
|
||||||
|
color1 #cc241d
|
||||||
|
color2 #98971a
|
||||||
|
color3 #d79921
|
||||||
|
color4 #458588
|
||||||
|
color5 #b16286
|
||||||
|
color6 #689d6a
|
||||||
|
color7 #fbf1c7
|
||||||
|
color8 #3c3836
|
||||||
|
color9 #9d0006
|
||||||
|
color10 #79740e
|
||||||
|
color11 #b57614
|
||||||
|
color12 #076678
|
||||||
|
color13 #8f3f71
|
||||||
|
color14 #427b58
|
||||||
|
color15 #928374
|
||||||
|
|
||||||
|
# The foreground for selections
|
||||||
|
selection_foreground #fbf1c7
|
||||||
|
# The background for selections
|
||||||
|
selection_background #3c3836
|
||||||
|
|
||||||
|
# Emacs terminal background
|
||||||
|
color17 #323F4E
|
||||||
|
# Emacs terminal modeline
|
||||||
|
color23 #3D4C5F
|
||||||
|
|
||||||
|
# The color for the border of the active window
|
||||||
|
active_border_color #b57614
|
||||||
|
|
||||||
|
# The color for the border of inactive windows
|
||||||
|
inactive_border_color #56687E
|
||||||
|
|
||||||
|
url_color #6498EF
|
||||||
|
|
||||||
|
active_tab_foreground #d5c4a1
|
||||||
|
active_tab_background #076678
|
||||||
|
inactive_tab_foreground #665c54
|
||||||
|
inactive_tab_background #d5c4a1
|
||||||
|
|
||||||
|
tab_bar_style powerline
|
||||||
|
hide_window_decorations yes
|
||||||
|
|
||||||
|
cursor_shape block
|
||||||
|
cursor_blink_interval 0
|
||||||
|
|
||||||
|
mouse_hide_wait 3.5
|
||||||
|
enable_audio_bell no
|
||||||
|
|
||||||
|
confirm_os_window_close 0
|
||||||
|
|
||||||
|
detect_urls yes
|
||||||
|
url_prefixes http https file ftp gemini irc gopher mailto news git
|
||||||
|
|
||||||
|
input_delay 1
|
||||||
|
|
||||||
|
window_margin_width 14 14
|
||||||
|
|
||||||
|
tab_bar_edge bottom
|
||||||
|
tab_bar_margin_height 0.0 0.0
|
||||||
|
|
||||||
|
allow_remote_control yes
|
||||||
|
|
||||||
|
# BEGIN_KITTY_FONTS
|
||||||
|
font_family family="JetBrainsMono Nerd Font Mono"
|
||||||
|
bold_font auto
|
||||||
|
italic_font auto
|
||||||
|
bold_italic_font auto
|
||||||
|
text_composition_strategy legacy
|
||||||
|
# END_KITTY_FONTS
|
||||||
102
starship.toml
102
starship.toml
@@ -1,14 +1,17 @@
|
|||||||
"$schema" = 'https://starship.rs/config-schema.json'
|
"$schema" = 'https://starship.rs/config-schema.json'
|
||||||
|
|
||||||
|
# Old symbols
|
||||||
|
# ┃
|
||||||
|
|
||||||
add_newline = false
|
add_newline = false
|
||||||
|
|
||||||
format = """
|
format = """
|
||||||
[](color_primary_10)\
|
[┃](color_accent_1)\
|
||||||
$directory\
|
$directory\
|
||||||
[](fg:color_primary_10 bg:color_primary_50)\
|
[](fg:color_accent_1 bg:color_accent_2)\
|
||||||
$git_branch\
|
$git_branch\
|
||||||
$git_status\
|
$git_status\
|
||||||
[](fg:color_primary_50 bg:color_yellow)\
|
[](fg:color_accent_2 bg:color_accent_3)\
|
||||||
$c\
|
$c\
|
||||||
$rust\
|
$rust\
|
||||||
$golang\
|
$golang\
|
||||||
@@ -18,34 +21,37 @@ $java\
|
|||||||
$kotlin\
|
$kotlin\
|
||||||
$haskell\
|
$haskell\
|
||||||
$python\
|
$python\
|
||||||
[](fg:color_yellow bg:color_bg3)\
|
[](fg:color_accent_3 bg:color_accent_4)\
|
||||||
$docker_context\
|
$docker_context\
|
||||||
$conda\
|
$conda\
|
||||||
[](fg:color_bg3 bg:color_fg1)\
|
[](fg:color_accent_4 bg:color_accent_5)\
|
||||||
$time\
|
$time\
|
||||||
[ ](fg:color_fg1)\
|
[┃](fg:color_accent_5)\
|
||||||
$line_break$character"""
|
$line_break$character"""
|
||||||
|
|
||||||
palette = 'dqnid'
|
palette = 'dqnid'
|
||||||
|
|
||||||
[palettes.dqnid]
|
[palettes.dqnid]
|
||||||
color_fg0 = '#282828'
|
color_fg0 = '#ebdbb2'
|
||||||
color_fg1 = '#eae5bf'
|
color_fg1 = '#665c54'
|
||||||
color_bg1 = '#3c3836'
|
color_bg1 = '#d5c4a1'
|
||||||
color_bg3 = '#464555'
|
color_bg2 = '#464555'
|
||||||
|
|
||||||
|
color_accent_1 = '#98971a'
|
||||||
|
color_accent_2 = '#d79921'
|
||||||
|
color_accent_3 = '#458588'
|
||||||
|
color_accent_4 = '#b16286'
|
||||||
|
color_accent_5 = '#a89984'
|
||||||
|
|
||||||
color_blue = '#458588'
|
color_blue = '#458588'
|
||||||
color_green = '#98971a'
|
color_green = '#98971a'
|
||||||
color_purple = '#b16286'
|
color_purple = '#b16286'
|
||||||
color_red = '#cc241d'
|
color_red = '#cc241d'
|
||||||
color_yellow = '#e9c46a'
|
color_yellow = '#e9c46a'
|
||||||
|
|
||||||
color_primary_10 = '#e76f51'
|
|
||||||
color_primary_50 = '#ee8959'
|
|
||||||
color_primary_70 = '#e97c61'
|
|
||||||
|
|
||||||
[os]
|
[os]
|
||||||
disabled = false
|
disabled = false
|
||||||
style = "bg:color_primary_10 fg:color_fg0"
|
style = "bg:color_accent_1 fg:color_fg0"
|
||||||
|
|
||||||
[os.symbols]
|
[os.symbols]
|
||||||
Windows = ""
|
Windows = ""
|
||||||
@@ -72,12 +78,12 @@ Pop = ""
|
|||||||
|
|
||||||
[username]
|
[username]
|
||||||
show_always = true
|
show_always = true
|
||||||
style_user = "bg:color_primary_10 fg:color_fg0"
|
style_user = "bg:color_accent_1 fg:color_fg0"
|
||||||
style_root = "bg:color_primary_10 fg:color_fg0"
|
style_root = "bg:color_accent_1 fg:color_fg0"
|
||||||
format = '[ $user ]($style)'
|
format = '[ $user ]($style)'
|
||||||
|
|
||||||
[directory]
|
[directory]
|
||||||
style = "fg:color_fg0 bg:color_primary_10"
|
style = "fg:color_fg0 bg:color_accent_1"
|
||||||
format = "[ $path ]($style)"
|
format = "[ $path ]($style)"
|
||||||
truncation_length = 3
|
truncation_length = 3
|
||||||
truncation_symbol = "…/"
|
truncation_symbol = "…/"
|
||||||
@@ -91,81 +97,81 @@ truncation_symbol = "…/"
|
|||||||
|
|
||||||
[git_branch]
|
[git_branch]
|
||||||
symbol = ""
|
symbol = ""
|
||||||
style = "bg:color_primary_50"
|
style = "bg:color_accent_2"
|
||||||
format = '[[ $symbol $branch ](fg:color_fg0 bg:color_primary_50)]($style)'
|
format = '[[ $symbol $branch ](fg:color_fg0 bg:color_accent_2)]($style)'
|
||||||
|
|
||||||
[git_status]
|
[git_status]
|
||||||
style = "bg:color_primary_50"
|
style = "bg:color_accent_2"
|
||||||
format = '[[($all_status$ahead_behind )](fg:color_fg0 bg:color_primary_50)]($style)'
|
format = '[[($all_status$ahead_behind )](fg:color_fg0 bg:color_accent_2)]($style)'
|
||||||
|
|
||||||
[nodejs]
|
[nodejs]
|
||||||
symbol = ""
|
symbol = ""
|
||||||
style = "bg:color_yellow"
|
style = "bg:color_accent_3"
|
||||||
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_yellow)]($style)'
|
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_accent_3)]($style)'
|
||||||
|
|
||||||
[c]
|
[c]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
style = "bg:color_yellow"
|
style = "bg:color_accent_3"
|
||||||
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_yellow)]($style)'
|
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_accent_3)]($style)'
|
||||||
|
|
||||||
[rust]
|
[rust]
|
||||||
symbol = ""
|
symbol = ""
|
||||||
style = "bg:color_yellow"
|
style = "bg:color_accent_3"
|
||||||
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_yellow)]($style)'
|
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_accent_3)]($style)'
|
||||||
|
|
||||||
[golang]
|
[golang]
|
||||||
symbol = ""
|
symbol = ""
|
||||||
style = "bg:color_yellow"
|
style = "bg:color_accent_3"
|
||||||
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_yellow)]($style)'
|
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_accent_3)]($style)'
|
||||||
|
|
||||||
[php]
|
[php]
|
||||||
symbol = ""
|
symbol = ""
|
||||||
style = "bg:color_yellow"
|
style = "bg:color_accent_3"
|
||||||
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_yellow)]($style)'
|
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_accent_3)]($style)'
|
||||||
|
|
||||||
[java]
|
[java]
|
||||||
symbol = ""
|
symbol = ""
|
||||||
style = "bg:color_yellow"
|
style = "bg:color_accent_3"
|
||||||
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_yellow)]($style)'
|
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_accent_3)]($style)'
|
||||||
|
|
||||||
[kotlin]
|
[kotlin]
|
||||||
symbol = ""
|
symbol = ""
|
||||||
style = "bg:color_yellow"
|
style = "bg:color_accent_3"
|
||||||
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_yellow)]($style)'
|
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_accent_3)]($style)'
|
||||||
|
|
||||||
[haskell]
|
[haskell]
|
||||||
symbol = ""
|
symbol = ""
|
||||||
style = "bg:color_yellow"
|
style = "bg:color_accent_3"
|
||||||
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_yellow)]($style)'
|
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_accent_3)]($style)'
|
||||||
|
|
||||||
[python]
|
[python]
|
||||||
symbol = ""
|
symbol = ""
|
||||||
style = "bg:color_yellow"
|
style = "bg:color_accent_3"
|
||||||
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_yellow)]($style)'
|
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_accent_3)]($style)'
|
||||||
|
|
||||||
[docker_context]
|
[docker_context]
|
||||||
symbol = ""
|
symbol = ""
|
||||||
style = "bg:color_bg3"
|
style = "bg:color_accent_4"
|
||||||
format = '[[ $symbol( $context) ](fg:#83a598 bg:color_bg3)]($style)'
|
format = '[[ $symbol( $context) ](fg:color_fg0 bg:color_accent_4)]($style)'
|
||||||
|
|
||||||
[conda]
|
[conda]
|
||||||
style = "bg:color_bg3"
|
style = "bg:color_bg2"
|
||||||
format = '[[ $symbol( $environment) ](fg:#83a598 bg:color_bg3)]($style)'
|
format = '[[ $symbol( $environment) ](fg:#83a598 bg:color_bg2)]($style)'
|
||||||
|
|
||||||
[time]
|
[time]
|
||||||
disabled = false
|
disabled = false
|
||||||
time_format = "%R"
|
time_format = "%R"
|
||||||
style = "bg:color_fg1"
|
style = "bg:color_fg1"
|
||||||
format = '[[ $time ](fg:color_bg1 bg:color_fg1)]($style)'
|
format = '[[ $time ](fg:color_fg0 bg:color_accent_5)]($style)'
|
||||||
|
|
||||||
[line_break]
|
[line_break]
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
[character]
|
[character]
|
||||||
disabled = false
|
disabled = false
|
||||||
success_symbol = '[ ](bold fg:color_fg1)'
|
success_symbol = '[\$](bold fg:color_fg1)'
|
||||||
error_symbol = '[ ](bold fg:color_red)'
|
error_symbol = '[](bold fg:color_red)'
|
||||||
vimcmd_symbol = '[](bold fg:color_green)'
|
vimcmd_symbol = '[](bold fg:color_green)'
|
||||||
vimcmd_replace_one_symbol = '[](bold fg:color_purple)'
|
vimcmd_replace_one_symbol = '[](bold fg:color_purple)'
|
||||||
vimcmd_replace_symbol = '[](bold fg:color_purple)'
|
vimcmd_replace_symbol = '[](bold fg:color_purple)'
|
||||||
vimcmd_visual_symbol = '[](bold fg:color_yellow)'
|
vimcmd_visual_symbol = '[](bold fg:color_yellow)'
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
# terminal emulator
|
# terminal emulator
|
||||||
super + Return
|
super + Return
|
||||||
st
|
kitty
|
||||||
|
|
||||||
# program launcher
|
# program launcher
|
||||||
# super + @space
|
# super + @space
|
||||||
@@ -141,7 +141,7 @@ super + shift + b
|
|||||||
# xdotool getactivewindow key ctrl+v
|
# xdotool getactivewindow key ctrl+v
|
||||||
|
|
||||||
super + e
|
super + e
|
||||||
st -e yazi
|
st -e nnn
|
||||||
Print
|
Print
|
||||||
flameshot gui
|
flameshot gui
|
||||||
super + m
|
super + m
|
||||||
|
|||||||
Reference in New Issue
Block a user