dotfiles/hyprland/tomorrownight/hyprland.conf

240 lines
6.9 KiB
Plaintext

monitor = eDP-1, 1920x1080@60, 0x0, 1
monitor = HDMI-A-2, 1920x1080@60, 1920x0, 1
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Some default env vars.
env = XCURSOR_SIZE, 24
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = us
kb_variant = dvorak
kb_model =
kb_options =
kb_rules =
follow_mouse = 1
touchpad {
natural_scroll = no
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 10
gaps_out = 40
border_size = 3
col.active_border = rgba(8abeb7ee) rgba(b294bbee) rgba(81a2beee) 45deg
col.inactive_border = rgba(373b41f0)
layout = dwindle
}
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 3
blur {
enabled = true
size = 0
passes = 3
}
drop_shadow = yes
shadow_range = 7
shadow_render_power = 3
col.shadow = rgba(1d1f21ee)
}
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
animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, 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 = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = yes # you probably want this
}
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 = off
}
# 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
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = ALT
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, foot
bind = $mainMod SHIFT, Q, exec, qutebrowser
bind = $mainMod SHIFT, E, exec, element-desktop
bind = $mainMod, K, killactive,
bind = $mainMod SHIFT, X, exit,
#bind = $mainMod, E, exec, dolphin
bind = $mainMod, V, togglefloating,
bind = $mainMod, P, exec, fuzzel
bind = $mainMod, A, exec, ~/.config/fuzzel/scripts/pipewire.sh
bind = $mainMod, O, exec, ~/.config/hypr/scripts/monitor.sh
bind = $mainMod, W, pseudo, # dwindle
bind = $mainMod, S, togglesplit, # dwindle
bind = $mainMod, M, fullscreen, 1
bind = $mainMod SHIFT, M, fullscreen
# Move focus with mainMod + arrow keys
bind = $mainMod, D, movefocus, l
bind = $mainMod, H, movefocus, d
bind = $mainMod, T, movefocus, u
bind = $mainMod, N, movefocus, r
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, d
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, r
bind = $mainMod SHIFT, D, movewindow, l
bind = $mainMod SHIFT, H, movewindow, d
bind = $mainMod SHIFT, T, movewindow, u
bind = $mainMod SHIFT, N, movewindow, r
bind = $mainMod SHIFT, left, movewindow, l
bind = $mainMod SHIFT, down, movewindow, d
bind = $mainMod SHIFT, up, movewindow, u
bind = $mainMod SHIFT, right, movewindow, r
# 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, 1, exec, ~/.config/eww/scripts/workspaces.sh
bind = $mainMod, 2, exec, ~/.config/eww/scripts/workspaces.sh
bind = $mainMod, 3, exec, ~/.config/eww/scripts/workspaces.sh
bind = $mainMod, 4, exec, ~/.config/eww/scripts/workspaces.sh
bind = $mainMod, 5, exec, ~/.config/eww/scripts/workspaces.sh
bind = $mainMod, 6, exec, ~/.config/eww/scripts/workspaces.sh
bind = $mainMod, 7, exec, ~/.config/eww/scripts/workspaces.sh
bind = $mainMod, 8, exec, ~/.config/eww/scripts/workspaces.sh
bind = $mainMod, 9, exec, ~/.config/eww/scripts/workspaces.sh
# Move active window to a workspace with CTRL + [0-9]
bind = CTRL, 1, movetoworkspace, 1
bind = CTRL, 2, movetoworkspace, 2
bind = CTRL, 3, movetoworkspace, 3
bind = CTRL, 4, movetoworkspace, 4
bind = CTRL, 5, movetoworkspace, 5
bind = CTRL, 6, movetoworkspace, 6
bind = CTRL, 7, movetoworkspace, 7
bind = CTRL, 8, movetoworkspace, 8
bind = CTRL, 9, movetoworkspace, 9
bind = CTRL, 1, exec, ~/.config/eww/scripts/workspaces.sh
bind = CTRL, 2, exec, ~/.config/eww/scripts/workspaces.sh
bind = CTRL, 3, exec, ~/.config/eww/scripts/workspaces.sh
bind = CTRL, 4, exec, ~/.config/eww/scripts/workspaces.sh
bind = CTRL, 5, exec, ~/.config/eww/scripts/workspaces.sh
bind = CTRL, 6, exec, ~/.config/eww/scripts/workspaces.sh
bind = CTRL, 7, exec, ~/.config/eww/scripts/workspaces.sh
bind = CTRL, 8, exec, ~/.config/eww/scripts/workspaces.sh
bind = CTRL, 9, exec, ~/.config/eww/scripts/workspaces.sh
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
# Resize #
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# will switch to a submap called resize
bind = $mainMod, R, submap, resize
# will start a submap called "resize"
submap = resize
# sets repeatable binds for resizing the active window
binde= , right, resizeactive, 10 0
binde= , left, resizeactive, -10 0
binde= , up, resizeactive, 0 -10
binde= , down, resizeactive, 0 10
binde = , N, resizeactive, 10 0
binde = , D, resizeactive, -10 0
binde = , T, resizeactive, 0 -10
binde = , H, resizeactive, 0 10
# use reset to go back to the global submap
bind = , escape, submap, reset
# will reset the submap, meaning end the current one and return to the global one
submap = reset
# Screenshots #
# Print: Current window
# SHIFT+PRINT: Select area
# Alt+PRINT: Current output
# Ctrl+PRINT: All outputs
bind = , PRINT, exec, grimblast copysave active
bind = SHIFT, PRINT, exec, grimblast copysave area
bind = $mainMod, PRINT, exec, grimblast copysave output
bind = $mainMod SHIFT, PRINT, exec, grimblast copysave screen
# Environmental Variables #
#env = WLR_NO_HARDWARE_CURSORS, 1
# Autostart
exec-once="pipewire"
exec-once="pipewire-pulse"
exec-once="wireplumber"
exec-once=wbg ~/.local/share/wallpapers/wallpaper.jpg
exec-once=eww daemon
exec-once=eww open bar0
exec-once=eww open bar1