diff --git a/config/hypr/modus.lua b/config/hypr/modus.lua index 1d02815..f2c571e 100644 --- a/config/hypr/modus.lua +++ b/config/hypr/modus.lua @@ -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 diff --git a/config/launcher.toml b/config/launcher.toml deleted file mode 100644 index 44a5e59..0000000 --- a/config/launcher.toml +++ /dev/null @@ -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} " -config_version = "1.0"