merged laptop into master
This commit is contained in:
@@ -12,7 +12,7 @@ group_names = [("","Home", 'h',{'layout': 'monadtall'}),
|
||||
("","Documents", 'l',{'layout': 'monadtall'}),
|
||||
("ﱘ","Music", 'u',{'layout': 'monadtall', 'matches' : [Match(wm_class="spotify")]}),
|
||||
("","Video", 'v',{'layout': 'monadtall', 'matches' : [Match(wm_class="vlc")]}),
|
||||
("ﭮ","Discord", 'd',{'layout': 'monadtall', 'matches':[Match(wm_class="discord")]}),
|
||||
("ﭮ","VideoChat", 'z',{'layout': 'monadtall', 'matches':[Match(wm_class="discord")]}),
|
||||
("","ClickUp", 'k',{'layout': 'monadtall', 'matches' : [Match(wm_class="clickup")]}),
|
||||
("一","etc1", '1', {'layout': 'monadtall'}),
|
||||
("二","etc2", '2', {'layout': 'monadtall'}),
|
||||
@@ -93,6 +93,15 @@ groups.append(
|
||||
on_focus_lost_hide=False,
|
||||
opacity=1
|
||||
),
|
||||
DropDown(
|
||||
'Deepl',
|
||||
'surf deepl.com',
|
||||
height = 0.5,
|
||||
width = 0.8,
|
||||
x = 0.1,
|
||||
on_focus_lost_hide=False,
|
||||
opacity=1
|
||||
),
|
||||
DropDown(
|
||||
'Telegram',
|
||||
'telegram-desktop',
|
||||
@@ -138,4 +147,6 @@ keys.extend([
|
||||
desc="open the dropdown for Telegram"),
|
||||
Key(['mod1','control'],'q',lazy.group['scratchpad'].dropdown_toggle('Qalculate!'),
|
||||
desc="open the dropdown for Qalculate!"),
|
||||
Key(['mod1','control'],'d',lazy.group['scratchpad'].dropdown_toggle('Deepl'),
|
||||
desc="open the dropdown for Deepl")
|
||||
])
|
||||
|
||||
@@ -19,7 +19,7 @@ cmd = ['xrandr']
|
||||
p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
|
||||
resolution_string, junk = p.communicate()
|
||||
p.stdout.close()
|
||||
screen_resolutions = [np.array(screen_res.split('x')).astype(np.int) for screen_res in re.findall('[0-9]+x[0-9]+(?=[^\\\\n]*\*)',str(resolution_string))]
|
||||
screen_resolutions = [np.array(screen_res.split('x')).astype(int) for screen_res in re.findall('[0-9]+x[0-9]+(?=[^\\\\n]*\*)',str(resolution_string))]
|
||||
number_of_screens = len(screen_resolutions)
|
||||
max_width = max(screen_resolutions, key=lambda res: res[0])[0]
|
||||
defined_main_window = False
|
||||
|
||||
@@ -41,7 +41,6 @@ def Left_widgets(size,fontsize,prompt=False):
|
||||
text='',
|
||||
foreground=light_foreground_color,
|
||||
fontsize=fontsize,
|
||||
# margin=5,
|
||||
background=blue_color
|
||||
),
|
||||
*powerline_arrow('r',blue_color,base_color,size),
|
||||
|
||||
@@ -16,4 +16,5 @@ nm-applet &
|
||||
blueman-applet &
|
||||
thunderbird &
|
||||
clickup &
|
||||
fcitx -d&
|
||||
fcitx5 -d&
|
||||
emacs --daemon &
|
||||
Reference in New Issue
Block a user