144 lines
4 KiB
Plaintext
144 lines
4 KiB
Plaintext
|
# https://wiki.hyprland.org/Configuring/Monitors/
|
||
|
monitor=eDP-2,1920x1080@120,0x0,1
|
||
|
|
||
|
# https://wiki.hyprland.org/Configuring/Keywords/
|
||
|
|
||
|
|
||
|
# Execute your favorite apps at launch
|
||
|
exec-once = GTK_THEME=adwaita waybar & mako & element-desktop & thunderbird & webcord & swayidle -w timeout 100 'swaylock -f --grace 3' timeout 130 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' timeout 300 'systemctl suspend' before-sleep 'swaylock -f'
|
||
|
|
||
|
# 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 {
|
||
|
kb_layout = fr
|
||
|
kb_variant =
|
||
|
kb_model =
|
||
|
kb_options =
|
||
|
kb_rules =
|
||
|
|
||
|
follow_mouse = 2
|
||
|
|
||
|
touchpad {
|
||
|
natural_scroll = no
|
||
|
}
|
||
|
|
||
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||
|
}
|
||
|
|
||
|
# https://wiki.hyprland.org/Configuring/Variables/
|
||
|
general {
|
||
|
gaps_in = 2
|
||
|
gaps_out = 4
|
||
|
|
||
|
border_size = 0
|
||
|
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||
|
col.inactive_border = rgba(595959aa)
|
||
|
|
||
|
layout = dwindle
|
||
|
}
|
||
|
|
||
|
# See https://wiki.hyprland.org/Configuring/Variables/
|
||
|
decoration {
|
||
|
rounding = 2
|
||
|
|
||
|
blur = yes
|
||
|
blur_size = 3
|
||
|
blur_passes = 3
|
||
|
blur_new_optimizations = on
|
||
|
|
||
|
drop_shadow = yes
|
||
|
shadow_range = 4
|
||
|
shadow_render_power = 3
|
||
|
col.shadow = rgba(1a1a1aee)
|
||
|
}
|
||
|
|
||
|
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/
|
||
|
animations {
|
||
|
enabled = no
|
||
|
}
|
||
|
|
||
|
# https://wiki.hyprland.org/Configuring/Dwindle-Layout/
|
||
|
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
|
||
|
no_gaps_when_only = true
|
||
|
}
|
||
|
|
||
|
# https://wiki.hyprland.org/Configuring/Master-Layout/
|
||
|
master {
|
||
|
new_is_master = false
|
||
|
}
|
||
|
|
||
|
# https://wiki.hyprland.org/Configuring/Variables/
|
||
|
gestures {
|
||
|
workspace_swipe = off
|
||
|
}
|
||
|
|
||
|
misc {
|
||
|
disable_hyprland_logo = true
|
||
|
disable_splash_rendering = true
|
||
|
}
|
||
|
|
||
|
# 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
|