You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
188 lines
4.8 KiB
188 lines
4.8 KiB
|
|
# #######################################################################################
|
|
# Config based on the auto generated file, but being modified as needed by KeY
|
|
# https://wiki.hyprland.org/Configuring/
|
|
# #######################################################################################
|
|
|
|
|
|
################
|
|
### MONITORS ###
|
|
################
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
|
monitor=,preferred,auto,auto
|
|
|
|
|
|
###################
|
|
### MY SCRIPTS ###
|
|
###################
|
|
$HYPRSCRIPTS = ~/.config/hypr/scripts
|
|
|
|
###################
|
|
### MY PROGRAMS ###
|
|
###################
|
|
source = ~/.config/hypr/conf/programs.conf
|
|
|
|
|
|
#################
|
|
### AUTOSTART ###
|
|
#################
|
|
source = ~/.config/hypr/conf/autoStart.conf
|
|
|
|
|
|
#############################
|
|
### ENVIRONMENT VARIABLES ###
|
|
#############################
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Environment-variables/
|
|
|
|
env = XCURSOR_SIZE,24
|
|
env = HYPRCURSOR_SIZE,24
|
|
|
|
|
|
#####################
|
|
### LOOK AND FEEL ###
|
|
#####################
|
|
|
|
# Refer to https://wiki.hyprland.org/Configuring/Variables/
|
|
|
|
# https://wiki.hyprland.org/Configuring/Variables/#general
|
|
general {
|
|
gaps_in = 5
|
|
gaps_out = 20
|
|
|
|
border_size = 2
|
|
|
|
# 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)
|
|
|
|
# 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
|
|
}
|
|
|
|
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
|
decoration {
|
|
rounding = 10
|
|
|
|
# Change transparency of focused and unfocused windows
|
|
active_opacity = 1.0
|
|
inactive_opacity = 0.9
|
|
|
|
shadow {
|
|
enabled = true
|
|
range = 4
|
|
render_power = 3
|
|
color = rgba(1a1a1aee)
|
|
}
|
|
|
|
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
|
blur {
|
|
enabled = true
|
|
size = 3
|
|
passes = 1
|
|
|
|
vibrancy = 0.1696
|
|
}
|
|
}
|
|
|
|
source = ~/.config/hypr/conf/animation.conf
|
|
|
|
|
|
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
|
|
# "Smart gaps" / "No gaps when only"
|
|
# uncomment all if you wish to use that.
|
|
# workspace = w[t1], gapsout:0, gapsin:0
|
|
# workspace = w[tg1], gapsout:0, gapsin:0
|
|
# workspace = f[1], gapsout:0, gapsin:0
|
|
# windowrulev2 = bordersize 0, floating:0, onworkspace:w[t1]
|
|
# windowrulev2 = rounding 0, floating:0, onworkspace:w[t1]
|
|
# windowrulev2 = bordersize 0, floating:0, onworkspace:w[tg1]
|
|
# windowrulev2 = rounding 0, floating:0, onworkspace:w[tg1]
|
|
# windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
|
|
# windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
|
|
|
|
# See https://wiki.hyprland.org/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.hyprland.org/Configuring/Master-Layout/ for more
|
|
master {
|
|
new_status = master
|
|
}
|
|
|
|
# https://wiki.hyprland.org/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. :(
|
|
}
|
|
|
|
|
|
#############
|
|
### INPUT ###
|
|
#############
|
|
|
|
# https://wiki.hyprland.org/Configuring/Variables/#input
|
|
input {
|
|
kb_layout = ch
|
|
kb_variant =
|
|
kb_model =
|
|
kb_options =
|
|
kb_rules =
|
|
|
|
follow_mouse = 1
|
|
|
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
|
|
|
touchpad {
|
|
natural_scroll = false
|
|
}
|
|
}
|
|
|
|
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
|
gestures {
|
|
workspace_swipe = false
|
|
}
|
|
|
|
# Example per-device config
|
|
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
|
device {
|
|
name = epic-mouse-v1
|
|
sensitivity = -0.5
|
|
}
|
|
|
|
|
|
###################
|
|
### KEYBINDINGS ###
|
|
###################
|
|
source = ~/.config/hypr/conf/keybindings.conf
|
|
|
|
|
|
##############################
|
|
### WINDOWS AND WORKSPACES ###
|
|
##############################
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
|
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
|
|
|
# Example windowrule v1
|
|
# windowrule = float, ^(kitty)$
|
|
|
|
# Example windowrule v2
|
|
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
|
|
|
# Ignore maximize requests from apps. You'll probably like this.
|
|
windowrulev2 = suppressevent maximize, class:.*
|
|
windowrulev2 = workspace 3 silent,class:^($mailClient)$
|
|
windowrulev2 = workspace special:magic silent,class:^($notes)$
|
|
|
|
# Fix some dragging issues with XWayland
|
|
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|