Update
This commit is contained in:
parent
e23a514642
commit
b55997c9db
@ -45,11 +45,12 @@ end
|
|||||||
|
|
||||||
-- {{{ Variable definitions
|
-- {{{ Variable definitions
|
||||||
-- Themes define colours, icons, font and wallpapers.
|
-- Themes define colours, icons, font and wallpapers.
|
||||||
beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua")
|
-- beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua")
|
||||||
|
beautiful.init(gears.filesystem.get_xdg_config_home() .. "themes/zatichi/theme.lua")
|
||||||
|
|
||||||
-- This is used later as the default terminal and editor to run.
|
-- This is used later as the default terminal and editor to run.
|
||||||
terminal = "xfce4-terminal"
|
terminal = "xfce4-terminal"
|
||||||
editor = os.getenkv("EDITOR") or "nano"
|
editor = os.getenv("EDITOR") or "nano"
|
||||||
editor_cmd = terminal .. " -e " .. editor
|
editor_cmd = terminal .. " -e " .. editor
|
||||||
|
|
||||||
-- Default modkey.
|
-- Default modkey.
|
||||||
@ -69,7 +70,7 @@ awful.layout.layouts = {
|
|||||||
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,
|
||||||
awful.layout.suit.spiral.dwindle,r
|
awful.layout.suit.spiral.dwindle,
|
||||||
awful.layout.suit.max,
|
awful.layout.suit.max,
|
||||||
awful.layout.suit.max.fullscreen,
|
awful.layout.suit.max.fullscreen,
|
||||||
awful.layout.suit.magnifier,
|
awful.layout.suit.magnifier,
|
||||||
@ -229,8 +230,8 @@ root.buttons(gears.table.join(
|
|||||||
|
|
||||||
-- {{{ Key bindings
|
-- {{{ Key bindings
|
||||||
globalkeys = gears.table.join(
|
globalkeys = gears.table.join(
|
||||||
awful.key({ modkey, }, "s", hotkeys_popup.show_help,
|
awful.key({ modkey, }, "h", hotkeys_popup.show_help,
|
||||||
{description="show help", group="awesome"}),
|
{description ="Montrer l'aide", group="awesome"}),
|
||||||
awful.key({ modkey, }, "Left", awful.tag.viewprev,
|
awful.key({ modkey, }, "Left", awful.tag.viewprev,
|
||||||
{description = "view previous", group = "tag"}),
|
{description = "view previous", group = "tag"}),
|
||||||
awful.key({ modkey, }, "Right", awful.tag.viewnext,
|
awful.key({ modkey, }, "Right", awful.tag.viewnext,
|
||||||
@ -250,8 +251,8 @@ globalkeys = gears.table.join(
|
|||||||
end,
|
end,
|
||||||
{description = "focus previous by index", group = "client"}
|
{description = "focus previous by index", group = "client"}
|
||||||
),
|
),
|
||||||
awful.key({ modkey, }, "w", function () mymainmenu:show() end,
|
awful.key({ modkey, }, "a", function () mymainmenu:show() end,
|
||||||
{description = "show main menu", group = "awesome"}),
|
{description = "Montrer menu principal", group = "awesome"}),
|
||||||
|
|
||||||
-- Layout manipulation
|
-- Layout manipulation
|
||||||
awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end,
|
awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end,
|
||||||
@ -275,11 +276,11 @@ globalkeys = gears.table.join(
|
|||||||
|
|
||||||
-- Standard program
|
-- Standard program
|
||||||
awful.key({ modkey, }, "Return", function () awful.spawn(terminal) end,
|
awful.key({ modkey, }, "Return", function () awful.spawn(terminal) end,
|
||||||
{description = "open a terminal", group = "launcher"}),
|
{description = "Ouvrir un terminal", group = "launcher"}),
|
||||||
awful.key({ modkey, "Control" }, "r", awesome.restart,
|
awful.key({ modkey, }, "r", awesome.restart,
|
||||||
{description = "reload awesome", group = "awesome"}),
|
{description = "Recharger awesome", group = "awesome"}),
|
||||||
awful.key({ modkey, "Shift" }, "q", awesome.quit,
|
awful.key({ modkey, }, "q", awesome.quit,
|
||||||
{description = "quit awesome", group = "awesome"}),
|
{description = "Quitter awesome", group = "awesome"}),
|
||||||
|
|
||||||
awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end,
|
awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end,
|
||||||
{description = "increase master width factor", group = "layout"}),
|
{description = "increase master width factor", group = "layout"}),
|
||||||
@ -311,8 +312,8 @@ globalkeys = gears.table.join(
|
|||||||
{description = "restore minimized", group = "client"}),
|
{description = "restore minimized", group = "client"}),
|
||||||
|
|
||||||
-- Prompt
|
-- Prompt
|
||||||
awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end,
|
-- awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end,
|
||||||
{description = "run prompt", group = "launcher"}),
|
-- {description = "run prompt", group = "launcher"}),
|
||||||
|
|
||||||
awful.key({ modkey }, "x",
|
awful.key({ modkey }, "x",
|
||||||
function ()
|
function ()
|
||||||
|
BIN
conf.d/awesome/themes/zatichi/background.jpg
Normal file
BIN
conf.d/awesome/themes/zatichi/background.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 MiB |
@ -61,7 +61,7 @@ theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel(
|
|||||||
-- Variables set for theming the menu:
|
-- Variables set for theming the menu:
|
||||||
-- menu_[bg|fg]_[normal|focus]
|
-- menu_[bg|fg]_[normal|focus]
|
||||||
-- menu_[border_color|border_width]
|
-- menu_[border_color|border_width]
|
||||||
theme.menu_submenu_icon = themes_path.."default/submenu.png"
|
theme.menu_submenu_icon = themes_path.."zatichi/submenu.png"
|
||||||
theme.menu_height = dpi(15)
|
theme.menu_height = dpi(15)
|
||||||
theme.menu_width = dpi(100)
|
theme.menu_width = dpi(100)
|
||||||
|
|
||||||
@ -97,7 +97,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"
|
||||||
|
|
||||||
theme.wallpaper = themes_path.."default/background.png"
|
theme.wallpaper = themes_path.."zatichi/background.jpg"
|
||||||
|
|
||||||
-- 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…
x
Reference in New Issue
Block a user