diff --git a/rc.lua b/rc.lua index 66918aa..23d441f 100644 --- a/rc.lua +++ b/rc.lua @@ -485,7 +485,7 @@ globalkeys = awful.util.table.join( end, {description="start the web browser", group="shortcuts"}), awful.key({modkey}, "z", function() - awful.spawn.easy_async(options.browser .. " https://web.telegram.org https://chat.polymny.studio https://discord.com/app https://nuage.polymny.studio/nextcloud/index.php/apps/calendar/", function() end) + awful.spawn.easy_async(options.browser .. " https://gitea.tforgione.fr/tforgione/todo/issues https://web.telegram.org https://chat.polymny.studio https://discord.com/app https://nuage.polymny.studio/nextcloud/index.php/apps/calendar/", function() end) naughty.notify({title = "Starting social media"}) end, {description="Open social media", group="shortcuts"}), diff --git a/themes/default/theme.lua b/themes/default/theme.lua index 68dcc25..a4dfac3 100644 --- a/themes/default/theme.lua +++ b/themes/default/theme.lua @@ -76,20 +76,26 @@ theme.titlebar_maximized_button_focus_inactive = "/usr/share/awesome/themes/def theme.titlebar_maximized_button_normal_active = "/usr/share/awesome/themes/default/titlebar/maximized_normal_active.png" theme.titlebar_maximized_button_focus_active = "/usr/share/awesome/themes/default/titlebar/maximized_focus_active.png" -function getrandomwallpaper() - local wallpaperdir = os.getenv('HOME') .. '/.config/awesome/Wallpapers/' - local i, t, popen = 0, {}, io.popen - local pfile = popen('ls -a "'.. wallpaperdir .. '"') - for filename in pfile:lines() do - i = i + 1 - t[i] = filename - end - pfile:close() - return wallpaperdir .. t[math.random(1, i)] -end - +-- function getallwallpapers() +-- local wallpaperdir = os.getenv('HOME') .. '/.config/awesome/Wallpapers/' +-- local t, popen = 0, {}, io.popen +-- local pfile = popen('ls -a "'.. wallpaperdir .. '"') +-- theme.wallpaperlen = 0 +-- for filename in pfile:lines() do +-- theme.wallpaperlen = theme.wallpaperlen + 1 +-- theme.wallpapers[theme.wallpaperlen] = wallpaperdir .. filename +-- end +-- pfile:close() +-- end +-- +-- getallwallpapers() +-- +-- function getrandomwallpaper() +-- return wallpaperdir .. theme.wallpapers[math.random(1, theme.wallpaperlen)] +-- end +-- -- theme.wallpaper = getrandomwallpaper() -theme.wallpaper = os.getenv('HOME') .. "/.config/awesome/Wallpapers/kuala.png" +theme.wallpaper = os.getenv('HOME') .. "/.config/awesome/Wallpapers/toilet-3.png" -- You can use your own layout icons like this: theme.layout_fairh = "/usr/share/awesome/themes/default/layouts/fairhw.png"