fixed loop misjtake in dropdown menu creation
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
https://paul-loedige:5SC%24%5e%5eonvuD5Ze@git.owl-racing-team.de
|
|
||||||
https://paul-loedige:VhD%40R46%2ai9k%24tumJgD3T@git.ploedige.com
|
https://paul-loedige:VhD%40R46%2ai9k%24tumJgD3T@git.ploedige.com
|
||||||
|
https://paul-loedige:5SC%24%5e%5eonvuD5Ze@git.owl-racing-team.de
|
||||||
https://paul-loedige:yP4vs9rTriqP4b8mK4ohyNHSH@its-gitlab.init.hs-owl.de
|
https://paul-loedige:yP4vs9rTriqP4b8mK4ohyNHSH@its-gitlab.init.hs-owl.de
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ keys = [
|
|||||||
Key([], 'XF86AudioRaiseVolume', lazy.spawn('pulseaudio-ctl up 1')),
|
Key([], 'XF86AudioRaiseVolume', lazy.spawn('pulseaudio-ctl up 1')),
|
||||||
Key([], 'XF86AudioLowerVolume', lazy.spawn('pulseaudio-ctl down 1')),
|
Key([], 'XF86AudioLowerVolume', lazy.spawn('pulseaudio-ctl down 1')),
|
||||||
Key([], 'XF86AudioMute', lazy.spawn('pulseaudio-ctl mute')),
|
Key([], 'XF86AudioMute', lazy.spawn('pulseaudio-ctl mute')),
|
||||||
Key([],'Pause',lazy.spawn('amixer set Capture toggle')),
|
Key([],'Pause',lazy.spawn('amixer set Capture toggle'), desc="Toggles Microphone"),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
@@ -130,7 +130,9 @@ for (icon,name,key, kwargs) in group_names:
|
|||||||
|
|
||||||
Key(['mod1','control', "shift"], str(key), lazy.window.togroup(icon),
|
Key(['mod1','control', "shift"], str(key), lazy.window.togroup(icon),
|
||||||
desc="move focused window to group {}".format(name)),
|
desc="move focused window to group {}".format(name)),
|
||||||
|
])
|
||||||
|
|
||||||
|
keys.extend([
|
||||||
Key(['mod1','control'],'space',lazy.group['scratchpad'].dropdown_toggle('term'),
|
Key(['mod1','control'],'space',lazy.group['scratchpad'].dropdown_toggle('term'),
|
||||||
desc="open the dropdown terminal"),
|
desc="open the dropdown terminal"),
|
||||||
])
|
])
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import os
|
|||||||
import time
|
import time
|
||||||
|
|
||||||
hotkey_file='/home/paul/Hotkeys'
|
hotkey_file='/home/paul/Hotkeys'
|
||||||
hotkey_picture='/home/paul/Hotkeys.png'
|
hotkey_picture='/home/paul/Pictures/Wallpapers/Hotkeys.png'
|
||||||
|
|
||||||
with open(hotkey_file) as file:
|
with open(hotkey_file) as file:
|
||||||
lines = [line.rstrip() for line in file]
|
lines = [line.rstrip() for line in file]
|
||||||
@@ -19,7 +19,7 @@ for line in lines[:len(lines)//2]:
|
|||||||
if os.path.isfile(hotkey_picture):
|
if os.path.isfile(hotkey_picture):
|
||||||
os.remove(hotkey_picture)
|
os.remove(hotkey_picture)
|
||||||
|
|
||||||
fontsize = 19
|
fontsize = 20
|
||||||
|
|
||||||
image = Image.new(mode = "RGB", size = (1440,900), color=(43,46,59))
|
image = Image.new(mode = "RGB", size = (1440,900), color=(43,46,59))
|
||||||
ImageDraw.Draw(image).text((10,10), text1, font=ImageFont.truetype('/usr/share/fonts/ubuntu/UbuntuMono-R.ttf',fontsize), fill='#ffffff')
|
ImageDraw.Draw(image).text((10,10), text1, font=ImageFont.truetype('/usr/share/fonts/ubuntu/UbuntuMono-R.ttf',fontsize), fill='#ffffff')
|
||||||
|
|||||||
Reference in New Issue
Block a user