From 0ebcfc90ed717d9bf263acbc6f40497e38969d93 Mon Sep 17 00:00:00 2001 From: EvilMuffinHa Date: Tue, 15 Feb 2022 08:07:48 -0500 Subject: [PATCH] xsecurelock --- scripts/xsec | 4 +-- themectl/templates/variables.mustache | 35 +++++++++++++-------------- zsh/zshrc | 9 ++++--- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/scripts/xsec b/scripts/xsec index 66986fd..871e376 100755 --- a/scripts/xsec +++ b/scripts/xsec @@ -1,5 +1,5 @@ #!/bin/bash -source "$HOME"/.cache/wal/colors.sh +source "$HOME"/.cache/theme/variables.sh -XSECURELOCK_AUTH_BACKGROUND_COLOR=$background XSECURELOCK_AUTH_FOREGROUND_COLOR=$foreground XSECURELOCK_NO_COMPOSITE=1 xsecurelock +XSECURELOCK_AUTH_BACKGROUND_COLOR=$color00 XSECURELOCK_AUTH_FOREGROUND_COLOR=$color07 XSECURELOCK_NO_COMPOSITE=1 xsecurelock diff --git a/themectl/templates/variables.mustache b/themectl/templates/variables.mustache index d5039e3..366819b 100644 --- a/themectl/templates/variables.mustache +++ b/themectl/templates/variables.mustache @@ -1,19 +1,18 @@ +#!/bin/bash - -color00='#{{base00-hex}}' -color01='#{{base08-hex}}' -color02='#{{base0B-hex}}' -color03='#{{base0A-hex}}' -color04='#{{base0D-hex}}' -color05='#{{base0E-hex}}' -color06='#{{base0C-hex}}' -color07='#{{base05-hex}}' -color08='#{{base03-hex}}' -color09=$color01 -color10=$color02 -color11=$color03 -color12=$color04 -color13=$color05 -color14=$color06 -color15='#{{base07-hex}}' - +export color00='#{{base00-hex}}' +export color01='#{{base08-hex}}' +export color02='#{{base0B-hex}}' +export color03='#{{base0A-hex}}' +export color04='#{{base0D-hex}}' +export color05='#{{base0E-hex}}' +export color06='#{{base0C-hex}}' +export color07='#{{base05-hex}}' +export color08='#{{base03-hex}}' +export color09=$color01 +export color10=$color02 +export color11=$color03 +export color12=$color04 +export color13=$color05 +export color14=$color06 +export color15='#{{base07-hex}}' diff --git a/zsh/zshrc b/zsh/zshrc index 030ec65..ee0144a 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -2,16 +2,17 @@ export PATH=$HOME/.config/bin:$PATH:$HOME/.local/bin:$HOME/.local/share/texlive/ export MANPATH=$MANPATH:$HOME/.local/share/texlive/2021/texmf-dist/doc/man export INFOPATH=$INFOPATH:$HOME/.local/share/texlive/2021/texmf-dist/doc/info +. "$HOME"/.cache/theme/colors.sh +. "$HOME"/.cache/theme/variables.sh + alias gef='gdb --eval-command="source /usr/share/gef/gef.py"' alias pwndbg='gdb --eval-command="source /usr/share/pwndbg/gdbinit.py"' alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"' alias neofetch='neofetch --kitty $XDG_CONFIG_HOME/neofetch/$(hostname).png --size 400px' alias la='exa -lah --icons' alias ll='exa -lah --icons' -alias xsecurelock='XSECURELOCK_NO_COMPOSITE=1 XSECURELOCK_AUTH_BACKGROUND_COLOR=$background XSECURELOCK_AUTH_FOREGROUND_COLOR=$foreground xsecurelock' + +alias xsecurelock='XSECURELOCK_NO_COMPOSITE=1 XSECURELOCK_AUTH_BACKGROUND_COLOR=$color00 XSECURELOCK_AUTH_FOREGROUND_COLOR=$color07 xsecurelock' source ~/.zshenv -source ~/.cache/theme/variables.sh -source ~/.cache/theme/colors.sh -