195 lines
5.4 KiB
Plaintext
Executable File
195 lines
5.4 KiB
Plaintext
Executable File
source = /home/$USER/.cache/wal/colors-hyprland
|
|
|
|
$terminal = kitty
|
|
$fileManager = kitty -d ~ yazi
|
|
# $menu = wofi --show drun -n
|
|
$menu = wofi -n
|
|
exec-once = hypridle
|
|
exec-once = waybar
|
|
exec-once = swww-daemon
|
|
exec-once = swaync
|
|
exec-once = pypr
|
|
exec-once = swaync-client -df
|
|
exec-once = pactl set-sink-mute @DEFAULT_SINK@ 0
|
|
exec-once = hyprctl plugin load $HOME/.local/share/hyprpm/dynamic-cursors/dynamic-cursors.so
|
|
env = ELECTRON_OZONE_PLATFORM_HINT,wayland
|
|
env = XCURSOR_THEME,Bibata-Modern-Classic
|
|
env = XCURSOR_SIZE,12
|
|
|
|
plugin:dynamic-cursors {
|
|
mode = stretch
|
|
threshold = 2
|
|
shaperule = grab, stretch, stretch:limit: 2000
|
|
rotate {
|
|
length = 12
|
|
offset = 30
|
|
}
|
|
stretch {
|
|
limit = 1000
|
|
# linear - a linear function is used
|
|
# quadratic - a quadratic function is used
|
|
# negative_quadratic - negative version of the quadratic one, feels more aggressive
|
|
function = negative_quadratic
|
|
}
|
|
shake {
|
|
enabled = false
|
|
}
|
|
}
|
|
general {
|
|
|
|
gaps_in = 3
|
|
gaps_out = 10
|
|
border_size = 0
|
|
col.active_border = $color9
|
|
col.inactive_border = $color5
|
|
resize_on_border = true
|
|
allow_tearing = false
|
|
layout = dwindle
|
|
}
|
|
decoration {
|
|
rounding = 10
|
|
active_opacity = 0.78
|
|
inactive_opacity = 0.7
|
|
fullscreen_opacity = 1
|
|
blur {
|
|
enabled = true
|
|
size = 3
|
|
passes = 5
|
|
new_optimizations = true
|
|
ignore_opacity = true
|
|
xray = false
|
|
popups = true
|
|
}
|
|
shadow {
|
|
enabled = true
|
|
range = 15
|
|
render_power = 5
|
|
color = rgba(0,0,0,.5)
|
|
}
|
|
}
|
|
animations {
|
|
enabled = true
|
|
bezier = fluid, 0.15, 0.85, 0.25, 1
|
|
bezier = snappy, 0.3, 1, 0.4, 1
|
|
animation = windows, 1, 3, fluid, popin 5%
|
|
animation = windowsOut, 1, 2.5, snappy
|
|
animation = fade, 1, 4, snappy
|
|
animation = workspaces, 1, 1.7, snappy, slide
|
|
animation = specialWorkspace, 1, 4, fluid, slidefadevert -35%
|
|
animation = layers, 1, 2, snappy, popin 70%
|
|
}
|
|
dwindle {
|
|
preserve_split = true
|
|
}
|
|
misc {
|
|
force_default_wallpaper = -1
|
|
disable_hyprland_logo = true
|
|
focus_on_activate = true
|
|
}
|
|
input {
|
|
kb_layout = us
|
|
follow_mouse = 1
|
|
sensitivity = 0
|
|
touchpad {
|
|
natural_scroll = true
|
|
}
|
|
}
|
|
gestures {
|
|
workspace_swipe = true
|
|
workspace_swipe_distance = 300
|
|
workspace_swipe_cancel_ratio = .05
|
|
workspace_swipe_min_speed_to_force = 0
|
|
}
|
|
device {
|
|
name = epic-mouse-v1
|
|
sensitivity = 0
|
|
}
|
|
|
|
$mainMod = SUPER
|
|
|
|
# App
|
|
bind = $mainMod, Q, exec, $terminal
|
|
bind = $mainMod, D, exec, firefox
|
|
bind = $mainMod, E, exec, $fileManager
|
|
|
|
# Wofi menus
|
|
bind = $mainMod, R, exec, $menu
|
|
bind = $mainMod, P, exec, ~/.config/hypr/projects.sh
|
|
bind = $mainMod, W, exec, ~/.config/hypr/wallpaper.sh
|
|
|
|
# Window management
|
|
bind = $mainMod, B, killactive
|
|
bind = $mainMod, V, exec, hyprctl --batch "dispatch togglefloating; dispatch resizeactive exact 800 800; dispatch centerwindow 1;"
|
|
bind = $mainMod SHIFT, P, exec, pseudo
|
|
bind = $mainMod, O, togglesplit
|
|
bind = $mainMod, F, fullscreen
|
|
bindm = $mainMod, mouse:272, movewindow
|
|
bindm = $mainMod, mouse:273, resizewindow
|
|
|
|
# Sessions
|
|
bind = $mainMod, comma, exec, hyprlock
|
|
bind = $mainMod SHIFT, M, exec, wlogout -b 2
|
|
bind = $mainMod, M, exit
|
|
|
|
# Pypr
|
|
bind = $mainMod, SPACE, exec, pypr toggle term
|
|
bind = $mainMod, G, exec, pypr toggle music
|
|
bind = $mainMod, T, exec, pypr toggle taskbarcpu
|
|
bind = $mainMod, Y, exec, pypr toggle taskbargpu
|
|
|
|
# Vim type motion
|
|
bind = $mainMod, H, movefocus, l
|
|
bind = $mainMod, L, movefocus, r
|
|
bind = $mainMod, J, movefocus, d
|
|
bind = $mainMod, K, movefocus, u
|
|
bind = $mainMod ALT, H, movewindow, l
|
|
bind = $mainMod ALT, L, movewindow, r
|
|
bind = $mainMod ALT, J, movewindow, d
|
|
bind = $mainMod ALT, K, movewindow, u
|
|
|
|
# Workspace
|
|
bind = $mainMod, S, togglespecialworkspace, magic
|
|
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
|
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 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
|
|
|
|
# Scripts divers
|
|
bind = ALT, a, exec, ~/.config/waybar/scripts/refresh.sh
|
|
bind = ALT, B, exec, ~/.config/waybar/scripts/select.sh
|
|
bind = ALT, r, exec, ~/.config/swaync/refresh.sh
|
|
|
|
layerrule = blur, waybar
|
|
layerrule = ignorezero, waybar
|
|
layerrule = ignorealpha 0.5, waybar
|
|
layerrule = blur, swaync-control-center
|
|
layerrule = blur, swaync-notification-window
|
|
layerrule = ignorezero, swaync-control-center
|
|
layerrule = ignorezero, swaync-notification-window
|
|
layerrule = ignorealpha 0.5, swaync-control-center
|
|
layerrule = ignorealpha 0.5, swaync-notification-window
|
|
layerrule = noanim, selection
|
|
|
|
env = LIBVA_DRIVER_NAME,nvidia
|
|
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
|
|
|
|
|
|