Skip to content

Commit

Permalink
fsdaf
Browse files Browse the repository at this point in the history
  • Loading branch information
ediw8311xht committed Oct 28, 2024
1 parent 884c403 commit 4ebbd3c
Show file tree
Hide file tree
Showing 7 changed files with 98 additions and 71 deletions.
1 change: 1 addition & 0 deletions bashrc_files/aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ alias nvgr=' fd . -tf "${XDG_CONFIG_HOME}/nvim/" -x grep --color="always" -
alias full_ednv=' fd . -tf -0 "${HOME}/.config/nvim/" -X nvim -c "Buffers"'
alias ednv=' nvim -c "Buffers" "${XDG_CONFIG_HOME}/nvim/lua/"*.lua "${XDG_CONFIG_HOME}/nvim/"*.vim'
alias nva=' fd . --exact-depth 1 -tf -0 -X nvim -c "Buffers"'
alias nvcpp=' fd . --exact-depth 1 -e cpp -e h -tf -0 -X nvim -c "Buffers"'
#--------------------------------------------------zathura-------------------------------#
alias z=' zathura --fork'
alias eread=' fd "[.](pdf|epub|mobi|azw2|djvu)$" | fzf --print0 | xargs -0 -r -o zathura --fork; exit'
Expand Down
14 changes: 7 additions & 7 deletions i3wm/config
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@
workspace 13 output $MON_2
workspace 14 output $MON_2
#-------------------------------------------------------SETTINGS----------#
smart_gaps off
floating_modifier $mod+Ctrl
focus_follows_mouse yes
floating_maximum_size 1920 x 1080
font pango:Hermit 7
show_marks yes
workspace_auto_back_and_forth yes
smart_gaps off
floating_modifier $mod+Ctrl
focus_follows_mouse yes
floating_maximum_size 1920 x 1080
font pango:Hermit 7
show_marks yes
workspace_auto_back_and_forth no
#---------------------------------------------------------EXECS-----------#
#$EXC xcmenu
$EXC xcompmgr -n
Expand Down
109 changes: 63 additions & 46 deletions kitty/kitty.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,37 +7,38 @@
map super+/ no_op
map hyper+/ no_op
map tilde no_op
# SETTINGS #
# Settings
allow_remote_control no
enable_audio_bell no
scrollback_lines 10000
confirm_os_window_close 0
scrollback_pager nvim
scrollback_pager_history_size 1000
# URL #
# Url
open_url_with brave
url_prefixes file ftp ftps gemini git gopher http https irc ircs kitty mailto news sftp ssh
detect_urls yes
underline_hyperlinks always
url_color #08B
url_style double
# url_style: none, straight, double, curly, dotted, dashed.
# Appearance #
# Appearance
foreground #bbbbbb
background_opacity 0.94
#background_image $HOME/.config/kitty/KITTY_BACKGROUND/7.png
#background_image_layout cscaled
# tiled, mirror-tiled, scaled, clamped, centered
background_tint 0.97
background_blur 0
background_tint_gaps 1.0
background #000000
window_margin_width 10.0
#dim_opacity 0.9
#window_border_width 5px
#draw_minimal_borders no
#inactive_border_color #cccccc
# active_border_color #00ff00
#background_image $HOME/.config/kitty/KITTY_BACKGROUND/7.png
#background_image_layout cscaled
# tiled, mirror-tiled, scaled, clamped, centered
dynamic_background_opacity yes
background_tint 0.97
background_blur 0
background_tint_gaps 1.0
background #000000
window_margin_width 10.0
#dim_opacity 0.9
#window_border_width 5px
#draw_minimal_borders no
#inactive_border_color #cccccc
# active_border_color #00ff00
# Tabs
tab_title_max_length 20
tab_bar_style powerline
Expand Down Expand Up @@ -70,18 +71,18 @@
inactive_tab_foreground #AAA
inactive_tab_background #000
inactive_tab_font_style normal
# Font #
# Font
font_family Agave Regular
bold_font Agave Bold
italic_font auto
bold_italic_font auto
font_size 12.0
# Cursor #
# Cursor
cursor_blink_interval 0
shell_integration no-cursor
# Action Alias #
# Action Alias
action_alias launch_tab launch --type=tab --cwd=current
# Mappings #
# Mappings ---------------------------------------------
kitty_mod super
map ctrl+[ scroll_line_up
map ctrl+] scroll_line_down
Expand All @@ -94,35 +95,51 @@
map ctrl+minus change_font_size all -2.0
map ctrl+plus change_font_size all +2.0
map ctrl+shift+minus change_font_size all -2.0
# F1-F12 Keys
# F1-F12 Keys --------------------------------------
map f1 launch_tab nvim
map f2 show_kitty_doc overview
# Kitty_mod
# Kitty_mod ----------------------------------------
map kitty_mod+f1 load_config_file
map kitty_mod+[ previous_tab
map kitty_mod+] next_tab
map kitty_mod+= set_background_opacity +0.02
map kitty_mod+- set_background_opacity -0.02

# Tabs -----------------------------------------
map kitty_mod+t new_tab
map kitty_mod+shift+q close_tab
map kitty_mod+[ previous_tab
map kitty_mod+] next_tab
# Using "Shift+." instead of ">" to avoid overlap with combined
# keymapping use of ">".
map kitty_mod+shift+. move_tab_forward
map kitty_mod+< move_tab_backward
# Alt
map kitty_mod+{ move_tab_forward
map kitty_mod+} move_tab_backward
# Goto Tab
map kitty_mod+0 goto_tab 99999
map kitty_mod+1 goto_tab 1
map kitty_mod+2 goto_tab 2
map kitty_mod+3 goto_tab 3
map kitty_mod+4 goto_tab 4
map kitty_mod+5 goto_tab 5
map kitty_mod+6 goto_tab 6
map kitty_mod+7 goto_tab 7
map kitty_mod+8 goto_tab 8
map kitty_mod+9 goto_tab 9
#-------------------------------------------

# Windows --------------------------------------
map kitty_mod+n new_window_with_cwd
map kitty_mod+shift+h move_window left
map kitty_mod+shift+j move_window down
map kitty_mod+shift+k move_window up
map kitty_mod+shift+l move_window right
map kitty_mod+h neighboring_window left
map kitty_mod+j neighboring_window down
map kitty_mod+k neighboring_window up
map kitty_mod+l neighboring_window right
map kitty_mod+q close_window

map kitty_mod+shift+h move_window left
map kitty_mod+shift+j move_window down
map kitty_mod+shift+k move_window up
map kitty_mod+shift+l move_window right
map kitty_mod+shift+q close_tab
map kitty_mod+0 goto_tab 99999
map kitty_mod+1 goto_tab 1
map kitty_mod+2 goto_tab 2
map kitty_mod+3 goto_tab 3
map kitty_mod+4 goto_tab 4
map kitty_mod+5 goto_tab 5
map kitty_mod+6 goto_tab 6
map kitty_mod+7 goto_tab 7
map kitty_mod+8 goto_tab 8
map kitty_mod+9 goto_tab 9
map kitty_mod+h neighboring_window left
map kitty_mod+j neighboring_window down
map kitty_mod+k neighboring_window up
map kitty_mod+l neighboring_window right
map kitty_mod+n new_window_with_cwd
map kitty_mod+o open_url_with_hints
map kitty_mod+q close_window
map kitty_mod+s show_scrollback
map kitty_mod+t new_tab

20 changes: 10 additions & 10 deletions nvim/autocmd.vim
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ autocmd BufNewFile,BufRead ${HOME}/.config/i3/* setfiletype i3
autocmd BufNewFile,BufRead *.ex,*.exs setfiletype elixir
autocmd BufNewFile,BufRead *.schema setfiletype sql

autocmd Filetype cpp source ${HOME}/.config/nvim/language_specific/cpp.vim
autocmd Filetype css source ${HOME}/.config/nvim/language_specific/css.vim
autocmd Filetype elixir setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab
autocmd Filetype elixir source ${HOME}/.config/nvim/language_specific/elixir.vim
autocmd Filetype html source ${HOME}/.config/nvim/language_specific/html.vim
autocmd Filetype kalker source ${HOME}/.config/nvim/language_specific/kalker.vim
autocmd Filetype lisp source ${HOME}/.config/nvim/language_specific/lisp.vim
autocmd Filetype lua source ${HOME}/.config/nvim/language_specific/lua.vim
autocmd Filetype markdown source ${HOME}/.config/nvim/language_specific/markdown.vim
autocmd Filetype sh,bash source ${HOME}/.config/nvim/language_specific/bash.vim
"autocmd Filetype cpp source ${HOME}/.config/nvim/language_specific/cpp.vim
"autocmd Filetype css source ${HOME}/.config/nvim/language_specific/css.vim
"autocmd Filetype elixir setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab
"autocmd Filetype elixir source ${HOME}/.config/nvim/language_specific/elixir.vim
"autocmd Filetype html source ${HOME}/.config/nvim/language_specific/html.vim
"autocmd Filetype kalker source ${HOME}/.config/nvim/language_specific/kalker.vim
"autocmd Filetype lisp source ${HOME}/.config/nvim/language_specific/lisp.vim
"autocmd Filetype lua source ${HOME}/.config/nvim/language_specific/lua.vim
"autocmd Filetype markdown source ${HOME}/.config/nvim/language_specific/markdown.vim
"autocmd Filetype sh,bash source ${HOME}/.config/nvim/language_specific/bash.vim
autocmd BufNewFile,BufRead ~/.bashrc source ${HOME}/.config/nvim/language_specific/bashrc.vim


Expand Down
8 changes: 7 additions & 1 deletion nvim/lua/mappings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ if not table.unpack then
table.unpack = unpack
end

-- local status1 = '%t %r%m%=[%v] (%L lines) (%{wordcount().words} words)%=%#HLspStatus#%{LspStatus()}%*[%{LspStatus()}] [%F]'





local l = '<leader>'

local regular_mappings={
Expand Down Expand Up @@ -53,7 +59,7 @@ local leader_mappings={
{ 'n', false, '', '-' , '20<c-w><' },
{ 'n', false, '', '=' , '20<c-w>>' },
{ 'n', false, '', 'A' , ':LspStart()<CR>' },
{ 'n', false, '', 'a' , ':LspStop()<CR>' },
{ 'n', false, '', 'a' , ':LspStop<CR>' },
{ 'n', false, '', 'B' , ':ls<CR>:b<Space>' },
{ 'n', false, '', 'b' , ':Buffers<esc>' },
{ 'n', false, '+ Line Len Indicator', 'cc' , ':call TogCC()<CR>' },
Expand Down
14 changes: 8 additions & 6 deletions xorg/SetKeys.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#!/usr/bin/env bash

xset +fp /usr/share/fonts/misc 2>/dev/null
xset +fp /usr/share/fonts/* 2>/dev/null
xset +fp "${HOME}/.local/share/fonts/"* 2>/dev/null
xset -dpms
xset s off
xset r rate 200 40
if [[ ! "${1,,}" = '--y' ]] ; then
xset +fp /usr/share/fonts/misc 2>/dev/null
xset +fp /usr/share/fonts/* 2>/dev/null
xset +fp "${HOME}/.local/share/fonts/"* 2>/dev/null
xset -dpms
xset s off
xset r rate 200 40
fi
#xset r off
##### This turns off mouse acceleration
##### xinput --set-prop 12 "libinput Accel Speed" -1
Expand Down
3 changes: 2 additions & 1 deletion xorg/Xresources
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
*.borderpx: 10px

!!!!!!!!!!!!!!!!!!!!!!!!! MY FAVORITE FONTSHH
*.font: Agave:style=Regular:size=11:antialias=false:autohint=false
!Kitty.font: Agave:style=Regular:size=11:antialias=false:autohint=false
!*Ida*.font: -*-*-*-*-*--*-*-*-*-*-*-*-*
!*.font: IosevkaTerm:style=Medium:pixelsize=12:antialias=true:autohint=true
!*.font: MononokiNerdFontMono:style=Medium:pixelsize=12:antialias=true:autohint=true
!*.font: InputMono:style=Medium:size=7:antialias=true:autohint=true
Expand Down

0 comments on commit 4ebbd3c

Please sign in to comment.