diff options
Diffstat (limited to 'artix/home/.config/hypr/hyprland.conf')
| -rw-r--r-- | artix/home/.config/hypr/hyprland.conf | 182 |
1 files changed, 182 insertions, 0 deletions
diff --git a/artix/home/.config/hypr/hyprland.conf b/artix/home/.config/hypr/hyprland.conf new file mode 100644 index 0000000..28118bd --- /dev/null +++ b/artix/home/.config/hypr/hyprland.conf @@ -0,0 +1,182 @@ +env = GDK_BACKEND,wayland,x11,* +env = XDG_CURRENT_DESKTOP,Hyprland +env = XDG_SESSION_TYPE,wayland +env = XDG_SESSION_DESKTOP,Hyprland + +exec-once = dunst +exec-once = waybar +exec-once = ~/.config/hypr/xdg-portal-hyprland +exec-once = /usr/lib/hyprpolkitagent/hyprpolkitagent + +exec-once = gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark" +exec-once = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" +env = QT_QPA_PLATFORMTHEME,gtk3 + +$mainMod = SUPER + +monitor=HDMI-A-1, 2560x1440@100,0x0,1 +#monitor=eDP-1, 1920x1080@60, 0x0, 1 +#monitor=HDMI-A-1, preferred, auto, 1, mirror, eDP-1 + +bind = $mainMod, A, fullscreen, +bind = $mainMod, C, killactive, +bind = $mainMod, D, exec, hyprpicker -naq +bind = $mainMod, F, exec, firefox +bind = $mainMod, J, togglesplit, # dwindle +bind = $mainMod, M, exit, +bind = $mainMod, P, pseudo, # dwindle +bind = $mainMod, Q, exec, alacritty +bind = $mainMod, RETURN, exec, ~/.local/bin/spawn-alacritty-cwd +bind = $mainMod, R, exec, rofi -show drun +bind = $mainMod, U, exec, pkill waybar ; waybar +bind = $mainMod, V, togglefloating, + +bind = , Print, exec, grim -g "$(slurp)" - | wl-copy +bind = $mainMod, Print, exec, grim - | wl-copy + +bind = $mainMod, h, movefocus, l +bind = $mainMod, l, movefocus, r +bind = $mainMod, k, movefocus, u +bind = $mainMod, j ,movefocus, d + +bind = $mainMod SHIFT, H, movewindow, l +bind = $mainMod SHIFT, L, movewindow, r +bind = $mainMod SHIFT, K, movewindow, u +bind = $mainMod SHIFT, J, movewindow, d + +bind = $mainMod, code:10, workspace, 1 +bind = $mainMod, code:11, workspace, 2 +bind = $mainMod, code:12, workspace, 3 +bind = $mainMod, code:13, workspace, 4 +bind = $mainMod, code:14, workspace, 5 +bind = $mainMod, code:15, workspace, 6 +bind = $mainMod, code:16, workspace, 7 +bind = $mainMod, code:17, workspace, 8 +bind = $mainMod, code:18, workspace, 9 +bind = $mainMod, code:19, workspace, 10 + +bind = $mainMod SHIFT, code:10, movetoworkspace, 1 +bind = $mainMod SHIFT, code:11, movetoworkspace, 2 +bind = $mainMod SHIFT, code:12, movetoworkspace, 3 +bind = $mainMod SHIFT, code:13, movetoworkspace, 4 +bind = $mainMod SHIFT, code:14, movetoworkspace, 5 +bind = $mainMod SHIFT, code:15, movetoworkspace, 6 +bind = $mainMod SHIFT, code:16, movetoworkspace, 7 +bind = $mainMod SHIFT, code:17, movetoworkspace, 8 +bind = $mainMod SHIFT, code:18, movetoworkspace, 9 +bind = $mainMod SHIFT, code:19, movetoworkspace, 10 + +bind = $mainMod, S, togglespecialworkspace, magic +bind = $mainMod SHIFT, S, movetoworkspace, special:magic + +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow + +bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ +bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle +bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle +bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+ +bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%- + +bindl = , XF86AudioNext, exec, playerctl next +bindl = , XF86AudioPause, exec, playerctl play-pause +bindl = , XF86AudioPlay, exec, playerctl play-pause +bindl = , XF86AudioPrev, exec, playerctl previous + +misc { + force_default_wallpaper = 0 + disable_hyprland_logo = true + disable_splash_rendering = true + background_color = rgb(000000) +} + +general { + gaps_in = 10 + gaps_out = 15 + + border_size = 0 + + col.active_border = rgba(b800e6ee) rgba(e699ffee) 45deg + col.inactive_border = rgba(595959aa) + + resize_on_border = false + allow_tearing = false + + layout = dwindle +} + +decoration { + rounding = 0 + rounding_power = 10 + + active_opacity = 1.0 + inactive_opacity = 1.0 + + shadow { + enabled = true + range = 4 + render_power = 3 + color = rgba(1a1a1aee) + } + + blur { + enabled = false + size = 10 + passes = 3 + + vibrancy = 0.1696 + } +} + +animations { + #enabled = yes, please :) + enabled = no + + bezier = easeOutQuint,0.23,1,0.32,1 + bezier = easeInOutCubic,0.65,0.05,0.36,1 + bezier = linear,0,0,1,1 + bezier = almostLinear,0.5,0.5,0.75,1.0 + bezier = quick,0.15,0,0.1,1 + + animation = global, 1, 10, default + animation = border, 1, 5.39, easeOutQuint + animation = windows, 1, 4.79, easeOutQuint + animation = windowsIn, 1, 4.1, easeOutQuint, popin 87% + animation = windowsOut, 1, 1.49, linear, popin 87% + animation = fadeIn, 1, 1.73, almostLinear + animation = fadeOut, 1, 1.46, almostLinear + animation = fade, 1, 3.03, quick + animation = layers, 1, 3.81, easeOutQuint + animation = layersIn, 1, 4, easeOutQuint, fade + animation = layersOut, 1, 1.5, linear, fade + animation = fadeLayersIn, 1, 1.79, almostLinear + animation = fadeLayersOut, 1, 1.39, almostLinear + animation = workspaces, 1, 1.94, almostLinear, fade + animation = workspacesIn, 1, 1.21, almostLinear, fade + animation = workspacesOut, 1, 1.94, almostLinear, fade +} + +dwindle { + pseudotile = true + preserve_split = true +} + +master { + new_status = master +} + +misc { + force_default_wallpaper = -1 + disable_hyprland_logo = true +} +env = XCURSOR_SIZE,24 +env = XCURSOR_THEME,whiteglass + +input { + kb_layout = fr + kb_model = pc105 + kb_options = terminate:ctrl_amt_bksp + + follow_mouse = 1 +} |
