dotfiles

My configuration files.
git clone https://git.svemoe.de/dotfiles.git
Log | Files | Refs | README

hyprland.conf (5313B)


      1 
      2 ########################################################################################
      3 AUTOGENERATED HYPR CONFIG.
      4 PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
      5 OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
      6 ########################################################################################
      7 
      8 #
      9 # Please note not all available settings / options are set here.
     10 # For a full list, see the wiki
     11 #
     12 
     13 # See https://wiki.hyprland.org/Configuring/Monitors/
     14 monitor=,preferred,auto,auto
     15 monitor=eDP-1,disabled
     16 
     17 
     18 # See https://wiki.hyprland.org/Configuring/Keywords/ for more
     19 
     20 # Execute your favorite apps at launch
     21 # exec-once = waybar & hyprpaper & firefox
     22 exec-once = hyprpaper
     23 exec-once = waybar
     24 exec-once = mpDris2
     25 exec-once = dunst
     26 
     27 # Source a file (multi-file configs)
     28 # source = ~/.config/hypr/myColors.conf
     29 
     30 # For all categories, see https://wiki.hyprland.org/Configuring/Variables/
     31 input {
     32     kb_layout = de
     33     kb_variant =
     34     kb_model =
     35     kb_options = caps:escape_shifted_capslock
     36     kb_rules =
     37 
     38     numlock_by_default = true
     39     follow_mouse = 1
     40 
     41     touchpad {
     42         natural_scroll = no
     43     }
     44 
     45     sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
     46 }
     47 
     48 general {
     49     # See https://wiki.hyprland.org/Configuring/Variables/ for more
     50 
     51     gaps_in = 10
     52     gaps_out = 20
     53     border_size = 2
     54     col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
     55     col.inactive_border = rgba(595959ee)
     56 
     57     layout = master
     58 
     59     cursor_inactive_timeout = 5
     60     no_cursor_warps = true
     61 }
     62 
     63 decoration {
     64     # See https://wiki.hyprland.org/Configuring/Variables/ for more
     65 
     66     rounding = 5
     67     blur = yes
     68     blur_size = 1
     69     blur_passes = 1
     70     blur_new_optimizations = on
     71 
     72     drop_shadow = yes
     73     shadow_range = 4
     74     shadow_render_power = 3
     75     col.shadow = rgba(1a1a1aee)
     76 }
     77 
     78 animations {
     79     enabled = yes
     80 
     81     # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
     82 
     83     bezier = myBezier, 0.05, 0.9, 0.1, 1.05
     84 
     85     animation = windows, 1, 7, myBezier
     86     animation = windowsOut, 1, 7, default, popin 80%
     87     animation = border, 1, 10, default
     88     animation = fade, 1, 7, default
     89     animation = workspaces, 1, 6, default
     90 }
     91 
     92 misc {
     93     disable_hyprland_logo = true
     94     disable_splash_rendering = true
     95     enable_swallow = true
     96     swallow_regex = ^(foot)$
     97 }
     98 
     99 master {
    100     # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
    101     new_is_master = true
    102 }
    103 
    104 gestures {
    105     # See https://wiki.hyprland.org/Configuring/Variables/ for more
    106     workspace_swipe = off
    107 }
    108 
    109 # Example per-device config
    110 # See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
    111 device:epic mouse V1 {
    112     sensitivity = -0.5
    113 }
    114 
    115 # Example windowrule v1
    116 # windowrule = float, ^(kitty)$
    117 # Example windowrule v2
    118 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
    119 # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
    120 
    121 
    122 # See https://wiki.hyprland.org/Configuring/Keywords/ for more
    123 $mainMod = SUPER
    124 
    125 # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
    126 bind = $mainMod SHIFT, space, exec, foot
    127 bind = $mainMod, C, killactive, 
    128 bind = $mainMod, E, exec, dolphin
    129 bind = $mainMod, V, togglefloating, 
    130 bind = $mainMod, R, exec, wofi --show drun
    131 bind = $mainMod, N, exec, bemenu-run --fn "Terminus 16"
    132 bind = $mainMod, J, togglesplit, # dwindle
    133 bind = $mainMod, space, layoutmsg, swapwithmaster master
    134 bind = $mainMod, tab, workspace, previous
    135 bind = , xf86homepage, exec, firefox
    136 bind = , xf86audiolowervolume, exec, pulsemixer --change-volume -2
    137 bind = , xf86audioraisevolume, exec, pulsemixer --change-volume 2
    138 bind = , xf86audiomute, exec, pulsemixer --toggle-mute
    139 bind = , xf86audioplay, exec, player toggle
    140 
    141 # Move focus with mainMod + arrow keys
    142 bind = $mainMod, h, splitratio, -0.05
    143 bind = $mainMod, l, splitratio, +0.05
    144 bind = $mainMod, j, layoutmsg, cyclenext
    145 bind = $mainMod, k, layoutmsg, cycleprev
    146 bind = $mainMod, i, layoutmsg, addmaster
    147 bind = $mainMod, d, layoutmsg, removemaster
    148 bind = $mainMod, f, fullscreen, 0
    149 bind = $mainMod, m, fullscreen, 1
    150 
    151 # Switch workspaces with mainMod + [0-9]
    152 bind = $mainMod, 1, workspace, 1
    153 bind = $mainMod, 2, workspace, 2
    154 bind = $mainMod, 3, workspace, 3
    155 bind = $mainMod, 4, workspace, 4
    156 bind = $mainMod, 5, workspace, 5
    157 bind = $mainMod, 6, workspace, 6
    158 bind = $mainMod, 7, workspace, 7
    159 bind = $mainMod, 8, workspace, 8
    160 bind = $mainMod, 9, workspace, 9
    161 bind = $mainMod, 0, workspace, 10
    162 
    163 # Move active window to a workspace with mainMod + SHIFT + [0-9]
    164 bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
    165 bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2
    166 bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3
    167 bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4
    168 bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5
    169 bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6
    170 bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7
    171 bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
    172 bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
    173 bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10
    174 
    175 # Scroll through existing workspaces with mainMod + scroll
    176 bind = $mainMod, mouse_down, workspace, e+1
    177 bind = $mainMod, mouse_up, workspace, e-1
    178 
    179 # Move/resize windows with mainMod + LMB/RMB and dragging
    180 bindm = $mainMod, mouse:272, movewindow
    181 bindm = $mainMod, mouse:273, resizewindow