alpha
Login
or
Join now
seanaye.bsky.social
/
nixos-config
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
me like nix
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
try to open steam
author
Sean Aye
date
3 months ago
(Mar 22, 2026, 8:03 PM -0400)
commit
2a91ec2e
2a91ec2e1542dc9047c12f08312a444d7eb94e27
parent
8adfe277
8adfe27729057c2010695ae8aefe0796403c0aec
change-id
xytxmsul
xytxmsulwmpnmwyvzptpotvmwtpqnlul
+32
1 changed file
Expand all
Collapse all
Unified
Split
hosts
common
quickshell
shell.qml
+32
hosts/common/quickshell/shell.qml
Reviewed
···
1
1
import Quickshell
2
2
import Quickshell.Wayland
3
3
import Quickshell.Io
4
4
+
import Quickshell.Services.SystemTray
4
5
import QtQuick
5
6
import QtQuick.Layouts
6
7
···
299
300
command: ["notify-send", "-a", "GitHub", "GitHub", "You have new notifications"]
300
301
}
301
302
303
303
+
// Open Steam window via niri focus, fallback to spawning
304
304
+
Process {
305
305
+
id: steamOpenProc
306
306
+
command: ["sh", "-c", "WID=$(niri msg --json windows | jq -r '.[] | select(.app_id | test(\"steam\"; \"i\")) | .id' | head -n1); if [ -n \"$WID\" ]; then niri msg action focus-window --id \"$WID\"; else steam steam://open/games; fi"]
307
307
+
}
308
308
+
302
309
// GitHub timer (refresh every 2 minutes)
303
310
Timer {
304
311
interval: 120000
···
378
385
Process {
379
386
id: ghOpenProc
380
387
command: ["xdg-open", "https://github.com/notifications"]
388
388
+
}
389
389
+
390
390
+
Rectangle { width: 1; height: 16; color: root.colOverlay0; visible: trayRepeater.count > 0 }
391
391
+
392
392
+
Repeater {
393
393
+
id: trayRepeater
394
394
+
model: SystemTray.items.values
395
395
+
delegate: Text {
396
396
+
id: trayDelegate
397
397
+
required property var modelData
398
398
+
color: root.colLavender
399
399
+
font { family: root.fontFamily; pixelSize: root.fontSize }
400
400
+
text: trayDelegate.modelData.title || trayDelegate.modelData.id
401
401
+
MouseArea {
402
402
+
anchors.fill: parent
403
403
+
cursorShape: Qt.PointingHandCursor
404
404
+
onClicked: {
405
405
+
if (trayDelegate.modelData.id.toLowerCase().indexOf("steam") !== -1) {
406
406
+
steamOpenProc.running = true
407
407
+
} else {
408
408
+
trayDelegate.modelData.activate()
409
409
+
}
410
410
+
}
411
411
+
}
412
412
+
}
381
413
}
382
414
}
383
415