update: reconfigured hyprland nvim and other things

This commit is contained in:
2025-11-27 20:24:18 +03:00
parent a2f5381eba
commit 4e98365dab
432 changed files with 48232 additions and 154 deletions

View File

@ -1,16 +1,13 @@
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = uwsm app -- /usr/lib/xdg-desktop-portal-hyprland
exec-once = uwsm app -- /usr/lib/xdg-desktop-portal
exec-once = uwsm app -- /usr/lib/xdg-desktop-portal-gtk
# exec-once = uwsm app -- hypridle
exec-once = uwsm app -- swww-daemon
exec-once = uwsm app -- hyprpaper
exec-once = uwsm app -- waybar
exec-once = uwsm app -- wl-paste --type text --watch cliphist store #Stores only text data
exec-once = uwsm app -- wl-paste --type image --watch cliphist store #Stores only image data
exec-once = uwsm app -- dunst
exec-once = uwsm app -- systemd-inhibit --who="Hyprland config" --why="wlogout keybind" --what=handle-power-key --mode=block sleep infinity
exec-once = hyprpaper

View File

@ -1,11 +1,10 @@
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, kitty
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, dolphin
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, thunar
bind = $mainMod SHIFT, V, togglefloating,
bind = $mainMod, R, exec, rofi -show drun
bind = $mainMod, P, pseudo, # dwindle
@ -16,7 +15,6 @@ bind = $mainMod, V, exec, rofi -modi clipboard:/$HOME/.config/rofi/cliphist-rofi
bind = $mainMod SHIFT, S, exec, IMG=~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).png && grim -g "$(slurp)" $IMG && wl-copy < $IMG
bind = , PRINT, exec, grim - | wl-copy
bind = CONTROL, ESCAPE, exec, kitty btop
# bind = ALT_L, SHIFT_L, exec, hyprctl switchxkblayout current next
# hyprlock bind
bind = $mainMod, code:49, exec, hyprlock
@ -43,9 +41,6 @@ binde = , XF86MonBrightnessDown , exec, brightnessctl --class='backlight' set 5%
bind = $mainMod ALT, up, exec, ddcutil -d 1 setvcp 10 + 5; .config/hypr/scripts/dunst/brightness.sh
bind = $mainMod ALT, down, exec, ddcutil -d 1 setvcp 10 - 5; .config/hypr/scripts/dunst/brightness.sh
# asus binds
bind = , XF86Launch1 , exec, asusctl profile -P quiet
# power binds
bindl = , switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, 1920x1080@120, 0x0, 1, vrr, 1"
bindl = , switch:on:Lid Switch, exec, .config/hypr/scripts/eDPower.sh
@ -117,5 +112,3 @@ bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 0

View File

@ -1,4 +1,2 @@
# See https://wiki.hyprland.org/Configuring/Monitors/
#monitor = eDP-1, 1920x1080@120, auto, 1, vrr, 1
monitor = , prefered, auto, 1

View File

@ -1,126 +1 @@
# Some default env vars.
env = GTK_THEME,Colloid-Transparent-Dracula
env = QT_QPA_PLATFORM,wayland;xcb
# env = QT_QPA_PLATFORMTHEME,qt6ct,*
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = GDK_BACKEND,wayland,x11,*
env = XCURSOR_SIZE,24
exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
exec = gsettings set org.gnome.desktop.interface gtk-theme "adw-gtk3-dark"
env = QT_QPA_PLATFORMTHEME,kde
ecosystem {
no_update_news = true
}
misc {
disable_hyprland_logo = true
}
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = us, ru
kb_variant =
kb_model =
kb_options = grp:alt_shift_toggle, caps:escape
kb_rules =
follow_mouse = 1
touchpad {
natural_scroll = yes
scroll_factor = 0.5
}
sensitivity = -0.4 # -1.0 - 1.0, 0 means no modification.
force_no_accel = 0
}
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 3
gaps_out = 5
border_size = 2
col.active_border = rgba(33ccffee) rgba(bd93f9ee) 45deg
col.inactive_border = rgba(595959aa)
layout = dwindle
}
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 10
blur {
brightness = 0.7
contrast = 0.75
enabled = true
size = 3
passes = 2
ignore_opacity = true
}
}
animations {
enabled = yes
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default
}
dwindle {
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = yes # you probably want this
}
gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
# Example (cool, but i don't know, what useful things i can do with that)
# gesture = 3, left, dispatcher, focusworkspaceoncurrentmonitor, r+1
gesture = 3, horizontal, workspace
}
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
device {
name = epic-mouse-v1
sensitivity = -0.5
}
group {
col.border_active = rgba(33ccffee) rgba(bd93f9ee) 45deg
groupbar {
gradients = false
col.active = rgba(33ccffee)
render_titles = false
}
}
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrulev2 = float, center, class:^(xfce-polkit)$
windowrulev2 = float, center, class:^(file-roller)$
#windowrulev2 = minsize 1 1, title:^()$,class:^(OrcaSlicer)$
#windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$
layerrule = blur, rofi
layerrule = ignorealpha, rofi
layerrule = blur, notifications
layerrule = ignorealpha, notifications
layerrule = blur, waybar
layerrule = ignorealpha, waybar
source = ~/.config/hypr/config/*

View File

@ -3,8 +3,7 @@ general {
}
background {
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
path = $HOME/.config/hypr/Wallpaper/pink.png # only png supported for now
path = $HOME/.config/hypr/Wallpaper/kita.png
blur_passes = 1 # 0 disables blurring
blur_size = 3
noise = 0.0117
@ -17,8 +16,8 @@ background {
input-field {
size = 250, 60
outline_thickness = 2
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
dots_size = 0.2
dots_spacing = 0.2
dots_center = true
outer_color = rgba(51, 204, 255, 0.93)
inner_color = rgba(10, 0, 30, 1)