awesome: update theme and copy some random things from herbstluft
This commit is contained in:
@ -56,8 +56,12 @@ beautiful.init(theme)
|
||||
|
||||
-- This is used later as the default terminal and editor to run.
|
||||
terminal = "kitty"
|
||||
editor = "nvim"
|
||||
editor_cmd = terminal .. " -e " .. editor
|
||||
browser = "firefox"
|
||||
calculator = "rofi -show calc"
|
||||
file_manager = "pcmanfm"
|
||||
launcher = "rofi -show run"
|
||||
music_player = terminal .. " -e ncmpcpp"
|
||||
screen_locker = "i3lock -c 000000"
|
||||
|
||||
-- Default modkey.
|
||||
-- Usually, Mod4 is the key with a logo between Control and Alt.
|
||||
@ -97,7 +101,6 @@ myawesomemenu = {
|
||||
end,
|
||||
},
|
||||
{ "manual", terminal .. " -e man awesome" },
|
||||
{ "edit config", editor_cmd .. " " .. awesome.conffile },
|
||||
{ "restart", awesome.restart },
|
||||
{
|
||||
"quit",
|
||||
@ -325,6 +328,24 @@ globalkeys = gears.table.join(
|
||||
awful.key({ modkey }, "Return", function()
|
||||
awful.spawn(terminal)
|
||||
end, { description = "open a terminal", group = "launcher" }),
|
||||
awful.key({ modkey }, "grave", function()
|
||||
awful.spawn("flameshot gui")
|
||||
end, { description = "screenshot", group = "launcher" }),
|
||||
awful.key({ modkey }, "1", function()
|
||||
awful.spawn(file_manager)
|
||||
end, { description = "file manager", group = "launcher" }),
|
||||
awful.key({ modkey }, "2", function()
|
||||
awful.spawn(browser)
|
||||
end, { description = "web browser", group = "launcher" }),
|
||||
awful.key({ modkey }, "3", function()
|
||||
awful.spawn(calculator)
|
||||
end, { description = "calculator", group = "launcher" }),
|
||||
awful.key({ modkey }, "4", function()
|
||||
awful.spawn(music_player)
|
||||
end, { description = "music player", group = "launcher" }),
|
||||
awful.key({ modkey }, "0", function()
|
||||
awful.spawn(screen_locker)
|
||||
end, { description = "lock screen", group = "launcher" }),
|
||||
awful.key({ modkey, "Control" }, "r", awesome.restart, { description = "reload awesome", group = "awesome" }),
|
||||
awful.key({ modkey, "Shift" }, "q", awesome.quit, { description = "quit awesome", group = "awesome" }),
|
||||
|
||||
@ -507,6 +528,7 @@ awful.rules.rules = {
|
||||
"Wpa_gui",
|
||||
"veromix",
|
||||
"xtightvncviewer",
|
||||
"Cadence",
|
||||
},
|
||||
|
||||
-- Note that the name property shown in xprop might be set slightly after creation of the client
|
||||
|
||||
@ -30,8 +30,8 @@ theme.fg_minimize = theme.bg_normal
|
||||
theme.useless_gap = dpi(6)
|
||||
theme.border_width = dpi(2)
|
||||
theme.border_normal = xrdb.color0
|
||||
theme.border_focus = theme.bg_focus
|
||||
theme.border_marked = xrdb.color10
|
||||
theme.border_focus = xrdb.color8
|
||||
theme.border_marked = xrdb.color1
|
||||
|
||||
-- There are other variable sets
|
||||
-- overriding the default one when
|
||||
|
||||
Reference in New Issue
Block a user