This commit is contained in:
Stephan Raabe 2023-05-31 11:36:51 +02:00
parent 8dd1eda5b3
commit 7ef5ce140e
2 changed files with 21 additions and 10 deletions

View File

@ -31,7 +31,7 @@ separator = ""
separator-foreground = ${colors.disabled}
font-0 = "Fira Sans SemiBold:size=11;2"
font-1 = "Font Awesome 6 Free Solid:pixelsize=11;2"
modules-left = xworkspaces mymenu
modules-left = xworkspaces mymenu mychatgpt
modules-center = xwindow
modules-right = battery xkeyboard mycalculator mysystem filesystem pulseaudio memory cpu date myexit
cursor-click = pointer
@ -51,6 +51,11 @@ content-foreground = ${colors.primary}
content = ""
click-left = "~/dotfiles/scripts/applauncher.sh"
[module/mychatgpt]
type = custom/text
content-foreground = ${colors.primary}
content = "ChatGPT"
click-left = "brave --app=https://chat.openai.com"
[module/mycalculator]
type = custom/text
@ -66,6 +71,8 @@ click-left = "~/dotfiles/scripts/powermenu.sh"
[module/xworkspaces]
type = internal/xworkspaces
icon1=3
icon-default = ""
label-active = %name%
label-active-background = ${colors.primary}
label-active-padding = 2

View File

@ -118,9 +118,7 @@ keys = [
Key([mod, "shift"], "w", lazy.spawn(home + "/dotfiles/scripts/updatewal.sh"), desc="Update Theme and Wallpaper"),
Key([mod, "control"], "w", lazy.spawn(home + "/dotfiles/scripts/wallpaper.sh"), desc="Select Theme and Wallpaper"),
Key([mod, "control"], "t", lazy.spawn(home + "/dotfiles/scripts/templates.sh"), desc="Select Tempate and copy to clipboard"),
# Scratchpads
# Key([mod, "control"], "c", lazy.group["calculator"].dropdown_toggle("calc"))
Key([], 'F10', lazy.spawn("brave --app=https://chat.openai.com"), desc="Open ChatGPT")
]
# --------------------------------------------------------
@ -133,16 +131,22 @@ groups = [
Group("3", layout='monadtall'),
Group("4", layout='monadtall'),
Group("5", layout='monadtall'),
# --------------------------------------------------------
# Scratchpads
# --------------------------------------------------------
# ScratchPad("calculator",[DropDown("calc", "qalculate-gtk", x=0.3, y=0.1, width=0.40, height=0.4, on_focus_lost_hide=False )])
]
dgroups_key_binder = simple_key_binder(mod)
# --------------------------------------------------------
# Scratchpads
# --------------------------------------------------------
'''
groups.append(ScratchPad("6", [
DropDown("chatgpt", "chromium --profile-directory=Default --app-id=jckaldkomadaenmmgladeopgmfbahfjm", x=0.3, y=0.1, width=0.40, height=0.4, on_focus_lost_hide=False )
]))
keys.extend([
Key([], 'F10', lazy.group["6"].dropdown_toggle("chatgpt"))
])
'''
# --------------------------------------------------------
# Pywal Colors
# --------------------------------------------------------