Compare commits
No commits in common. "d76e8aebf7cd2ed80dd96a89aba5a811e60a5bf1" and "33f82903e4ca330aa7709d8186de199da0d2cf38" have entirely different histories.
d76e8aebf7
...
33f82903e4
|
@ -14,15 +14,11 @@ bind -m vi-insert 'Control-l: clear-screen'
|
||||||
PS1='\[\e[32m\]\u@\h\[\e[0m\]:\[\e[34m\]\w\[\e[0m\] \$ '
|
PS1='\[\e[32m\]\u@\h\[\e[0m\]:\[\e[34m\]\w\[\e[0m\] \$ '
|
||||||
|
|
||||||
# Source this file from git that expands PS1 stuff
|
# Source this file from git that expands PS1 stuff
|
||||||
GIT_PS1_SHOWUPSTREAM='verbose name'
|
GIT_PS1_SHOWUPSTREAM=git
|
||||||
GIT_PS1_SHOWDIRTYSTATE=true
|
GIT_PS1_SHOWDIRTYSTATE=true
|
||||||
GIT_PS1_SHOWUNTRACKEDFILES=true
|
GIT_PS1_SHOWUNTRACKEDFILES=true
|
||||||
#GIT_PS1_SHOWCOLORHINTS=true
|
|
||||||
GIT_PS1_DESCRIBE_STYLE=branch
|
|
||||||
source /etc/bash_completion.d/git-prompt.sh
|
source /etc/bash_completion.d/git-prompt.sh
|
||||||
PS1='\[\e[01;32m\]\u@\h\[\e[0m\]:\[\e[01;34m\]\w\[\e[0m\]$(__git_ps1 "(%s)")\[\e[0m\]\$ '
|
PS1='\[\e[01;32m\]\u@\h\[\e[0m\]:\[\e[01;34m\]\w\[\e[0m\]$(__git_ps1 " (%s)")\[\e[0m\]\$ '
|
||||||
[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \
|
|
||||||
. /usr/share/bash-completion/bash_completion
|
|
||||||
|
|
||||||
# History settings: no duplicates, decent size
|
# History settings: no duplicates, decent size
|
||||||
HISTSIZE=10000
|
HISTSIZE=10000
|
||||||
|
@ -36,8 +32,8 @@ alias np='nano -w PKGBUILD'
|
||||||
alias more="less"
|
alias more="less"
|
||||||
alias rofi='rofi -m 1'
|
alias rofi='rofi -m 1'
|
||||||
alias weather="curl wttr.in"
|
alias weather="curl wttr.in"
|
||||||
alias ls="eza -lhg --group-directories-first"
|
alias ls="exa -lhg --group-directories-first"
|
||||||
alias ll="eza -lhga --group-directories-first"
|
alias ll="exa -lhga --group-directories-first"
|
||||||
alias vim="nvim"
|
alias vim="nvim"
|
||||||
alias docs="python ~/scripts/stock_price.py -s docs"
|
alias docs="python ~/scripts/stock_price.py -s docs"
|
||||||
alias stock="python ~/scripts/stock_price.py -s "
|
alias stock="python ~/scripts/stock_price.py -s "
|
||||||
|
@ -45,8 +41,7 @@ alias r="ranger"
|
||||||
alias grep='grep --colour=auto'
|
alias grep='grep --colour=auto'
|
||||||
|
|
||||||
# expand path
|
# expand path
|
||||||
PATH=/usr/local/bin:/usr/bin/:/usr/sbin
|
PATH=$PATH:/usr/local/bin
|
||||||
PATH=$PATH:~/.local/share
|
|
||||||
|
|
||||||
# exports
|
# exports
|
||||||
export EDITOR=/usr/bin/nvim
|
export EDITOR=/usr/bin/nvim
|
||||||
|
@ -65,6 +60,3 @@ bind '"\C-t": "fzf --preview \"cat {}\" < <(find . -type f) | xargs $EDITOR\n"'
|
||||||
|
|
||||||
# kinda annoying tbh
|
# kinda annoying tbh
|
||||||
# pfetch || neofetch || fastfetch
|
# pfetch || neofetch || fastfetch
|
||||||
|
|
||||||
# Created by `pipx` on 2025-05-04 00:05:20
|
|
||||||
export PATH="$PATH:/home/clint/.local/bin"
|
|
||||||
|
|
|
@ -160,7 +160,7 @@ bind = $mainMod SHIFT, Space, togglefloating,
|
||||||
bind = $mainMod, D, exec, $menu
|
bind = $mainMod, D, exec, $menu
|
||||||
bind = $mainMod SHIFT, P, pseudo, # dwindle
|
bind = $mainMod SHIFT, P, pseudo, # dwindle
|
||||||
bind = $mainMod, J, togglesplit, # dwindle
|
bind = $mainMod, J, togglesplit, # dwindle
|
||||||
bind = $mainMod SHIFT, W, exec, flatpak run one.ablaze.floorp
|
bind = $mainMod SHIFT, W, exec, firefox
|
||||||
bind = $mainMod, P, exec, ~/scripts/hypr_change_wallpaper.sh
|
bind = $mainMod, P, exec, ~/scripts/hypr_change_wallpaper.sh
|
||||||
bind = $mainMod, L, exec, hyprlock
|
bind = $mainMod, L, exec, hyprlock
|
||||||
bind = $mainMod, F, fullscreen
|
bind = $mainMod, F, fullscreen
|
||||||
|
@ -191,16 +191,16 @@ bind = $mainMod, 9, workspace, 9
|
||||||
bind = $mainMod, 0, workspace, 10
|
bind = $mainMod, 0, workspace, 10
|
||||||
|
|
||||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
|
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||||
bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2
|
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||||
bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3
|
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||||
bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4
|
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||||
bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5
|
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||||
bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6
|
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||||
bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7
|
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||||
bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
|
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||||
bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
|
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||||
bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10
|
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||||
|
|
||||||
# idk fixing workspace locations
|
# idk fixing workspace locations
|
||||||
workspace = 1,monitor:HDMI-A-1
|
workspace = 1,monitor:HDMI-A-1
|
||||||
|
@ -215,7 +215,7 @@ workspace = 8,monitor:DP-2
|
||||||
|
|
||||||
# Example special workspace (scratchpad)
|
# Example special workspace (scratchpad)
|
||||||
bind = $mainMod, S, togglespecialworkspace, magic
|
bind = $mainMod, S, togglespecialworkspace, magic
|
||||||
bind = $mainMod SHIFT, S, movetoworkspacesilent, special:magic
|
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||||
|
|
||||||
# Scroll through existing workspaces with mainMod + scroll
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
bind = $mainMod, mouse_down, workspace, e+1
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# BACKGROUND
|
# BACKGROUND
|
||||||
background {
|
background {
|
||||||
monitor =
|
monitor =
|
||||||
path = /home/clint/Pictures/wallpapers/abstract_red_blue.png
|
path = /home/clint/Pictures/wallpapers/castle2.jpg
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
preload =
|
preload = /home/clint/Pictures/wallpapers/castle_view.jpg
|
||||||
wallpaper = HDMI-A-1, /home/clint/Pictures/wallpapers/fire_log.jpg
|
wallpaper = HDMI-A-1, /home/clint/Pictures/wallpapers/castle_view.jpg
|
||||||
wallpaper = DP-2, /home/clint/Pictures/wallpapers/fire_log.jpg
|
wallpaper = DP-2, /home/clint/Pictures/wallpapers/castle_view.jpg
|
||||||
|
|
||||||
#enable splash text rendering over the wallpaper
|
#enable splash text rendering over the wallpaper
|
||||||
splash = false
|
splash = false
|
||||||
|
|
|
@ -3,40 +3,56 @@
|
||||||
|
|
||||||
local wk = require("which-key")
|
local wk = require("which-key")
|
||||||
|
|
||||||
wk.add({
|
wk.register({
|
||||||
{ "<leader><F1>", desc = "Open IPython" },
|
["<leader>"] = {
|
||||||
{ "<leader><F2>", desc = "Execute py file" },
|
-- File related stuff
|
||||||
{ "<leader><F5>", desc = "Debug: Continue" },
|
f = {
|
||||||
{ "<leader>B", desc = "Set Breakpoint" },
|
name = "+file",
|
||||||
{ "<leader>D", desc = "Debug UI" },
|
f = "Find File",
|
||||||
{ "<leader>K", desc = "Hover" },
|
s = "Live Search",
|
||||||
{ "<leader>R", desc = "Rename Object" },
|
b = "File Browser (delete this?)",
|
||||||
{ "<leader>Y", desc = "Yank to system clipboard" },
|
r = "Recent Files",
|
||||||
{ "<leader>b", desc = "Buffers" },
|
},
|
||||||
{ "<leader>c", desc = "Change Color Scheme" },
|
-- Git related stuff
|
||||||
{ "<leader>d", desc = "Diagnostics" },
|
g = {
|
||||||
{ "<leader>e", desc = "File Explorer" },
|
name = "+git",
|
||||||
{ "<leader>f", group = "file" },
|
g = "LazyGit",
|
||||||
{ "<leader>fb", desc = "File Browser (delete this?)" },
|
f = "Git Files",
|
||||||
{ "<leader>ff", desc = "Find File" },
|
b = "Git Blame (show)",
|
||||||
{ "<leader>fo", desc = "Format Current File" },
|
n = "Next hunk",
|
||||||
{ "<leader>fr", desc = "Recent Files" },
|
N = "Prev hunk",
|
||||||
{ "<leader>fs", desc = "Live Search" },
|
|
||||||
{ "<leader>g", group = "git" },
|
},
|
||||||
{ "<leader>gN", desc = "Prev hunk" },
|
r = {
|
||||||
{ "<leader>gb", desc = "Git Blame (show)" },
|
name = "+repl",
|
||||||
{ "<leader>gd", desc = "Go to definition" },
|
p = "Run Python"
|
||||||
{ "<leader>gf", desc = "Git Files" },
|
},
|
||||||
{ "<leader>gg", desc = "LazyGit" },
|
t = {
|
||||||
{ "<leader>gn", desc = "Next hunk" },
|
name = "+timestamps",
|
||||||
{ "<leader>h", desc = "Registers" },
|
t = "Print time",
|
||||||
{ "<leader>o", desc = "Object Explorer" },
|
d = "Print date+time"
|
||||||
{ "<leader>r", group = "repl" },
|
},
|
||||||
{ "<leader>rp", desc = "Run Python" },
|
-- Misc
|
||||||
{ "<leader>s", desc = "Find and Replace" },
|
c = "Change Color Scheme",
|
||||||
{ "<leader>t", group = "timestamps" },
|
y = "Yank to system clipboard",
|
||||||
{ "<leader>td", desc = "Print date+time" },
|
Y = "Yank to system clipboard",
|
||||||
{ "<leader>tt", desc = "Print time" },
|
d = "Diagnostics",
|
||||||
{ "<leader>x", desc = "Execute selected code" },
|
e = "File Explorer",
|
||||||
{ "<leader>y", desc = "Yank to system clipboard" },
|
s = "Find and Replace",
|
||||||
|
b = "Buffers",
|
||||||
|
h = "Registers",
|
||||||
|
o = "Object Explorer",
|
||||||
|
fo = "Format Current File",
|
||||||
|
-- LSP related stuff
|
||||||
|
R = "Rename Object",
|
||||||
|
K = "Hover",
|
||||||
|
gd = "Go to definition",
|
||||||
|
-- Debugging
|
||||||
|
D = "Debug UI",
|
||||||
|
B = "Set Breakpoint",
|
||||||
|
["<F1>"] = "Open IPython",
|
||||||
|
x = "Execute selected code",
|
||||||
|
["<F2>"] = "Execute py file",
|
||||||
|
["<F5>"] = "Debug: Continue",
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,21 +1,8 @@
|
||||||
return {
|
return {
|
||||||
|
|
||||||
-- -- Linter
|
|
||||||
-- {
|
|
||||||
-- 'jose-elias-alvarez/null-ls.nvim',
|
|
||||||
-- config = function()
|
|
||||||
-- local nls = require("null-ls")
|
|
||||||
-- nls.setup({
|
|
||||||
-- sources = {
|
|
||||||
-- nls.builtins.formatting.black,
|
|
||||||
-- },
|
|
||||||
-- })
|
|
||||||
-- end,
|
|
||||||
-- },
|
|
||||||
|
|
||||||
-- Linter
|
-- Linter
|
||||||
{
|
{
|
||||||
'nvimtools/none-ls.nvim',
|
'jose-elias-alvarez/null-ls.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
local nls = require("null-ls")
|
local nls = require("null-ls")
|
||||||
nls.setup({
|
nls.setup({
|
||||||
|
|
Loading…
Reference in New Issue