From a666cb7daa586ec33576e23054b8fb8a09c7d5a2 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Fri, 18 Nov 2022 09:33:34 -0600 Subject: [PATCH] adding wofi and config and emacs tree-sitter and mastodon --- README.org | 4 ++++ scripts/kderofi-rbw | 10 +++++----- system/kaladin/configuration.nix | 4 ++++ system/syl/configuration.nix | 4 ++++ wofi/config | 3 ++- 5 files changed, 19 insertions(+), 6 deletions(-) diff --git a/README.org b/README.org index 94b6f74..56a02f9 100644 --- a/README.org +++ b/README.org @@ -380,6 +380,7 @@ alacritty libsForQt5.bismuth libnotify rofi-wayland +wofi waybar eww wlrctl @@ -548,6 +549,8 @@ services.emacs = { pdf-tools eglot consult-eglot + tree-sitter + tree-sitter-langs org org-roam command-log-mode @@ -642,6 +645,7 @@ services.emacs = { password-store-otp plz ement + mastodon qrencode gcmh use-package diff --git a/scripts/kderofi-rbw b/scripts/kderofi-rbw index 135001f..bcded99 100755 --- a/scripts/kderofi-rbw +++ b/scripts/kderofi-rbw @@ -17,7 +17,7 @@ export YDOTOOL_SOCKET=/tmp/ydotools # Get all password files and create an array root=~/.password-store -CACHE=~/.local/tmp/pass_rofi +CACHE=~/.local/tmp/pass_wofi seat=seat0 rbw sync @@ -30,7 +30,7 @@ passwords=$list_passwords prompt='BW' if [ $XDG_SESSION_TYPE = "x11" ]; then - SECRET=$(list_passwords | rofi -sync -i -p "${prompt}" -dmenu -theme ~/.config/rofi/launchers-git/$style.rasi + SECRET=$(list_passwords | wofi -i --prompt="${prompt}" --dmenu --cache-file ${CACHE} # $@ & # c=0 # while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do @@ -40,7 +40,7 @@ if [ $XDG_SESSION_TYPE = "x11" ]; then # done ) else - SECRET=$(list_passwords | rofi -no-lazy-grab -sync -i -p "${prompt}" -dmenu -theme ~/.config/rofi/launchers-git/$style.rasi) + SECRET=$(list_passwords | wofi -i --prompt="${prompt}" --dmenu --cache-file ${CACHE}) fi # Ask whether pass, user or both are required @@ -51,7 +51,7 @@ options=("Password" \ "OTP") if [ $XDG_SESSION_TYPE = "x11" ]; then - option=$(printf '%s\n' "${options[@]%}" | rofi -i -sync -dmenu -p "" -theme ~/.config/rofi/launchers-git/$style.rasi + option=$(printf '%s\n' "${options[@]%}" | wofi -i --dmenu --width 400 --prompt="..." --cache-file /dev/null # $@ & # c=0 # while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do @@ -61,7 +61,7 @@ if [ $XDG_SESSION_TYPE = "x11" ]; then # done ) else - option=$(printf '%s\n' "${options[@]%}" | rofi -i -sync -dmenu -p "" -theme ~/.config/rofi/launchers-git/$style.rasi) + option=$(printf '%s\n' "${options[@]%}" | wofi -i --dmenu --width 400 --lines 8 --prompt="..." --cache-file /dev/null) fi # echo $option diff --git a/system/kaladin/configuration.nix b/system/kaladin/configuration.nix index a812f65..da6d656 100644 --- a/system/kaladin/configuration.nix +++ b/system/kaladin/configuration.nix @@ -265,6 +265,7 @@ libsForQt5.bismuth libnotify rofi-wayland + wofi waybar eww wlrctl @@ -417,6 +418,8 @@ pdf-tools eglot consult-eglot + tree-sitter + tree-sitter-langs org org-roam command-log-mode @@ -511,6 +514,7 @@ password-store-otp plz ement + mastodon qrencode gcmh use-package diff --git a/system/syl/configuration.nix b/system/syl/configuration.nix index d949446..4b7b0ec 100644 --- a/system/syl/configuration.nix +++ b/system/syl/configuration.nix @@ -284,6 +284,7 @@ libsForQt5.bismuth libnotify rofi-wayland + wofi waybar eww wlrctl @@ -407,6 +408,8 @@ pdf-tools eglot consult-eglot + tree-sitter + tree-sitter-langs org org-roam command-log-mode @@ -501,6 +504,7 @@ password-store-otp plz ement + mastodon qrencode gcmh use-package diff --git a/wofi/config b/wofi/config index 49d93bf..24e7663 100644 --- a/wofi/config +++ b/wofi/config @@ -5,4 +5,5 @@ parse_action=true allow_images=true dynamic_lines=true term=alacritty -# key_forward=Control_L+j \ No newline at end of file +key_forward=Control_L-j +key_backward=Control_L-k \ No newline at end of file