244 lines
7.0 KiB
Plaintext
244 lines
7.0 KiB
Plaintext
# https://wiki.hyprland.org/Configuring/Monitors\
|
|
monitor=eDP-1,1920x1080@60,0x0,1
|
|
|
|
# - Home monitor settings -
|
|
monitor=,1920x1080@144,auto,1
|
|
|
|
# monitor = , highres, 0x-1080, 1
|
|
# Enabling mirror
|
|
# monitor=HDMI-A-1, 1920x1080@60, 0x0, 1, mirror, eDP-1
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
|
|
|
# Execute your favorite apps at launch
|
|
exec-once = waybar
|
|
exec-once = hyprpaper
|
|
exec-once = ibus-daemon -rxRd
|
|
|
|
# Set programs that you use
|
|
$terminal = alacritty
|
|
$fileManager = nautilus
|
|
$menu = wofi --show drun
|
|
|
|
# Some default env vars.
|
|
env = XCURSOR_SIZE,12
|
|
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
|
|
|
|
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
|
input {
|
|
kb_layout = us
|
|
kb_variant = altgr-intl
|
|
kb_model =
|
|
kb_options =
|
|
kb_rules =
|
|
|
|
numlock_by_default = true
|
|
follow_mouse = 1
|
|
|
|
touchpad {
|
|
natural_scroll = yes
|
|
}
|
|
|
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
|
}
|
|
|
|
general {
|
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
|
|
gaps_in = 5
|
|
gaps_out = 8
|
|
border_size = 2
|
|
col.active_border = rgba(33ccffee) rgba(00ff99aa) 20deg
|
|
col.inactive_border = rgba(595959aa)
|
|
|
|
layout = dwindle
|
|
|
|
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
|
allow_tearing = false
|
|
}
|
|
|
|
decoration {
|
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
|
|
rounding = 12
|
|
|
|
blur {
|
|
enabled = true
|
|
size = 5
|
|
passes = 1
|
|
}
|
|
|
|
drop_shadow = no
|
|
col.shadow = rgba(1a1a1aee)
|
|
}
|
|
|
|
animations {
|
|
enabled = yes
|
|
|
|
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
|
|
|
# bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
|
bezier = myBezier, .77,.39,.25,.92
|
|
|
|
animation = windows, 1, 3, myBezier
|
|
# animation = windowsOut, 1, 4, default, popin 100%
|
|
animation = windowsOut, 1, 2, myBezier
|
|
# animation = border, 1, 7, default
|
|
# animation = borderangle, 1, 8, default
|
|
animation = fade, 1, 7, default
|
|
animation = workspaces, 1, 6, default
|
|
}
|
|
|
|
dwindle {
|
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
|
pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
|
preserve_split = true # you probably want this
|
|
force_split = 2
|
|
}
|
|
|
|
master {
|
|
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
|
new_is_master = true
|
|
}
|
|
|
|
gestures {
|
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
workspace_swipe = yes
|
|
}
|
|
|
|
misc {
|
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers
|
|
}
|
|
|
|
# Example per-device config
|
|
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
|
device:epic-mouse-v1 {
|
|
sensitivity = -0.5
|
|
}
|
|
|
|
# Example windowrule v1
|
|
# windowrule = float, ^(kitty)$
|
|
# Example windowrule v2
|
|
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
|
windowrulev2 = nomaximizerequest, class:.* # You'll probably like this.
|
|
windowrulev2 = nofullscreenrequest, class:*
|
|
|
|
# Floating windows by default
|
|
windowrule = float, Helvum
|
|
windowrulev2 = float, title:(Yoshimi)
|
|
windowrulev2 = float, title:(Bluetooth)
|
|
windowrulev2 = float, class:(pavucontrol)
|
|
windowrulev2 = float, title:(ViberPC)
|
|
|
|
# Tiling windows by force
|
|
windowrulev2 = tile, class:(Vivaldi), title:(Vivaldi)
|
|
windowrulev2 = tile, title:(WPS)
|
|
windowrulev2 = tile, title:(Wine)
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
|
$mainMod = SUPER
|
|
|
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
|
bind = $mainMod, RETURN, exec, $terminal
|
|
bind = $mainMod_SHIFT, Q, killactive,
|
|
bind = $mainMod_SHIFT, M, exit,
|
|
bind = $mainMod, E, exec, $fileManager
|
|
bind = $mainMod, V, togglefloating,
|
|
bind = $mainMod, D, exec, $menu
|
|
bind = $mainMod, period, exec, wofi-emoji
|
|
bind = $mainMod, P, pseudo, # dwindle
|
|
bind = $mainMod, J, togglesplit, # dwindle
|
|
|
|
# Fullscreen
|
|
bind = $mainMod, F, fullscreen
|
|
bind = $mainMod_SHIFT, F, fullscreen, 1
|
|
|
|
# Move focus with mainMod + arrow keys
|
|
bind = $mainMod, left, movefocus, l
|
|
bind = $mainMod, right, movefocus, r
|
|
bind = $mainMod, up, movefocus, u
|
|
bind = $mainMod, down, movefocus, d
|
|
|
|
# Switch workspaces with mainMod + [0-9]
|
|
bind = $mainMod, 1, workspace, 1
|
|
bind = $mainMod, 2, workspace, 2
|
|
bind = $mainMod, 3, workspace, 3
|
|
bind = $mainMod, 4, workspace, 4
|
|
bind = $mainMod, 5, workspace, 5
|
|
bind = $mainMod, 6, workspace, 6
|
|
bind = $mainMod, 7, workspace, 7
|
|
bind = $mainMod, 8, workspace, 8
|
|
bind = $mainMod, 9, workspace, 9
|
|
bind = $mainMod, 0, workspace, 10
|
|
|
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
|
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
|
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
|
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
|
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
|
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
|
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
|
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
|
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
|
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
|
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
|
|
|
# Move active window to position
|
|
bind = $mainMod SHIFT, left, movewindow, l
|
|
bind = $mainMod SHIFT, right, movewindow, r
|
|
bind = $mainMod SHIFT, up, movewindow, u
|
|
bind = $mainMod SHIFT, down, movewindow, d
|
|
|
|
# Example special workspace (scratchpad)
|
|
bind = $mainMod, G, togglespecialworkspace, magic
|
|
bind = $mainMod SHIFT, G, movetoworkspace, special:magic
|
|
|
|
# Scroll through existing workspaces with mainMod + scroll
|
|
bind = $mainMod, mouse_down, workspace, m-1
|
|
bind = $mainMod, mouse_up , workspace, m+1
|
|
|
|
# Scroll to create new workspace
|
|
bind = $mainMod SHIFT, mouse_down, workspace, r-1
|
|
bind = $mainMod SHIFT, mouse_up , workspace, r+1
|
|
|
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
bindm = $mainMod, mouse:272, movewindow
|
|
bindm = $mainMod, mouse:273, resizewindow
|
|
|
|
# Binding Media Player Controls
|
|
bind = , XF86AudioPlay, exec, playerctl play-pause
|
|
binde = , XF86AudioNext, exec, playerctl next
|
|
binde = , XF86AudioPrev, exec, playerctl previous
|
|
|
|
bind = $mainMod, Z, exec, playerctl play-pause
|
|
bind = $mainMod, X, exec, playerctl next
|
|
|
|
binde = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_SINK@ 6%+
|
|
binde = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_SINK@ 6%-
|
|
binde = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle
|
|
|
|
# Binding Brightness Controls
|
|
binde = , XF86MonBrightnessUp, exec, brightnessctl set 3%+ -e -q
|
|
binde = , XF86MonBrightnessDown, exec, brightnessctl set 2%- -e -q
|
|
|
|
bind = $mainMod, Print, exec, gnome-screenshot -i
|
|
|
|
# Lockscreen
|
|
bind = $mainMod, L, exec, swaylock
|
|
|
|
# Screenshot
|
|
## Area shot, copy to clipboard
|
|
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp -d)" - | wl-copy -t image/png
|
|
|
|
## Wholescreen, save to $HOME/Screenshots/
|
|
bind = , Print, exec, grim - > $HOME/Screenshots/Screenshot_$(date +%F_%T).png
|
|
|
|
# NVIDIA
|
|
#env = LIBVA_DRIVER_NAME,nvidia
|
|
#env = XDG_SESSION_TYPE,wayland
|
|
#env = GBM_BACKEND,nvidia-drm
|
|
#env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
|
#env = WLR_NO_HARDWARE_CURSORS,1
|