/
This commit is contained in:
parent
0601ee9bce
commit
ba9c51cd19
18
.zshrc
18
.zshrc
@ -107,7 +107,7 @@ source $ZSH/oh-my-zsh.sh
|
||||
|
||||
|
||||
# ---- INITIALISATION ----
|
||||
neofetch
|
||||
hyfetch
|
||||
|
||||
# ---- VARIABLES ----
|
||||
school_project="/home/koshin-s-hegde/My-Folder/Koshin-S-Hegde/Koshin-Special/Programs/Python/School-Project-trial-1"
|
||||
@ -154,3 +154,19 @@ clipboard-copy() {
|
||||
echo "$1" | xclip -selection clipboard
|
||||
}
|
||||
|
||||
|
||||
# >>> conda initialize >>>
|
||||
# !! Contents within this block are managed by 'conda init' !!
|
||||
#__conda_setup="$('/opt/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||
#if [ $? -eq 0 ]; then
|
||||
# eval "$__conda_setup"
|
||||
#else
|
||||
# if [ -f "/opt/miniconda3/etc/profile.d/conda.sh" ]; then
|
||||
# . "/opt/miniconda3/etc/profile.d/conda.sh"
|
||||
# else
|
||||
# export PATH="/opt/miniconda3/bin:$PATH"
|
||||
# fi
|
||||
#fi
|
||||
#unset __conda_setup
|
||||
# <<< conda initialize <<<
|
||||
|
||||
|
1
hypr/.jukit/.jukit_info.json
Normal file
1
hypr/.jukit/.jukit_info.json
Normal file
@ -0,0 +1 @@
|
||||
{"terminal": "kitty"}
|
194
hypr/hyprland.conf
Normal file
194
hypr/hyprland.conf
Normal file
@ -0,0 +1,194 @@
|
||||
|
||||
# #######################################################################################
|
||||
# AUTOGENERATED HYPR CONFIG.
|
||||
# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
|
||||
# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
||||
# #######################################################################################
|
||||
|
||||
#
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki
|
||||
#
|
||||
|
||||
#autogenerated = 1 # remove this line to remove the warning
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor=,preferred,auto,auto
|
||||
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
|
||||
# Execute your favorite apps at launch
|
||||
exec-once = waybar # & hyprpaper & firefox
|
||||
|
||||
# Source a file (multi-file configs)
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = kitty
|
||||
$fileManager = dolphin
|
||||
$menu = dmenu
|
||||
|
||||
# Some default env vars.
|
||||
env = XCURSOR_SIZE,24
|
||||
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
kb_layout = us
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 0
|
||||
|
||||
touchpad {
|
||||
natural_scroll = yes
|
||||
}
|
||||
|
||||
sensitivity = 0 # -1.0 to 1.0, 0 means no modification.
|
||||
}
|
||||
|
||||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 5
|
||||
gaps_out = 20
|
||||
border_size = 2
|
||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
layout = dwindle
|
||||
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
}
|
||||
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
rounding = 10
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
passes = 1
|
||||
}
|
||||
|
||||
drop_shadow = yes
|
||||
shadow_range = 4
|
||||
shadow_render_power = 3
|
||||
col.shadow = rgba(1a1a1aee)
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
|
||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
|
||||
animation = windows, 1, 7, myBezier
|
||||
animation = windowsOut, 1, 7, default, popin 80%
|
||||
animation = border, 1, 10, default
|
||||
animation = borderangle, 1, 8, default
|
||||
animation = fade, 1, 7, default
|
||||
animation = workspaces, 1, 6, default
|
||||
}
|
||||
|
||||
dwindle {
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = yes # you probably want this
|
||||
}
|
||||
|
||||
master {
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
new_is_master = true
|
||||
}
|
||||
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = on
|
||||
}
|
||||
|
||||
misc {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||
device {
|
||||
name = epic-mouse-v1
|
||||
sensitivity = -0.5
|
||||
}
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
||||
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
$mainMod = SUPER
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod ALT, RETURN, exec, $terminal
|
||||
bind = ALT, F4, killactive,
|
||||
bind = $mainMod, M, exit,
|
||||
bind = $mainMod ALT, f, exec, firefox
|
||||
bind = $mainMod SHIFT, SPACE, togglefloating,
|
||||
bind = $mainMod, D, exec, $menu
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, E, togglesplit, # dwindle
|
||||
bind = $mainMod, ESCAPE, exec, wlogout # dwindle
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, h, movefocus, l
|
||||
bind = $mainMod, l, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# Example special workspace (scratchpad)
|
||||
bind = $mainMod, S, togglespecialworkspace, magic
|
||||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bind = SUPER SHIFT, H, movewindow, l
|
||||
bind = SUPER SHIFT, L, movewindow, r
|
||||
bind = SUPER SHIFT, K, movewindow, u
|
||||
bind = SUPER SHIFT, J, movewindow, d
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
@ -72,7 +72,7 @@ bindsym $mod+$alt+Shift+f exec --no-startup-id firefox -P "Student" --
|
||||
bindsym $mod+$alt+ctrl+f exec --no-startup-id firefox -P "Porn" --class "porn"
|
||||
bindsym $mod+$alt+w exec --no-startup-id firefox "web.whatsapp.com" --class "social" -P "WhatsApp"
|
||||
bindsym Print exec --no-startup-id flameshot gui
|
||||
bindsym $mod+$alt+Return exec --no-startup-id alacritty
|
||||
bindsym $mod+$alt+Return exec --no-startup-id kitty --listen-on=unix:@"$(date +%s%N)" -o allow_remote_control=yes ~
|
||||
bindsym $mod+$alt+m exec --no-startup-id alacritty --class "music" mocp -T ~/.config/moc/theme; exec allacrity --class "music" cava
|
||||
|
||||
# Scratchpad keybinds
|
||||
|
@ -1,2 +1 @@
|
||||
save-position-on-quit=yes
|
||||
|
||||
|
@ -8,7 +8,10 @@
|
||||
},
|
||||
"cSpell.userWords": [
|
||||
"Monero",
|
||||
"abled",
|
||||
"bcrypt",
|
||||
"conv",
|
||||
"cuda",
|
||||
"cupy",
|
||||
"favicon",
|
||||
"keras",
|
||||
@ -16,6 +19,7 @@
|
||||
"ndarray",
|
||||
"overdiscounting",
|
||||
"paytmchecksum",
|
||||
"perceptron",
|
||||
"pyperclip",
|
||||
"relu",
|
||||
"transfeminism",
|
||||
|
@ -55,38 +55,3 @@ require("bufferline").setup{}
|
||||
require('nvim-web-devicons').setup{}
|
||||
|
||||
-- Jupyter
|
||||
require('notebook').setup()
|
||||
local api = require("notebook.api")
|
||||
local settings = require("notebook.settings")
|
||||
|
||||
function _G.define_cell(extmark)
|
||||
if extmark == nil then
|
||||
local line = vim.fn.line(".")
|
||||
extmark, _ = api.current_extmark(line)
|
||||
end
|
||||
local start_line = extmark[1] + 1
|
||||
local end_line = extmark[3].end_row
|
||||
pcall(function() vim.fn.MagmaDefineCell(start_line, end_line) end)
|
||||
end
|
||||
|
||||
function _G.define_all_cells()
|
||||
local buffer = vim.api.nvim_get_current_buf()
|
||||
local extmarks = settings.extmarks[buffer]
|
||||
for id, cell in pairs(extmarks) do
|
||||
local extmark = vim.api.nvim_buf_get_extmark_by_id(
|
||||
0, settings.plugin_namespace, id, { details = true }
|
||||
)
|
||||
if cell.cell_type == "code" then
|
||||
define_cell(extmark)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
vim.api.nvim_create_autocmd(
|
||||
{ "BufRead", },
|
||||
{ pattern = { "*.ipynb" }, command = "MagmaInit" }
|
||||
)
|
||||
vim.api.nvim_create_autocmd(
|
||||
"User",
|
||||
{ pattern = { "MagmaInitPost", "NBPostRender" }, callback = _G.define_all_cells }
|
||||
)
|
||||
|
@ -30,9 +30,6 @@ set_keymap("n", "<C-l>", "<C-w>l", opts)
|
||||
--set_keymap("n", "<S-l>", ":tabn<CR>", opts)
|
||||
--set_keymap("n", "<S-h>", ":tabp<CR>", opts)
|
||||
|
||||
-- NOH
|
||||
set_keymap("n", "<leader>n", ":noh<CR>", opts)
|
||||
|
||||
-- Telescope
|
||||
local builtin = require('telescope.builtin')
|
||||
vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
|
||||
@ -55,3 +52,12 @@ set_keymap('n', ':', '<cmd>FineCmdline<CR>', opts)
|
||||
set_keymap('n', '/', '<cmd>FineCmdline<CR>/', opts)
|
||||
|
||||
--set_keymap("n", "<leader>nbo")
|
||||
set_keymap("n", "<leader>ml", ":MagmaEvaluateLine<CR>", opts)
|
||||
set_keymap("v", "<leader>mv", ":<BS><BS><BS><BS><BS>MagmaEvaluateVisual<CR>", opts)
|
||||
set_keymap("n", "<leader>mc", ":MagmaReevaluateCell<CR>", opts)
|
||||
set_keymap("n", "<leader>mi", ":MagmaInterrupt<CR>", opts)
|
||||
set_keymap("n", "<leader>mI", ":MagmaInit python<CR>", opts)
|
||||
|
||||
|
||||
set_keymap("n", "<S-j>", ":call jukit#cells#jump_to_next_cell()<cr>", opts)
|
||||
set_keymap("n", "<S-k>", ":call jukit#cells#jump_to_previous_cell()<cr>", opts)
|
||||
|
@ -41,3 +41,23 @@ vim.cmd "set foldexpr=nvim_treesitter#foldexpr()"
|
||||
--]])
|
||||
|
||||
vim.opt.foldlevel = 0
|
||||
|
||||
--vim.g.jukit_output_new_os_window = 1
|
||||
vim.cmd([[
|
||||
let g:jukit_layout = {
|
||||
\'split': 'vertical',
|
||||
\'p1': 0.6,
|
||||
\'val': [
|
||||
\'file_content',
|
||||
\{
|
||||
\'split': 'vertical',
|
||||
\'p1': 0.6,
|
||||
\'val': ['output', 'output_history']
|
||||
\}
|
||||
\]
|
||||
\}
|
||||
]])
|
||||
vim.g.jukit_terminal = "kitty"
|
||||
vim.g.jukit_output_new_os_window = 1
|
||||
vim.g.jukit_convert_overwrite_default = 1
|
||||
vim.g.jukit_convert_open_default = 0
|
||||
|
@ -1,6 +1,6 @@
|
||||
local packer_settings = {
|
||||
git = {
|
||||
clone_timeout = 99999,
|
||||
clone_timeout = ( 99999 ),
|
||||
},
|
||||
}
|
||||
|
||||
@ -46,8 +46,6 @@ return require("packer").startup(function(use)
|
||||
|
||||
use {"nvim-tree/nvim-web-devicons"}
|
||||
|
||||
use "tpope/vim-surround"
|
||||
|
||||
use "terrastruct/d2-vim"
|
||||
use({
|
||||
"WilsonOh/emoji_picker-nvim",
|
||||
@ -56,6 +54,18 @@ return require("packer").startup(function(use)
|
||||
end,
|
||||
})
|
||||
use "adelarsq/vim-devicons-emoji"
|
||||
|
||||
use { 'dccsillag/magma-nvim', run = ':UpdateRemotePlugins' }
|
||||
use {"meatballs/notebook.nvim"}
|
||||
use "luk400/vim-jukit"
|
||||
|
||||
use({
|
||||
"kylechui/nvim-surround",
|
||||
tag = "*", -- Use for stability; omit to use `main` branch for the latest features
|
||||
config = function()
|
||||
require("nvim-surround").setup({
|
||||
-- Configuration here, or leave empty to use defaults
|
||||
})
|
||||
end
|
||||
})
|
||||
end)
|
||||
|
@ -150,6 +150,12 @@ _G.packer_plugins = {
|
||||
path = "/home/kosh/.local/share/nvim/site/pack/packer/start/nui.nvim",
|
||||
url = "https://github.com/MunifTanjim/nui.nvim"
|
||||
},
|
||||
["nvim-surround"] = {
|
||||
config = { "\27LJ\2\n?\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\18nvim-surround\frequire\0" },
|
||||
loaded = true,
|
||||
path = "/home/kosh/.local/share/nvim/site/pack/packer/start/nvim-surround",
|
||||
url = "https://github.com/kylechui/nvim-surround"
|
||||
},
|
||||
["nvim-treesitter"] = {
|
||||
loaded = true,
|
||||
path = "/home/kosh/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
|
||||
@ -185,10 +191,10 @@ _G.packer_plugins = {
|
||||
path = "/home/kosh/.local/share/nvim/site/pack/packer/start/vim-godot",
|
||||
url = "https://github.com/habamax/vim-godot"
|
||||
},
|
||||
["vim-surround"] = {
|
||||
["vim-jukit"] = {
|
||||
loaded = true,
|
||||
path = "/home/kosh/.local/share/nvim/site/pack/packer/start/vim-surround",
|
||||
url = "https://github.com/tpope/vim-surround"
|
||||
path = "/home/kosh/.local/share/nvim/site/pack/packer/start/vim-jukit",
|
||||
url = "https://github.com/luk400/vim-jukit"
|
||||
}
|
||||
}
|
||||
|
||||
@ -197,6 +203,10 @@ time([[Defining packer_plugins]], false)
|
||||
time([[Config for emoji_picker-nvim]], true)
|
||||
try_loadstring("\27LJ\2\n:\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\17emoji_picker\frequire\0", "config", "emoji_picker-nvim")
|
||||
time([[Config for emoji_picker-nvim]], false)
|
||||
-- Config for: nvim-surround
|
||||
time([[Config for nvim-surround]], true)
|
||||
try_loadstring("\27LJ\2\n?\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\18nvim-surround\frequire\0", "config", "nvim-surround")
|
||||
time([[Config for nvim-surround]], false)
|
||||
|
||||
_G._packer.inside_compile = false
|
||||
if _G._packer.needs_bufread == true then
|
||||
|
@ -3,9 +3,9 @@
|
||||
#
|
||||
## Opacity
|
||||
opacity-rule = [
|
||||
"80:class_g = 'music' && focused",
|
||||
"40:class_g = 'music' && !focused",
|
||||
"60:!focused",
|
||||
#"80:class_g = 'music' && focused",
|
||||
#"40:class_g = 'music' && !focused",
|
||||
"70:!focused",
|
||||
"100:focused"
|
||||
];
|
||||
#
|
||||
@ -15,12 +15,12 @@ opacity-rule = [
|
||||
# method = "dual_kawase";
|
||||
# strength = 100;
|
||||
#}
|
||||
|
||||
#
|
||||
#blur-method = "kernel"
|
||||
#blur-strength = 10
|
||||
#blur-background = true
|
||||
#
|
||||
corner-radius = 50
|
||||
#corner-radius = 50
|
||||
#
|
||||
## Fading
|
||||
fading=true;
|
||||
|
1
polybar/.jukit/.jukit_info.json
Normal file
1
polybar/.jukit/.jukit_info.json
Normal file
@ -0,0 +1 @@
|
||||
{"terminal": "kitty"}
|
@ -110,11 +110,11 @@ label-unfocused-padding = 5
|
||||
|
||||
|
||||
[bar/center]
|
||||
width = 10%
|
||||
width = 16%
|
||||
height = 27pt
|
||||
radius = 20
|
||||
offset-y = 40
|
||||
offset-x = 45%
|
||||
offset-x = 42%
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
@ -151,7 +151,7 @@ override-redirect = true
|
||||
|
||||
[module/text]
|
||||
type = custom/text
|
||||
content = I love i3!!!
|
||||
content = I use Arch btw!!!
|
||||
|
||||
content-background = ${color.background}
|
||||
content-foreground = ${colors.foreground}
|
||||
|
Loading…
x
Reference in New Issue
Block a user