Change brightness keys, off color background
This commit is contained in:
parent
6134736765
commit
21f8f22882
4 changed files with 18 additions and 11 deletions
|
@ -12,17 +12,19 @@ apps = {
|
||||||
-- editor_cmd = terminal .. " -e " .. editor,
|
-- editor_cmd = terminal .. " -e " .. editor,
|
||||||
|
|
||||||
-- Your default browser
|
-- Your default browser
|
||||||
browser = "firefox",
|
browser = "firefox-bin",
|
||||||
|
|
||||||
-- Your default screenshot tool
|
-- Your default screenshot tool
|
||||||
screenshot = "flameshot gui",
|
screenshot = "flameshot gui",
|
||||||
|
|
||||||
-- Screenlocker
|
-- Screenlocker
|
||||||
screenlocker = "i3lock -ec '#fdf6e3'",
|
screenlocker = "i3lock -ec '#f5efdc'",
|
||||||
|
|
||||||
-- brightness
|
-- brightness
|
||||||
brightness_up = "brightnessctl s 5%+",
|
brightness_up = "xbacklight -inc 1",
|
||||||
brightness_down = "brightnessctl s 5%-",
|
brightness_up_more = "xbacklight -inc 5",
|
||||||
|
brightness_down = "xbacklight -dec 1",
|
||||||
|
brightness_down_more = "xbacklight -dec 5",
|
||||||
}
|
}
|
||||||
|
|
||||||
apps.editor_cmd = apps.terminal .. " -e " .. apps.editor
|
apps.editor_cmd = apps.terminal .. " -e " .. apps.editor
|
||||||
|
|
|
@ -39,6 +39,7 @@ awful.rules.rules = {
|
||||||
"Wpa_gui",
|
"Wpa_gui",
|
||||||
"mgba",
|
"mgba",
|
||||||
"veromix",
|
"veromix",
|
||||||
|
"oyster", -- for testing stuff
|
||||||
"xtightvncviewer"},
|
"xtightvncviewer"},
|
||||||
|
|
||||||
-- Note that the name property shown in xprop might be set slightly after creation of the client
|
-- Note that the name property shown in xprop might be set slightly after creation of the client
|
||||||
|
|
|
@ -158,14 +158,18 @@ globalKeys = gears.table.join(
|
||||||
{description = "take screenshot", group = "apps"}),
|
{description = "take screenshot", group = "apps"}),
|
||||||
awful.key({ modkey }, "i", function () awful.spawn(apps.browser) end,
|
awful.key({ modkey }, "i", function () awful.spawn(apps.browser) end,
|
||||||
{description = "open browser", group = "apps"}),
|
{description = "open browser", group = "apps"}),
|
||||||
awful.key({ modkey, "Shift" }, "x", function () awful.spawn(apps.screenlocker) end,
|
awful.key({ modkey, "Control" }, "x", function () awful.spawn(apps.screenlocker) end,
|
||||||
{description = "lock screen", group = "apps"}),
|
{description = "lock screen", group = "apps"}),
|
||||||
|
|
||||||
-- Brightness
|
-- Brightness
|
||||||
awful.key({ modkey }, "x", function () awful.spawn(apps.brightness_up) end,
|
awful.key({ modkey }, "x", function () awful.spawn(apps.brightness_up) end,
|
||||||
{description = "brightness up", group = "apps"}),
|
{description = "brightness up", group = "apps"}),
|
||||||
|
awful.key({ modkey, "Shift" }, "x", function () awful.spawn(apps.brightness_up_more) end,
|
||||||
|
{description = "brightness up more", group = "apps"}),
|
||||||
awful.key({ modkey }, "z", function () awful.spawn(apps.brightness_down) end,
|
awful.key({ modkey }, "z", function () awful.spawn(apps.brightness_down) end,
|
||||||
{description = "brightness down", group = "apps"})
|
{description = "brightness down", group = "apps"}),
|
||||||
|
awful.key({ modkey, "Shift" }, "z", function () awful.spawn(apps.brightness_down_more) end,
|
||||||
|
{description = "brightness downm more", group = "apps"})
|
||||||
)
|
)
|
||||||
|
|
||||||
-- Bind all key numbers to tags.
|
-- Bind all key numbers to tags.
|
||||||
|
|
|
@ -17,9 +17,9 @@ local theme = {}
|
||||||
theme.font = "sans 8"
|
theme.font = "sans 8"
|
||||||
theme.master_width_factor = 8/13
|
theme.master_width_factor = 8/13
|
||||||
|
|
||||||
theme.bg_normal = "#fdf6e3"
|
theme.bg_normal = "#f5efdc"
|
||||||
theme.bg_focus = "#fdf6e3"
|
theme.bg_focus = "#f5efdc"
|
||||||
theme.bg_urgent = "#fdf6e3"
|
theme.bg_urgent = "#f5efdc"
|
||||||
theme.bg_minimize = "#444444"
|
theme.bg_minimize = "#444444"
|
||||||
theme.bg_systray = theme.bg_normal
|
theme.bg_systray = theme.bg_normal
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ theme.fg_urgent = "#dc322f"
|
||||||
theme.fg_minimize = "#ffffff"
|
theme.fg_minimize = "#ffffff"
|
||||||
|
|
||||||
theme.useless_gap = dpi(5)
|
theme.useless_gap = dpi(5)
|
||||||
theme.border_width = dpi(1)
|
theme.border_width = dpi(0)
|
||||||
theme.border_normal = "#788e95"
|
theme.border_normal = "#788e95"
|
||||||
theme.border_focus = "#586e75"
|
theme.border_focus = "#586e75"
|
||||||
theme.border_marked = "#586e75"
|
theme.border_marked = "#586e75"
|
||||||
|
@ -103,7 +103,7 @@ theme.titlebar_maximized_button_focus_inactive = themes_path.."default/titlebar
|
||||||
theme.titlebar_maximized_button_normal_active = themes_path.."default/titlebar/maximized_normal_active.png"
|
theme.titlebar_maximized_button_normal_active = themes_path.."default/titlebar/maximized_normal_active.png"
|
||||||
theme.titlebar_maximized_button_focus_active = themes_path.."default/titlebar/maximized_focus_active.png"
|
theme.titlebar_maximized_button_focus_active = themes_path.."default/titlebar/maximized_focus_active.png"
|
||||||
|
|
||||||
gears.wallpaper.set("#fdf6e3")
|
gears.wallpaper.set("#f5efdc")
|
||||||
|
|
||||||
-- You can use your own layout icons like this:
|
-- You can use your own layout icons like this:
|
||||||
theme.layout_fairh = themes_path.."default/layouts/fairhw.png"
|
theme.layout_fairh = themes_path.."default/layouts/fairhw.png"
|
||||||
|
|
Loading…
Reference in a new issue