Home is good now
This commit is contained in:
parent
b4a87e8ac9
commit
93ff290def
|
@ -13,8 +13,8 @@ naughty = require("naughty")
|
|||
local menubar = require("menubar")
|
||||
local vicious = require("vicious")
|
||||
|
||||
home = "/home/thomas"
|
||||
browser = "chromium"
|
||||
home = os.getenv('HOME')
|
||||
browser = "firefox"
|
||||
|
||||
os.execute('xset m 16/1 0')
|
||||
os.setlocale("fr_FR.UTF-8")
|
||||
|
@ -65,7 +65,7 @@ function file_exists(name)
|
|||
end
|
||||
|
||||
function change_wallpaper(path)
|
||||
path = '/home/thomas/Pictures/Wallpapers/' .. path
|
||||
path = home .. '/Pictures/Wallpapers/' .. path
|
||||
|
||||
if not file_exists(path) then
|
||||
return
|
||||
|
@ -371,7 +371,7 @@ globalkeys = awful.util.table.join(
|
|||
|
||||
-- Print screen keys
|
||||
awful.key({ }, "Print", function ()
|
||||
os.execute('gnome-screenshot -fp "`echo -n "/home/thomas/Pictures/Captures/Capture du " && date "+%Y-%m-%d %H:%M:%S"`.png"')
|
||||
os.execute('gnome-screenshot -fp "`echo -n ' .. home .. '"/Pictures/Captures/Capture du " && date "+%Y-%m-%d %H:%M:%S"`.png"')
|
||||
end),
|
||||
|
||||
-- Chromium
|
||||
|
|
Loading…
Reference in New Issue