From f260ca6aae5825b90a6530340045ca9657a6969b Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 5 Apr 2022 09:35:07 -0500 Subject: [PATCH] trying to make tabs work --- awesome/theme.lua | 56 ++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 51 insertions(+), 5 deletions(-) diff --git a/awesome/theme.lua b/awesome/theme.lua index fcf7218..af05637 100644 --- a/awesome/theme.lua +++ b/awesome/theme.lua @@ -16,6 +16,7 @@ local theme = {} theme.font = "VictorMono Nerd Font SemiBold 10" +theme.mstab_border_radius = 50 -- border radius of the tabbar -- COLORS -- Try to build a theme off of SNAZZY theme.base00 = "#282a36" @@ -59,6 +60,28 @@ theme.border_normal = "#00000000" theme.border_focus = "#00000000" theme.border_marked = "#00000000" + +theme.mstab_tabbar_height = 400 +theme.tabbar_bg_normal = theme.bg_normal +theme.tabbar_fg_normal = theme.fg_normal +theme.tabbar_bg_focus = theme.bg_focus +theme.tabbar_fg_focus = theme.fg_focus + +theme.mstab_bar_padding = "default" -- how much padding there should be between clients and your tabbar +theme.mstab_tabbar_position = "bottom" -- position of the tabbar (mstab currently does not support left,right) +theme.mstab_tabbar_style = "default" -- style of the tabbar ("default", "boxes" or "modern") +-- defaults to the tabbar_style so only change if you want a +-- different style for mstab and tabbed + +theme.tabbar_bar_ontop = false -- whether you want to allow the bar to be ontop of clients +theme.tabbar_dont_resize_slaves = false -- whether the tabbed stack windows should be smaller than the +-- currently focused stack window (set it to true if you use +-- transparent terminals. False if you use shadows on solid ones +-- by default it will adjust based on your useless gaps. +-- If you want a custom value. Set it to the number of pixels (int) + + + theme.master_width_factor = 0.60 -- There are other variable sets -- overriding the default one when @@ -123,17 +146,40 @@ theme.mstab_dont_resize_slaves = false -- whether the tabbed stack windows -- If you want a custom value. Set it to the number of pixels (int) theme.mstab_tabbar_height = 400 --- theme.tabbar_bg_normal = theme.bg_normal --- theme.tabbar_fg_normal = theme.fg_normal --- theme.tabbar_bg_focus = theme.bg_focus --- theme.tabbar_fg_focus = theme.fg_focus +theme.tabbar_bg_normal = theme.bg_normal +theme.tabbar_fg_normal = theme.fg_normal +theme.tabbar_bg_focus = theme.bg_focus +theme.tabbar_fg_focus = theme.fg_focus theme.mstab_border_radius = 50 -- border radius of the tabbar theme.mstab_bar_padding = "default" -- how much padding there should be between clients and your tabbar theme.mstab_tabbar_position = "bottom" -- position of the tabbar (mstab currently does not support left,right) -theme.mstab_tabbar_style = "modern" -- style of the tabbar ("default", "boxes" or "modern") +theme.mstab_tabbar_style = "default" -- style of the tabbar ("default", "boxes" or "modern") -- defaults to the tabbar_style so only change if you want a -- different style for mstab and tabbed + +theme.tabbar_bar_ontop = false -- whether you want to allow the bar to be ontop of clients +theme.tabbar_dont_resize_slaves = false -- whether the tabbed stack windows should be smaller than the +-- currently focused stack window (set it to true if you use +-- transparent terminals. False if you use shadows on solid ones +-- by default it will adjust based on your useless gaps. +-- If you want a custom value. Set it to the number of pixels (int) + +theme.tabbar_tabbar_height = 400 +-- theme.tabbar_bg_normal = theme.bg_normal +-- theme.tabbar_fg_normal = theme.fg_normal +-- theme.tabbar_bg_focus = theme.bg_focus +-- theme.tabbar_fg_focus = theme.fg_focus +theme.tabbar_border_radius = 50 -- border radius of the tabbar + +theme.tabbar_bar_padding = "default" -- how much padding there should be between clients and your tabbar +theme.tabbar_tabbar_position = "bottom" -- position of the tabbar (mstab currently does not support left,right) +theme.tabbar_tabbar_style = "modern" -- style of the tabbar ("default", "boxes" or "modern") +-- defaults to the tabbar_style so only change if you want a +-- different style for mstab and tabbed + + + -- wibar theme.wibar_shape = gears.shape.rounded_bar theme.wibar_bg = theme.bg_normal