adding wofi and config and emacs tree-sitter and mastodon
This commit is contained in:
		
							parent
							
								
									cead77a46e
								
							
						
					
					
						commit
						a666cb7daa
					
				
					 5 changed files with 19 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,4 +5,5 @@ parse_action=true
 | 
			
		|||
allow_images=true
 | 
			
		||||
dynamic_lines=true
 | 
			
		||||
term=alacritty
 | 
			
		||||
# key_forward=Control_L+j
 | 
			
		||||
key_forward=Control_L-j
 | 
			
		||||
key_backward=Control_L-k
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue