fix: bin/pass* use clipboard instead of type
This commit is contained in:
parent
ec5a258e15
commit
346a498e7d
1
.config/mpv/mpv.conf
Normal file
1
.config/mpv/mpv.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
ytdl-format=bestvideo[height<=?1080]+bestaudio/best
|
@ -56,7 +56,6 @@ vim.cmd("packadd plenary")
|
|||||||
|
|
||||||
require"theme"
|
require"theme"
|
||||||
|
|
||||||
require"pack-easy-align"
|
|
||||||
require"pack-lspconfig"
|
require"pack-lspconfig"
|
||||||
require"pack-telescope"
|
require"pack-telescope"
|
||||||
require"pack-treesitter"
|
require"pack-treesitter"
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
vim.cmd("packadd easy-align")
|
|
||||||
|
|
||||||
vim.keymap.set("n", "ga", "<Plug>(EasyAlign)")
|
|
||||||
vim.keymap.set("x", "ga", "<Plug>(EasyAlign)")
|
|
||||||
|
|
||||||
vim.g.easy_align_delimiters = {
|
|
||||||
["\\"] = { ["pattern"] = "\\\\$" }
|
|
||||||
}
|
|
@ -2,6 +2,7 @@ vim.cmd("packadd treesitter")
|
|||||||
require"nvim-treesitter.configs".setup {
|
require"nvim-treesitter.configs".setup {
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
|
ignore_install = { "gitcommit" }, -- broken
|
||||||
}
|
}
|
||||||
|
|
||||||
vim.cmd("TSUpdate")
|
vim.cmd("TSUpdate")
|
||||||
|
@ -1 +0,0 @@
|
|||||||
Subproject commit 12dd6316974f71ce333e360c0260b4e1f81169c3
|
|
@ -1 +1 @@
|
|||||||
Subproject commit aa83606299c5beeaf80e656efbf07bde258db7be
|
Subproject commit dc1ea28cc2a02cd1cebb9d80e967807d668f78f8
|
@ -1 +1 @@
|
|||||||
Subproject commit a47540fd737eb5c03ee21ee69eb8134ce5568fb6
|
Subproject commit 212b7a504cf56f85d1acc5be237261b42d7560c5
|
@ -4,7 +4,5 @@ set -e
|
|||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
for d in */; do
|
for d in */; do
|
||||||
(if cd "$d" 2> /dev/null; then
|
(cd "$d" && sudo make clean install)
|
||||||
sudo make clean install
|
|
||||||
fi)
|
|
||||||
done
|
done
|
||||||
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,6 +1,3 @@
|
|||||||
[submodule ".config/nvim/pack/plugins/opt/easy-align"]
|
|
||||||
path = .config/nvim/pack/plugins/opt/easy-align
|
|
||||||
url = https://github.com/junegunn/vim-easy-align.git
|
|
||||||
[submodule ".config/nvim/pack/plugins/opt/onedark"]
|
[submodule ".config/nvim/pack/plugins/opt/onedark"]
|
||||||
path = .config/nvim/pack/plugins/opt/onedark
|
path = .config/nvim/pack/plugins/opt/onedark
|
||||||
url = https://github.com/navarasu/onedark.nvim
|
url = https://github.com/navarasu/onedark.nvim
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
[Environment]
|
[Context]
|
||||||
GTK_THEME=Materia-dark
|
filesystems=xdg-config/gtk-3.0:ro;
|
||||||
|
3
.xinitrc
3
.xinitrc
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
dbus-update-activation-environment --systemd DISPLAY XAUTHORITY
|
||||||
|
|
||||||
# startup
|
# startup
|
||||||
autorandr -c &
|
autorandr -c &
|
||||||
xss-lock -n screensaver -- lock &
|
xss-lock -n screensaver -- lock &
|
||||||
@ -11,5 +13,4 @@ gammastep 2> /dev/null &
|
|||||||
sbar &
|
sbar &
|
||||||
flameshot &
|
flameshot &
|
||||||
|
|
||||||
dbus-update-activation-environment --systemd DISPLAY XAUTHORITY
|
|
||||||
exec dwm
|
exec dwm
|
||||||
|
2
bin/am
2
bin/am
@ -8,7 +8,7 @@
|
|||||||
function get_row() {
|
function get_row() {
|
||||||
local row _col
|
local row _col
|
||||||
|
|
||||||
IFS=';' read -sdR -p $'\e[6n' row _col
|
IFS=';' read -rsdR -p $'\e[6n' row _col
|
||||||
echo "${row#??}"
|
echo "${row#??}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
xdotool type --clearmodifiers --delay 0 "$(pass otp "$(cat /tmp/passselect)")"
|
txt="$(pass otp "$(cat /tmp/passselect)")"
|
||||||
|
bak="$(xclip -o -sel c)"
|
||||||
|
|
||||||
|
xclip -sel c <<< "$txt"
|
||||||
|
xdotool key --clearmodifiers 'ctrl+v'
|
||||||
|
xclip -sel c <<< "$txt"
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
xdotool type --clearmodifiers --delay 0 "$(pass "$(cat /tmp/passselect)" | head -n1 -)"
|
txt="$(pass "$(cat /tmp/passselect)" | head -n1 -)"
|
||||||
|
bak="$(xclip -o -sel c)"
|
||||||
|
|
||||||
|
xclip -sel c <<< "$txt"
|
||||||
|
xdotool key --clearmodifiers 'ctrl+v'
|
||||||
|
xclip -sel c <<< "$txt"
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
xdotool type --clearmodifiers --delay 0 "$(pass "$(cat /tmp/passselect)" | sed -n '/^Username:/{s/Username:\s*//p;q}')"
|
txt="$(pass "$(cat /tmp/passselect)" | sed -n '/^Username:/{s/Username:\s*//p;q}')"
|
||||||
|
bak="$(xclip -o -sel c)"
|
||||||
|
|
||||||
|
xclip -sel c <<< "$txt"
|
||||||
|
xdotool key --clearmodifiers 'ctrl+v'
|
||||||
|
xclip -sel c <<< "$txt"
|
||||||
|
Loading…
Reference in New Issue
Block a user