Fuzzel-scripts

This is a collection of scripts for fuzzel.


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, and wl-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 on fuzzel, and libnotify.

file-context-menu

A script to show context menu for a given file path, currently supports copy path, copy file, and open file.
This depends on fuzzel, and gio (part of glib).

sway-window-switcher

A helpful tool to list and switch to the windows opened in sway.
This depends on fuzzel, and swaymsg.

Also checkout

fuzzmoji: a shameless fork of rofmoji that uses fuzzel instead of rofi to insert emoji to any focused window.


Mentions

Looking for comments? This website uses webmention instead, the standard way for websites to talk to each other, you can either send me one through your website, or use the below form to submit your mention. If you do not own a website, send me an email instead.

Toggle the webmention form
All webmentions will be held for moderation by me before publishing it.

About me

Coding Otaku Logo

I'm Rahul Sivananda (he/him), the Internet knows me by the name Coding Otaku (they/them). I used to work as a Full-Stack Developer in London, now actively looking for a job after being laid off.

I care about Accessibility, Minimalism, and good User Experiences. I create small tools and scripts to make the life easy. If you need help or support with GNU/Linux system, or making your website accessible, you can reach out to me!

Following me

Subscribe to my web feeds if you like what I post and want to read them without visiting this website!

You can also find me on Mastodon, Codeberg, or Peertube.

Get my cURL card with curl -sL https://codingotaku.com/cc.

Supporting me

If you would like to help me to keep this site and my silly projects running, you can now donate to me through Liberapay or Stripe

Continue Reading

Like this post? there's more where that came from! Continue reading.

Recent Projects

Subscribe via Atom or JSON feeds.