mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 18:58:33 +02:00
modules: add namespace vbe/
for modules
This commit is contained in:
parent
3415d39992
commit
c478921aea
5 changed files with 5 additions and 6 deletions
|
@ -22,7 +22,7 @@ local pairs = pairs
|
||||||
local ipairs = ipairs
|
local ipairs = ipairs
|
||||||
--}}}
|
--}}}
|
||||||
|
|
||||||
module("sharetags")
|
module("vbe/sharetags")
|
||||||
|
|
||||||
--{{{ Private structures
|
--{{{ Private structures
|
||||||
tagwidgets = setmetatable({}, { __mode = 'k' })
|
tagwidgets = setmetatable({}, { __mode = 'k' })
|
||||||
|
|
|
@ -5,9 +5,8 @@ local naughty = require("naughty")
|
||||||
local tonumber = tonumber
|
local tonumber = tonumber
|
||||||
local string = string
|
local string = string
|
||||||
local os = os
|
local os = os
|
||||||
local setmetatable = setmetatable
|
|
||||||
|
|
||||||
module("volume")
|
module("vbe/volume")
|
||||||
|
|
||||||
local volid = nil
|
local volid = nil
|
||||||
local function change(what)
|
local function change(what)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
config.keys = {}
|
config.keys = {}
|
||||||
config.mouse = {}
|
config.mouse = {}
|
||||||
local volume = loadrc("volume", "volume")
|
local volume = loadrc("volume", "vbe/volume")
|
||||||
|
|
||||||
local function client_info()
|
local function client_info()
|
||||||
local v = ""
|
local v = ""
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
-- Tags
|
-- Tags
|
||||||
|
|
||||||
sharetags = loadrc("sharetags", "sharetags")
|
sharetags = loadrc("sharetags", "vbe/sharetags")
|
||||||
|
|
||||||
local otags = config.tags
|
local otags = config.tags
|
||||||
config.tags = {}
|
config.tags = {}
|
||||||
|
|
|
@ -105,7 +105,7 @@ local volwidget = widget({ type = "textbox" })
|
||||||
vicious.register(volwidget, vicious.widgets.volume,
|
vicious.register(volwidget, vicious.widgets.volume,
|
||||||
'<span font="Terminus 8" color="' .. beautiful.fg_widget_value .. '">$2 $1%</span>',
|
'<span font="Terminus 8" color="' .. beautiful.fg_widget_value .. '">$2 $1%</span>',
|
||||||
2, "Master")
|
2, "Master")
|
||||||
volume = loadrc("volume", "volume")
|
volume = loadrc("volume", "vbe/volume")
|
||||||
volwidget:buttons(awful.util.table.join(
|
volwidget:buttons(awful.util.table.join(
|
||||||
awful.button({ }, 1, volume.mixer),
|
awful.button({ }, 1, volume.mixer),
|
||||||
awful.button({ }, 3, volume.toggle),
|
awful.button({ }, 3, volume.toggle),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue