mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-28 12:30:01 +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 naughty = require("naughty")
|
||||
local beautiful = require("beautiful")
|
||||
local tonumber = tonumber
|
||||
local string = string
|
||||
local os = os
|
||||
local theme = beautiful.get()
|
||||
|
||||
-- A bit odd, but...
|
||||
require("lib/icons")
|
||||
|
@ -14,6 +16,7 @@ module("vbe/volume")
|
|||
|
||||
local volid = nil
|
||||
local function change(what)
|
||||
|
||||
os.execute("amixer -q sset Master " .. what, false)
|
||||
-- Read the current value
|
||||
local out = awful.util.pread("amixer sget Master")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue