From 21fa486da1b07131518eb9fa742dd29f3ab1320c Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sun, 18 Oct 2026 12:00:12 +0200 Subject: feat: fullscreen launcher with Apps, Run and Folders tabs udt-launcher.sh is rewritten: drun, run and the new udt-folders script mode as tabs, icons with names below, always on DP-1. udt-folders lists home, the GTK bookmarks and the folders in ~ with XDG icons, and opens the pick in pcmanfm-qt. The launcher no longer derives from adi1090x, so the license exceptions shrink to rofipass and udt-powermenu.sh. Co-Authored-By: Claude Opus 5.5 --- bin/udt-launcher.sh | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) (limited to 'bin/udt-launcher.sh') diff --git a/bin/udt-launcher.sh b/bin/udt-launcher.sh index d0a8013..34dc556 100755 --- a/bin/udt-launcher.sh +++ b/bin/udt-launcher.sh @@ -1,22 +1,27 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -## Derived from adi1090x/rofi, GPL-3.0 like upstream. Modifications -## Copyright (C) 2026 Danilo M. +#!/bin/bash +# udt-launcher.sh - fullscreen app launcher: apps, executables, folders +# Copyright (C) 2026 Danilo M. # -## Rofi : Launcher (Modi Drun, Run, File Browser, Window) +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. # -## Available Styles +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -## style-1 style-2 style-3 style-4 style-5 -## style-6 style-7 style-8 style-9 style-10 -## style-11 style-12 style-13 style-14 style-15 - -dir="$HOME/.config/rofi/udt" -theme='launcher' +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -## Run -rofi \ - -show drun \ - -theme ${dir}/${theme}.rasi +# Three tabs, switched with Shift+Left/Right or a click: rofi's own drun +# (sorted by use), run over $PATH, and udt-folders. Typing a category name +# ("graphics") filters Apps too, since drun matches on categories. +# Always on DP-1, the wide monitor the 10x5 grid is sized for, whichever +# monitor has focus. +exec rofi -show drun -m DP-1 \ + -modi "drun,run,󰉋 Folders:udt-folders" \ + -display-drun '󰀻 Apps' -display-run '󰆍 Run' \ + -show-icons -drun-display-format '{name}' \ + -theme ~/.config/rofi/udt/launcher.rasi -- cgit v1.2.3