dotfiles/home/r0r5chach/.config/hypr/hyprland.conf

163 lines
4.7 KiB
Plaintext

monitor=,highres,auto,auto
xwayland {
force_zero_scaling = true
}
# Source a file (multi-file configs)
source = ~/.config/hypr/prefs/app_shortcut_commands.conf
source = ~/.config/hypr/prefs/settings.conf
source = ~/.config/hypr/prefs/shortcuts.conf
source = ~/.config/hypr/prefs/startup.conf
# Execute your favorite apps at launch
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = $authentication_agent & $wallpaper_manager & $notification_manager & $widgets & $env_access & $clipboard_manager & $keyring & $spotify & $mlocate & $vpn & $auto_mounting
# Environment Variables
env = XCURSOR_SIZE,24
env = WLR_NO_HARDWARE_CURSORS,1
env = QT_QPA_PLATFORMTHEME,qt5ct
env = QT_QPA_PLATFORM,wayland
env = GRIMBLAST_EDITOR,gwenview
env = MOZ_ENABLE_WAYLAND,1
env = SSH_ASKPASS=ksshaskpass
env = LESS,-R --use-color -Dd+r$Du+b$
env = MANPAGER, less -R --use-color -Dd+r -Du+b
input {
kb_layout = $keyboard_layout
kb_variant =
kb_model =
kb_options =
kb_rules =
follow_mouse = 1
touchpad {
natural_scroll = no
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}
general {
gaps_in = $inside_gaps
gaps_out = $outside_gaps
border_size = $border_size
col.active_border = $active_border_color
col.inactive_border = $inactive_border_color
layout = dwindle
}
decoration {
rounding = 10
inactive_opacity = 0.75
drop_shadow = yes
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
}
animations {
enabled = yes
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 {
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 {
new_is_master = true
}
gestures {
workspace_swipe = off
}
windowrulev2 = stayfocused,class:^(Rofi)$
windowrulev2 = fakefullscreen,class:^(firefox)$
bind = $open_terminal, exec, $terminal_emulator
bind = $close_window, killactive,
bind = $exit_hyprland, exit,
bind = $open_file_explorer, exec, $file_explorer
bind = $toggle_floating, togglefloating,
bindr = $open_app_launcher,exec, $app_launcher
bind = $toggle_tile_split, togglesplit, # dwindle
bind = $open_browser, exec, $browser
bind = $lock_screen, exec ,$lockscreen_manager
#Window Management
bind = $window_to_new_workspace, $move_to_new_workspace
bind = $window_to_next_workspace, $move_to_next_workspace
binde = $mainMod, Tab, workspace, e+1
binde = $mainMod_SHIFT, Tab, workspace, e-1
bind = $maximise_window, fullscreen
bind = $fake_maximise, fakefullscreen
bind = $mainMod, 1 , $switch_to_workspace, 1
bind = $mainMod, 2 , $switch_to_workspace, 2
bind = $mainMod, 3 , $switch_to_workspace, 3
bind = $mainMod, 4 , $switch_to_workspace, 4
bind = $mainMod, 5 , $switch_to_workspace, 5
bind = $mainMod, 6 , $switch_to_workspace, 6
bind = $mainMod, 7 , $switch_to_workspace, 7
bind = $mainMod, 8 , $switch_to_workspace, 8
bind = $mainMod, 9 , $switch_to_workspace, 9
bind = $mainMod, 0 , $switch_to_workspace, 10
bind = $mainMod_SHIFT, 1, $move_to_workspace, 1
bind = $mainMod_SHIFT, 2, $move_to_workspace, 2
bind = $mainMod_SHIFT, 3, $move_to_workspace, 3
bind = $mainMod_SHIFT, 4, $move_to_workspace, 4
bind = $mainMod_SHIFT, 5, $move_to_workspace, 5
bind = $mainMod_SHIFT, 6, $move_to_workspace, 6
bind = $mainMod_SHIFT, 7, $move_to_workspace, 7
bind = $mainMod_SHIFT, 8, $move_to_workspace, 8
bind = $mainMod_SHIFT, 9, $move_to_workspace, 9
bind = $mainMod_SHIFT, 0, $move_to_workspace, 10
bind = $toggle_notifications, exec, $toggle_notification_draw
bind = $sys_monitor, exec, $sys_monitor_app
bind = $color_picker, exec, $color_picker_app
bind = $clipboard_history, exec, $clipboard_history_menu
bind = $screenshot_area, exec, $screenshot_area_cmd
bind = $screenshot_screen, exec, $screenshot_screen_cmd
binde = $volume_down, exec, $volume_down_percent
binde = $volume_up, exec, $volume_up_percent
bind = $volume_mute, exec, $volume_mute_cmd
binde = $brightness_up, exec, $brightness_up_percent
binde = $brightness_down, exec, $brightness_down_percent
# 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
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
#LockScreen when lid closes
bind = , switch:Lid Switch,exec,$lockscreen_manager