Reset old config
This commit is contained in:
19
binds/desktop/awesome.lua
Executable file
19
binds/desktop/awesome.lua
Executable file
@ -0,0 +1,19 @@
|
||||
local hotkeys = require("awful.hotkeys_popup")
|
||||
|
||||
return gears.table.join(
|
||||
awful.key( {"Mod4"}, "s",
|
||||
hotkeys.show_help,
|
||||
{
|
||||
description = "Show help",
|
||||
group = "Desktop"
|
||||
}
|
||||
),
|
||||
|
||||
awful.key( {"Mod4", "Control", "Shift"}, "r",
|
||||
awesome.restart,
|
||||
{
|
||||
description = "Restart awesome",
|
||||
group = "Desktop"
|
||||
}
|
||||
)
|
||||
)
|
76
binds/desktop/launcher.lua
Executable file
76
binds/desktop/launcher.lua
Executable file
@ -0,0 +1,76 @@
|
||||
return gears.table.join(
|
||||
awful.key( {"Mod4"}, "r",
|
||||
function ()
|
||||
awful.screen.focused().mypromptbox:run()
|
||||
end,
|
||||
{
|
||||
description = "Run prompt",
|
||||
group = "Launcher"
|
||||
}
|
||||
),
|
||||
|
||||
awful.key( {"Mod4"}, "x",
|
||||
function ()
|
||||
awful.screen.focused().mypromptbox:run()
|
||||
end,
|
||||
{
|
||||
description = "Run prompt",
|
||||
group = "Launcher"
|
||||
}
|
||||
),
|
||||
|
||||
awful.key( {"Mod4"}, "Tab",
|
||||
function ()
|
||||
bin.rofi.launcher()
|
||||
end,
|
||||
|
||||
{
|
||||
description = "Open Launcher",
|
||||
group = "Launcher"
|
||||
}
|
||||
),
|
||||
|
||||
awful.key( {"Mod4"}, "Return",
|
||||
function ()
|
||||
awful.spawn(terminal)
|
||||
end,
|
||||
|
||||
{
|
||||
description = "Open a terminal",
|
||||
group = "Launcher"
|
||||
}
|
||||
),
|
||||
|
||||
awful.key( {"Mod4"}, "]",
|
||||
function ()
|
||||
awful.spawn(terminal .. " ranger /home/mark")
|
||||
end,
|
||||
|
||||
{
|
||||
description = "Launch ranger in kitty",
|
||||
group = "Launcher"
|
||||
}
|
||||
),
|
||||
|
||||
awful.key( {"Mod4", "Control"}, "Return",
|
||||
function ()
|
||||
awful.spawn("kitty --class \"kitty-noblur\" --override background_opacity=0.5 --override hide_window_decorations=yes")
|
||||
end,
|
||||
|
||||
{
|
||||
description = "Open a floating kitty terminal",
|
||||
group = "Launcher"
|
||||
}
|
||||
),
|
||||
|
||||
awful.key( {"Mod4"}, "\\",
|
||||
function ()
|
||||
awful.spawn(conf.browser)
|
||||
end,
|
||||
|
||||
{
|
||||
description = "Open a browser tab",
|
||||
group = "Launcher"
|
||||
}
|
||||
)
|
||||
)
|
24
binds/desktop/screenshot.lua
Executable file
24
binds/desktop/screenshot.lua
Executable file
@ -0,0 +1,24 @@
|
||||
return gears.table.join(
|
||||
awful.key( {"Control"}, "Print",
|
||||
function ()
|
||||
bin.capture("region", "ocr")
|
||||
end,
|
||||
|
||||
{
|
||||
description = "OCR a region to the clipboard",
|
||||
group = "Desktop"
|
||||
}
|
||||
),
|
||||
|
||||
awful.key( {}, "Print",
|
||||
function ()
|
||||
bin.flameshot.gui()
|
||||
end,
|
||||
|
||||
{
|
||||
description = "Take a screenshot",
|
||||
group = "Desktop"
|
||||
}
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user