mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 19:22:32 +00:00
medit added in blackburn
This commit is contained in:
parent
0323d06f2a
commit
ad4c2e8642
|
@ -17,6 +17,7 @@ local beautiful = require("beautiful")
|
|||
local naughty = require("naughty")
|
||||
local vicious = require("vicious")
|
||||
local scratch = require("scratch")
|
||||
local perceptive = require("perceptive")
|
||||
|
||||
|
||||
-- Run once function
|
||||
|
@ -81,7 +82,7 @@ beautiful.init(active_theme .. "/theme.lua")
|
|||
terminal = "urxvtc"
|
||||
editor = os.getenv("EDITOR")
|
||||
editor_cmd = terminal .. " -e " .. editor
|
||||
gui_editor = "geany -ps"
|
||||
gui_editor = "medit"
|
||||
browser = "dwb"
|
||||
mail = terminal .. " -e mutt "
|
||||
chat = terminal .. " -e irssi "
|
||||
|
@ -99,13 +100,6 @@ layouts =
|
|||
awful.layout.suit.tile.left, -- 3
|
||||
awful.layout.suit.tile.bottom, -- 4
|
||||
awful.layout.suit.tile.top, -- 5
|
||||
awful.layout.suit.fair, -- 6
|
||||
awful.layout.suit.fair.horizontal, -- 7
|
||||
awful.layout.suit.spiral, -- 8
|
||||
awful.layout.suit.spiral.dwindle, -- 9
|
||||
awful.layout.suit.max, -- 10
|
||||
--awful.layout.suit.max.fullscreen, -- 11
|
||||
--awful.layout.suit.magnifier -- 12
|
||||
}
|
||||
|
||||
|
||||
|
@ -121,7 +115,7 @@ end
|
|||
|
||||
tags = {
|
||||
names = { "web", "term", "docs", "media", "down"},
|
||||
layout = { layouts[1], layouts[3], layouts[4], layouts[1], layouts[7] }
|
||||
layout = { layouts[1], layouts[3], layouts[2], layouts[4], layouts[5] }
|
||||
}
|
||||
for s = 1, screen.count() do
|
||||
tags[s] = awful.tag(tags.names, s, tags.layout)
|
||||
|
@ -130,14 +124,12 @@ end
|
|||
-- Menu
|
||||
myaccessories = {
|
||||
{ "archives", "7zFM" },
|
||||
{ "file manager", "spacefm" },
|
||||
{ "editor", gui_editor },
|
||||
}
|
||||
myinternet = {
|
||||
{ "browser", browser },
|
||||
{ "irc client" , chat },
|
||||
{ "torrent" , "rtorrent" },
|
||||
{ "torrtux" , terminal .. " -e torrtux " },
|
||||
{ "torrent search" , "torrent-search" }
|
||||
}
|
||||
mygames = {
|
||||
|
@ -533,7 +525,6 @@ end, 10)
|
|||
netwidget:buttons(awful.util.table.join(awful.button({ }, 1, function () awful.util.spawn_with_shell(wifi) end)))
|
||||
|
||||
-- Weather widget
|
||||
require("perceptive")
|
||||
perceptive.register(123456) -- https//github.com/copycat-killer/perceptive
|
||||
|
||||
-- Separators
|
||||
|
@ -689,7 +680,7 @@ globalkeys = awful.util.table.join(
|
|||
|
||||
-- Show/Hide Wibox
|
||||
awful.key({ modkey }, "b", function ()
|
||||
mywibox[mouse.screen].visible = not mywibox[mouse.screen].visible
|
||||
mywibox[mouse.screen].visible = not mywibox[mouse.screen].visible
|
||||
end),
|
||||
|
||||
-- Layout manipulation
|
||||
|
@ -743,12 +734,13 @@ globalkeys = awful.util.table.join(
|
|||
end),
|
||||
awful.key({ "Control" }, "u", function ()
|
||||
awful.util.spawn("amixer set Master playback unmute", false )
|
||||
vicious.force({ volumewidget })
|
||||
vicious.force({ volumewidget })
|
||||
end),
|
||||
awful.key({ altkey, "Control" }, "m",
|
||||
function ()
|
||||
awful.util.spawn("amixer set Master playback 100%", false )
|
||||
vicious.force({ volumewidget })
|
||||
end),
|
||||
awful.key({ altkey, "Control" }, "m", function ()
|
||||
awful.util.spawn("amixer set Master playback 100%", false )
|
||||
vicious.force({ volumewidget })
|
||||
end),
|
||||
|
||||
-- Music control
|
||||
awful.key({ altkey, "Control" }, "Up", function ()
|
||||
|
@ -774,7 +766,6 @@ globalkeys = awful.util.table.join(
|
|||
-- User programs
|
||||
awful.key({ modkey, }, "q", function () awful.util.spawn( "dwb", false ) end),
|
||||
awful.key({ modkey, }, "s", function () awful.util.spawn(gui_editor) end),
|
||||
awful.key({ modkey, }, "d", function () awful.util.spawn( "spacefm", false ) end),
|
||||
|
||||
-- Prompt
|
||||
awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
|
||||
|
@ -878,7 +869,7 @@ awful.rules.rules = {
|
|||
maximized_vertical=true,
|
||||
maximized_horizontal=true } },
|
||||
|
||||
{ rule = { class = "Geany" },
|
||||
{ rule = { class = "Medit" },
|
||||
properties = { tag = tags[1][2] } },
|
||||
|
||||
{ rule = { class = "Zathura" },
|
||||
|
@ -888,7 +879,7 @@ awful.rules.rules = {
|
|||
properties = { tag = tags[1][4],
|
||||
floating = true } },
|
||||
|
||||
{ rule = { class = "Native" },
|
||||
{ rule = { class = "Nathive" },
|
||||
properties = { tag = tags[1][4] } },
|
||||
|
||||
{ rule = { class = "Transmission-gtk" },
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 119 KiB |
Loading…
Reference in a new issue