Обновление конфигов Hyprland

This commit is contained in:
retrilzzy committed 2025-02-08 14:20:30 +05:00
1 parent 6ab8988ef3
commit 8171b3232f
5 files changed
+25 -24

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

+1 -2
View File
@@ -1,4 +1,3 @@
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/
# Keybinds
@@ -81,7 +80,7 @@ decoration {
blur {
enabled = true
new_optimizations = false
size = 15
size = 12
passes = 1
brightness = 0.96
}
+15 -9
View File
@@ -25,18 +25,22 @@ bind = $mainMod, E, exec, $fileManager
bind = $mainMod, C, exec, $editor
bind = $mainMod, B, exec, $browser
bind = $mainMod, K, exec, $passwordManager
bind = $mainMod CONTROL, W, exec, waypaper
bind = $mainMod SHIFT, W, exec, waypaper
bind = $mainMod SHIFT, E, exec, emote
bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
bind = $mainMod, N, exec, swaync-client -t -sw
# Change wallpaper
bind = ALT, W, exec, waypaper --random --folder ~/Pictures/Wallpapers
bind = SHIFT ALT, W, exec, waypaper --random --folder ~/Pictures/AniWall
# Restart Waybar
bind = $mainMod, F2, exec, killall waybar || sleep 1 && notify-send "Restarting Waybar" && waybar -c $HOME/.config/waybar/config.jsonc -s $HOME/.config/waybar/styles.css
# Window management
bind = $mainMod, Q, killactive,
bind = $mainMod, A, pseudo, # dwindle
@@ -47,6 +51,7 @@ bind = $mainMod ALT, F, fullscreen
bind = ALT, Tab, cyclenext,
bind = ALT, Tab, bringactivetotop,
# Lock session
bind = $mainMod, L, exec, $HOME/.config/wlogout/current_wall.sh && loginctl lock-session
@@ -59,21 +64,22 @@ bindl = $mainMod ALT, D, exec, hyprctl dispatch dpms toggle
# Suspend
bindl = $mainMod ALT, S, exec, $HOME/.config/wlogout/current_wall.sh && systemctl suspend
# Screenshot a window
bind = $mainMod, PRINT, exec, hyprshot -z -m window -o ~/Pictures/Screen
# Screenshot of a region
bind = SHIFT, Print, exec, grim -g "$(slurp)" - | wl-copy && wl-paste > ~/Pictures/Screen/$(date +%F_%T)-grim.png | notify-send "Screenshot of the region taken" -t 2000
# Screenshot of the whole screen
bind = , Print, exec, grim - | wl-copy && wl-paste > ~/Pictures/Screen/$(date +%F_%T)-grim.png | notify-send "Screenshot of whole screen taken" -t 2000
bind = , Print, exec, grim -c - | wl-copy && wl-paste > ~/Pictures/Screen/$(date +%F_%H-%M-%S)_grim.png && notify-send "Grim" "Screenshot of whole screen taken" -t 2000
# Screenshot a window
bind = $mainMod, PRINT, exec, hyprshot -m window -t 2000 -o ~/Pictures/Screen -f $(date +%F_%H-%M-%S)_hyprshot.png
# Screenshot of a region
bind = SHIFT, Print, exec, hyprshot -m region -t 2000 -o ~/Pictures/Screen -f $(date +%F_%H-%M-%S)_hyprshot.png
# Screenshot of a region and upload to Chibisafe
bind = $mainMod SHIFT, PRINT, exec, $HOME/.config/hypr/scripts/screenshot_to_chibisafe.sh
# Launch Flameshot GUI
bind = $mainMod SHIFT, F, exec, flameshot gui
# Emoji Picker
bind = $mainMod SHIFT, E, exec, emote
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
-13
View File
@@ -1,13 +0,0 @@
plugin {
hyprexpo {
columns = 3
gap_size = 5
bg_col = rgb(111111)
workspace_method = center current # [center/first] [workspace] e.g. first 1 or center m+1
enable_gesture = true # laptop touchpad
gesture_fingers = 3 # 3 or 4
gesture_distance = 300 # how far is the "max"
gesture_positive = true # positive = swipe down. Negative = swipe up.
}
}
+9
View File
@@ -5,19 +5,28 @@
# https://wiki.hyprland.org/Configuring/Window-Rules/
# https://wiki.hyprland.org/Configuring/Workspace-Rules/
# Floating windows
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# Ignore maximize requests from apps. You'll probably like this.
windowrulev2 = suppressevent maximize, class:.*
# Fix some dragging issues with XWayland
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
# Opacity 100% & No blur
windowrulev2 = noblur, class:^(.*(brave-browser|libreoffice|steam|obsidian|pycharm)).*$
windowrulev2 = opaque, class:^(.*(brave-browser|libreoffice|steam|obsidian|pycharm)).*$
# Disable animation
windowrulev2 = noanim, class:^(flameshot)$
# For Games
windowrulev2 = noshadow, onworkspace:6
windowrulev2 = opaque, onworkspace:6