Configure general, decoration, and master layout settings
This commit is contained in:
83
README.org
83
README.org
@@ -161,25 +161,26 @@ permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, a
|
||||
*** General
|
||||
|
||||
- [[https://wiki.hyprland.org/Configuring/Variables/#general][Hyprland Wiki - Configuring - Variables - General]]
|
||||
- [[https://wiki.hyprland.org/Configuring/Variables/#variable-types][Hyprland Wiki - Configuring - Variables - Variable Types]]
|
||||
- [[https://wiki.hyprland.org/Configuring/Tearing/][Hyprland Wiki - Configuring - Tearing]]
|
||||
|
||||
#+BEGIN_SRC conf :tangle hyprland.conf
|
||||
general {
|
||||
gaps_in = 5
|
||||
gaps_out = 20
|
||||
|
||||
border_size = 2
|
||||
no_border_on_floating = false
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
gaps_in = 20
|
||||
gaps_out = 30
|
||||
gaps_workspaces = 0
|
||||
|
||||
col.active_border = rgba(bd93f9ff) rgba(8be9fdff) 45deg
|
||||
col.inactive_border = rgba(282a36ff)
|
||||
|
||||
layout = master
|
||||
|
||||
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
||||
resize_on_border = false
|
||||
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
|
||||
layout = dwindle
|
||||
}
|
||||
#+END_SRC
|
||||
|
||||
@@ -191,25 +192,39 @@ general {
|
||||
#+BEGIN_SRC conf :tangle hyprland.conf
|
||||
decoration {
|
||||
rounding = 10
|
||||
rounding_power = 2
|
||||
rounding_power = 4.0
|
||||
|
||||
# Change transparency of focused and unfocused windows
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 1.0
|
||||
fullscreen_opacity = 1.0
|
||||
|
||||
dim_inactive = false
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
size = 8
|
||||
passes = 1
|
||||
ignore_opacity = true
|
||||
new_optimizations = true
|
||||
xray = true
|
||||
|
||||
noise = 0.0117
|
||||
contrast = 0.8916
|
||||
brightness = 1.0
|
||||
vibrancy = 0.1696
|
||||
vibrancy_darkness = 0.0
|
||||
|
||||
special = false
|
||||
popups = false
|
||||
input_methods = false
|
||||
}
|
||||
|
||||
shadow {
|
||||
enabled = true
|
||||
range = 4
|
||||
render_power = 3
|
||||
color = rgba(1a1a1aee)
|
||||
}
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
passes = 1
|
||||
|
||||
vibrancy = 0.1696
|
||||
scale = 1.0
|
||||
}
|
||||
}
|
||||
#+END_SRC
|
||||
@@ -218,9 +233,27 @@ decoration {
|
||||
|
||||
- [[https://wiki.hyprland.org/Configuring/Variables/#animations][Hyprland Wiki - Configuring - Variables - Animations]]
|
||||
|
||||
#+BEGIN_EXAMPLE conf
|
||||
animation = NAME, ONOFF, SPEED, CURVE [,STYLE]
|
||||
#+END_EXAMPLE
|
||||
|
||||
- =ONOFF= can be either 0 or 1, 0 to disable, 1 to enable. /note/: if it's 0, you can omit further args.
|
||||
- =SPEED= is the amount of ds (1ds = 100ms) the animation will take
|
||||
- =CURVE= is the bezier curve name, see [[https://wiki.hyprland.org/Configuring/Animations/#curves][curves]]
|
||||
- =STYLE= (optional) is the animation style
|
||||
|
||||
The animations are a tree. If an animation is unset, it will inherit its parent's values. See [[https://wiki.hyprland.org/Configuring/Animations/#animation-tree][the animation tree]].
|
||||
|
||||
#+BEGIN_EXAMPLE conf
|
||||
animation = workspaces, 1, 8, default
|
||||
animation = windows, 1, 10, myepiccurve, slide
|
||||
animation = fade, 0
|
||||
#+END_EXAMPLE
|
||||
|
||||
#+BEGIN_SRC conf :tangle hyprland.conf
|
||||
animations {
|
||||
enabled = true
|
||||
first_launch_animation = true
|
||||
|
||||
bezier = easeOutQuint,0.23,1,0.32,1
|
||||
bezier = easeInOutCubic,0.65,0.05,0.36,1
|
||||
@@ -264,7 +297,17 @@ dwindle {
|
||||
|
||||
#+BEGIN_SRC conf :tangle hyprland.conf
|
||||
master {
|
||||
allow_small_split = false
|
||||
special_scale_factor = 1.0
|
||||
mfact = 0.5
|
||||
new_status = master
|
||||
new_on_top = true
|
||||
new_on_active = none
|
||||
orientation = left
|
||||
inherit_fullscreen = true
|
||||
smart_resizing = true
|
||||
drop_at_cursor = true
|
||||
always_keep_position = false
|
||||
}
|
||||
#+END_SRC
|
||||
|
||||
|
@@ -18,50 +18,64 @@ exec-once = uwsm app -- syncthing-gtk &
|
||||
exec-once = uwsm app -- openrgb &
|
||||
|
||||
general {
|
||||
gaps_in = 5
|
||||
gaps_out = 20
|
||||
|
||||
border_size = 2
|
||||
no_border_on_floating = false
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
gaps_in = 20
|
||||
gaps_out = 30
|
||||
gaps_workspaces = 0
|
||||
|
||||
col.active_border = rgba(bd93f9ff) rgba(8be9fdff) 45deg
|
||||
col.inactive_border = rgba(282a36ff)
|
||||
|
||||
layout = master
|
||||
|
||||
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
||||
resize_on_border = false
|
||||
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
rounding_power = 2
|
||||
rounding_power = 4.0
|
||||
|
||||
# Change transparency of focused and unfocused windows
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 1.0
|
||||
fullscreen_opacity = 1.0
|
||||
|
||||
dim_inactive = false
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
size = 8
|
||||
passes = 1
|
||||
ignore_opacity = true
|
||||
new_optimizations = true
|
||||
xray = true
|
||||
|
||||
noise = 0.0117
|
||||
contrast = 0.8916
|
||||
brightness = 1.0
|
||||
vibrancy = 0.1696
|
||||
vibrancy_darkness = 0.0
|
||||
|
||||
special = false
|
||||
popups = false
|
||||
input_methods = false
|
||||
}
|
||||
|
||||
shadow {
|
||||
enabled = true
|
||||
range = 4
|
||||
render_power = 3
|
||||
color = rgba(1a1a1aee)
|
||||
}
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
passes = 1
|
||||
|
||||
vibrancy = 0.1696
|
||||
scale = 1.0
|
||||
}
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = true
|
||||
first_launch_animation = true
|
||||
|
||||
bezier = easeOutQuint,0.23,1,0.32,1
|
||||
bezier = easeInOutCubic,0.65,0.05,0.36,1
|
||||
@@ -93,7 +107,17 @@ dwindle {
|
||||
}
|
||||
|
||||
master {
|
||||
allow_small_split = false
|
||||
special_scale_factor = 1.0
|
||||
mfact = 0.5
|
||||
new_status = master
|
||||
new_on_top = true
|
||||
new_on_active = none
|
||||
orientation = left
|
||||
inherit_fullscreen = true
|
||||
smart_resizing = true
|
||||
drop_at_cursor = true
|
||||
always_keep_position = false
|
||||
}
|
||||
|
||||
misc {
|
||||
|
Reference in New Issue
Block a user