Fuzzel-scripts
This is a collection of scripts for fuzzel.
- Published on .
- Last updated on .
- Source: https://codeberg.org/codingotaku/fuzzel-scripts
About
This is a collection of scripts for fuzzel
.
Installation
If you are using gentoo, you can find this package in my cowaybuilds ebuild repository as app-misc/fuzzel-scripts
package. For generic linux installation, do the following.
Clone this repository
git clone https://codeberg.org/codingotaku/fuzzel-scripts.git
Install the dependencies
Go through the scripts, install the dependencies for the scripts you want to use.
Copy the scripts you want to the bin folder
cd fuzzel-scripts
sudo cp get-chars /usr/bin/get-chars
sudo cp launch-from-dir /usr/bin/launch-from-dir
sudo cp file-context-menu /usr/bin/file-context-menu
sudo cp sway-window-switcher /usr/bin/sway-window-switcher
# Optional, Copy the man pages
sudo cp get-chars.1 /usr/share/man/man1/get-chars.1
sudo cp launch-from-dir.1 /usr/share/man/man1/launch-from-dir.1
sudo cp file-context-menu.1 /usr/share/man/man1/file-context-menu.1
sudo cp sway-window-switcher.1 /usr/share/man/man1/sway-window-switcher.1
Keyboad sortcuts
# this works on sway or i3wm, for anything else, read the documentation for other Window manager or Desktop environment
bindsym $mod+y exec get-chars --type
bindsym $mod+g exec launch-from-dir -p $HOME/Games
bindsym $mod+Tab exec sway-window-switcher
bindsym $mod+Shift+D exec 'launch-from-dir -p $HOME/scripts -l -t popup'
file-context-menu
is special, it needs a dynamic file path as argument to make sense of using this. For example, you can bind it to the execute command in the swayimg config like I do.
Scripts
- get-chars
A simple tool that will type or print letters from specified positions of text in the clipboard, this is useful when websites use partial passwords for login. This depends on
fuzzel
,wtype
, andwl-clipboard
.- launch-from-dir
Helpful tool to launch programs stored in immediate subdirectories, I use this to launch games saved in my
$HOME/Games
directory.
This depends onfuzzel
, andlibnotify
.- file-context-menu
A script to show context menu for a given file path, currently supports
copy path
,copy file
, andopen file
.
This depends onfuzzel
, andgio
(part ofglib
).- sway-window-switcher
A helpful tool to list and switch to the windows opened in sway.
This depends onfuzzel
, andswaymsg
.
Also checkout
fuzzmoji: a shameless fork of rofmoji that uses fuzzel
instead of rofi
to insert emoji to any focused window.