Skip to content

Commit

Permalink
fix(base): misc
Browse files Browse the repository at this point in the history
  • Loading branch information
umgbhalla committed Jan 21, 2023
1 parent 010c885 commit ab6eee4
Show file tree
Hide file tree
Showing 9 changed files with 275 additions and 204 deletions.
63 changes: 58 additions & 5 deletions base/nvim/.config/nvim/lua/user/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ local config = {
{ "folke/tokyonight.nvim" },
{ "arecarn/vim-fold-cycle" },
{ "pseewald/vim-anyfold" },
{ "kmonad/kmonad-vim" },
{
"https://git.sr.ht/~whynothugo/lsp_lines.nvim",
event = "UIEnter",
Expand Down Expand Up @@ -253,11 +254,63 @@ local config = {
}
end,
},
-- {
-- "ray-x/lsp_signature.nvim",
-- event = "BufRead",
-- config = function() require("lsp_signature").setup() end,
-- },
{
"RRethy/vim-illuminate",
config = function()
-- default configuration
require("illuminate").configure {
-- providers: provider used to get references in the buffer, ordered by priority
providers = {
"lsp",
"treesitter",
"regex",
},
-- delay: delay in milliseconds
delay = 10,
-- filetype_overrides: filetype specific overrides.
-- The keys are strings to represent the filetype while the values are tables that
-- supports the same keys passed to .configure except for filetypes_denylist and filetypes_allowlist
filetype_overrides = {},
-- filetypes_denylist: filetypes to not illuminate, this overrides filetypes_allowlist
filetypes_denylist = {
"dirvish",
"fugitive",
},
-- filetypes_allowlist: filetypes to illuminate, this is overriden by filetypes_denylist
filetypes_allowlist = {},
-- modes_denylist: modes to not illuminate, this overrides modes_allowlist
-- See `:help mode()` for possible values
modes_denylist = {},
-- modes_allowlist: modes to illuminate, this is overriden by modes_denylist
-- See `:help mode()` for possible values
modes_allowlist = {},
-- providers_regex_syntax_denylist: syntax to not illuminate, this overrides providers_regex_syntax_allowlist
-- Only applies to the 'regex' provider
-- Use :echom synIDattr(synIDtrans(synID(line('.'), col('.'), 1)), 'name')
providers_regex_syntax_denylist = {},
-- providers_regex_syntax_allowlist: syntax to illuminate, this is overriden by providers_regex_syntax_denylist
-- Only applies to the 'regex' provider
-- Use :echom synIDattr(synIDtrans(synID(line('.'), col('.'), 1)), 'name')
providers_regex_syntax_allowlist = {},
-- under_cursor: whether or not to illuminate under the cursor
under_cursor = true,
-- large_file_cutoff: number of lines at which to use large_file_config
-- The `under_cursor` option is disabled when this cutoff is hit
large_file_cutoff = nil,
-- large_file_config: config to use for large files (based on large_file_cutoff).
-- Supports the same keys passed to .configure
-- If nil, vim-illuminate will be disabled for large files.
large_file_overrides = nil,
-- min_count_to_highlight: minimum number of matches required to perform highlighting
min_count_to_highlight = 1,
}
end,
},
{
"ray-x/lsp_signature.nvim",
event = "BufRead",
config = function() require("lsp_signature").setup() end,
},

-- We also support a key value style plugin definition similar to NvChad:
-- ["ray-x/lsp_signature.nvim"] = {
Expand Down
7 changes: 7 additions & 0 deletions base/scripts/.scripts/keybrate
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/zsh
keyb(){
setxkbmap -option caps:swapescape && xset r rate 180 50
notify-send "caps esc swapped and keyrate set to 180::50"
}

keyb
364 changes: 186 additions & 178 deletions base/zsh/.config/zsh/.zcompdump

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions base/zsh/.config/zsh/aliases.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ alias drt='dragon-drop -t -x'
alias drop="dragon-drop -x"
alias grubup="sudo grub-mkconfig -o /boot/grub/grub.cfg"
alias teapot="curl https://http.cat/418 -o 418.jpg && kitty +kitten icat 418.jpg"
alias sdev="ssh -i ~/.auth-pkey-bytelearn-mukul.key mukuljeveriya@179.0.3.36"
alias suat="ssh mukuljeveriya@10.8.36.154"
alias ssuat="ssh -i ~/.auth-pkey-bytelearn-mukul.key mukuljeveriya@10.66.1.252"
alias sprod="ssh mukuljeveriya@10.33.3.150"
alias sdev="ssh bl-dev-jump-srv-01.us-central1-c.bytelearn-gcp"
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
# apps
alias arch="docker run -w /root -it archlinux sh -uelic '
Expand Down
4 changes: 3 additions & 1 deletion base/zsh/.config/zsh/funcs.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
# - jq
# - ImageMagick
function crpt(){
echo -en "$1" | base64 | sha1sum
echo -en $1| base64 | tr -d "\n" | base64 | copy
echo ":::::::::: COPIED to CLIPBOARD ::::::::::"
echo -en $1| base64 | tr -d "\n" | base64
}
function hc(){
kitty +kitten icat https://http.cat/$1
Expand Down
2 changes: 1 addition & 1 deletion themes/cr0nus/bspwm/.config/bspwm/bspwmrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# Bar
sudo light -S 50 &
xset r rate 180 50
setxkbmap -option caps:swapescape &
# setxkbmap -option caps:swapescape &
# setxkbmap -option caps:ctrl_modifier &
bspc monitor -d 1 2 3 4 5 6 7 8 9 10

Expand Down
6 changes: 3 additions & 3 deletions themes/cr0nus/dunst/.config/dunst/dunstrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
follow = none
width = 300
height = 300
origin = bottom-center
offset = 0x32
origin = bottom-left
offset = 0x40
scale = 0
notification_limit = 0
progress_bar = true
Expand All @@ -13,7 +13,7 @@
progress_bar_min_width = 150
progress_bar_max_width = 300
indicate_hidden = yes
transparency = 0
transparency = 25
separator_height = 2
padding = 4
horizontal_padding = 10
Expand Down
6 changes: 3 additions & 3 deletions themes/cr0nus/polybar/.config/polybar/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ screenchange-reload = true
;# Active Colors
dg = #897161
; dg = #000000
bg = #cc000000
bg = #ff000000
fg = #FBF1C7
; fg = #ffffff

Expand All @@ -60,9 +60,9 @@ fg = #FBF1C7
; alt-bg = #00503836
; alt-bg = #cc0a0a0a
; alt-bg = #ff111111
alt-bg = #00111111
alt-bg = #ff111111
; alt-bg2 = #aaffff
alt-bg1 = #282828
alt-bg1 = #000000
alt-bg2 = #8aac8b
alt-bg3 = #f2e5bc
alt-bg4 = #a89984
Expand Down
22 changes: 13 additions & 9 deletions themes/cr0nus/sxhkd/.config/sxhkd/sxhkdrc
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,6 @@ super + shift + l
super + space
term-menu fapps

# main mode for displays
super + shift + s
screenmain


# program killer
super + shift + space
Expand All @@ -114,6 +110,10 @@ alt + v
super + v
notify-send "clipppy launcher" && term-menu send-clip

# keybindhelper
super + shift + alt + r
keybrate

# keybindhelper
super + shift + h
term-menu keybinds
Expand Down Expand Up @@ -353,20 +353,24 @@ super + button{7,6}


#anonym screenshot
ctrl + Print
ss0x
# ctrl + Print
# ss0x

# Screenshot to scliboard
shift + Print
# shift + Print
# screen_copy

# screenshot url
Print
screen_copy


# screenshot url
Print
super + shift + s
screen_copy

# Screenshots with gui
super+Print
super + Print
screen_menu

# play pause toggle
Expand Down

0 comments on commit ab6eee4

Please sign in to comment.