2023-05-28 21:48:36 +00:00
|
|
|
# https://wiki.hyprland.org/Configuring/Monitors/
|
2023-08-11 17:43:17 +00:00
|
|
|
monitor=eDP-1,1920x1080@120,0x0,1
|
2023-05-28 21:48:36 +00:00
|
|
|
|
|
|
|
# https://wiki.hyprland.org/Configuring/Keywords/
|
|
|
|
|
|
|
|
|
|
|
|
# Execute your favorite apps at launch
|
2023-10-16 18:22:54 +00:00
|
|
|
# exec-once = env XDG_CACHE_HOME=/tmp eww open bar & \
|
|
|
|
# swaybg -i ~/Pictures/wallpapers/kai-oberhauser-unsplash.jpg & \
|
|
|
|
# swayidle -w & \
|
|
|
|
# mako & \
|
|
|
|
# element-desktop & \
|
|
|
|
# thunderbird & \
|
|
|
|
# webcord & \
|
|
|
|
# gnome-keyring-daemon --start --components=secrets
|
2023-05-28 21:48:36 +00:00
|
|
|
|
|
|
|
# Source a file (multi-file configs)
|
|
|
|
# source = ~/.config/hypr/myColors.conf
|
|
|
|
|
|
|
|
# Some default env vars.
|
|
|
|
env = XCURSOR_SIZE,20
|
|
|
|
|
|
|
|
# https://wiki.hyprland.org/Configuring/Variables/
|
|
|
|
input {
|
2023-08-11 17:43:17 +00:00
|
|
|
kb_layout = fr
|
|
|
|
kb_variant =
|
|
|
|
kb_model =
|
|
|
|
kb_options =
|
|
|
|
kb_rules =
|
2023-05-28 21:48:36 +00:00
|
|
|
|
2023-08-11 17:43:17 +00:00
|
|
|
follow_mouse = 2
|
2023-05-28 21:48:36 +00:00
|
|
|
|
2023-08-11 17:43:17 +00:00
|
|
|
touchpad {
|
|
|
|
natural_scroll = no
|
|
|
|
}
|
2023-05-28 21:48:36 +00:00
|
|
|
|
2023-08-11 17:43:17 +00:00
|
|
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
2023-05-28 21:48:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# https://wiki.hyprland.org/Configuring/Variables/
|
|
|
|
general {
|
2023-08-11 17:43:17 +00:00
|
|
|
gaps_in = 2
|
|
|
|
gaps_out = 4
|
2023-05-28 21:48:36 +00:00
|
|
|
|
2023-08-11 17:43:17 +00:00
|
|
|
border_size = 0
|
|
|
|
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
|
|
|
col.inactive_border = rgba(595959aa)
|
2023-05-28 21:48:36 +00:00
|
|
|
|
2023-08-11 17:43:17 +00:00
|
|
|
layout = dwindle
|
2023-05-28 21:48:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Variables/
|
|
|
|
decoration {
|
2023-08-11 17:43:17 +00:00
|
|
|
rounding = 2
|
|
|
|
|
|
|
|
blur {
|
|
|
|
enabled = yes
|
|
|
|
size = 3
|
|
|
|
passes = 3
|
|
|
|
new_optimizations = 3
|
|
|
|
}
|
|
|
|
|
|
|
|
drop_shadow = yes
|
|
|
|
shadow_range = 4
|
|
|
|
shadow_render_power = 3
|
|
|
|
col.shadow = rgba(1a1a1aee)
|
2023-05-28 21:48:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/
|
|
|
|
animations {
|
2023-08-11 17:43:17 +00:00
|
|
|
enabled = no
|
2023-05-28 21:48:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# https://wiki.hyprland.org/Configuring/Dwindle-Layout/
|
|
|
|
dwindle {
|
2023-08-11 17:43:17 +00:00
|
|
|
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
|
|
|
preserve_split = yes # you probably want this
|
|
|
|
no_gaps_when_only = true
|
2023-05-28 21:48:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# https://wiki.hyprland.org/Configuring/Master-Layout/
|
|
|
|
master {
|
2023-08-11 17:43:17 +00:00
|
|
|
new_is_master = false
|
2023-05-28 21:48:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# https://wiki.hyprland.org/Configuring/Variables/
|
|
|
|
gestures {
|
2023-08-11 17:43:17 +00:00
|
|
|
workspace_swipe = off
|
2023-05-28 21:48:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
misc {
|
2023-10-16 18:22:54 +00:00
|
|
|
# no thanks
|
2023-08-11 17:43:17 +00:00
|
|
|
disable_hyprland_logo = true
|
|
|
|
disable_splash_rendering = true
|
2023-10-16 18:22:54 +00:00
|
|
|
|
|
|
|
# turn on screen when mouse moves or key is pressed
|
|
|
|
mouse_move_enables_dpms = true
|
|
|
|
key_press_enables_dpms = true
|
2023-05-28 21:48:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# https://wiki.hyprland.org/Configuring/Window-Rules/
|
|
|
|
# None
|
|
|
|
|
|
|
|
# https://wiki.hyprland.org/Configuring/Keywords/
|
|
|
|
$mainMod = SUPER
|
|
|
|
|
|
|
|
# https://wiki.hyprland.org/Configuring/Binds/
|
|
|
|
|
|
|
|
# Main binds
|
|
|
|
bind = $mainMod, Return, exec, alacritty
|
|
|
|
bind = $mainMod, Q, killactive,
|
|
|
|
bind = $mainMod, S, togglefloating,
|
|
|
|
bind = $mainMod, Delete, exec, swaylock -f
|
|
|
|
|
|
|
|
# Screenshot
|
|
|
|
bind = , Print, exec, grim `date +'%Y-%m-%dT%H:%M:%S'`.png
|
|
|
|
bind = SHIFT, Print, exec, grim - | wl-copy -t 'image/png'
|
|
|
|
bind = $mainMod, Print, exec, slurp -d | grim -g - `date +'%Y-%m-%dT%H:%M:%S'`.png
|
|
|
|
bind = $mainMod SHIFT, Print, exec, slurp -d | grim -g - - | wl-copy -t 'image/png'
|
|
|
|
|
|
|
|
# Backlight
|
|
|
|
bind = , XF86MonBrightnessUp, exec, light -A 5
|
|
|
|
bind = , XF86MonBrightnessDown, exec, light -U 5
|
|
|
|
|
|
|
|
# Audio
|
|
|
|
bind = , XF86AudioMute, exec, pamixer --sink 0 -t
|
|
|
|
bind = , XF86AudioRaiseVolume, exec, pamixer -i 5
|
|
|
|
bind = , XF86AudioLowerVolume, exec, pamixer -d 5
|
|
|
|
bind = , XF86AudioMicMute, exec, pamixer --source 0 -t
|
|
|
|
|
|
|
|
# Switch workspaces
|
|
|
|
bind = $mainMod, ampersand, workspace, 1
|
|
|
|
bind = $mainMod, eacute, workspace, 2
|
|
|
|
bind = $mainMod, quotedbl, workspace, 3
|
|
|
|
bind = $mainMod, apostrophe, workspace, 4
|
|
|
|
bind = $mainMod, parenleft, workspace, 5
|
|
|
|
bind = $mainMod, minus, workspace, 6
|
|
|
|
bind = $mainMod, egrave, workspace, 7
|
|
|
|
bind = $mainMod, underscore, workspace, 8
|
|
|
|
bind = $mainMod, ccedilla, workspace, 9
|
|
|
|
bind = $mainMod, agrave, workspace, 10
|
|
|
|
|
|
|
|
# Switch window to workspace
|
|
|
|
bind = $mainMod SHIFT, ampersand, movetoworkspacesilent, 1
|
|
|
|
bind = $mainMod SHIFT, eacute, movetoworkspacesilent, 2
|
|
|
|
bind = $mainMod SHIFT, quotedbl, movetoworkspacesilent, 3
|
|
|
|
bind = $mainMod SHIFT, apostrophe, movetoworkspacesilent, 4
|
|
|
|
bind = $mainMod SHIFT, parenleft, movetoworkspacesilent, 5
|
|
|
|
bind = $mainMod SHIFT, minus, movetoworkspacesilent, 6
|
|
|
|
bind = $mainMod SHIFT, egrave, movetoworkspacesilent, 7
|
|
|
|
bind = $mainMod SHIFT, underscore, movetoworkspacesilent, 8
|
|
|
|
bind = $mainMod SHIFT, ccedilla, movetoworkspacesilent, 9
|
|
|
|
bind = $mainMod SHIFT, agrave, movetoworkspacesilent, 10
|
|
|
|
|
|
|
|
# Move/resize windows
|
|
|
|
bindm = $mainMod, mouse:272, movewindow
|
|
|
|
bindm = $mainMod, mouse:273, resizewindow
|