瀏覽代碼

fix splitratio hotkeys + single window border color + normal opacity

Noah Vogt 2 天之前
父節點
當前提交
30a6c146c7
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      dot-config/hypr/hyprland.conf

+ 6 - 6
dot-config/hypr/hyprland.conf

@@ -6,7 +6,7 @@ monitor=,preferred,auto,auto
 ###################
 
 # See https://wiki.hypr.land/Configuring/Keywords/
-# source=~/.config/hypr/keybinds.conf
+# source=~/.config/hypr/keybind.conf
 
 # Set programs that you use
 $terminal = wezterm
@@ -60,7 +60,7 @@ general {
     border_size = 2
 
     # https://wiki.hypr.land/Configuring/Variables/#variable-types for info about colors
-    col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
+    col.active_border = rgba(33ccffee)
     col.inactive_border = rgba(595959aa)
 
     # Set to true enable resizing windows by clicking and dragging on borders and gaps
@@ -77,8 +77,8 @@ decoration {
     rounding_power = 2
 
     # Change transparency of focused and unfocused windows
-    active_opacity = 1.0
-    inactive_opacity = 1.0
+    active_opacity = 0.85
+    inactive_opacity = 0.85
 
     shadow {
         enabled = true
@@ -232,8 +232,8 @@ bind = $mainMod SHIFT, right, movewindow, r
 bind = $mainMod SHIFT, up, movewindow, u
 bind = $mainMod SHIFT, down, movewindow, d
 
-binde = $mainMod, H, splitratio, -0.05
-binde = $mainMod, L, splitratio, 0.05
+binde = $mainMod, H, layoutmsg, mfact -0.05
+binde = $mainMod, L, layoutmsg, mfact +0.05
 
 bind = $mainMod, F, fullscreen, 0