keybind for direct tmux
This commit is contained in:
@@ -4,6 +4,7 @@ local command = require("modules.shell_commands")
|
|||||||
|
|
||||||
-- Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
|
-- Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
|
||||||
hl.bind(var.mainMod .. " + RETURN", hl.dsp.exec_cmd(var.terminal), { description = "Open terminal (kitty)" })
|
hl.bind(var.mainMod .. " + RETURN", hl.dsp.exec_cmd(var.terminal), { description = "Open terminal (kitty)" })
|
||||||
|
hl.bind(var.mainMod .. " + ALT + RETURN", hl.dsp.exec_cmd(var.terminal_tmux), { description = "Open terminal (kitty)" })
|
||||||
hl.bind(var.mainMod .. " + Q", hl.dsp.window.close(), { description = "Close focused window" })
|
hl.bind(var.mainMod .. " + Q", hl.dsp.window.close(), { description = "Close focused window" })
|
||||||
hl.bind(
|
hl.bind(
|
||||||
var.mainMod .. " + ESCAPE",
|
var.mainMod .. " + ESCAPE",
|
||||||
|
|||||||
@@ -9,12 +9,15 @@ local theme = dofile(os.getenv("HOME") .. "/.config/themes/current/theme.lua")
|
|||||||
-- local var_menu = "noctalia msg panel-toggle launcher"
|
-- local var_menu = "noctalia msg panel-toggle launcher"
|
||||||
-- local var_screenshot_folder = "~/Bilder/Screenshots/"
|
-- local var_screenshot_folder = "~/Bilder/Screenshots/"
|
||||||
|
|
||||||
|
local terminal = "kitty"
|
||||||
|
|
||||||
return {
|
return {
|
||||||
color_active_border = theme.border_active,
|
color_active_border = theme.border_active,
|
||||||
color_inactive_border = theme.border_inactive,
|
color_inactive_border = theme.border_inactive,
|
||||||
color_decoration_shadow = theme.shadow,
|
color_decoration_shadow = theme.shadow,
|
||||||
mainMod = "SUPER",
|
mainMod = "SUPER",
|
||||||
terminal = "kitty",
|
terminal = terminal,
|
||||||
|
terminal_tmux = terminal .. " -e tmux",
|
||||||
fileManager = "dolphin",
|
fileManager = "dolphin",
|
||||||
screenshot_folder = "~/Bilder/Screenshots/",
|
screenshot_folder = "~/Bilder/Screenshots/",
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user