mirror of
https://github.imc.re/void-land/hyprland-void-dots
synced 2025-04-25 16:06:54 +02:00
chore: vscode shortcuts url handler
This commit is contained in:
parent
49d9bd9a5a
commit
952daa2723
4 changed files with 44 additions and 18 deletions
|
@ -1,8 +1,8 @@
|
|||
[Default Applications]
|
||||
x-scheme-handler/http=com.google.Chrome.desktop
|
||||
x-scheme-handler/https=com.google.Chrome.desktop
|
||||
x-scheme-handler/http=thorium-portable.desktop
|
||||
x-scheme-handler/https=thorium-portable.desktop
|
||||
x-scheme-handler/chrome=userapp-Firefox-Q5DTJ2.desktop
|
||||
text/html=com.google.Chrome.desktop
|
||||
text/html=thorium-portable.desktop
|
||||
application/x-extension-htm=userapp-Firefox-Q5DTJ2.desktop
|
||||
application/x-extension-html=userapp-Firefox-Q5DTJ2.desktop
|
||||
application/x-extension-shtml=userapp-Firefox-Q5DTJ2.desktop
|
||||
|
@ -13,8 +13,8 @@ video/mp4=vlc.desktop
|
|||
application/pdf=org.gnome.Evince.desktop
|
||||
image/png=org.gnome.eog.desktop
|
||||
inode/directory=nemo.desktop
|
||||
x-scheme-handler/about=com.google.Chrome.desktop
|
||||
x-scheme-handler/unknown=com.google.Chrome.desktop
|
||||
x-scheme-handler/about=thorium-portable.desktop
|
||||
x-scheme-handler/unknown=thorium-portable.desktop
|
||||
x-scheme-handler/eclipse+command=_usr_lib_dbeaver_.desktop
|
||||
|
||||
[Added Associations]
|
||||
|
|
12
hypr-configs/shortcuts/code-url-handler.desktop
Normal file
12
hypr-configs/shortcuts/code-url-handler.desktop
Normal file
|
@ -0,0 +1,12 @@
|
|||
[Desktop Entry]
|
||||
Name=Visual Studio Code - URL Handler
|
||||
Comment=Code Editing. Redefined.
|
||||
GenericName=Text Editor
|
||||
Exec=/opt/vscode/code --open-url %U
|
||||
Icon=vscode
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
StartupNotify=true
|
||||
Categories=Utility;TextEditor;Development;IDE;
|
||||
MimeType=x-scheme-handler/vscode;
|
||||
Keywords=vscode;
|
27
hypr-configs/shortcuts/code.desktop
Executable file
27
hypr-configs/shortcuts/code.desktop
Executable file
|
@ -0,0 +1,27 @@
|
|||
[Desktop Entry]
|
||||
Name=Visual Studio Code
|
||||
Comment=Code Editing. Refined.
|
||||
GenericName=Text Editor
|
||||
Exec=/opt/vscode/code --no-sandbox %F
|
||||
Icon=/opt/vscode/resources/app/resources/linux/code.png
|
||||
Type=Application
|
||||
StartupNotify=false
|
||||
StartupWMClass=Code
|
||||
Categories=Utility;TextEditor;Development;IDE;
|
||||
MimeType=text/plain;inode/directory;application/x-visual-studio-code-workspace;
|
||||
Actions=new-empty-window;
|
||||
Keywords=vscode;
|
||||
|
||||
[Desktop Action new-empty-window]
|
||||
Name=New Empty Window
|
||||
Name[de]=Neues leeres Fenster
|
||||
Name[es]=Nueva ventana vacía
|
||||
Name[fr]=Nouvelle fenêtre vide
|
||||
Name[it]=Nuova finestra vuota
|
||||
Name[ja]=新しい空のウィンドウ
|
||||
Name[ko]=새 빈 창
|
||||
Name[ru]=Новое пустое окно
|
||||
Name[zh_CN]=新建空窗口
|
||||
Name[zh_TW]=開新空視窗
|
||||
Exec=/opt/vscode/code --new-window %F
|
||||
Icon=vscode
|
|
@ -1,13 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=Visual Studio Code
|
||||
Comment=Code Editing. Refined.
|
||||
GenericName=Text Editor
|
||||
Exec=/opt/vscode/code --no-sandbox --unity-launch
|
||||
Icon=/opt/vscode/resources/app/resources/linux/code.png
|
||||
Type=Application
|
||||
StartupNotify=false
|
||||
StartupWMClass=Code
|
||||
Categories=Utility;TextEditor;Development;IDE;
|
||||
MimeType=text/plain;inode/directory;application/x-visual-studio-code-workspace;
|
||||
Actions=new-empty-window;
|
||||
Keywords=vscode;
|
Loading…
Add table
Reference in a new issue