config: update keybinds and remove launcher.toml

- Rename fabric-cli exec to use 'modus' instead of 'modus1'
- Add spotlight keybinds (Super+D, Super+E, Super+V, Super+W)
- Change reload bind to Alt+Shift+R
- Delete config/launcher.toml (replaced by spotlight plugins)
This commit is contained in:
sankalp committed 2026-07-12 20:17:52 +05:45
1 parent f065ce5d7c
commit a2171b7013
2 files changed
+9 -64

No files matched your search

+9 -4
View File
@@ -1,7 +1,7 @@
-- local modus = os.getenv("HOME") .. "/.config/Modus"
local modus = os.getenv("HOME") .. "/Projects/dev/Modus"
local colors = dofile(modus .. "/config/hypr/colors.lua")
local fabricSend = "fabric-cli exec modus1"
local fabricSend = "fabric-cli exec modus"
-- startup
hl.on("hyprland.start", function()
@@ -19,17 +19,22 @@ hl.on("hyprland.start", function()
end)
-- Reload Modus
hl.bind("SUPER + ALT + B", hl.dsp.exec_cmd("killall modus1; cd " .. modus .. " && uwsm app -- uv run start"))
hl.bind("ALT + SHIFT + R", hl.dsp.exec_cmd("killall modus; cd " .. modus .. " && uwsm app -- uv run start"))
-- Fabric Launcher Binds
-- Fabric Spotlight Binds
for key, method in pairs({
["SUPER + D"] = "spotlight.toggle()", -- Spotlight
["SUPER + E"] = "spotlight.toggle('em')", -- Emoji
["SUPER + V"] = "spotlight.toggle('clip')", -- Clipboard
["SUPER + W"] = "spotlight.toggle('wall')", -- Wallpaper
["SUPER + SHIFT + Y"] = "app.set_css()", -- Reload CSS
["ALT + TAB"] = "switcher.show_switcher()", -- Application Switcher
["SUPER + Z"] = "screencapture.toggle()", -- ScreenCapture
["SUPER + S"] = 'screencapture.toggle(ss="region")', -- Screenshot Region
["ALT + SPACE"] = "switch_keyboard_layout()", -- KB_Layout Switcher
["ALT + SHIFT + W"] = "spotlight.toggle('wr', external=True)", -- Random Wallpaper
}) do
hl.bind(key, hl.dsp.exec_cmd(fabricSend .. " '" .. method .. "'"))
hl.bind(key, hl.dsp.exec_cmd(fabricSend .. ' "' .. method .. '"'))
end
-- Layer Rules
-60
View File
@@ -1,60 +0,0 @@
[launcher_config.em]
icon = "emoji-people-symbolic"
description = "Emoji - Search and copy emojis"
examples = [
"em updatejson",
]
[launcher_config.clip]
icon = "app.getclipboard.Clipboard"
description = "Clipboard - Search and manage clipboard history"
[launcher_config."="]
icon = "calculator"
description = "Quick Math - Fast mathematical expressions"
examples = [
"= 10*5",
"= 2^8",
"= sin(30)",
]
[launcher_config.app]
icon = "apps"
description = "Applications - Launch installed applications"
[launcher_config.power]
icon = "shutdown"
description = "Power - System power management and session control"
[launcher_config.caffeine]
icon = "caffeine"
description = "Caffeine - Prevent system from going idle"
examples = [
"caffeine 30m",
"caffeine 1h",
"caffeine 2h",
"caffeine on",
]
[launcher_config.sc]
icon = "cs-screen"
description = "Screencapture - Record screen"
[launcher_config.wall]
icon = "daily-wallpaper"
description = "Wallpapers - Set wallpapers, and tons of features"
[launcher_config."?"]
icon = "search-symbolic"
description = "Quick Web Search - Fast web search with question mark"
examples = [
"? cats",
"? google cats",
"? youtube music",
]
[settings]
max_examples_shown = 2
default_icon = "apps"
fallback_example_template = "{trigger} <search>"
config_version = "1.0"