add services-menus

This commit is contained in:
Asaki Yuki 2026-04-09 11:56:25 +07:00
parent dbd42fb2ab
commit d6447efb29
3 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,10 @@
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=inode/directory
Actions=RunCodeDir
[Desktop Action RunCodeDir]
Name=Open with Code
Icon=vscode
Exec=code %F

View file

@ -3,6 +3,7 @@
home.file = { home.file = {
".config/qt5ct/colors/Catppuccin-Mocha.conf".source = "${pkgs.catppuccin-qt5ct}/share/qt5ct/colors/catppuccin-mocha-sapphire.conf"; ".config/qt5ct/colors/Catppuccin-Mocha.conf".source = "${pkgs.catppuccin-qt5ct}/share/qt5ct/colors/catppuccin-mocha-sapphire.conf";
".config/qt6ct/colors/Catppuccin-Mocha.conf".source = "${pkgs.catppuccin-qt5ct}/share/qt6ct/colors/catppuccin-mocha-sapphire.conf"; ".config/qt6ct/colors/Catppuccin-Mocha.conf".source = "${pkgs.catppuccin-qt5ct}/share/qt6ct/colors/catppuccin-mocha-sapphire.conf";
".local/share/kio/servicemenus/open-with-code.desktop".source = ../../../configs/services-menu/open-with-code.desktop;
}; };
xdg.configFile = { xdg.configFile = {

View file

@ -6,7 +6,7 @@
"ALT, F4, killactive" "ALT, F4, killactive"
"SUPER SHIFT, L, exit," "SUPER SHIFT, L, exit,"
"SUPER SHIFT, TAB, togglefloating," "SUPER SHIFT, TAB, togglefloating,"
"SUPER SHIFT, S, exec, hyprshot -m region -o '~/Pictures/Screenshot/' -z" "SUPER SHIFT, S, exec, hyprshot -m region -o '/home/asakiyuki/Pictures/Screenshot/' -z"
"SUPER, J, togglesplit," "SUPER, J, togglesplit,"
"SUPER, E, exec, dolphin" "SUPER, E, exec, dolphin"