added support for yay; updated monitors in hyprland; updated zshrc with pip3 alias and deno reference
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
# Generated by nwg-displays on 2026-05-08 at 23:25:33. Do not edit manually.
|
# Generated by nwg-displays on 2026-05-12 at 10:26:18. Do not edit manually.
|
||||||
|
|
||||||
monitor=desc:BOE 0x0BC9,2560x1600@165.0,0x0,1.25
|
monitor=desc:BOE 0x0BC9,disable
|
||||||
|
monitor=desc:Viewteck Co. Ltd. GNV34DB,3440x1440@50.0,3795x1785,1.0
|
||||||
|
monitor=desc:Dell Inc. DELL U2515HX GMDK46C4053L,2560x1440@59.95,5488x345,1.0
|
||||||
|
monitor=desc:Dell Inc. DELL U2518D 0WG2J9C5B3WL,2560x1440@59.95,2928x345,1.0
|
||||||
|
|||||||
@@ -0,0 +1,37 @@
|
|||||||
|
yay.opt.devel = false
|
||||||
|
yay.opt.clean_after = true
|
||||||
|
yay.opt.sort_by = "votes"
|
||||||
|
yay.opt.diff_menu = true
|
||||||
|
yay.opt.edit_menu = true
|
||||||
|
|
||||||
|
yay.create_autocmd("UpgradeSelect", {
|
||||||
|
callback = function(event)
|
||||||
|
local exclude = {}
|
||||||
|
local cutoff = os.time() - (3 * 24 * 60 * 60)
|
||||||
|
for _, pkg in ipairs(event.data.upgrades) do
|
||||||
|
if pkg.repository == "aur" and pkg.last_modified >= cutoff then
|
||||||
|
yay.log.warn("Excluding recently modified:", pkg.name)
|
||||||
|
table.insert(exclude, pkg.name)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
return { exclude = exclude, skip_menu = false }
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
|
yay.create_autocmd("AURPreInstall", {
|
||||||
|
callback = function(event)
|
||||||
|
local blocked = {
|
||||||
|
"curl.*|.*sh",
|
||||||
|
"wget.*|.*bash",
|
||||||
|
"eval%(",
|
||||||
|
"rm %-rf /",
|
||||||
|
"chmod 777",
|
||||||
|
"base64 %-d",
|
||||||
|
}
|
||||||
|
for _, pattern in ipairs(blocked) do
|
||||||
|
if event.data.pkgbuild:match(pattern) then
|
||||||
|
yay.abort("[BLOCKED] Suspicious: " .. pattern)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
})
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
# Add deno completions to search path
|
||||||
|
if [[ ":$FPATH:" != *":/home/sammieo/.zsh/completions:"* ]]; then export FPATH="/home/sammieo/.zsh/completions:$FPATH"; fi
|
||||||
# If you come from bash you might have to change your $PATH.
|
# If you come from bash you might have to change your $PATH.
|
||||||
# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
|
# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
|
||||||
|
|
||||||
@@ -106,6 +108,8 @@ source $ZSH/oh-my-zsh.sh
|
|||||||
# alias zshconfig="mate ~/.zshrc"
|
# alias zshconfig="mate ~/.zshrc"
|
||||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||||
|
|
||||||
|
setopt aliases
|
||||||
|
|
||||||
# Local Bin
|
# Local Bin
|
||||||
export PATH=$HOME/.local/bin:$HOME/bin:$PATH
|
export PATH=$HOME/.local/bin:$HOME/bin:$PATH
|
||||||
|
|
||||||
@@ -129,3 +133,7 @@ export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock
|
|||||||
|
|
||||||
# Hosts Aliases
|
# Hosts Aliases
|
||||||
export HOSTALIASES=$HOME/.config/hosts
|
export HOSTALIASES=$HOME/.config/hosts
|
||||||
|
|
||||||
|
# Pip
|
||||||
|
alias pip=pip3
|
||||||
|
. "/home/sammieo/.deno/env"
|
||||||
|
|||||||
Reference in New Issue
Block a user