neodotfiles/user/.config/hypr/hyprland.conf

116 lines
3.3 KiB
Text
Raw Normal View History

2024-03-08 15:21:36 +00:00
# ╻ ┏━┓╻ ╻┏┓╻┏━╸╻ ╻
# ┃ ┣━┫┃ ┃┃┗┫┃ ┣━┫
# ┗━╸╹ ╹┗━┛╹ ╹┗━╸╹ ╹
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-03-08 21:49:38 +00:00
exec-once = /usr/libexec/kf5/polkit-kde-authentication-agent-1
2024-03-25 21:10:01 +00:00
exec-once = $HOME/.config/hypr/scripts/xdg-portals
2023-04-01 05:00:52 +00:00
exec-once = waybar
2024-03-07 15:05:41 +00:00
exec-once = mako -c ~/.config/mako/config
2024-03-08 15:21:36 +00:00
exec-once = $HOME/.config/hypr/scripts/clip
2024-03-25 21:10:01 +00:00
exec-once = hyprpaper
2024-03-11 05:55:31 +00:00
exec-once = hypridle
2024-03-25 21:10:01 +00:00
exec-once = emacs --daemon
2023-02-22 00:02:06 +00:00
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
env = SDL_VIDEODRIVER,wayland
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-03-25 21:10:01 +00:00
env = TERMINAL,alacritty
2024-03-08 15:21:36 +00:00
env = BROWSER,flatpak run org.mozilla.firefox
env = VIEWER,zathura
env = RUNNER,fuzzel --dmenu
env = RUNNER_EX,fuzzel
# ┏┳┓┏━┓┏┓╻╻╺┳╸┏━┓┏━┓
# ┃┃┃┃ ┃┃┗┫┃ ┃ ┃ ┃┣┳┛
# ╹ ╹┗━┛╹ ╹╹ ╹ ┗━┛╹┗╸
2024-03-25 21:10:01 +00:00
monitor=HDMI-A-1, preferred, auto, 1
monitor=eDP-1, preferred, auto, 1
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-03-08 15:21:36 +00:00
# ╻┏┓╻┏━┓╻ ╻╺┳╸
# ┃┃┗┫┣━┛┃ ┃ ┃
# ╹╹ ╹╹ ┗━┛ ╹
2023-02-22 00:02:06 +00:00
input {
2023-09-11 04:39:36 +00:00
kb_layout = us,es
kb_options = grp:shift_caps_toggle
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
workspace_swipe_numbered = false
workspace_swipe_create_new = false
workspace_swipe_direction_lock = false
workspace_swipe_forever = false
}
2024-03-08 15:21:36 +00:00
# ╻ ┏━┓╻ ╻┏━┓╻ ╻╺┳╸┏━┓
# ┃ ┣━┫┗┳┛┃ ┃┃ ┃ ┃ ┗━┓
# ┗━╸╹ ╹ ╹ ┗━┛┗━┛ ╹ ┗━┛
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 {
2023-09-11 04:39:36 +00:00
no_gaps_when_only = false
new_is_master = false
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-03-08 15:21:36 +00:00
# ┏┳┓╻┏━┓┏━╸
# ┃┃┃┃┗━┓┃
# ╹ ╹╹┗━┛┗━╸
2023-02-22 00:02:06 +00:00
misc {
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
hide_cursor_on_touch = true
mouse_move_focuses_monitor = true
2023-02-22 00:02:06 +00:00
}
2024-03-08 15:21:36 +00:00
# ┏━┓┏━┓╻ ╻┏━┓┏━╸┏━╸
# ┗━┓┃ ┃┃ ┃┣┳┛┃ ┣╸
# ┗━┛┗━┛┗━┛╹┗╸┗━╸┗━╸
2023-02-22 00:02:06 +00:00
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