Home is good now

This commit is contained in:
Thomas FORGIONE 2016-10-23 14:43:14 +02:00
parent b4a87e8ac9
commit 93ff290def
1 changed files with 4 additions and 4 deletions

View File

@ -13,8 +13,8 @@ naughty = require("naughty")
local menubar = require("menubar") local menubar = require("menubar")
local vicious = require("vicious") local vicious = require("vicious")
home = "/home/thomas" home = os.getenv('HOME')
browser = "chromium" browser = "firefox"
os.execute('xset m 16/1 0') os.execute('xset m 16/1 0')
os.setlocale("fr_FR.UTF-8") os.setlocale("fr_FR.UTF-8")
@ -65,7 +65,7 @@ function file_exists(name)
end end
function change_wallpaper(path) function change_wallpaper(path)
path = '/home/thomas/Pictures/Wallpapers/' .. path path = home .. '/Pictures/Wallpapers/' .. path
if not file_exists(path) then if not file_exists(path) then
return return
@ -371,7 +371,7 @@ globalkeys = awful.util.table.join(
-- Print screen keys -- Print screen keys
awful.key({ }, "Print", function () 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), end),
-- Chromium -- Chromium