Last active
March 30, 2023 07:33
-
-
Save aodag/c812e22e15249de04e6763046e89478b to your computer and use it in GitHub Desktop.
swayでvs codeを開くときにwofi(dmenu mode)でghq管理下のプロジェクトを選択するやつ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
workspace=$(ghq list -p | wofi -di) | |
if [ -n "$workspace" ] ; then | |
swaymsg exec "code $workspace" | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Type=Application | |
Version=1.0 | |
Name=Open Code | |
Comment=Open vscode with selected Project | |
Path=/home/aodag/bin | |
Exec=opencode | |
Terminal=false | |
Categories=Development |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment