Skip to content

nirabyte/dotfiles

Repository files navigation

Theme: Catppuccin

System Preview

Omarchy walker inspired layout in Tofi

Application Launcher

Tofi Configuration

This repository provides configurations and scripts for Tofi (application launcher and clipboard menu) instead of Walker.

Note: This configuration is set up for matching Catppuccin theme. It may not match your current Omarchy theme. You can change the theme to your liking.


The tofi/ directory contains styling and configuration files for Tofi.

Installation

  1. Copy the contents to your Tofi config directory:
mkdir -p ~/.config/tofi
cp -r tofi/* ~/.config/tofi/

Example Configs

  • ~/.config/tofi/configA – application launcher
  • ~/.config/tofi/configC – Keybindings
  • ~/.config/tofi/configV – clipboard menu

You may rename or modify these files as needed.

  1. Copy Omarchy scripts to the Omarchy bin directory:
mkdir -p ~/.local/share/omarchy/bin
cp scripts/omarchy-keybindings-tofi scripts/omarchy-menu-tofi ~/.local/share/omarchy/bin
chmod +x ~/.local/share/omarchy/bin/omarchy-*

Tofi Application Launcher

  1. Define the launcher command in hyprland.conf:
$menu = tofi-drun -c ~/.config/tofi/configA --drun-launch=true
  1. Bind it:
bind = SUPER, Space, exec, $menu

You can change the keybinding or config file according to your preference.

Screenshot

Application Launcher


Tofi Main Menu

  1. Bind it in hyprland.conf
bind = SUPER, M, exec, omarchy-menu-tofi

Screenshot

Main Menu

Includes all the menu provided by default Omarchy walker.

To add more actions, edit the Entry Point / Args Handling section inside:

scripts/omarchy-menu-tofi

You can also create additional keybindings that call omarchy-menu-tofi with arguments.


Clipboard Manager (Tofi + Cliphist)

Clipboard Menu with Notifications

  1. Add this to your hyprland.conf.

Bind it to your preference.

bind = SUPER, V, exec, selected=$(cliphist list | tofi -c ~/.config/tofi/configV); [ -z "$selected" ] && exit 0; tmp=$(mktemp); echo "$selected" | cliphist decode > "$tmp"; wl-copy < "$tmp"; if file --dereference --brief --mime-type "$tmp" | grep -q "^image/"; then notify-send -t 1500 -i image-x-generic "Clipboard" "Image copied!"; else notify-send -t 1500 -i edit-copy "Clipboard" "Text copied!"; fi; rm "$tmp"exec-once = wl-paste --type text --watch cliphist store

Notifications are handled by mako (Omarchy default).

Clipboard Background Services

  1. Add these once in autostart.conf
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
  1. Optional: clear clipboard history on reboot:
exec-once = rm "$HOME/.cache/cliphist/db"

Clipboard Cleanup Shortcuts

  1. Optional: Add this to your hyprland.conf as well.
bind = SUPER SHIFT, V, exec, \
cliphist list | tofi -c ~/.config/tofi/configV --prompt-text "󱘛 : " | cut -f1 | cliphist delete

Optional: Wipe entire clipboard history

bind = SUPER ALT, V, exec, cliphist wipe

Screenshot

Clipboard


Keybindings Helper Menu

Show all keybindings using Tofi:

Bind it in your hyprland.conf

bind = SUPER, K, Show key bindings, exec, omarchy-keybindings-tofi

Screenshot

Keybindings


Hyprland File Organization

You can place configuration in any file inside ~/.config/hypr/.

Example layout:

hypr/
├── autostart.conf
├── bindings.conf
├── hyprland.conf
├── ....

Source them from hyprland.conf:

Note: You can change the keybinding or config file according to your preference.


Wlogout

wlogout

About

arch+hyprland config files

Resources

Stars

Watchers

Forks