diff --git a/hypr-configs/hyprland/mimeapps.list b/hypr-configs/hyprland/mimeapps.list index 6683200..c54c28a 100644 --- a/hypr-configs/hyprland/mimeapps.list +++ b/hypr-configs/hyprland/mimeapps.list @@ -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] diff --git a/hypr-configs/shortcuts/code-url-handler.desktop b/hypr-configs/shortcuts/code-url-handler.desktop new file mode 100644 index 0000000..c80c5a4 --- /dev/null +++ b/hypr-configs/shortcuts/code-url-handler.desktop @@ -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; \ No newline at end of file diff --git a/hypr-configs/shortcuts/code.desktop b/hypr-configs/shortcuts/code.desktop new file mode 100755 index 0000000..ce8d9e7 --- /dev/null +++ b/hypr-configs/shortcuts/code.desktop @@ -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 \ No newline at end of file diff --git a/hypr-configs/shortcuts/vscode.desktop b/hypr-configs/shortcuts/vscode.desktop deleted file mode 100755 index d93132a..0000000 --- a/hypr-configs/shortcuts/vscode.desktop +++ /dev/null @@ -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; \ No newline at end of file