fix neovim LSP issues
This commit is contained in:
@ -30,10 +30,13 @@ exec-once = dunst
|
||||
exec-once = firefox
|
||||
exec-once = hyprpaper
|
||||
exec-once = [workspace 9 silent] deezer-desktop
|
||||
exec-once = scripts/close-monokai-popup.sh
|
||||
exec-once = ./scripts/close-monokai-popup.sh
|
||||
|
||||
# gnome keyring secret service
|
||||
exec-once = dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE
|
||||
# exec-once = systemctl --user stop xdg-desktop-portal-hyprland xdg-desktop-portal-gtk xdg-desktop-portal
|
||||
# exec-once = systemctl --user start xdg-desktop-portal-hyprland
|
||||
debug:disable_logs = false
|
||||
|
||||
#############################
|
||||
### ENVIRONMENT VARIABLES ###
|
||||
@ -59,6 +62,10 @@ env = GDK_BACKEND,wayland,x11
|
||||
env = _JAVA_AWT_WM_NONREPARENTING, 1
|
||||
# env = AWT_TOOLKIT, MToolkit
|
||||
|
||||
# Force Hyprland to use the RX 9070 XT
|
||||
# env = AQ_DRM_DEVICES,$HOME/.config/hypr/dgpu
|
||||
# env = WLR_DRM_DEVICES,$HOME/.config/hypr/dgpu
|
||||
|
||||
###################
|
||||
### PERMISSIONS ###
|
||||
###################
|
||||
@ -137,6 +144,10 @@ decoration {
|
||||
}
|
||||
}
|
||||
|
||||
cursor {
|
||||
no_hardware_cursors = true
|
||||
}
|
||||
|
||||
# wofi
|
||||
# layerrule = blur, wofi # apply compositor blur
|
||||
# layerrule = ignorezero, wofi # keep blur even on near-opaque colors
|
||||
@ -245,12 +256,13 @@ bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, N, exec, $fileManager
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, Space, exec, $menu
|
||||
bind = $mainMod, G, togglesplit, # dwindle
|
||||
bind = $mainMod, G, layoutmsg, togglesplit # dwindle
|
||||
bind = $mainMod, F, fullscreen, 1
|
||||
bind = $mainMod SHIFT, F, fullscreen, 0
|
||||
bind = $mainMod, B, exec, firefox
|
||||
bind = $mainMod, M, exec, thunderbird
|
||||
bind = $mainMod, L, exec, hyprlock
|
||||
bind = $mainMod, P, pseudo
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
@ -262,6 +274,8 @@ bind = $mainMod SHIFT, left, movewindow, l
|
||||
bind = $mainMod SHIFT, right, movewindow, r
|
||||
bind = $mainMod SHIFT, up, movewindow, u
|
||||
bind = $mainMod SHIFT, down, movewindow, d
|
||||
bind = $mainMod SHIFT, comma, movewindow, mon:+1
|
||||
bind = $mainMod SHIFT, period, movewindow, mon:-1
|
||||
|
||||
# Resize
|
||||
binde = $mainMod ALT, left, resizeactive, -20 0
|
||||
@ -356,3 +370,11 @@ windowrule {
|
||||
float = 1
|
||||
center = 1
|
||||
}
|
||||
|
||||
windowrule {
|
||||
name = jetbrains-commit-preview
|
||||
match:class = ^(jetbrains-.*|android-studio)$
|
||||
match:title = ^Commit.*$
|
||||
|
||||
float = 0
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# Generated by nwg-displays on 2026-02-09 at 00:39:06. Do not edit manually.
|
||||
# Generated by nwg-displays on 2026-02-28 at 11:47:04. Do not edit manually.
|
||||
|
||||
monitor=DP-1,2560x1440@165.0,6626x876,1.0
|
||||
monitor=DP-2,2560x1440@165.0,4066x876,1.0
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
SOCKET="/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock"
|
||||
SOCKET="$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock"
|
||||
|
||||
handle_line() {
|
||||
local line="$1"
|
||||
@ -9,6 +9,8 @@ handle_line() {
|
||||
local event="${line%%>>*}"
|
||||
local data="${line#*>>}"
|
||||
|
||||
echo "$data" > "$HOME/close_popup.tmp.txt"
|
||||
|
||||
case "$event" in
|
||||
openwindow)
|
||||
# Data format:
|
||||
@ -16,15 +18,17 @@ handle_line() {
|
||||
local addr ws class title
|
||||
|
||||
IFS=, read -r addr ws class title <<< "$data"
|
||||
# echo "$data" > $HOME/close_popup.tmp.txt
|
||||
|
||||
if [[ "$class" == "jetbrains-webstorm" && "$title" == "Monokai Pro Trial" ]]; then
|
||||
# closewindow expects address with 0x prefix
|
||||
hyprctl dispatch closewindow "address:0x$addr"
|
||||
# echo "$data" > "$HOME/close_popup.tmp.txt"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
socat -U - "UNIX-CONNECT:$SOCKET" | while read -r line; do
|
||||
handle_line "$line"
|
||||
socat -U - UNIX-CONNECT:$SOCKET | while read -r line; do
|
||||
handle_line "$line";
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user