Leftwm and ssh session goop

This commit is contained in:
Dan Buch 2022-03-06 13:46:07 -05:00
parent 376933605c
commit b115edd210
Signed by: meatballhat
GPG Key ID: A12F782281063434
3 changed files with 7 additions and 22 deletions

View File

@ -43,6 +43,11 @@ value = "slock"
modifier = ["modkey", "Control"] modifier = ["modkey", "Control"]
key = "l" key = "l"
[[keybind]]
command = "ToggleFullScreen"
modifier = ["modkey", "Shift"]
key = "f"
[[keybind]] [[keybind]]
command = "MoveToLastWorkspace" command = "MoveToLastWorkspace"
modifier = ["modkey", "Shift"] modifier = ["modkey", "Shift"]

View File

@ -16,4 +16,6 @@ function _xinit_setup_xinput() {
_xinit_setup_xinput _xinit_setup_xinput
eval "$(ssh-agent)"
exec leftwm exec leftwm

22
zshrc
View File

@ -169,26 +169,6 @@ done
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
function dump-ssh-agent() {
env | awk '/SSH/ {
sub(/=/, "=\"", $1)
sub(/$/, "\"", $1)
print "export " $1
}' | tee ~/.ssh/agent.out
}
function load-ssh-agent() {
source ~/.ssh/agent.out
}
function start-ssh-agent() {
ssh-agent >~/.ssh/agent.out
}
function setup-ssh-agent() {
start-ssh-agent && load-ssh-agent
}
function __maybesource() { function __maybesource() {
if [[ -f "${1}" ]]; then if [[ -f "${1}" ]]; then
if [[ "${2}" == silent ]]; then if [[ "${2}" == silent ]]; then
@ -221,8 +201,6 @@ function docker-cleanup() {
done done
} }
load-ssh-agent &>/dev/null
export NVM_DIR="${HOME}/.nvm" export NVM_DIR="${HOME}/.nvm"
__maybesource ~/.zshenv __maybesource ~/.zshenv