adding wofi and config and emacs tree-sitter and mastodon

This commit is contained in:
Chris Cochrun 2022-11-18 09:33:34 -06:00
parent cead77a46e
commit a666cb7daa
5 changed files with 19 additions and 6 deletions

View file

@ -380,6 +380,7 @@ alacritty
libsForQt5.bismuth libsForQt5.bismuth
libnotify libnotify
rofi-wayland rofi-wayland
wofi
waybar waybar
eww eww
wlrctl wlrctl
@ -548,6 +549,8 @@ services.emacs = {
pdf-tools pdf-tools
eglot eglot
consult-eglot consult-eglot
tree-sitter
tree-sitter-langs
org org
org-roam org-roam
command-log-mode command-log-mode
@ -642,6 +645,7 @@ services.emacs = {
password-store-otp password-store-otp
plz plz
ement ement
mastodon
qrencode qrencode
gcmh gcmh
use-package use-package

View file

@ -17,7 +17,7 @@ export YDOTOOL_SOCKET=/tmp/ydotools
# Get all password files and create an array # Get all password files and create an array
root=~/.password-store root=~/.password-store
CACHE=~/.local/tmp/pass_rofi CACHE=~/.local/tmp/pass_wofi
seat=seat0 seat=seat0
rbw sync rbw sync
@ -30,7 +30,7 @@ passwords=$list_passwords
prompt='BW' prompt='BW'
if [ $XDG_SESSION_TYPE = "x11" ]; then 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 # 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 # 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 # done
) )
else 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 fi
# Ask whether pass, user or both are required # Ask whether pass, user or both are required
@ -51,7 +51,7 @@ options=("Password" \
"OTP") "OTP")
if [ $XDG_SESSION_TYPE = "x11" ]; then 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 # 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 # 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 # done
) )
else 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 fi
# echo $option # echo $option

View file

@ -265,6 +265,7 @@
libsForQt5.bismuth libsForQt5.bismuth
libnotify libnotify
rofi-wayland rofi-wayland
wofi
waybar waybar
eww eww
wlrctl wlrctl
@ -417,6 +418,8 @@
pdf-tools pdf-tools
eglot eglot
consult-eglot consult-eglot
tree-sitter
tree-sitter-langs
org org
org-roam org-roam
command-log-mode command-log-mode
@ -511,6 +514,7 @@
password-store-otp password-store-otp
plz plz
ement ement
mastodon
qrencode qrencode
gcmh gcmh
use-package use-package

View file

@ -284,6 +284,7 @@
libsForQt5.bismuth libsForQt5.bismuth
libnotify libnotify
rofi-wayland rofi-wayland
wofi
waybar waybar
eww eww
wlrctl wlrctl
@ -407,6 +408,8 @@
pdf-tools pdf-tools
eglot eglot
consult-eglot consult-eglot
tree-sitter
tree-sitter-langs
org org
org-roam org-roam
command-log-mode command-log-mode
@ -501,6 +504,7 @@
password-store-otp password-store-otp
plz plz
ement ement
mastodon
qrencode qrencode
gcmh gcmh
use-package use-package

View file

@ -5,4 +5,5 @@ parse_action=true
allow_images=true allow_images=true
dynamic_lines=true dynamic_lines=true
term=alacritty term=alacritty
# key_forward=Control_L+j key_forward=Control_L-j
key_backward=Control_L-k