Found the application launcher, remove rofi
This commit is contained in:
parent
70d5c50960
commit
6cf8ab6e67
4 changed files with 28 additions and 26 deletions
|
@ -19,6 +19,7 @@ local hotkeys_popup = require("awful.hotkeys_popup")
|
||||||
require("awful.hotkeys_popup.keys")
|
require("awful.hotkeys_popup.keys")
|
||||||
|
|
||||||
local flameshot = require("flameshot")
|
local flameshot = require("flameshot")
|
||||||
|
local start = require("start")
|
||||||
|
|
||||||
-- {{{ Error handling
|
-- {{{ Error handling
|
||||||
-- Check if awesome encountered an error during startup and fell back to
|
-- Check if awesome encountered an error during startup and fell back to
|
||||||
|
@ -63,11 +64,11 @@ modkey = "Mod4"
|
||||||
|
|
||||||
-- Table of layouts to cover with awful.layout.inc, order matters.
|
-- Table of layouts to cover with awful.layout.inc, order matters.
|
||||||
awful.layout.layouts = {
|
awful.layout.layouts = {
|
||||||
awful.layout.suit.floating,
|
-- awful.layout.suit.floating,
|
||||||
awful.layout.suit.tile,
|
awful.layout.suit.tile,
|
||||||
awful.layout.suit.tile.left,
|
awful.layout.suit.tile.left,
|
||||||
awful.layout.suit.tile.bottom,
|
-- awful.layout.suit.tile.bottom,
|
||||||
awful.layout.suit.tile.top,
|
-- awful.layout.suit.tile.top,
|
||||||
awful.layout.suit.fair,
|
awful.layout.suit.fair,
|
||||||
awful.layout.suit.fair.horizontal,
|
awful.layout.suit.fair.horizontal,
|
||||||
awful.layout.suit.spiral,
|
awful.layout.suit.spiral,
|
||||||
|
@ -76,7 +77,7 @@ awful.layout.layouts = {
|
||||||
awful.layout.suit.max.fullscreen,
|
awful.layout.suit.max.fullscreen,
|
||||||
awful.layout.suit.magnifier,
|
awful.layout.suit.magnifier,
|
||||||
awful.layout.suit.corner.nw,
|
awful.layout.suit.corner.nw,
|
||||||
-- awful.layout.suit.corner.ne,
|
awful.layout.suit.corner.ne,
|
||||||
-- awful.layout.suit.corner.sw,
|
-- awful.layout.suit.corner.sw,
|
||||||
-- awful.layout.suit.corner.se,
|
-- awful.layout.suit.corner.se,
|
||||||
}
|
}
|
||||||
|
@ -421,20 +422,8 @@ for i = 1, 9 do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
{description = "toggle focused client on tag #" .. i, group = "tag"}),
|
{description = "toggle focused client on tag #" .. i, group = "tag"})
|
||||||
-- Screenshot
|
)
|
||||||
awful.key({ }, "Print", flameshot_gui,
|
|
||||||
{description = "Take a screenshot of entire screen", group = "screenshot"}),
|
|
||||||
awful.key({ "Shift" }, "Print", flameshot_screen,
|
|
||||||
{description = "Take a screenshot of focused window", group = "screenshot"}),
|
|
||||||
awful.key({ "Ctrl" }, "Print", flameshot_full,
|
|
||||||
{description = "Take a screenshot of delay", group = "screenshot"}),
|
|
||||||
|
|
||||||
-- Important Media Keys
|
|
||||||
awful.key({}, "XF86AudioRaiseVolume", function() os.execute("pactl set-sink-volume @DEFAULT_SINK@ +1%") end),
|
|
||||||
awful.key({}, "XF86AudioLowerVolume", function() os.execute("pactl set-sink-volume @DEFAULT_SINK@ -1%") end),
|
|
||||||
awful.key({}, "XF86AudioMute", function() os.execute("pactl set-sink-mute @DEFAULT_SINK@ toggle") end)
|
|
||||||
)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
clientbuttons = gears.table.join(
|
clientbuttons = gears.table.join(
|
||||||
|
@ -451,6 +440,21 @@ clientbuttons = gears.table.join(
|
||||||
end)
|
end)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
globalkeys = gears.table.join(globalkeys,
|
||||||
|
-- Screenshot
|
||||||
|
awful.key({ }, "Print", flameshot_gui,
|
||||||
|
{description = "Take a screenshot of entire screen", group = "screenshot"}),
|
||||||
|
awful.key({ "Shift" }, "Print", flameshot_screen,
|
||||||
|
{description = "Take a screenshot of focused window", group = "screenshot"}),
|
||||||
|
awful.key({ "Ctrl" }, "Print", flameshot_full,
|
||||||
|
{description = "Take a screenshot of delay", group = "screenshot"}),
|
||||||
|
|
||||||
|
-- Media keys
|
||||||
|
awful.key({ }, "XF86AudioRaiseVolume", function() os.execute("pactl set-sink-volume @DEFAULT_SINK@ +5%") end, {description = "Volume Up (+5%)", group = "mediakeys"}),
|
||||||
|
awful.key({ }, "XF86AudioLowerVolume", function() os.execute("pactl set-sink-volume @DEFAULT_SINK@ -5%") end, {description = "Volume Up (-5%)", group = "mediakeys"}),
|
||||||
|
awful.key({ }, "XF86AudioMute", function() os.execute("pactl set-sink-mute @DEFAULT_SINK@ toggle") end, {description = "Mute", group = "mediakeys"})
|
||||||
|
)
|
||||||
|
|
||||||
-- Set keys
|
-- Set keys
|
||||||
root.keys(globalkeys)
|
root.keys(globalkeys)
|
||||||
-- }}}
|
-- }}}
|
||||||
|
@ -576,5 +580,3 @@ end)
|
||||||
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end)
|
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end)
|
||||||
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
|
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- -- User Config
|
|
||||||
|
|
4
.config/awesome/start.lua
Normal file
4
.config/awesome/start.lua
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
local awful = require("awful")
|
||||||
|
|
||||||
|
awful.spawn("nextcloud")
|
||||||
|
awful.spawn("guake")
|
|
@ -1,6 +0,0 @@
|
||||||
configuration {
|
|
||||||
modi: "window,drun,ssh,combi";
|
|
||||||
theme: "solarized";
|
|
||||||
font: "hack 10";
|
|
||||||
combi-modi: "window,drun,ssh";
|
|
||||||
}
|
|
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
tags
|
||||||
|
.idea
|
Loading…
Reference in a new issue