Change emacs language servers

Change keybinds for launching some programs in hyprland
This commit is contained in:
Evie Litherland-Smith 2023-08-04 16:44:17 +01:00
parent 27de34679a
commit 1336f5da84
2 changed files with 30 additions and 22 deletions

View file

@ -1,4 +1,6 @@
{ pkgs, ... }: {
{ pkgs, ... }:
{
home.packages = with pkgs; [
# Emacs dependencies
emacs28NativeComp
@ -18,27 +20,33 @@
ispell
sqlite
pandoc
python3
gfortran
texlive.combined.scheme-medium
# Formatters
nixfmt
beautysh
black
nodePackages.fixjson
fprettify
isort
shellharden
stylua
python3Packages.mdformat
# LSP servers
nil
rnix-lsp
fortls
nodePackages.pyright
(python3.withPackages (ps: with ps; [
python-lsp-server
python-lsp-ruff
python-lsp-black
pyls-isort
pylsp-mypy
pylsp-rope
]))
# nodePackages.pyright
nodePackages.yaml-language-server
nodePackages.bash-language-server
nodePackages.vscode-html-languageserver-bin
nodePackages.vscode-css-languageserver-bin
nodePackages.vscode-json-languageserver-bin
nodePackages.dockerfile-language-server-nodejs

View file

@ -71,17 +71,17 @@ XWayland {
bind = SUPER, Return, exec, wezterm
bind = SUPER, F1, exec, swaylock
bind = SUPER, X, exec, emacsclient -c -a 'emacs'
bind = SUPER, W, exec, pgrep firefox > /dev/null || firefox
bind = SUPER, E, exec, pgrep thunderbird > /dev/null || thunderbird
bind = SUPER, F, exec, pgrep thunar > /dev/null || thunar
bind = SUPER, S, exec, pgrep ncspot > /dev/null || wezterm start --always-new-process ncspot
bind = SUPER, V, exec, pgrep bitwarden > /dev/null || bitwarden
bind = SUPER CTRL, W, exec, firefox
bind = SUPER CTRL, E, exec, thunderbird
bind = SUPER CTRL, F, exec, thunar
bind = SUPER CTRL, S, exec, wezterm start --always-new-process ncspot
bind = SUPER CTRL, V, exec, bitwarden
# Rofi binds
bind = SUPER, Space, exec, pkill rofi || rofi -show drun
bind = SUPER SHIFT, Space, exec, pkill rofi || rofi -show run
bind = SUPER SHIFT, Return, exec, pkill rofi || rofi -show ssh
bind = SUPER SHIFT, E, exec, pkill rofi || rofi -show file-browser-extended
bind = SUPER SHIFT, B, exec, pkill rofi || rofi -show file-browser-extended
bind = SUPER SHIFT, P, exec, pkill rofi || rofi -show power-menu
bind = SUPER, B, togglefloating
@ -125,7 +125,7 @@ windowrule = workspace name:home,(.gamescope-wrapped)
bind = SUPER, W, moveworkspacetomonitor, name:browser current
bind = SUPER, W, workspace, name:browser
bind = SUPER SHIFT, W, movetoworkspace, name:browser
windowrule = workspace silent name:browser,(firefox)
windowrule = workspace name:browser,(firefox)
windowrulev2 = float,title:(File|Picture-in-Picture),class:(firefox)
windowrulev2 = pin,title:(File|Picture-in-Picture),class:(firefox)
@ -133,7 +133,7 @@ windowrulev2 = pin,title:(File|Picture-in-Picture),class:(firefox)
bind = SUPER, E, moveworkspacetomonitor, name:email current
bind = SUPER, E, workspace, name:email
bind = SUPER SHIFT, E, movetoworkspace, name:email
windowrule = workspace silent name:email,(thunderbird)
windowrule = workspace name:email,(thunderbird)
# files
bind = SUPER, F, moveworkspacetomonitor, name:files current
@ -142,7 +142,7 @@ bind = SUPER SHIFT, F, movetoworkspace, name:files
windowrule = workspace name:files,(org.pwmt.zathura)
windowrule = workspace name:files,^(libreoffice).*
windowrule = workspace name:files,(Zotero)
windowrule = workspace silent name:files,(thunar)
windowrule = workspace name:files,(thunar)
windowrulev2 = workspace name:files,title:(Open),class:(soffice)
windowrulev2 = float,title:(Open),class:(soffice)
@ -150,16 +150,16 @@ windowrulev2 = float,title:(Open),class:(soffice)
bind = SUPER, C, moveworkspacetomonitor, name:chat current
bind = SUPER, C, workspace, name:chat
bind = SUPER SHIFT, C, movetoworkspace, name:chat
windowrule = workspace silent name:chat,(Signal)
windowrule = workspace silent name:chat,(fractal)
windowrule = workspace silent name:chat,(discord)
windowrule = workspace silent name:chat,(teams-for-linux)
windowrule = workspace name:chat,(Signal)
windowrule = workspace name:chat,(fractal)
windowrule = workspace name:chat,(discord)
windowrule = workspace name:chat,(teams-for-linux)
# call
bind = SUPER, Z, moveworkspacetomonitor, name:call current
bind = SUPER, Z, workspace, name:call
bind = SUPER SHIFT, Z, movetoworkspace, name:call
windowrulev2 = workspace silent name:call,title:(Zoom|zoom)
windowrulev2 = workspace name:call,title:(Zoom|zoom)
windowrulev2 = float,title:(Zoom|zoom)
windowrulev2 = center,title:(Zoom|zoom)
windowrulev2 = maxsize 800 600,title:(Zoom|zoom)
@ -170,13 +170,13 @@ windowrulev2 = nomaximizerequest,title:(Zoom|zoom)
bind = SUPER, S, moveworkspacetomonitor, name:music current
bind = SUPER, S, workspace, name:music
bind = SUPER SHIFT, S, movetoworkspace, name:music
windowrulev2 = workspace silent name:music,title:(ncspot)
windowrulev2 = workspace name:music,title:(ncspot)
# vault
bind = SUPER, V, moveworkspacetomonitor, name:vault current
bind = SUPER, V, workspace, name:vault
bind = SUPER SHIFT, V, movetoworkspace, name:vault
windowrule = workspace silent name:vault,(Bitwarden)
windowrule = workspace name:vault,(Bitwarden)
# remote
bind = SUPER, R, moveworkspacetomonitor, name:remote current