made the quake terminal size configurable

This commit is contained in:
Johannes Findeisen 2020-07-06 01:00:19 +02:00
commit 26c66d7d8d
No known key found for this signature in database
GPG key ID: 2128DE136929E573
3 changed files with 6 additions and 15 deletions

View file

@ -7,6 +7,9 @@ config.font_awesome_size = "9"
config.font_xterm = "Source Code Pro"
config.font_xterm_size = "10"
config.titlebars_enabled = "true"
config.cityid = "2810284" -- (Westerland, DE)
config.quake_width = 1024
config.quake_height = 768
config.autostart = {
--"kalu",
--"amor",
@ -20,7 +23,7 @@ config.autostart = {
"pamac-tray",
--"/bin/bash /home/hanez/bin/steam.sh",
"redshift",
"pidgin",
--"pidgin",
"claws-mail",
"blueman-applet",
--"virt-manager",

View file

@ -19,15 +19,3 @@ function tablelength(T)
return count
end
local function set_wallpaper(s)
-- Wallpaper
if beautiful.wallpaper then
local wallpaper = beautiful.wallpaper
-- If wallpaper is a function, call it with the screen
if type(wallpaper) == "function" then
wallpaper = wallpaper(s)
end
gears.wallpaper.maximized(wallpaper, s, false)
--gears.wallpaper.centered(wallpaper, s, true)
end
end

View file

@ -225,8 +225,8 @@ awful.screen.connect_for_each_screen(function(s)
-- Quake application
s.quake = lain.util.quake({ app = terminal })
s.quake.horiz = "center"
s.quake.width = 1024
s.quake.height = 768
s.quake.width = config.quake_width
s.quake.height = config.quake_height
-- Wallpaper
set_wallpaper(s)