merged laptop into master

This commit is contained in:
paul-loedige
2023-02-22 17:54:22 +01:00
parent 3280a62cac
commit 61dc1712af
8 changed files with 60 additions and 34 deletions
+12 -1
View File
@@ -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")
])
+1 -1
View File
@@ -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
-1
View File
@@ -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),
+2 -1
View File
@@ -16,4 +16,5 @@ nm-applet &
blueman-applet &
thunderbird &
clickup &
fcitx -d&
fcitx5 -d&
emacs --daemon &