From e5640a548afb6aaae4fac8164e93c8727d2c1f90 Mon Sep 17 00:00:00 2001 From: Charles Daniels Date: Sat, 18 May 2019 13:55:42 -0400 Subject: [PATCH] setup albert on Linux --- install.sh | 5 +++++ overlay/.cwmrc | 3 +-- overlay/.xsession | 6 ++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 5d6e0fd..15be119 100755 --- a/install.sh +++ b/install.sh @@ -28,6 +28,11 @@ find . -type f | while read -r target ; do cp "$target" "$dest_file" done +# no albert on OpenBSD +if [ $(uname) = "OpenBSD" ] ; then + echo 'bind-key M-space menu-exec' >> ~/.cwmrc +fi + # setup gitconfig git_username="$(git config --get user.name)" git_email="$(git config --get user.email)" diff --git a/overlay/.cwmrc b/overlay/.cwmrc index b09199a..aac4663 100644 --- a/overlay/.cwmrc +++ b/overlay/.cwmrc @@ -78,9 +78,8 @@ bind-key MS-l window-resize-right-big bind-key M-v window-vtile # tile windows vertically bind-key M-c window-htile # tile windows horizontally bind-key M-slash menu-window # search open windows -bind-key M-d menu-cmd # run a command +bind-key M-d menu-exec # run a command bind-key M-question menu-exec # run a shell command -bind-key M-space "xfce4-appfinder" bind-key M-period menu-ssh # show ssh menu # reset window size bind-key MS-space window-center diff --git a/overlay/.xsession b/overlay/.xsession index 792c9cb..60dde2a 100644 --- a/overlay/.xsession +++ b/overlay/.xsession @@ -54,5 +54,11 @@ fi # Xorg. xkbset nullify lock +# launch Albert +if [ "$(uname)" != "OpenBSD" ] ; then + albert & +fi + # launch cwm exec cwm + -- 2.38.5