152 lines
4.1 KiB
Plaintext
152 lines
4.1 KiB
Plaintext
# https://wiki.hyprland.org/Configuring/Monitors/
|
|
monitor=DP-3,1920x1080@120,0x0,1
|
|
monitor=eDP-1,1920x1200,0x1080,1
|
|
|
|
# https://wiki.hyprland.org/Configuring/Keywords/
|
|
|
|
# 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 {
|
|
enabled = yes
|
|
size = 3
|
|
passes = 3
|
|
new_optimizations = 3
|
|
}
|
|
|
|
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 {
|
|
# no thanks
|
|
disable_hyprland_logo = true
|
|
disable_splash_rendering = true
|
|
|
|
# turn on screen when mouse moves or key is pressed
|
|
mouse_move_enables_dpms = true
|
|
key_press_enables_dpms = 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, L, exec, swaylock -f
|
|
bind = $mainMod, space, exec, fuzzel
|
|
bind = $mainMod, C, exec, cliphist list | fuzzel -d --tabs 2 --width 100 | cliphist decode | wl-copy
|
|
bind = $mainMod, E, exec, BEMOJI_PICKER_CMD="fuzzel -d" bemoji
|
|
|
|
# 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
|
|
bind = , XF86AudioPlay, exec, playerctl play-pause
|
|
bind = , XF86AudioStop, exec, playerctl stop
|
|
bind = , XF86AudioNext, exec, playerctl next
|
|
bind = , XF86AudioPrev, exec, playerctl previous
|
|
|
|
# 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
|