mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-24 10:04:09 -05:00
home/nvim: add phpactor lsp, home/hyprland:playerctld binding
This commit is contained in:
@@ -38,6 +38,7 @@ in
|
||||
lspconfig.terraformls.setup{filetypes={"terraform","tf","hcl"}} -- Terraform
|
||||
lspconfig.solargraph.setup{} -- Ruby
|
||||
lspconfig.jdtls.setup{cmd = {"jdt-language-server", "-data", "${homeDir}/.cache/jdtls/workspace"}} -- Java
|
||||
lspconfig.phpactor.setup{} -- PHP
|
||||
|
||||
lspconfig.rust_analyzer.setup{ -- Rust
|
||||
settings = {
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
swaybg = "${pkgs.swaybg}/bin/swaybg";
|
||||
swayidle = "${pkgs.swayidle}/bin/swayidle";
|
||||
swaylock = "${pkgs.swaylock-effects}/bin/swaylock";
|
||||
systemctl = "${pkgs.systemd}/bin/systemctl";
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
@@ -127,6 +128,7 @@
|
||||
bind=,XF86AudioStop,exec,${playerctl} stop
|
||||
bind=ALT,XF86AudioNext,exec,${playerctld} shift
|
||||
bind=ALT,XF86AudioPrev,exec,${playerctld} unshift
|
||||
bind=ALT,XF86AudioPlay,exec,${systemctl} --user restart playerctld
|
||||
bind=SUPER,XF86AudioPlay,exec,${terminal.cmd-spawn "${pkgs.lyrics}/bin/lyrics"}
|
||||
|
||||
bind=,XF86AudioRaiseVolume,exec,${pactl} set-sink-volume @DEFAULT_SINK@ +5%
|
||||
|
||||
Reference in New Issue
Block a user