Site preferences
Preferences



*The preferences are saved using cookies because this website does not use Javascript.
To clear the cookies, select Clear Cookies and click submit, this will also reset all the preferences to default.
The cookies are not used for analytics, read the privacy policy for more details.

Fuzzel-scripts

This is a collection of scripts for fuzzel.

This page was published on , and was last updated on .
Source: https://codeberg.org/codingotaku/fuzzel-scripts
Tags:


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.

0. Clone this repository

git clone https://codeberg.org/codingotaku/fuzzel-scripts.git

1. Install the dependencies

Go through the contents, install the dependencies for the scripts you want to use.

2. 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

3. You probably want to bind each script to a key (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.

Contents

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.

About me

Coding Otaku Logo

I'm Rahul Sivananda (he/him), the Internet knows me by the name Coding Otaku. I work as a Full-Stack Developer at IBM in London.

I care about Accessibility, Minimalism, and good user experiences. Sometimes I write stories and draw things.

Get my cURL card with curl -sL https://codingotaku.com/cc
Find me on Mastodon, Codeberg, or Peertube.
Subscribe to my feeds.

Continue Reading

Next

All my projects can be subscribed to using RSS(Atom) or JSON feeds, if you do not know how to use feeds, I have a page with instructions on how to do that.

Comments

You can comment on this post here, all fields except the comment and answer are optional.









Recent Projects

Subscribe via Atom or JSON feeds.