Compare commits
No commits in common. "6139453f62e8419304df555cbf5ce981eb4af5a0" and "ea95fdec97ff7f5474ec4370e75e3b7dfdfaf943" have entirely different histories.
6139453f62
...
ea95fdec97
8 changed files with 11 additions and 65 deletions
|
@ -1,28 +0,0 @@
|
|||
#!/bin/zsh
|
||||
# set -x
|
||||
|
||||
if test -z $ROFI_RETV
|
||||
then
|
||||
rofi -show gopass -modi "gopass:$0" -kb-accept-custom "" -kb-accept-alt "" -kb-custom-2 "Control+Return" -kb-custom-1 "Shift+Return"
|
||||
fi
|
||||
|
||||
# echo "args $* --- retv $ROFI_RETV" >&2
|
||||
|
||||
error() {
|
||||
local msg=$1
|
||||
|
||||
echo -e "\0message\x1f<span color='red'>$(xargs <<< $msg)</span>\n"
|
||||
gopass ls -f
|
||||
}
|
||||
|
||||
case "$ROFI_RETV" in
|
||||
# run it in backgroud and quit rofi
|
||||
0) echo -e "\0use-hot-keys\x1ftrue\n"
|
||||
echo -e "\0message\x1fShift-Enter for OTP\n"
|
||||
gopass ls -f ;;
|
||||
1) ( gopass show -c $1 > /dev/null ) & ;;
|
||||
10) (
|
||||
out=$(gopass otp -c $1 2>&1)
|
||||
(( $? > 0 )) && error "$out"
|
||||
) & ;;
|
||||
esac
|
|
@ -18,7 +18,7 @@
|
|||
# of these registries, it should be added at the end of the list.
|
||||
#
|
||||
# # An array of host[:port] registries to try when pulling an unqualified image, in order.
|
||||
unqualified-search-registries = ["dhub.corp.metrans.cz", "docker.io"]
|
||||
unqualified-search-registries = ["docker.io"]
|
||||
#
|
||||
# [[registry]]
|
||||
# # The "prefix" field is used to choose the relevant [[registry]] TOML table;
|
||||
|
|
|
@ -32,7 +32,7 @@ hc keybind $Mod-x spawn systemd-run --scope --user rofi -modi drun -show drun
|
|||
hc keybind $Mod-Shift-x spawn systemd-run --scope --user rofi -show fb -modi "fb:${HOME}/.config/herbstluftwm/file-browser"
|
||||
hc keybind $Mod-z spawn systemd-run --scope --user rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'
|
||||
hc keybind $Mod-c spawn systemd-run --scope --user rofi -lines 0 -show calc -modi calc -no-show-match -no-sort -no-history -calc-command "echo -n '{result}' | xclip"
|
||||
hc keybind $Mod-a spawn systemd-run --scope --user ~/bin/gopassmenu
|
||||
hc keybind $Mod-a spawn systemd-run --scope --user zsh -c 'gopass ls -f | rofi -dmenu -p "Select password " | read p ; gopass show --clip $p'
|
||||
hc keybind $Mod-Shift-a spawn systemd-run --scope --user rofi -show pb -modi "pb:$HOME/.config/herbstluftwm/passboltmenu2"
|
||||
hc keybind $Mod-m spawn systemd-run --scope --user ~/.config/herbstluftwm/pmount-dmenu
|
||||
hc keybind $Mod-Escape spawn systemd-run --scope --user dunstctl close
|
||||
|
@ -234,7 +234,6 @@ hc attr settings.auto_detect_monitors 1
|
|||
# unlock, just to be sure
|
||||
hc unlock
|
||||
|
||||
hc setenv SSH_AUTH_SOCK "$(gpgconf --list-dirs agent-ssh-socket)"
|
||||
systemctl --user import-environment DISPLAY XAUTHORITY XDG_SESSION_PATH
|
||||
|
||||
systemctl restart --no-block --user "hlwm.target"
|
||||
|
|
|
@ -2213,7 +2213,6 @@ map kitty_mod+enter launch --type os-window --cwd=current
|
|||
#: Insert selected path
|
||||
|
||||
# map kitty_mod+p>f kitten hints --type path --program -
|
||||
map kitty_mod+p>kitty_mod+f kitten hints --type path --program @
|
||||
|
||||
#:: Select a path/filename and insert it into the terminal. Useful,
|
||||
#:: for instance to run git commands on a filename output from a
|
||||
|
|
|
@ -58,10 +58,9 @@ http {
|
|||
add_header "Vary" "Origin";
|
||||
access_log off;
|
||||
|
||||
client_body_temp_path /run/user/1000/nginx/body;
|
||||
fastcgi_temp_path /run/user/1000/nginx/fastcgi;
|
||||
uwsgi_temp_path /run/user/1000/nginx/uwsgi;
|
||||
scgi_temp_path /run/user/1000/nginx/scgi;
|
||||
client_body_temp_path /run/user/{{ .chezmoi.uid }}/nginx/body;
|
||||
fastcgi_temp_path /run/user/{{ .chezmoi.uid }}/nginx/fastcgi;
|
||||
|
||||
|
||||
server {
|
||||
server_name files.*;
|
||||
|
|
|
@ -15,7 +15,7 @@ return {
|
|||
end
|
||||
end,
|
||||
dependencies = {
|
||||
{ 'rcarriga/nvim-dap-ui', dependencies = { 'nvim-neotest/nvim-nio' } },
|
||||
{ 'rcarriga/nvim-dap-ui', dependencies = 'nvim-neotest/nvim-nio' },
|
||||
'williamboman/mason.nvim',
|
||||
},
|
||||
keys = {
|
||||
|
@ -64,23 +64,7 @@ return {
|
|||
port = 9000,
|
||||
},
|
||||
},
|
||||
}, -- }}}
|
||||
dockerfile = { -- {{{
|
||||
adapter = {
|
||||
type = 'executable',
|
||||
command = 'buildg',
|
||||
args = { 'dap', 'serve' },
|
||||
},
|
||||
confs = {
|
||||
{
|
||||
type = 'dockerfile',
|
||||
name = 'Dockerfile configuration',
|
||||
request = 'launch',
|
||||
stopOnEntry = true,
|
||||
program = 'file',
|
||||
},
|
||||
},
|
||||
}, --- }}}
|
||||
}, -- }}}
|
||||
},
|
||||
config = function(_plug, opts)
|
||||
-- signs - move to colorsheme? {{{
|
||||
|
|
|
@ -16,6 +16,8 @@ alias wine32="WINEARCH=win32 WINEPREFIX=$HOME/.wine32 wine"
|
|||
|
||||
alias lg=lazygit
|
||||
|
||||
alias catdb='git --no-pager show HEAD:www/app/config/database.cfg.d/connections.cfg.d/basic.cfg.php'
|
||||
|
||||
alias scur='systemctl --user restart'
|
||||
alias scus='systemctl --user stop'
|
||||
alias scust='systemctl --user status'
|
||||
|
@ -25,8 +27,6 @@ alias ls='ls --color=tty --hyperlink=auto'
|
|||
alias l='ls -lh'
|
||||
alias la='l -a'
|
||||
|
||||
alias grep='grep --color=auto'
|
||||
|
||||
alias ip='ip --color=auto'
|
||||
|
||||
alias _=sudo
|
||||
|
@ -40,11 +40,9 @@ alias -g ....='../../..'
|
|||
alias -g .....='../../../..'
|
||||
alias -g ......='../../../../..'
|
||||
|
||||
[[ -n $KITTY_PID ]] && alias ssh='kitten ssh'
|
||||
alias ssh='kitten ssh'
|
||||
|
||||
# alias podr='podman run -it --rm -e http_proxy=http://172.17.1.233:3128'
|
||||
# alias podrs='podman run -it --rm -e http_proxy=http://172.17.1.233:3128 --entrypoint /bin/sh'
|
||||
alias podr='podman run -it --rm'
|
||||
alias podr='podman run -it --rm'
|
||||
alias podrs='podman run -it --rm --entrypoint /bin/sh'
|
||||
|
||||
alias ffprobe='ffprobe -hide_banner'
|
||||
|
|
|
@ -1,7 +1,2 @@
|
|||
_zprintlevel=1
|
||||
source ~/.config/zsh/init.zsh
|
||||
|
||||
autoload -U +X bashcompinit && bashcompinit
|
||||
complete -o nospace -C /home/vladimir/bin/grr grr
|
||||
|
||||
complete -o nospace -C /usr/bin/mcli mcli
|
||||
|
|
Loading…
Add table
Reference in a new issue