mirror of
https://github.com/VectorKappa/dotfiles.git
synced 2025-12-19 08:16:10 +01:00
Merge remote-tracking branch 'refs/remotes/origin/master'
This commit is contained in:
@@ -59,7 +59,7 @@ jgmenu --at-pointer --hide-on-startup &
|
|||||||
#(tint2; sleep 10; xdo raise -n tint2) &
|
#(tint2; sleep 10; xdo raise -n tint2) &
|
||||||
|
|
||||||
## launch tray
|
## launch tray
|
||||||
stalonetray -v -t --geometry=1x48+0+35 &
|
stalonetray -v --geometry=1x48+0+35 &
|
||||||
|
|
||||||
## Screenshot daemon
|
## Screenshot daemon
|
||||||
flameshot &
|
flameshot &
|
||||||
|
|||||||
21
picom/.config/picom/black_to_transparent.frag
Normal file
21
picom/.config/picom/black_to_transparent.frag
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
#version 330
|
||||||
|
in vec2 texcoord;
|
||||||
|
uniform float opacity;
|
||||||
|
uniform bool invert_color;
|
||||||
|
uniform sampler2D tex;
|
||||||
|
|
||||||
|
vec4 window_shader() {
|
||||||
|
vec4 c = texelFetch(tex, ivec2(texcoord), 0);
|
||||||
|
{
|
||||||
|
// Change vec4(1.0, 1.0, 1.0, 1.0) to your desired color
|
||||||
|
vec4 vdiff = abs(vec4(0.0, 0.0, 0.0, 1.0) - c);
|
||||||
|
float diff = max(max(max(vdiff.r, vdiff.g), vdiff.b), vdiff.a);
|
||||||
|
// Change 0.8 to your desired opacity
|
||||||
|
if (diff < 0.001)
|
||||||
|
c *= 0;
|
||||||
|
}
|
||||||
|
if (invert_color)
|
||||||
|
c = vec4(vec3(c.a, c.a, c.a) - vec3(c), c.a);
|
||||||
|
c *= opacity;
|
||||||
|
return c;
|
||||||
|
}
|
||||||
@@ -294,6 +294,13 @@ use-damage = true;
|
|||||||
#
|
#
|
||||||
# glx-fshader-win = ""
|
# glx-fshader-win = ""
|
||||||
|
|
||||||
|
# Use rules to set per-window shaders. Syntax is SHADER_PATH:PATTERN, similar
|
||||||
|
# to opacity-rule. SHADER_PATH can be "default". This overrides window-shader-fg.
|
||||||
|
#
|
||||||
|
window-shader-fg-rule = [
|
||||||
|
"black_to_transparent.frag:class_g = 'stalonetray'"
|
||||||
|
]
|
||||||
|
|
||||||
# Force all windows to be painted with blending. Useful if you
|
# Force all windows to be painted with blending. Useful if you
|
||||||
# have a glx-fshader-win that could turn opaque pixels transparent.
|
# have a glx-fshader-win that could turn opaque pixels transparent.
|
||||||
#
|
#
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
# Path shenanigans
|
# Path shenanigans
|
||||||
export PATH="$PATH:~/.cargo/bin:~/.local/bin";
|
export PATH="$PATH:$HOME/.cargo/bin:$HOME/.local/bin";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
43
zsh/.zshrc
43
zsh/.zshrc
@@ -174,6 +174,9 @@ zinit light zdharma-continuum/zinit-annex-patch-dl
|
|||||||
zinit ice wait lucid
|
zinit ice wait lucid
|
||||||
zinit light MichaelAquilina/zsh-you-should-use
|
zinit light MichaelAquilina/zsh-you-should-use
|
||||||
|
|
||||||
|
zinit ice wait lucid
|
||||||
|
zinit light MichaelAquilina/zsh-autoswitch-virtualenv
|
||||||
|
|
||||||
zinit ice wait lucid
|
zinit ice wait lucid
|
||||||
zinit light laggardkernel/zsh-thefuck
|
zinit light laggardkernel/zsh-thefuck
|
||||||
|
|
||||||
@@ -190,21 +193,14 @@ zinit load 'wfxr/forgit'
|
|||||||
#zinit light jeffreytse/zsh-vi-mode
|
#zinit light jeffreytse/zsh-vi-mode
|
||||||
|
|
||||||
#zplug "plugins/virtualenv", from:oh-my-zsh
|
#zplug "plugins/virtualenv", from:oh-my-zsh
|
||||||
#zplug "plugins/pip", from:oh-my-zsh
|
|
||||||
#zplug "plugins/nmap", from:oh-my-zsh
|
|
||||||
#zplug "plugins/ipfs", from:oh-my-zsh
|
|
||||||
##zplug "plugins/gpg-agent", from:oh-my-zsh
|
##zplug "plugins/gpg-agent", from:oh-my-zsh
|
||||||
#zplug "plugins/rsync", from:oh-my-zsh
|
|
||||||
#zplug "plugins/rust", from:oh-my-zsh
|
|
||||||
#zplug "plugins/git", from:oh-my-zsh
|
#zplug "plugins/git", from:oh-my-zsh
|
||||||
#zplug "plugins/colored-man-pages", from:oh-my-zsh
|
|
||||||
#zplug "plugins/command-not-found", from:oh-my-zsh
|
#zplug "plugins/command-not-found", from:oh-my-zsh
|
||||||
##zplug "plugins/tmux", from:oh-my-zsh
|
##zplug "plugins/tmux", from:oh-my-zsh
|
||||||
#zplug "plugins/urltools", from:oh-my-zsh
|
#zplug "plugins/urltools", from:oh-my-zsh
|
||||||
##zplug "plugins/thefuck", from:oh-my-zsh #Used interchangably with
|
##zplug "plugins/thefuck", from:oh-my-zsh #Used interchangably with
|
||||||
##setopt correct #<-This option
|
##setopt correct #<-This option
|
||||||
## Load completion library for those sweet [tab] squares
|
## Load completion library for those sweet [tab] squares
|
||||||
#zplug "lib/completion", from:oh-my-zsh
|
|
||||||
##zplug "mollifier/anyframe", from:github
|
##zplug "mollifier/anyframe", from:github
|
||||||
## Misc. visual tweaks
|
## Misc. visual tweaks
|
||||||
## zplug "modules/prompt", from:prezto
|
## zplug "modules/prompt", from:prezto
|
||||||
@@ -215,8 +211,18 @@ zinit load 'wfxr/forgit'
|
|||||||
## Syntax highlighting for commands, load last
|
## Syntax highlighting for commands, load last
|
||||||
#zplug "zsh-users/zsh-syntax-highlighting", from:github, defer:3
|
#zplug "zsh-users/zsh-syntax-highlighting", from:github, defer:3
|
||||||
#zplug "Aloxaf/gencomp", defer:3
|
#zplug "Aloxaf/gencomp", defer:3
|
||||||
|
zinit snippet OMZP::pip
|
||||||
zinit snippet ~/.zsh_compl/zoxide
|
#zinit snippet OMZP::adb
|
||||||
|
zinit snippet OMZP::aliases
|
||||||
|
zinit snippet OMZP::encode64
|
||||||
|
#zinit snippet OMZP::fd
|
||||||
|
#zinit snippet OMZP::ripgrep
|
||||||
|
zinit snippet OMZP::nmap
|
||||||
|
#zinit snippet OMZP::ipfs
|
||||||
|
zinit snippet OMZP::rsync
|
||||||
|
zinit snippet OMZP::colored-man-pages
|
||||||
|
zinit snippet OMZP::rust
|
||||||
|
zinit snippet OMZP::zoxide
|
||||||
zinit snippet OMZL::completion.zsh
|
zinit snippet OMZL::completion.zsh
|
||||||
|
|
||||||
zinit wait lucid for \
|
zinit wait lucid for \
|
||||||
@@ -229,6 +235,25 @@ zinit wait lucid for \
|
|||||||
|
|
||||||
#[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
#[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||||
zinit pack"binary" for fzf
|
zinit pack"binary" for fzf
|
||||||
|
|
||||||
|
|
||||||
|
# GPG-SSH INTEGRATION
|
||||||
|
unset SSH_AGENT_PID
|
||||||
|
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
|
||||||
|
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||||
|
fi
|
||||||
|
export GPG_TTY=$(tty)
|
||||||
|
gpg-connect-agent updatestartuptty /bye >/dev/null
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
(( ! ${+functions[p10k]} )) || p10k finalize
|
(( ! ${+functions[p10k]} )) || p10k finalize
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user