- supress fuzzel runtime warning - make use of `gtklock` (still some issues on `swayidle`) - automatic init kwallet - misc keyboard bindings (and re-implements) - sorry for definition messup (
11 lines
332 B
PowerShell
Executable File
11 lines
332 B
PowerShell
Executable File
#!/usr/bin/pwsh
|
|
|
|
$desktop="$env:HOME/Desktop"
|
|
|
|
$fsarg=(Get-ChildItem $desktop -FollowSymlink | ForEach-Object {
|
|
if ($_ -is [System.IO.DirectoryInfo]) { return "$($_.Name)/" }
|
|
else { return $_.Name }
|
|
} | fuzzel --dmenu --prompt="Open with VSCode (~/Desktop): ")
|
|
|
|
$fsarg -and (Start-Process code -ArgumentList @("$desktop/$fsarg"))
|