358 lines
9.7 KiB
Plaintext
358 lines
9.7 KiB
Plaintext
|
# exec once
|
||
|
exec-once=~/.config/hypr/scripts/startup
|
||
|
exec-once = wpaperd &
|
||
|
exec-once = wlsunset -l 51.4 -L 6.9 &
|
||
|
|
||
|
# env vars
|
||
|
env = QT_QPA_PLATFORM,wayland
|
||
|
env = GDK_BACKEND,wayland,x11
|
||
|
env = SDL_VIDEODRIVER,wayland
|
||
|
env = MOZ_ENABLE_WAYLAND,1
|
||
|
|
||
|
# Theme
|
||
|
$gradient_angle = 45deg
|
||
|
$active_border_col_1 = 0xFFB4A1DB
|
||
|
$active_border_col_2 = 0xFFD04E9D
|
||
|
$inactive_border_col_1 = 1e2030
|
||
|
$inactive_border_col_2 = 1e2030
|
||
|
$active_shadow_col = 0x66000000
|
||
|
$inactive_shadow_col = 0x66000000
|
||
|
$group_border_col = 0xFFDB695B
|
||
|
$group_border_active_col = 0xFF4BC66D
|
||
|
|
||
|
general {
|
||
|
border_size = 1
|
||
|
gaps_in = 4
|
||
|
gaps_out = 8
|
||
|
col.active_border = $active_border_col_1 $active_border_col_2 $gradient_angle
|
||
|
col.inactive_border = $inactive_border_col_1 $inactive_border_col_2 $gradient_angle
|
||
|
cursor_inactive_timeout = 30
|
||
|
layout = dwindle
|
||
|
}
|
||
|
|
||
|
decoration {
|
||
|
rounding = 8
|
||
|
active_opacity = 1.0
|
||
|
inactive_opacity = 1.0
|
||
|
fullscreen_opacity = 1.0
|
||
|
blur {
|
||
|
enabled = true
|
||
|
passes = 2
|
||
|
size = 8
|
||
|
xray = false
|
||
|
}
|
||
|
shadow_range = 10
|
||
|
col.shadow = $active_shadow_col
|
||
|
col.shadow_inactive = $inactive_shadow_col
|
||
|
dim_inactive = false
|
||
|
dim_strength = 0.5
|
||
|
}
|
||
|
|
||
|
animations {
|
||
|
enabled = true
|
||
|
bezier = wind, 0.05, 0.9, 0.1, 1.05
|
||
|
bezier = winMov, 0.05, 0.9, 0.1, 1.1
|
||
|
bezier = winIn, 0.1, 1.1, 0.1, 1.1
|
||
|
bezier = winOut, 0.3, -0.3, 0, 1
|
||
|
bezier = liner, 1, 1, 1, 1
|
||
|
animation = windows, 1, 6, wind, slide
|
||
|
animation = windowsIn, 1, 8, winIn, slide
|
||
|
animation = windowsOut, 1, 5, winOut, slide
|
||
|
animation = windowsMove, 1, 6, winMov, slide
|
||
|
animation = border, 1, 1, liner
|
||
|
animation = borderangle, 1, 30, liner, loop
|
||
|
animation = fade, 1, 10, default
|
||
|
animation = workspaces, 1, 8, wind
|
||
|
}
|
||
|
|
||
|
input {
|
||
|
kb_model =
|
||
|
kb_layout = de
|
||
|
kb_variant = neo_qwerty
|
||
|
kb_options = grp:alt_shift_toggle
|
||
|
kb_file =
|
||
|
sensitivity = 0.0
|
||
|
accel_profile = adaptive
|
||
|
scroll_method = 2fg
|
||
|
scroll_button = 0
|
||
|
natural_scroll = false
|
||
|
follow_mouse = 1
|
||
|
float_switch_override_focus = 2
|
||
|
touchpad {
|
||
|
disable_while_typing = true
|
||
|
natural_scroll = true
|
||
|
scroll_factor = 0
|
||
|
clickfinger_behavior = false
|
||
|
tap-to-click = false
|
||
|
drag_lock = true
|
||
|
}
|
||
|
}
|
||
|
|
||
|
device:syna8013:00-06cb:ce69-touchpad {
|
||
|
sensitivity = 0.3
|
||
|
}
|
||
|
|
||
|
device:logitech-m705 {
|
||
|
sensitivity = 0.1
|
||
|
accel_profile = flat
|
||
|
}
|
||
|
device:tpps/2-ibm-trackpoint {
|
||
|
sensitivity = 0.2
|
||
|
scroll_method = on_button_down
|
||
|
accel_profile = flat
|
||
|
|
||
|
}
|
||
|
device:tpps/2-elan-trackpoint {
|
||
|
sensitivity = 0
|
||
|
scroll_method = on_button_down
|
||
|
accel_profile = flat
|
||
|
|
||
|
}
|
||
|
|
||
|
device:tpps/2-elan-trackpoint {
|
||
|
sensitivity = 0
|
||
|
scroll_method = on_button_down
|
||
|
accel_profile = flat
|
||
|
|
||
|
}
|
||
|
|
||
|
# Workspace Gestures
|
||
|
gestures {
|
||
|
workspace_swipe = true
|
||
|
workspace_swipe_fingers = 3
|
||
|
workspace_swipe_distance = 300
|
||
|
workspace_swipe_min_speed_to_force = 15
|
||
|
workspace_swipe_cancel_ratio = 0.3
|
||
|
workspace_swipe_forever = true
|
||
|
}
|
||
|
|
||
|
group {
|
||
|
col.border_inactive = $group_border_col
|
||
|
col.border_active = $group_border_active_col
|
||
|
groupbar {
|
||
|
render_titles = false
|
||
|
}
|
||
|
}
|
||
|
|
||
|
# Miscellaneous
|
||
|
misc {
|
||
|
disable_hyprland_logo = true
|
||
|
vfr = true
|
||
|
vrr = 1
|
||
|
mouse_move_enables_dpms = false
|
||
|
animate_manual_resizes = false
|
||
|
no_direct_scanout = true
|
||
|
}
|
||
|
|
||
|
binds {
|
||
|
pass_mouse_when_bound = false
|
||
|
workspace_back_and_forth = false
|
||
|
}
|
||
|
|
||
|
xwayland {
|
||
|
force_zero_scaling = true
|
||
|
use_nearest_neighbor = false
|
||
|
}
|
||
|
|
||
|
debug {
|
||
|
overlay = false
|
||
|
}
|
||
|
|
||
|
# Output
|
||
|
monitor = eDP-1, 3840x2400@60, 0x0, 1, bitdepth, 10
|
||
|
monitor = eDP-1, addreserved,-8,0,0,0
|
||
|
monitor = desc:ASUSTek COMPUTER INC ASUS VA24E M7LMTF021529, 1920x1080@60, -320x-1080, 1
|
||
|
monitor = desc:ASUSTek COMPUTER INC ASUS VA24E M7LMTF021525, 1920x1080@60, 1600x-1080, 1
|
||
|
monitor=,preferred,auto,1
|
||
|
|
||
|
workspace = 1, monitor:eDP-1, default:true
|
||
|
workspace = 2, monitor:eDP-1
|
||
|
workspace = 3, monitor:eDP-1
|
||
|
workspace = 8, monitor:DP-2
|
||
|
workspace = 9, monitor:DP-3
|
||
|
workspace = 10, monitor:eDP-1
|
||
|
|
||
|
# Layout
|
||
|
dwindle {
|
||
|
force_split = 0
|
||
|
no_gaps_when_only = 0
|
||
|
}
|
||
|
|
||
|
master {
|
||
|
no_gaps_when_only = 0
|
||
|
orientation = right
|
||
|
}
|
||
|
|
||
|
# Window Rules
|
||
|
windowrule = float, foot-float
|
||
|
windowrule = float, yad|nm-connection-editor|pavucontrol
|
||
|
windowrule = float, xfce-polkit|kvantummanager|qt5ct|zenity|waypaper
|
||
|
windowrule = float, feh|com.github.weclaw1.ImageRoll|Gpicview|Gimp|MPlayer
|
||
|
windowrule = float, VirtualBox Manager|qemu|Qemu-system-x86_64|PacketTracer
|
||
|
windowrule = float, title:File Operation Progress|Open Files|Media viewer
|
||
|
windowrule = float, title:Confirm to replace files
|
||
|
|
||
|
windowrule = size 60% 64%, com.github.weclaw1.ImageRoll
|
||
|
windowrule = center, com.github.weclaw1.ImageRoll
|
||
|
|
||
|
windowrule = animation slide down,foot-full
|
||
|
windowrule = animation slide up,Rofi
|
||
|
|
||
|
#layerrule = blur, waybar
|
||
|
|
||
|
# Keybindings
|
||
|
$term = /usr/bin/kitty $HOME/.config/hypr/scripts/term_startup
|
||
|
$volume = ~/.config/hypr/scripts/volume
|
||
|
$screenshot = ~/.config/hypr/scripts/screenshot
|
||
|
$lockscreen = swaylock -f -i ~/.config/hypr/wallpapers/lockscreen.png
|
||
|
$colorpicker = ~/.config/hypr/scripts/colorpicker
|
||
|
$notifycmd = notify-send -h string:x-canonical-private-synchronous:hypr-cfg -u low
|
||
|
$files = dolphin
|
||
|
$browser = MOZ_ENABLE_WAYLAND=1 firefox
|
||
|
|
||
|
$rofi_launcher = rofi -show drun -theme ~/.config/hypr/rofi/launcher.rasi
|
||
|
$rofi_runner = rofi -show run -theme ~/.config/hypr/rofi/runner.rasi
|
||
|
$rofi_powermenu = ~/.config/hypr/scripts/rofi_powermenu
|
||
|
$rofi_screenshot = ~/.config/hypr/scripts/rofi_screenshot
|
||
|
|
||
|
# Terminal
|
||
|
bind = SUPER, Return, exec, $term
|
||
|
|
||
|
# Apps
|
||
|
bind = SUPER, F1, exec, $files
|
||
|
bind = SUPER, F2, exec, $browser
|
||
|
|
||
|
# Rofi
|
||
|
bind = SUPER, D, exec, $rofi_launcher
|
||
|
bind = SUPER, R, exec, $rofi_runner
|
||
|
bind = SUPER, X, exec, $rofi_powermenu
|
||
|
bind = SUPER, A, exec, $rofi_screenshot
|
||
|
|
||
|
# Misc
|
||
|
bind = SUPER, C, exec, $colorpicker
|
||
|
bind = CTRL_ALT, L, exec, $lockscreen
|
||
|
|
||
|
# Scratchpad
|
||
|
bind=SUPER_SHIFT, MINUS, movetoworkspace,special
|
||
|
bind=SUPER, MINUS, togglespecialworkspace,
|
||
|
|
||
|
# Function keys
|
||
|
bind = , XF86MonBrightnessUp, exec, brightnessctl s +10%
|
||
|
bind = , XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
||
|
bind = , XF86AudioRaiseVolume, exec, $volume --inc
|
||
|
bind = , XF86AudioLowerVolume, exec, $volume --dec
|
||
|
bind = , XF86AudioMute, exec, $volume --toggle
|
||
|
bind = , XF86AudioMicMute, exec, $volume --toggle-mic
|
||
|
bind = , XF86AudioNext, exec, playerctl next
|
||
|
bind = , XF86AudioPrev, exec, playerctl previous
|
||
|
bind = , XF86AudioPlay, exec, playerctl play
|
||
|
bind = , XF86AudioStop, exec, playerctl pause
|
||
|
|
||
|
# Screenshots
|
||
|
bind = , Print, exec, $screenshot --now
|
||
|
bind = ALT, Print, exec, $screenshot --in5
|
||
|
bind = SHIFT, Print, exec, $screenshot --in10
|
||
|
bind = CTRL, Print, exec, $screenshot --win
|
||
|
bind = SUPER, Print, exec, $screenshot --area
|
||
|
|
||
|
# Hyprland
|
||
|
bind = SUPER_SHIFT, Q, killactive,
|
||
|
bind = CTRL_ALT, Delete, exit,
|
||
|
bind = SUPER, F, fullscreen, 0
|
||
|
bind = SUPER, F, exec, $notifycmd 'Fullscreen Mode'
|
||
|
bind = SUPER, S, pseudo,
|
||
|
bind = SUPER, S, exec, $notifycmd 'Pseudo Mode'
|
||
|
bind = SUPER_SHIFT, Space, togglefloating,
|
||
|
bind = SUPER_SHIFT, Space, centerwindow,
|
||
|
|
||
|
# windowgroup
|
||
|
bind = SUPER, G, togglegroup
|
||
|
bind = SUPER, G, exec, $notifycmd 'Toggled Group Mode'
|
||
|
bind = SUPER, H, changegroupactive, b
|
||
|
bind = SUPER, L, changegroupactive, f
|
||
|
|
||
|
# Change Focusconfig
|
||
|
bind = SUPER, left, movefocus, l
|
||
|
bind = SUPER, H, movefocus, l
|
||
|
bind = SUPER, right, movefocus, r
|
||
|
bind = SUPER, L, movefocus, r
|
||
|
bind = SUPER, up, movefocus, u
|
||
|
bind = SUPER, K, movefocus, u
|
||
|
bind = SUPER, down, movefocus, d
|
||
|
bind = SUPER, J, movefocus, d
|
||
|
|
||
|
# Move Active
|
||
|
bind = SUPER_SHIFT, left, movewindow, l
|
||
|
bind = SUPER_SHIFT, H, movewindow, l
|
||
|
bind = SUPER_SHIFT, right, movewindow, r
|
||
|
bind = SUPER_SHIFT, L, movewindow, r
|
||
|
bind = SUPER_SHIFT, up, movewindow, u
|
||
|
bind = SUPER_SHIFT, K, movewindow, u
|
||
|
bind = SUPER_SHIFT, down, movewindow, d
|
||
|
bind = SUPER_SHIFT, J, movewindow, d
|
||
|
|
||
|
# Resize Active
|
||
|
binde = SUPER_CTRL, left, resizeactive, -20 0
|
||
|
binde = SUPER_CTRL, H, resizeactive, -20 0
|
||
|
binde = SUPER_CTRL, right, resizeactive, 20 0
|
||
|
binde = SUPER_CTRL, L, resizeactive, 20 0
|
||
|
binde = SUPER_CTRL, up, resizeactive, 0 -20
|
||
|
binde = SUPER_CTRL, K, resizeactive, 0 -20
|
||
|
binde = SUPER_CTRL, down, resizeactive, 0 20
|
||
|
binde = SUPER_CTRL, J, resizeactive, 0 20
|
||
|
|
||
|
# Move Active (Floating Only)
|
||
|
binde = SUPER_ALT, left, moveactive, -80 0
|
||
|
binde = SUPER_ALT, H, moveactive, -80 0
|
||
|
binde = SUPER_ALT, right, moveactive, 80 0
|
||
|
binde = SUPER_ALT, L, moveactive, 80 0
|
||
|
binde = SUPER_ALT, up, moveactive, 0 -80
|
||
|
binde = SUPER_ALT, K, moveactive, 0 -80
|
||
|
binde = SUPER_ALT, down, moveactive, 0 80
|
||
|
binde = SUPER_ALT, J, moveactive, 0 80
|
||
|
|
||
|
# Switch between windows
|
||
|
bind = SUPER,Tab,cyclenext,
|
||
|
bind = SUPER,Tab,bringactivetotop,
|
||
|
|
||
|
# Workspaces
|
||
|
bind = SUPER, 1, workspace, 1
|
||
|
bind = SUPER, 2, workspace, 2
|
||
|
bind = SUPER, 3, workspace, 3
|
||
|
bind = SUPER, 4, workspace, 4
|
||
|
bind = SUPER, 5, workspace, 5
|
||
|
bind = SUPER, 6, workspace, 6
|
||
|
bind = SUPER, 7, workspace, 7
|
||
|
bind = SUPER, 8, workspace, 8
|
||
|
bind = SUPER, 9, workspace, 9
|
||
|
bind = SUPER, 0, workspace, 10
|
||
|
|
||
|
# Send to Workspaces
|
||
|
bind = SUPER_SHIFT, 1, movetoworkspace, 1
|
||
|
bind = SUPER_SHIFT, 2, movetoworkspace, 2
|
||
|
bind = SUPER_SHIFT, 3, movetoworkspace, 3
|
||
|
bind = SUPER_SHIFT, 4, movetoworkspace, 4
|
||
|
bind = SUPER_SHIFT, 5, movetoworkspace, 5
|
||
|
bind = SUPER_SHIFT, 6, movetoworkspace, 6
|
||
|
bind = SUPER_SHIFT, 7, movetoworkspace, 7
|
||
|
bind = SUPER_SHIFT, 8, movetoworkspace, 8
|
||
|
bind = SUPER_SHIFT, 9, movetoworkspace, 9
|
||
|
bind = SUPER_SHIFT, 0, movetoworkspace, 10
|
||
|
|
||
|
# Change Workspace Mode
|
||
|
bind = SUPER_CTRL, F, workspaceopt, allfloat
|
||
|
bind = SUPER_CTRL, F, exec, $notifycmd 'Toggled All Float Mode'
|
||
|
bind = SUPER_CTRL, S, workspaceopt, allpseudo
|
||
|
bind = SUPER_CTRL, S, exec, $notifycmd 'Toggled All Pseudo Mode'
|
||
|
|
||
|
# Misc
|
||
|
bind = SUPER_SHIFT, P, pin,
|
||
|
bind = SUPER_SHIFT, P, exec, $notifycmd 'Toggled Pin'
|
||
|
bind = SUPER_SHIFT, S, swapnext
|
||
|
bind = SUPER_SHIFT, O, toggleopaque
|
||
|
bindl = ,switch:Lid Switch, exec, $lockscreen
|
||
|
|
||
|
# Mouse Buttons
|
||
|
bindm=SUPER, mouse:272, movewindow
|
||
|
bindm=SUPER, mouse:273, resizewindow
|