mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-28 04:20:03 +02:00
volume: fix theme scaling
This commit is contained in:
parent
8689e2583a
commit
785f25a296
1 changed files with 3 additions and 0 deletions
|
@ -2,9 +2,11 @@
|
||||||
|
|
||||||
local awful = require("awful")
|
local awful = require("awful")
|
||||||
local naughty = require("naughty")
|
local naughty = require("naughty")
|
||||||
|
local beautiful = require("beautiful")
|
||||||
local tonumber = tonumber
|
local tonumber = tonumber
|
||||||
local string = string
|
local string = string
|
||||||
local os = os
|
local os = os
|
||||||
|
local theme = beautiful.get()
|
||||||
|
|
||||||
-- A bit odd, but...
|
-- A bit odd, but...
|
||||||
require("lib/icons")
|
require("lib/icons")
|
||||||
|
@ -14,6 +16,7 @@ module("vbe/volume")
|
||||||
|
|
||||||
local volid = nil
|
local volid = nil
|
||||||
local function change(what)
|
local function change(what)
|
||||||
|
|
||||||
os.execute("amixer -q sset Master " .. what, false)
|
os.execute("amixer -q sset Master " .. what, false)
|
||||||
-- Read the current value
|
-- Read the current value
|
||||||
local out = awful.util.pread("amixer sget Master")
|
local out = awful.util.pread("amixer sget Master")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue