unified laptop and desktop qtile bar
This commit is contained in:
@@ -4,15 +4,10 @@ import numpy as np
|
||||
|
||||
from libqtile.config import Screen
|
||||
|
||||
from Bars import top_bar, left_bar, main_bar,laptop_bar, secondary_bar
|
||||
from Bars import top_bar, left_bar, main_bar, secondary_bar
|
||||
from defines import main_screen_res, top_screen_res
|
||||
|
||||
screens = [
|
||||
# Screen(bottom=top_bar),
|
||||
# Screen(top=left_bar),
|
||||
# Screen(top=main_bar),
|
||||
# Screen(top=laptop_bar)
|
||||
]
|
||||
screens = []
|
||||
|
||||
|
||||
cmd = ['xrandr']
|
||||
@@ -32,7 +27,7 @@ for width, height in screen_resolutions:
|
||||
elif width < height:
|
||||
screens.append(Screen(top=left_bar))
|
||||
elif width == max_width and not defined_main_window:
|
||||
screens.append(Screen(top=laptop_bar))
|
||||
screens.append(Screen(top=main_bar))
|
||||
defined_main_window = True
|
||||
else:
|
||||
screens.append(Screen(top=secondary_bar))
|
||||
Reference in New Issue
Block a user