made the quake terminal size configurable
This commit is contained in:
parent
cbb58819cb
commit
26c66d7d8d
3 changed files with 6 additions and 15 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue