From 0615c3832dfa8a5f5bb915a073c9cac14d09cf4e Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sun, 20 Dec 2020 01:24:14 +0100 Subject: [PATCH] fixed loop misjtake in dropdown menu creation --- git/.git-credentials | 2 +- qtile/.config/qtile/config.py | 10 ++++++---- qtile/.config/qtile/hotkeyimage.py | 4 ++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/git/.git-credentials b/git/.git-credentials index e8b2fee..d4e18dd 100644 --- a/git/.git-credentials +++ b/git/.git-credentials @@ -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:5SC%24%5e%5eonvuD5Ze@git.owl-racing-team.de https://paul-loedige:yP4vs9rTriqP4b8mK4ohyNHSH@its-gitlab.init.hs-owl.de diff --git a/qtile/.config/qtile/config.py b/qtile/.config/qtile/config.py index d62d99c..7ac690e 100644 --- a/qtile/.config/qtile/config.py +++ b/qtile/.config/qtile/config.py @@ -93,7 +93,7 @@ keys = [ Key([], 'XF86AudioRaiseVolume', lazy.spawn('pulseaudio-ctl up 1')), Key([], 'XF86AudioLowerVolume', lazy.spawn('pulseaudio-ctl down 1')), 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,10 +130,12 @@ for (icon,name,key, kwargs) in group_names: Key(['mod1','control', "shift"], str(key), lazy.window.togroup(icon), desc="move focused window to group {}".format(name)), - - Key(['mod1','control'],'space',lazy.group['scratchpad'].dropdown_toggle('term'), - desc="open the dropdown terminal"), ]) + +keys.extend([ + Key(['mod1','control'],'space',lazy.group['scratchpad'].dropdown_toggle('term'), + desc="open the dropdown terminal"), +]) #endregion #region Layouts diff --git a/qtile/.config/qtile/hotkeyimage.py b/qtile/.config/qtile/hotkeyimage.py index 5ca5554..d72b254 100644 --- a/qtile/.config/qtile/hotkeyimage.py +++ b/qtile/.config/qtile/hotkeyimage.py @@ -3,7 +3,7 @@ import os import time 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: lines = [line.rstrip() for line in file] @@ -19,7 +19,7 @@ for line in lines[:len(lines)//2]: if os.path.isfile(hotkey_picture): os.remove(hotkey_picture) -fontsize = 19 +fontsize = 20 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')