aboutsummaryrefslogtreecommitdiffstats
path: root/bin/udt-launcher.sh
blob: 34dc556a475a78c60b11ba5133f513c3a3c9f400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
# udt-launcher.sh - fullscreen app launcher: apps, executables, folders
# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
#
# 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.
#
# 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.
#
# 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.

# 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