neodotfiles/config/hypr/hyprland.conf

107 lines
2.7 KiB
Text
Raw Normal View History

2024-06-19 01:20:35 +00:00
# autolaunch
2023-02-22 00:02:06 +00:00
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
2024-03-08 15:21:36 +00:00
exec-once = dbus-update-activation-environment --systemd --all
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
2024-06-05 21:02:32 +00:00
exec-once = /usr/libexec/polkit-gnome-authentication-agent-1
exec-once = /usr/libexec/xdg-desktop-portal-hyprland
2023-04-01 05:00:52 +00:00
exec-once = waybar
2024-09-28 03:08:07 +00:00
exec-once = mako
2024-03-27 06:07:02 +00:00
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
2024-09-28 03:08:07 +00:00
exec-once = swww-daemon
2024-03-11 05:55:31 +00:00
exec-once = hypridle
2023-02-22 00:02:06 +00:00
2024-06-19 01:20:35 +00:00
# environment variables
2024-03-08 15:21:36 +00:00
env = SSH_AUTH_SOCK,$XDG_RUNTIME_DIR/ssh-agent.socket
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = CLUTTER_BACKEND,wayland
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_STYLE_OVERRIDE,kvantum
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = GDK_BACKEND,wayland,x11
2024-09-28 03:08:07 +00:00
env = SDL_VIDEODRIVER,wayland
2024-03-08 15:21:36 +00:00
env = MOZ_ENABLE_WAYLAND,1
env = WLR_NO_HARDWARE_CURSORS,1
env = HYPRLAND_NO_SD_NOTIFY=0
env = XKB_DEFAULT_LAYOUT,us
2024-03-11 05:55:31 +00:00
env = ELECTRON_OZONE_PLATFORM_HINT,auto
2024-06-05 21:02:32 +00:00
env = TERMINAL,kitty
2024-07-26 17:43:09 +00:00
env = BROWSER,flatpak run com.brave.Browser
2024-03-08 15:21:36 +00:00
env = VIEWER,zathura
env = RUNNER,rofi -dmenu
env = RUNNER_EX,rofi -show drun
2024-03-08 15:21:36 +00:00
2024-06-19 01:20:35 +00:00
# monitor settings
2024-09-28 03:08:07 +00:00
monitor = eDP-1, preferred, 3200x0, 1
2024-07-26 17:43:09 +00:00
monitor = DP-1, highrr, 0x0, 1
2024-09-28 03:08:07 +00:00
monitor = HDMI-A-2, highrr, 1280x0, 1
#monitor = eDP-1, preferred, 0x0, 1
#monitor = HDMI-A-2, preferred, auto, 1, mirror, eDP-1
2024-03-25 21:10:01 +00:00
bindl = , switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, preferred, auto, 1"
bindl = , switch:on:Lid Switch, exec, hyprctl keyword monitor "eDP-1, disable"
2023-02-22 00:02:06 +00:00
2024-06-19 01:20:35 +00:00
# input settings
2023-02-22 00:02:06 +00:00
input {
2023-09-11 04:39:36 +00:00
kb_layout = us,es
2024-09-28 03:08:07 +00:00
kb_options = grp:shift_caps_toggle
2023-09-11 04:39:36 +00:00
follow_mouse = 1
scroll_method = 2fg
touchpad {
natural_scroll = yes
disable_while_typing = false
tap-to-click = true
}
2024-03-07 15:05:41 +00:00
sensitivity = -0.2
2023-02-22 00:02:06 +00:00
}
2023-09-11 04:39:36 +00:00
gestures {
workspace_swipe = true
2024-06-19 01:20:35 +00:00
workspace_swipe_touch = true
2023-09-11 04:39:36 +00:00
}
2024-06-19 01:20:35 +00:00
# cursor
cursor {
hide_on_touch = true
hide_on_key_press = true
inactive_timeout = 30
}
2023-02-22 00:02:06 +00:00
2024-06-19 01:20:35 +00:00
# layouts
2023-02-22 00:02:06 +00:00
dwindle {
2024-03-07 15:05:41 +00:00
pseudotile = yes
preserve_split = yes
2023-02-22 00:02:06 +00:00
}
2024-03-07 15:05:41 +00:00
2023-02-22 00:02:06 +00:00
master {
2024-03-27 06:07:02 +00:00
no_gaps_when_only = true
2024-07-26 17:43:09 +00:00
new_status = slave
2024-03-08 15:21:36 +00:00
drop_at_cursor = false
orientation = left
2023-09-11 04:39:36 +00:00
mfact = 0.50
2023-02-22 00:02:06 +00:00
}
2024-06-19 01:20:35 +00:00
# misc
2023-02-22 00:02:06 +00:00
misc {
2024-09-28 03:08:07 +00:00
allow_session_lock_restore = true
2023-09-11 04:39:36 +00:00
disable_hyprland_logo = true
disable_splash_rendering = true
mouse_move_enables_dpms = true
enable_swallow = true
2024-03-07 15:05:41 +00:00
swallow_regex = ^(alacritty)$
2023-09-11 04:39:36 +00:00
mouse_move_focuses_monitor = true
2023-02-22 00:02:06 +00:00
}
2024-07-26 17:43:09 +00:00
binds {
workspace_center_on = 1
allow_workspace_cycles = true
}
2024-06-19 01:20:35 +00:00
# source
2024-03-08 15:21:36 +00:00
source = ~/.config/hypr/animations.conf
source = ~/.config/hypr/keybindings.conf
source = ~/.config/hypr/rules.conf
source = ~/.config/hypr/theme.conf