diff options
Diffstat (limited to '')
| -rw-r--r-- | config/hypr/custom/rules.conf | 8 | ||||
| -rw-r--r-- | config/hypr/hyprland.conf | 30 |
2 files changed, 13 insertions, 25 deletions
diff --git a/config/hypr/custom/rules.conf b/config/hypr/custom/rules.conf index 68a4aac..8e064bc 100644 --- a/config/hypr/custom/rules.conf +++ b/config/hypr/custom/rules.conf @@ -23,7 +23,7 @@ windowrulev2 = center, class:^(nm-connection-editor)$ # Tiling windowrulev2 = tile, class:^dev\.warp\.Warp$ -# Picture-in-Picture +# Картинка в картинке windowrulev2 = float, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$ windowrulev2 = keepaspectratio, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$ windowrulev2 = move 73% 72%, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$ @@ -47,6 +47,12 @@ windowrulev2 = float, title:^(Save As)(.*)$ windowrulev2 = float, title:^(Library)(.*)$ windowrulev2 = float, title:^(File Upload)(.*)$ +windowrulev2 = keepaspectratio,class:^(firefox)$,title:^(Картинка в картинке)$ +windowrulev2 = noborder,class:^(firefox)$,title:^(Картинка в картинке)$ +windowrulev2 = pin,class:^(firefox)$,title:^(Картинка в картинке)$ +windowrulev2 = float,class:^(firefox)$,title:^(Картинка в картинке)$ +windowrulev2 = size 40%,class:^(firefox)$,title:^(Картинка в картинке)$ + # --- Tearing --- windowrulev2 = immediate, title:.*\.exe diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index c5ae504..1fc1e14 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -1,23 +1,3 @@ - -# ####################################################################################### -# AUTOGENERATED HYPR CONFIG. -# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT, -# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. -# ####################################################################################### - - -# This is an example Hyprland config file. -# Refer to the wiki for more information. -# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/ - -# Please note not all available settings / options are set here. -# For a full list, see the wiki - -# You can split this configuration into multiple files -# Create your files separately and then link them to this file like this: -# source = ~/.config/hypr/myColors.conf - - ################ ### MONITORS ### ################ @@ -25,6 +5,7 @@ # See https://wiki.hyprland.org/Configuring/Monitors/ monitor=,preferred,auto,auto monitor=DP-7,1920x1080,auto,auto +monitor=DP-9,1920x1080,auto,auto ################### ### MY PROGRAMS ### @@ -47,7 +28,7 @@ $menu = wofi --show drun exec-once = $terminal exec-once = nm-applet & -exec-once = waybar & hyprpaper & firefox +exec-once = mako & hypridle & waybar & hyprpaper & firefox ############################# @@ -78,7 +59,7 @@ general { col.inactive_border = rgba(595959aa) # Set to true enable resizing windows by clicking and dragging on borders and gaps - resize_on_border = false + resize_on_border = true # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on allow_tearing = false @@ -88,7 +69,7 @@ general { # https://wiki.hyprland.org/Configuring/Variables/#decoration decoration { - rounding = 10 + rounding = 4 # Change transparency of focused and unfocused windows active_opacity = 1.0 @@ -102,7 +83,7 @@ decoration { # https://wiki.hyprland.org/Configuring/Variables/#blur blur { enabled = true - size = 3 + size = 6 passes = 1 vibrancy = 0.1696 @@ -185,6 +166,7 @@ device { # See https://wiki.hyprland.org/Configuring/Keywords/ $mainMod = SUPER # Sets "Windows" key as main modifier $shiftMod = SUPER_SHIFT + # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Q, exec, $terminal bind = $mainMod, C, killactive, |
