lots
This commit is contained in:
5
.bashrc
5
.bashrc
@@ -46,6 +46,8 @@ fi
|
|||||||
clear
|
clear
|
||||||
# fastfetch --config ~/.config/fastfetch/mini.jsonc
|
# fastfetch --config ~/.config/fastfetch/mini.jsonc
|
||||||
tfetch
|
tfetch
|
||||||
|
date '+%B %d %R - %D'
|
||||||
|
echo
|
||||||
|
|
||||||
PS1='\n[ \e[35;1m\u \e[34m\w\e[0m ]\n\e[1m\$ \e[0m'
|
PS1='\n[ \e[35;1m\u \e[34m\w\e[0m ]\n\e[1m\$ \e[0m'
|
||||||
complete -cf sudo
|
complete -cf sudo
|
||||||
@@ -71,3 +73,6 @@ eval "$(starship init bash)"
|
|||||||
eval "$(fzf --bash)"
|
eval "$(fzf --bash)"
|
||||||
eval "$(zoxide init --cmd cd bash)"
|
eval "$(zoxide init --cmd cd bash)"
|
||||||
|
|
||||||
|
|
||||||
|
# Created by `pipx` on 2025-09-13 00:06:01
|
||||||
|
export PATH="$PATH:/home/ted/.local/bin"
|
||||||
|
@@ -40,7 +40,6 @@ $color_pick = hyprpicker --autocopy
|
|||||||
$messaging = vesktop
|
$messaging = vesktop
|
||||||
$calculator = flatpak run org.gnome.Calculator
|
$calculator = flatpak run org.gnome.Calculator
|
||||||
$refresh = random-paper && hyprctl hyprpaper reload ,"~/wallpapers/active.png"
|
$refresh = random-paper && hyprctl hyprpaper reload ,"~/wallpapers/active.png"
|
||||||
$email = thunderbird
|
|
||||||
|
|
||||||
|
|
||||||
#################
|
#################
|
||||||
@@ -55,7 +54,6 @@ execr-once = hyprctl setcursor phinger-cursors-light 24
|
|||||||
execr-once = hypridle
|
execr-once = hypridle
|
||||||
execr-once = systemctl --user start hyprpolkitagent
|
execr-once = systemctl --user start hyprpolkitagent
|
||||||
execr-once = eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
|
execr-once = eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
|
||||||
execr-once = protonmail-bridge -n
|
|
||||||
exec-once = [workspace 1 silent] $browser
|
exec-once = [workspace 1 silent] $browser
|
||||||
exec-once = [workspace 11 silent] $messaging
|
exec-once = [workspace 11 silent] $messaging
|
||||||
exec-once = [workspace 12 silent] foot bluetui
|
exec-once = [workspace 12 silent] foot bluetui
|
||||||
@@ -120,6 +118,7 @@ decoration {
|
|||||||
# Change transparency of focused and unfocused windows
|
# Change transparency of focused and unfocused windows
|
||||||
active_opacity = 1.0
|
active_opacity = 1.0
|
||||||
inactive_opacity = 0.9
|
inactive_opacity = 0.9
|
||||||
|
dim_modal = true
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
||||||
blur {
|
blur {
|
||||||
@@ -166,7 +165,7 @@ misc {
|
|||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#input
|
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||||
input {
|
input {
|
||||||
kb_layout = nus # Custom xkb layout
|
kb_layout = us # Custom xkb layout
|
||||||
kb_variant =
|
kb_variant =
|
||||||
kb_model =
|
kb_model =
|
||||||
kb_options =
|
kb_options =
|
||||||
@@ -185,9 +184,9 @@ input {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
# https://wiki.hypr.land/Configuring/Gestures/
|
||||||
gestures {
|
gestures {
|
||||||
workspace_swipe = true
|
gesture = 3, horizontal, workspace
|
||||||
}
|
}
|
||||||
|
|
||||||
# Example per-device config
|
# Example per-device config
|
||||||
@@ -208,27 +207,28 @@ device {
|
|||||||
###################
|
###################
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
$mainMod = ALT # Sets "Windows" key as main modifier
|
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Binds/ for more
|
# See https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
bind = $mainMod SHIFT, RETURN, exec, $terminal
|
bind = $mainMod, SPACE, exec, $terminal
|
||||||
bind = $mainMod, Y, exec, $browser
|
bind = $mainMod, Y, exec, $browser
|
||||||
bind = $mainMod, C, killactive,
|
bind = $mainMod, C, killactive,
|
||||||
bind = $mainMod SHIFT, Q, exit,
|
bind = $mainMod SHIFT, Q, exit,
|
||||||
bind = $mainMod, R, exec, $fileManager
|
bind = $mainMod, R, exec, $fileManager
|
||||||
bind = $mainMod, O, togglefloating,
|
bind = $mainMod, O, togglefloating,
|
||||||
bind = $mainMod, SPACE, exec, $menu
|
bind = $mainMod, J, exec, $menu
|
||||||
bind = $mainMod, P, pseudo, # dwindle
|
bind = $mainMod, H, pseudo, # dwindle
|
||||||
bind = $mainMod, J, togglesplit, # dwindle
|
bind = $mainMod, T, togglesplit, # dwindle
|
||||||
bind = $mainMod, F, fullscreen
|
bind = $mainMod, F, fullscreen
|
||||||
bind = $mainMod, S, exec, $screenshot_part
|
bind = $mainMod, S, exec, $screenshot_part
|
||||||
bind = $mainMod SHIFT, S, exec, $screenshot_full
|
bind = $mainMod SHIFT, S, exec, $screenshot_full
|
||||||
bind = $mainMod, G, swapnext
|
bind = $mainMod, G, swapnext
|
||||||
bind = $mainMod, BACKSLASH, exec, $color_pick
|
bind = $mainMod, BACKSLASH, exec, $color_pick
|
||||||
bind = $mainMod CTRL SHIFT, A, exec, shutdown now
|
bind = $mainMod CTRL SHIFT, A, exec, shutdown now
|
||||||
bind = ,F12, exec, $lock
|
bind = ,F13, exec, $lock
|
||||||
bind = ,code:157, exec, $refresh
|
bind = ,XF86Launch2, exec, $refresh
|
||||||
bind = ,code:148, exec, $calculator
|
bind = ,F16, exec, $refresh
|
||||||
|
bind = ,XF86Calculator, exec, $calculator
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
# Move focus with mainMod + arrow keys
|
||||||
bind = $mainMod, left, movefocus, l
|
bind = $mainMod, left, movefocus, l
|
||||||
@@ -249,9 +249,6 @@ bind = $mainMod, N, exec, ps aux | grep "foot -o colors.regular4=191724 nmtuii"
|
|||||||
# Memory and system control (BTOP)
|
# Memory and system control (BTOP)
|
||||||
bind = $mainMod, M, workspace, 14
|
bind = $mainMod, M, workspace, 14
|
||||||
bind = $mainMod, M, exec, ps aux | grep "foot btop" | grep -v grep || foot btop
|
bind = $mainMod, M, exec, ps aux | grep "foot btop" | grep -v grep || foot btop
|
||||||
# Email
|
|
||||||
bind = $mainMod, E, workspace, 15
|
|
||||||
bind = $mainMod, E, exec, ps aux | grep "thunderbird" | grep -v grep || thunderbird
|
|
||||||
|
|
||||||
# Switch workspaces with mainMod + [0-9]
|
# Switch workspaces with mainMod + [0-9]
|
||||||
bind = $mainMod, 1, workspace, 1
|
bind = $mainMod, 1, workspace, 1
|
||||||
|
@@ -128,7 +128,10 @@ lspconfig.pyright.setup({})
|
|||||||
lspconfig.ts_ls.setup({})
|
lspconfig.ts_ls.setup({})
|
||||||
lspconfig.gopls.setup({})
|
lspconfig.gopls.setup({})
|
||||||
lspconfig.bashls.setup({})
|
lspconfig.bashls.setup({})
|
||||||
lspconfig.xml.setup({})
|
lspconfig.arduino_language_server.setup({})
|
||||||
|
lspconfig.clangd.setup({})
|
||||||
|
lspconfig.cssls.setup({})
|
||||||
|
lspconfig.css_variables.setup({})
|
||||||
local luasnip = require("luasnip")
|
local luasnip = require("luasnip")
|
||||||
require("luasnip.loaders.from_vscode").lazy_load()
|
require("luasnip.loaders.from_vscode").lazy_load()
|
||||||
require("luasnip").config.set_config({
|
require("luasnip").config.set_config({
|
||||||
@@ -146,6 +149,9 @@ local opt = vim.opt
|
|||||||
vim.wo.number = true
|
vim.wo.number = true
|
||||||
vim.wo.relativenumber = true
|
vim.wo.relativenumber = true
|
||||||
|
|
||||||
|
vim.keymap.set("n", "<C-tab>", "gt")
|
||||||
|
vim.keymap.set("n", "<CS-tab>", "gT")
|
||||||
|
|
||||||
opt.tabstop = 2
|
opt.tabstop = 2
|
||||||
opt.shiftwidth = 2
|
opt.shiftwidth = 2
|
||||||
opt.expandtab = true
|
opt.expandtab = true
|
||||||
@@ -166,6 +172,7 @@ require("conform").setup({
|
|||||||
go = { "gofmt" },
|
go = { "gofmt" },
|
||||||
bash = { "shfmt" },
|
bash = { "shfmt" },
|
||||||
nginx = { "nginxfmt" },
|
nginx = { "nginxfmt" },
|
||||||
|
json = { "fixjson" },
|
||||||
},
|
},
|
||||||
format_on_save = {
|
format_on_save = {
|
||||||
timeout_ms = 500,
|
timeout_ms = 500,
|
||||||
@@ -197,7 +204,9 @@ vim.diagnostic.config({
|
|||||||
})
|
})
|
||||||
|
|
||||||
-- save and format on insertleave
|
-- save and format on insertleave
|
||||||
vim.api.nvim_create_autocmd({ "InsertLeave", "FocusLost" }, {
|
vim.api.nvim_create_autocmd({ --[["InsertLeave",]]
|
||||||
|
"FocusLost",
|
||||||
|
}, {
|
||||||
pattern = "*",
|
pattern = "*",
|
||||||
callback = function()
|
callback = function()
|
||||||
require("conform").format()
|
require("conform").format()
|
||||||
|
Reference in New Issue
Block a user