summaryrefslogtreecommitdiff
path: root/quickshell/.config
diff options
context:
space:
mode:
Diffstat (limited to 'quickshell/.config')
-rw-r--r--quickshell/.config/quickshell/shell.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/quickshell/.config/quickshell/shell.qml b/quickshell/.config/quickshell/shell.qml
index 110838d..bc2f230 100644
--- a/quickshell/.config/quickshell/shell.qml
+++ b/quickshell/.config/quickshell/shell.qml
@@ -68,6 +68,7 @@ PanelWindow {
// Distro icon
Rectangle {
+ id: distroModule
color: root.bg2
Layout.fillHeight: true
implicitWidth: distroIcon.implicitWidth + 16
@@ -80,6 +81,18 @@ PanelWindow {
font.family: "Symbols Nerd Font"
font.pixelSize: 14
}
+
+ MouseArea {
+ anchors.fill: parent
+ onClicked: {
+ dropdownToggleProc.running = true
+ }
+ }
+
+ Process {
+ id: dropdownToggleProc
+ command: ["sh", "-c", "if hyprctl clients -j | jq -e '.[] | select(.class==\"quickshell-dropdown\")' > /dev/null 2>&1; then pkill -f 'kitty --class quickshell-dropdown'; else kitty --class quickshell-dropdown --override font_size=8 -e sh -c 'fastfetch; echo; printf \"\\e[1;33mI USE ARCH BTW!!!!\\e[0m\\n\"; echo; exec $SHELL' & fi"]
+ }
}
// Powerline separator: bg2 -> bg1