This commit is contained in:
2026-03-09 02:47:21 +03:00
parent 79000a7deb
commit bb2818a6aa
13 changed files with 586 additions and 2 deletions

View File

@@ -16,7 +16,8 @@ end
bind alt-s 're-sudo' bind alt-s 're-sudo'
abbr sd 'stow -vD' abbr sD 'stow -vD'
abbr sS 'stow -vS'
abbr i 'yay -S' abbr i 'yay -S'
abbr r 'yay -Rnscu' abbr r 'yay -Rnscu'
abbr gd 'git diff' abbr gd 'git diff'

View File

@@ -0,0 +1,36 @@
animations {
enabled = yes, please :)
# Animations curves
bezier = linear, 0, 0, 1, 1
bezier = md3_standard, 0.2, 0, 0, 1
bezier = md3_decel, 0.05, 0.7, 0.1, 1
bezier = md3_accel, 0.3, 0, 0.8, 0.15
bezier = overshot, 0.05, 0.9, 0.1, 1.1
bezier = crazyshot, 0.1, 1.5, 0.76, 0.92
bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
bezier = menu_decel, 0.1, 1, 0, 1
bezier = menu_accel, 0.38, 0.04, 1, 0.07
bezier = easeInOutCirc, 0.85, 0, 0.15, 1
bezier = easeOutCirc, 0, 0.55, 0.45, 1
bezier = easeOutExpo, 0.16, 1, 0.3, 1
bezier = softAcDecel, 0.26, 0.26, 0.15, 1
bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration
# Animation configs
animation = windows, 1, 3, md3_decel, popin 60%
animation = windowsIn, 1, 3, md3_decel, popin 60%
animation = windowsOut, 1, 3, md3_accel, popin 60%
animation = border, 1, 10, default
animation = fade, 1, 3, md3_decel
animation = layers, 1, 2, md3_decel, slide
animation = layersIn, 1, 3, menu_decel, slide
animation = layersOut, 1, 1.6, menu_accel
animation = fadeLayersIn, 1, 2, menu_decel
animation = fadeLayersOut, 1, 4.5, menu_accel
animation = workspaces, 1, 7, menu_decel, slide
animation = workspaces, 1, 2.5, softAcDecel, slide
animation = workspaces, 1, 7, menu_decel, slidefade 15%
animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15%
animation = specialWorkspace, 1, 3, md3_decel, slidevert
}

View File

@@ -0,0 +1,13 @@
bind = SUPER, RETURN, exec, runapp xdg-terminal-exec
bind = SUPER, E, exec, runapp nautilus
bind = SUPER, B, exec, runapp zen
bind = SUPER SHIFT, O, exec, runapp obsidian --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-transparent-visuals
bind = SUPER, T, exec, runapp Telegram
bind = SUPER, F1, exec, pkexec awg-quick up awg0
bind = SUPER, F2, exec, pkexec awg-quick down awg0
bind = , PRINT, exec, hyprshot -m region
bind = SUPER, SPACE, exec, nc -U /run/user/1000/walker/walker.sock
bind = SUPER, I, exec, walker -m menus:wallpaper
bind = SUPER, C, exec, hyprpicker -a
windowrule = match:class obsidian, match:fullscreen false, opacity 0.95

View File

@@ -0,0 +1,14 @@
# Multimedia keys for volume and LCD brightness
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
# Playerctl
bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous

113
hypr/.config/hypr/hypr.conf Normal file
View File

@@ -0,0 +1,113 @@
gesture = 3, horizontal, workspace
#animations {
# enabled = yes, please :)
#
# # Default curves, see https://wiki.hypr.land/Configuring/Animations/#curves
# # NAME, X0, Y0, X1, Y1
# bezier = easeOutQuint, 0.23, 1, 0.32, 1
# bezier = easeInOutCubic, 0.65, 0.05, 0.36, 1
# bezier = linear, 0, 0, 1, 1
# bezier = almostLinear, 0.5, 0.5, 0.75, 1
# bezier = quick, 0.15, 0, 0.1, 1
#
# # Default animations, see https://wiki.hypr.land/Configuring/Animations/
# # NAME, ONOFF, SPEED, CURVE, [STYLE]
# animation = global, 1, 10, default
# animation = border, 1, 5.39, easeOutQuint
# animation = windows, 1, 4.79, easeOutQuint
# animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
# animation = windowsOut, 1, 1.49, linear, popin 87%
# animation = fadeIn, 1, 1.73, almostLinear
# animation = fadeOut, 1, 1.46, almostLinear
# animation = fade, 1, 3.03, quick
# animation = layers, 1, 3.81, easeOutQuint
# animation = layersIn, 1, 4, easeOutQuint, fade
# animation = layersOut, 1, 1.5, linear, fade
# animation = fadeLayersIn, 1, 1.79, almostLinear
# animation = fadeLayersOut, 1, 1.39, almostLinear
# animation = workspaces, 1, 1.94, almostLinear, fade
# animation = workspacesIn, 1, 1.21, almostLinear, fade
# animation = workspacesOut, 1, 1.94, almostLinear, fade
# animation = zoomFactor, 1, 7, quick
#}
#
# Ref https://wiki.hypr.land/Configuring/Workspace-Rules/
# "Smart gaps" / "No gaps when only"
# uncomment all if you wish to use that.
# workspace = w[tv1], gapsout:0, gapsin:0
# workspace = f[1], gapsout:0, gapsin:0
# windowrule {
# name = no-gaps-wtv1
# match:float = false
# match:workspace = w[tv1]
#
# border_size = 0
# rounding = 0
# }
#
# windowrule {
# name = no-gaps-f1
# match:float = false
# match:workspace = f[1]
#
# border_size = 0
# rounding = 0
# }
# See https://wiki.hypr.land/Configuring/Dwindle-Layout/ for more
#dwindle {
# pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
# preserve_split = true # You probably want this
#}
#
## See https://wiki.hypr.land/Configuring/Master-Layout/ for more
#master {
# new_status = master
#}
#
## https://wiki.hypr.land/Configuring/Variables/#misc
#misc {
# force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
# disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
#}
##############################
### WINDOWS AND WORKSPACES ###
##############################
# See https://wiki.hypr.land/Configuring/Window-Rules/ for more
# See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
# Example windowrules that are useful
windowrule {
# Ignore maximize requests from all apps. You'll probably like this.
name = suppress-maximize-events
match:class = .*
suppress_event = maximize
}
windowrule {
# Fix some dragging issues with XWayland
name = fix-xwayland-drags
match:class = ^$
match:title = ^$
match:xwayland = true
match:float = true
match:fullscreen = false
match:pin = false
no_focus = true
}
# Hyprland-run windowrule
windowrule {
name = move-hyprland-run
match:class = hyprland-run
move = 20 monitor_h-120
float = yes
}

View File

@@ -0,0 +1,23 @@
general{
lock_cmd = bash -c 'pidof hyprlock >/dev/null || hyprlock'
before_sleep_cmd = loginctl lock-session
after_sleep_cmd = hyprctl dispatch dpms on
}
listener{
timeout = 240
on-timeout = bash -c 'hyprctl switchxkblayout at-translated-set-2-keyboard 0; pidof hyprlock >/dev/null || hyprlock'
on-resume = hyprctl dispatch dpms on
}
listener{
timeout = 600
on-timeout = brightnessctl -s set 10
on-resume = brightnessctl -r
}
listener{
timeout = 660
on-timeout = systemctl suspend
}

View File

@@ -0,0 +1,19 @@
monitor = eDP-1, 1920x1080@60, 0x0, 1
watchdog_timeout = 0
misc:vfr = true
source = ~/.config/hypr/input.conf
source = ~/.config/hypr/hardware-bindings.conf
source = ~/.config/hypr/tiling.conf
source = ~/.config/hypr/bindings.conf
source = ~/.config/hypr/looknfeel.conf
source = ~/.config/hypr/animations.conf
source = ~/.config/hypr/rules.conf
#source = ~/.config/hypr/hypr.conf
exec-once = runapp swww-daemon
exec-once = runapp sh -c 'eww open bar \
--arg resolution=$(hyprctl monitors -j | jq .[0].width) \
--arg gaps=$(( $(hyprctl getoption general:border_size -j | jq -r .int) + $(hyprctl getoption general:gaps_out -j | jq -r .custom[:1]) ))'
exec-once = elephant
exec-once = walker --gapplication-service

View File

@@ -0,0 +1,173 @@
general{
hide_cursor = true
ignore_empty_input = true
}
background{
path = $HOME/Pictures/wallpaper
blur_size=5
brightness = 0.7
blur_passes=1
}
input-field{
size = 200,50
outline_thickness = 3
dots_size = 0.33
dots_spacing = 0.15
dots_center = true
dots_rounding = -1
outer_color = rgb(15,15,15)
inner_color = rgba(200,200,200,0.7)
font_color = rgb(10,10,10)
font_family = Monocraft Nerd Font
fade_on_empty = false
fade_timeout = 1000
placeholder_text = <i>Password</i>
hide_input = false
rounding = -1
check_color = rgb(204,136,34)
fail_color = rgb(204,34,34)
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i>
capslock_color = -1
bothlock_color = -1
invert_numlock = false
swap_font_color = false
position = 0,-100
halign = center
valign = center
}
label{
text = cmd[update:50] cat ~/.config/hypr/scripts/text_animation/scripttext
halign = center
valign = center
position = 6,344
color = rgba(0, 0, 0,1.0)
font_size = 50
font_family = Monocraft Nerd Font
}
label{
text = cmd[update:50] cat ~/.config/hypr/scripts/text_animation/scripttext
halign = center
valign = center
position = 3,347
color = rgba(69, 118, 255,1.0)
font_size = 50
font_family = Monocraft Nerd Font
}
label{
text = cmd[update:50] cat ~/.config/hypr/scripts/text_animation/scripttext
halign = center
valign = center
position = 0,350
color = rgba(220, 220, 220,1.0)
font_size = 50
font_family = Monocraft Nerd Font
}
label{
text = cmd[update:1000] cat ~/.config/hypr/scripts/weather/weathertext
color = rgba(240, 151, 175, 1)
font_size = 10
font_family = Monocraft Nerd Font
position = 65, 42
halign = left
valign = bottom
}
shape{
color=rgba(255, 51, 105,1.0)
rounding=1
halign=left
valign=bottom
position = 55,40
size=5,20
}
shape{
color=rgba(0,0,0,0.4)
rounding=8
halign=left
valign=bottom
position = 55,35
size=321,30 //change size dynamically
}
label{
text = cmd[update:1000] echo "$TIME12"
color = rgba(200,200,200,1.0)
font_size = 55
font_family = Monocraft Nerd Font
position = -50,110
halign = right
valign = bottom
shadow_passes = 5
shadow_size = 10
}
label{
text = cmd[update:60] date +"%A, %B %d, %Y"
color = rgba(200,200,200,1.0)
font_size = 25
font_family = Monocraft Nerd Font
position = -50,40
halign = right
valign = bottom
shadow_passes = 5
shadow_size = 10
}
image{
path = /var/lib/AccountsService/icons/$USER
size = 185
border_size = 7
border_color = rgba(21,21,21,0.6)
halign = center
valign = center
position = 0,100
}
label{
text = $USER
color = rgba(200,200,200,1.0)
font_size = 20
font_family = Monocraft Nerd Font
position = 0,-40
halign = center
valign = center
shadow_passes = 5
shadow_size = 10
}
shape{
color=rgba(252, 186, 3,1)
rounding=1
halign=left
valign=bottom
position = 385,41
size=5,20
}
label{
text = cmd[update:1000] echo -e "$(~/.config/hypr/scripts/battery.sh)"
color = rgba(247,225,161,1.0)
font_size = 10
font_family = Monocraft Nerd Font
position = 397,40
halign = left
valign = bottom
}
shape{
color=rgba(0,0,0,0.4)
rounding=8
halign=left
valign=bottom
position = 385,35
size=70,30
}

View File

@@ -0,0 +1,12 @@
input {
kb_layout = us,ru
kb_options = grp:alt_caps_toggle,compose:ralt
sensitivity = 0.5
follow_mouse = 1
touchpad {
natural_scroll = true
middle_button_emulation = true
}
}

View File

@@ -0,0 +1,72 @@
general {
border_size = 0
gaps_in = 3
gaps_out = 5
resize_on_border = true
layout = dwindle
# rgba(7aa2f742)
col.active_border = rgba(23,147,209,0.5)
# rgba(292e4222)
col.inactive_border = rgba(00000000)
snap {
enabled = true
monitor_gap = 20
respect_gaps = true
}
}
decoration {
rounding = 12
border_part_of_window = false
blur {
enabled = false
size = 8
passes = 2
popups = true
special = true
brightness = 0.75
contrast = 1.6
xray = false
# new_optimizations = false
}
shadow {
enabled = false
range = 48
render_power = 3
# rgba(595959aa)
color = rgba(1a1a1aee)
}
}
dwindle {
pseudotile = true
preserve_split = true
}
misc {
disable_hyprland_logo = true
background_color = 0
enable_swallow = true
swallow_regex = ^(kitty)$
swallow_exception_regex = .*(wev|nwg-look)
focus_on_activate = true
}
cursor {
inactive_timeout = 30
warp_on_change_workspace = 1
hide_on_key_press = true
}
render {
cm_sdr_eotf = 2
new_render_scheduling = true
}
ecosystem:no_donation_nag = true
xwayland:force_zero_scaling = true

View File

@@ -0,0 +1,6 @@
windowrule = match:class tui.btop, float on, size monitor_w*0.55 monitor_h*0.65, center on
windowrule = match:class tui.impala, float on, size monitor_w*0.55 monitor_h*0.65, center on
windowrule = match:class tui.bluetui, float on, size monitor_w*0.55 monitor_h*0.65, center on
layerrule = no_anim on, match:namespace walker
layerrule = blur on, ignore_alpha 0.45, xray on, match:namespace walker

View File

@@ -0,0 +1,101 @@
bind = SUPER, W, killactive,
bind = SUPER, P, pseudo,
bind = SUPER, J, layoutmsg, togglesplit
bind = SUPER, F, togglefloating,
bind = SUPER, H, resizewindowpixel,100 100,
bind = SUPER SHIFT, F, fullscreenstate, 3 3
bind = SUPER ALT, F, fullscreenstate, 1 1
bind = SUPER, O, togglefloating,
bind = SUPER, O, pin,
# Move focus
bind = SUPER, left, movefocus, l
bind = SUPER, right, movefocus, r
bind = SUPER, up, movefocus, u
bind = SUPER, down, movefocus, d
# Cycle through applications on active workspace (ПЕРЕРАБОТАТЬ)
bind = ALT, TAB, cyclenext,
bind = ALT SHIFT, TAB, cyclenext, prev
bind = ALT, TAB, bringactivetotop,
bind = ALT SHIFT, TAB, bringactivetotop,
# Switch workspaces
bind = SUPER, 1, workspace, 1
bind = SUPER, 2, workspace, 2
bind = SUPER, 3, workspace, 3
bind = SUPER, 4, workspace, 4
bind = SUPER, 5, workspace, 5
bind = SUPER, 6, workspace, 6
bind = SUPER, 7, workspace, 7
bind = SUPER, 8, workspace, 8
bind = SUPER, 9, workspace, 9
bind = SUPER, 0, workspace, 10
# TAB between workspaces
bind = SUPER, TAB, workspace, e+1
bind = SUPER SHIFT, TAB, workspace, e-1
bind = SUPER ALT, TAB, workspace, previous
# Scroll through existing workspaces
bind = SUPER, mouse_down, workspace, e+1
bind = SUPER, mouse_up, workspace, e-1
# Swap active window
bind = SUPER SHIFT, left, swapwindow, l
bind = SUPER SHIFT, right, swapwindow, r
bind = SUPER SHIFT, up, swapwindow, u
bind = SUPER SHIFT, down, swapwindow, d
#Move window with mouse
bindm = SUPER, mouse:272, movewindow
# Move active window to a workspace
bind = SUPER SHIFT, 1, movetoworkspace, 1
bind = SUPER SHIFT, 2, movetoworkspace, 2
bind = SUPER SHIFT, 3, movetoworkspace, 3
bind = SUPER SHIFT, 4, movetoworkspace, 4
bind = SUPER SHIFT, 5, movetoworkspace, 5
bind = SUPER SHIFT, 6, movetoworkspace, 6
bind = SUPER SHIFT, 7, movetoworkspace, 7
bind = SUPER SHIFT, 8, movetoworkspace, 8
bind = SUPER SHIFT, 9, movetoworkspace, 9
bind = SUPER SHIFT, 0, movetoworkspace, 10
# Move active window silently to a workspace
bind = SUPER SHIFT ALT, 1, movetoworkspacesilent, 1
bind = SUPER SHIFT ALT, 2, movetoworkspacesilent, 2
bind = SUPER SHIFT ALT, 3, movetoworkspacesilent, 3
bind = SUPER SHIFT ALT, 4, movetoworkspacesilent, 4
bind = SUPER SHIFT ALT, 5, movetoworkspacesilent, 5
bind = SUPER SHIFT ALT, 6, movetoworkspacesilent, 6
bind = SUPER SHIFT ALT, 7, movetoworkspacesilent, 7
bind = SUPER SHIFT ALT, 8, movetoworkspacesilent, 8
bind = SUPER SHIFT ALT, 9, movetoworkspacesilent, 9
bind = SUPER SHIFT ALT, 0, movetoworkspacesilent, 10
# Special workspace (scratchpad)
bind = SUPER, S, togglespecialworkspace, scratchpad
bind = SUPER SHIFT, S, movetoworkspace, special:scratchpad
# ДОБАВИТЬ КОНФИГУРАЦИЮ ДЛЯ НЕСКОЛЬКИХ МОНИТОРОВ
# ДОБАВИТЬ КОНФИГУРАЦИЮ ГРУПП
# Resize
bind = ALT, R, submap, resize
submap = resize
binde = , right, resizeactive, 10 0
binde = , left, resizeactive, -10 0
binde = , up, resizeactive, 0 -10
binde = , down, resizeactive, 0 10
binde = SHIFT, right, resizeactive, 100 0
binde = SHIFT, left, resizeactive, -100 0
binde = SHIFT, up, resizeactive, 0 -100
binde = SHIFT, down, resizeactive, 0 100
bind = , escape, submap, reset
submap = reset
bindm = SUPER, mouse:273, resizewindow

View File

@@ -1,5 +1,6 @@
include base.conf include base.conf
background_opacity 0.71 #background_opacity 0.71
background_opacity 0.5
transparent_background_colors #292E42@0.8 #2e3c64@0.8 #1F2335@0.8 #151823@0.8 #181B27@0.9 transparent_background_colors #292E42@0.8 #2e3c64@0.8 #1F2335@0.8 #151823@0.8 #181B27@0.9
map f5 load_config_file /home/arch/.config/kitty/solid.conf map f5 load_config_file /home/arch/.config/kitty/solid.conf