302 lines
8.6 KiB
Plaintext
302 lines
8.6 KiB
Plaintext
|
|
#------------------------------------------------#
|
|
# _ _ _ _ #
|
|
#| | | | | | | | #
|
|
#| |___| |_ _ ____ _ _| | __ _.-.___ ___| | #
|
|
#| ___ | | | | _ \| |/ | |/ _` | _ \/ _ | #
|
|
#| | | | |_| | |_) | /| | (_| | | | | (_| | #
|
|
#|_| |_|\__, | __/|__| |_|\__,_|_| |_|\___/_| #
|
|
# |___/|_| #
|
|
# #
|
|
#------------------------------------------------#
|
|
|
|
exec-once=onSystemStart
|
|
|
|
# Some default env vars.
|
|
env = XCURSOR_SIZE,16
|
|
|
|
source = ~/.config/hypr/otf.conf
|
|
source = ~/.cache/wal/colors-hypr.conf
|
|
|
|
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
|
input {
|
|
kb_layout = us,jp
|
|
kb_variant =
|
|
kb_model =
|
|
kb_options =
|
|
kb_rules =
|
|
|
|
follow_mouse = 1
|
|
|
|
touchpad {
|
|
natural_scroll = yes
|
|
}
|
|
|
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
|
}
|
|
|
|
cursor {
|
|
no_hardware_cursors = true
|
|
}
|
|
|
|
general {
|
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
|
|
gaps_in = 5
|
|
gaps_out = 4
|
|
border_size = 2
|
|
col.active_border = $color1 $color5 100deg
|
|
col.inactive_border = $color0
|
|
|
|
layout = master
|
|
}
|
|
decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
|
|
rounding = 2
|
|
|
|
blur {
|
|
enabled = false
|
|
}
|
|
|
|
|
|
#drop_shadow = yes
|
|
#shadow_range = 4
|
|
#shadow_render_power = 3
|
|
#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
|
|
|
|
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_status = "master"
|
|
}
|
|
|
|
gestures {
|
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
workspace_swipe = off
|
|
}
|
|
|
|
misc {
|
|
disable_hyprland_logo = false
|
|
disable_splash_rendering = true
|
|
force_default_wallpaper = 0
|
|
}
|
|
|
|
ecosystem {
|
|
no_update_news = true
|
|
no_donation_nag = true
|
|
}
|
|
|
|
# Binds
|
|
$mainMod = ALT
|
|
|
|
bind = CTRL SHIFT, H, exec, colorPrefix kitty -e 'bash -c "hyprctl binds | less"'
|
|
|
|
bind = $mainMod SHIFT, E, exec, colorPrefix kitty
|
|
|
|
bind = $mainMod, B, exec, firefox
|
|
|
|
bind = $mainMod SHIFT, B, exec, firefox --private-window
|
|
|
|
bind = $mainMod, Q, killactive,
|
|
|
|
bind = $mainMod, R, exec, colorPrefix kitty -e _systemRebuild
|
|
|
|
bind = $mainMod SHIFT, R, exec, colorPrefix kitty -e _homeRebuild
|
|
|
|
bind = $mainMod, F, exec, thunar
|
|
bind = $mainMod SHIFT, F, fullscreen
|
|
|
|
bind = $mainMod SHIFT, semicolon, exec, colorPrefix kitty -e lf
|
|
|
|
bind = $mainMod, Insert, exec, libreoffice
|
|
|
|
bind = $mainMod, V, togglefloating,
|
|
|
|
bind = $mainMod SHIFT, V, exec, vlc
|
|
|
|
bind = , Menu, exec, rofi -show drun
|
|
|
|
bind = $mainMod, Menu, exec, hyprpanel -q; hyprpanel
|
|
|
|
#bind = $mainMod, P, pseudo, # dwindle
|
|
#bind = $mainMod, Z, togglesplit, # dwindle
|
|
|
|
bind = $mainMod, N, layoutmsg, rollnext # master
|
|
bind = $mainMod, P, layoutmsg, rollprev # master
|
|
|
|
bind = $mainMod, M, exec, spotify
|
|
|
|
bind = $mainMod SHIFT, M, exec, firefox soundcloud.com/you/library
|
|
|
|
bind = $mainMod CTRL, M, exec, colorPrefix kitty -e ncmpcpp -s browser
|
|
|
|
bind = $mainMod, XF86AudioPlay, exec, mpc load casual
|
|
|
|
bind = , XF86AudioPlay, exec, playerctl play-pause
|
|
|
|
bind = , XF86AudioPause, exec, playerctl pause
|
|
|
|
bind = , XF86AudioNext, exec, playerctl next
|
|
|
|
bind = , XF86AudioPrev, exec, playerctl previous
|
|
|
|
bind = , XF86Launch2, exec, steam
|
|
bind = $mainMod, XF86Launch2, exec, prismlauncher
|
|
|
|
bind = , XF86Calculator, exec, geogebra
|
|
|
|
bind = $mainMod SHIFT, Print, exec, firefox localhost:631
|
|
|
|
bind = $mainMod, Return, exec, discord --enable-features=UseOzonePlatform --ozone-platform=wayland
|
|
|
|
bind = $mainMod CTRL, Return, exec, firefox https://discord.com/app
|
|
|
|
bind = , Home, exec, setWallpaper
|
|
|
|
# Move focus with mainMod + arrow keys
|
|
bind = $mainMod, W, movefocus, u
|
|
bind = $mainMod, A, movefocus, l
|
|
bind = $mainMod, S, movefocus, d
|
|
bind = $mainMod, D, movefocus, 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, 0, workspace, 10
|
|
|
|
bind = $mainMod, Home, workspace, 11
|
|
|
|
# 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
|
|
|
|
bind = $mainMod SHIFT, Home, movetoworkspace, 11
|
|
|
|
# Scroll through existing workspaces with mainMod + scroll
|
|
bind = $mainMod, right, workspace, e+1
|
|
bind = $mainMod, left, workspace, e-1
|
|
|
|
bind = $mainMod, H, exec, hyprctl keyword animation workspaces,1,6,default
|
|
bind = $mainMod, H, workspace, e-1
|
|
bind = $mainMod, J, exec, hyprctl keyword animation workspaces,1,6,default,slidevert
|
|
bind = $mainMod, J, workspace, e+1
|
|
bind = $mainMod, K, exec, hyprctl keyword animation workspaces,1,6,default,slidevert
|
|
bind = $mainMod, K, workspace, e-1
|
|
bind = $mainMod, L, exec, hyprctl keyword animation workspaces,1,6,default
|
|
bind = $mainMod, L, workspace, e+1
|
|
|
|
bind = $mainMod SHIFT, H, exec, hyprctl keyword animation workspaces,1,6,default
|
|
bind = $mainMod SHIFT, H, movetoworkspace, e-1
|
|
bind = $mainMod SHIFT, J, exec, hyprctl keyword animation workspaces,1,6,default,slidevert
|
|
bind = $mainMod SHIFT, J, movetoworkspace, e+1
|
|
bind = $mainMod SHIFT, K, exec, hyprctl keyword animation workspaces,1,6,default,slidevert
|
|
bind = $mainMod SHIFT, K, movetoworkspace, e-1
|
|
bind = $mainMod SHIFT, L, exec, hyprctl keyword animation workspaces,1,6,default
|
|
bind = $mainMod SHIFT, L, movetoworkspace, e+1
|
|
|
|
#switch network connections
|
|
bind = CTRL SHIFT, Escape, exec, nmcli device down wlo1
|
|
bind = CTRL SHIFT, 0, exec, nmcli connection up Hotspot
|
|
bind = CTRL SHIFT, 1, exec, nmcli connection up EagleNet
|
|
bind = CTRL SHIFT, 2, exec, nmcli connection up CXNK00813829
|
|
bind = CTRL SHIFT, 3, exec, nmcli connection up ATT9MhT2ql
|
|
|
|
#brightness keys
|
|
bind = , XF86MonBrightnessUp, exec, brightnessctl set +10%
|
|
bind = , XF86MonBrightnessDown, exec, brightnessctl set 10%-
|
|
|
|
#volume keys
|
|
binde = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_SINK@ 10%+
|
|
binde = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_SINK@ 10%-
|
|
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle
|
|
bind = $mainMod, F9, exec, pavucontrol
|
|
|
|
#screen lock key
|
|
bind = $mainMod, F12, exec, swaylock
|
|
|
|
#logout shortcut
|
|
bind = CTRL ALT, Delete, exec, loginctl kill-session self
|
|
|
|
|
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
bind = $mainMod SHIFT, W, movewindow, u
|
|
bind = $mainMod SHIFT, A, movewindow, l
|
|
bind = $mainMod SHIFT, S, movewindow, d
|
|
bind = $mainMod SHIFT, D, movewindow, r
|
|
|
|
bindm = $mainMod, mouse:272, movewindow
|
|
bindm = $mainMod SHIFT, mouse:272, resizewindow
|
|
|
|
$scratchpadsize = size 60% 80%
|
|
|
|
$kitty = class:^(scratchpad-kitty)$
|
|
windowrulev2 = float, $kitty
|
|
windowrulev2 = $scratchpadsize, $kitty
|
|
windowrulev2 = workspace special silent, $kitty
|
|
|
|
$lf = class:^(scratchpad-lf)$
|
|
windowrulev2 = float, $lf
|
|
windowrulev2 = $scratchpadsize, $lf
|
|
windowrulev2 = workspace special silent, $lf
|
|
|
|
$cal = class:^(scratchpad-cal)$
|
|
windowrulev2 = float, $cal
|
|
windowrulev2 = $scratchpadsize, $cal
|
|
windowrulev2 = workspace special silent, $cal
|
|
|
|
bind = $mainMod, semicolon, exec, colorPrefix pypr toggle lf
|
|
bind = $mainMod, E, exec, colorPrefix pypr toggle kitty
|
|
bind = $mainMod, C, exec, colorPrefix pypr toggle calendar
|
|
|
|
|
|
bind = CTRL SHIFT, Home, exec, ssh nathan@blunkall.us -fL 5900:localhost:5900 sleep 10; vncviewer localhost:5900 -fullscreen
|
|
bind = CTRL SHIFT, Home, submap, clean
|
|
|
|
|
|
bind = $mainMod CTRL, Home, submap, clean
|
|
|
|
submap = clean
|
|
|
|
bind = $mainMod CTRL, Home, submap, reset
|
|
|
|
submap = reset
|
|
|
|
|