diff --git a/.config/hypr/conf.d/env.conf b/.config/hypr/conf.d/env.conf new file mode 100644 index 0000000..685e283 --- /dev/null +++ b/.config/hypr/conf.d/env.conf @@ -0,0 +1,3 @@ +env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that +env = GTK_THEME,Fluent-round-Dark-compact + diff --git a/.config/hypr/conf.d/input.conf b/.config/hypr/conf.d/input.conf new file mode 100644 index 0000000..11833dc --- /dev/null +++ b/.config/hypr/conf.d/input.conf @@ -0,0 +1,21 @@ +# For all categories, see https://wiki.hyprland.org/Configuring/Variables/ +input { + kb_layout = us + kb_variant = + kb_model = + kb_options = compose:rctrl,fkeys:basic_13-24 + kb_rules = + accel_profile = flat + + numlock_by_default = true + follow_mouse = 0 + + + touchpad { + natural_scroll = no + } + + sensitivity = 0 # -1.0 - 1.0, 0 means no modification. +} + +exec-once = setxkbmap -layout us,fr -option 'grp:alt_ctrl_toggle,compose:rctl,fkeys:basic_13-24' diff --git a/.config/hypr/conf.d/keybinds.conf b/.config/hypr/conf.d/keybinds.conf new file mode 100644 index 0000000..1712ada --- /dev/null +++ b/.config/hypr/conf.d/keybinds.conf @@ -0,0 +1,51 @@ +# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more + +# terminal +bind = $mainMod, Return, exec, kitty +# explorer +bind = $mainMod, E, exec, nemo +# browser +bind = $mainMod SHIFT, Return, exec, flatpak run app.zen_browser.zen +# kill +bind = $mainMod SHIFT, Q, killactive, +# floating +bind = $mainMod, V, togglefloating, +# fullscreen +bind = $mainMod, F, fullscreen, +# menu +bind = $mainMod, Space, exec, anyrun +# clipboard history +bind = $mainMod SHIFT, V, exec, cliphist list | anyrun --plugins libstdin.so | cliphist decode | wl-copy +# color picker +bind = $mainMod SHIFT, C, exec, hyprpicker -f hex -n -a +# screenshot +bind = $mainMod SHIFT, Home, exec, ~/.local/bin/screenshot region +bind = $mainMod CTRL, Home, exec, ~/.local/bin/screenshot window +bind = $mainMod ALT, Home, exec, ~/.local/bin/screenshot screen +# overview +# bind = $mainMod, Tab, overview:toggle + +# See https://wiki.hyprland.org/Configuring/Keywords/ for more + +# Move windows +bind = $mainMod, left, movewindoworgroup, l +bind = $mainMod, right, movewindoworgroup, r +bind = $mainMod, up, movewindoworgroup, u +bind = $mainMod, down, movewindoworgroup, d +# Group windows +bind = $mainMod, P, togglegroup, + +# Move/resize windows with mainMod + LMB/RMB and dragging +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow + +# Volume +bindel=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ +bindel=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +bindl =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle +bindl = , XF86AudioPlay, exec, playerctl play-pause +bindl = , XF86AudioPrev, exec, playerctl previous +bindl = , XF86AudioNext, exec, playerctl next + +# Discord +# bind=, XF86Tools, pass, ^(com\.discordapp\.Discord)$ diff --git a/.config/hypr/conf.d/layout.conf b/.config/hypr/conf.d/layout.conf new file mode 100644 index 0000000..799f66e --- /dev/null +++ b/.config/hypr/conf.d/layout.conf @@ -0,0 +1,65 @@ +general { + # See https://wiki.hyprland.org/Configuring/Variables/ for more + + gaps_in = 10 + gaps_out = 10 + border_size = 0 + col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg + col.inactive_border = rgba(595959aa) + + layout = dwindle + + # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on + allow_tearing = false +} + +group:groupbar { + col.active = rgba(33ccffee) + col.inactive = rgba(595959aa) + font_size = 12 +} + +decoration { + # See https://wiki.hyprland.org/Configuring/Variables/ for more + + rounding = 10 + + blur { + enabled = true + size = 3 + passes = 3 + } + + shadow { + enabled = true + range = 4 + render_power = 3 + color = rgba(1a1a1aee) + } +} + +animations { + enabled = yes + + # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more + + animation = windows, 1, 7, default + animation = windowsOut, 1, 7, default, popin 80% + animation = border, 1, 10, default + animation = borderangle, 1, 8, default + animation = fade, 1, 7, default + animation = workspaces, 1, 6, default +} + +dwindle { + # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more + pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below + preserve_split = yes # you probably want this +} + +bind = $mainMod, J, togglesplit, + +master { + # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more + new_status = "master" +} diff --git a/.config/hypr/conf.d/startup.conf b/.config/hypr/conf.d/startup.conf new file mode 100644 index 0000000..865a921 --- /dev/null +++ b/.config/hypr/conf.d/startup.conf @@ -0,0 +1,16 @@ +# Execute your favorite apps at launch + +# Shell +exec-once = swaync +exec-once = waybar +exec-once = hyprpaper +exec-once = hyprpm reload -n +exec-once = anyrun daemon +exec-once = wl-paste -w cliphist store + +# Devices +exec-once = solaar -b regular -w hide +exec-once = openrgb -p ~/.config/OpenRGB/Default.orp + +# GUI apps +exec-once = [workspace 1 silent] localsend diff --git a/.config/hypr/conf.d/windowrules.conf b/.config/hypr/conf.d/windowrules.conf new file mode 100644 index 0000000..f918c95 --- /dev/null +++ b/.config/hypr/conf.d/windowrules.conf @@ -0,0 +1,71 @@ +# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more + +windowrule = match:class .*, suppress_event maximize # You'll probably like this. + +windowrule { + name = portal + match:class = ^(xdg-desktop-portal-gtk)$ + + float = on +} + +windowrule { + name = nemo-rotate_img + match:class = ^(nemo)$ + match:title = ^(Rotate Images)$ + + float = on +} + +windowrule { + name = edmc-bgs_tally + match:title = ^BGS-Tally.*$ + + float = on +} + +windowrule { + name = steam_windows + match:class = ^(steam)$ + match:title = ^(Friends List)|(Steam Settings)$ + + float = on +} + +windowrule { + name = steam_game + match:class = ^(steam_app_[0-9]+)$ + + fullscreen = on +} + +windowrule { + name = gamescope + match:class = ^(gamescope)$ + + fullscreen = on +} + +windowrule { + name = wine_tray + match:class = ^(explorer.exe)$ + match:title = ^(Wine System Tray)$ + + move = 1475 12 +} + +windowrule { + name = winetricks + match:class = ^(zenity)$ + match:title = ^([wW]inetricks) + + float = on +} + +# windowrule { +# name = 3dxchat +# match:class = ^(3dxchat.exe)$ +# +# size = 1920 1080 +# fullscreen = on +# } diff --git a/.config/hypr/conf.d/workspaces.conf b/.config/hypr/conf.d/workspaces.conf new file mode 100644 index 0000000..1dec147 --- /dev/null +++ b/.config/hypr/conf.d/workspaces.conf @@ -0,0 +1,32 @@ +workspace=special:game,monitor:DP-2 +workspace=1,monitor:DP-1 +workspace=2,monitor:DP-2 +workspace=3,monitor:DP-3 + +# Switch workspaces with mainMod + [0-9] +bind = $mainMod, 1, workspace, 1 +bind = $mainMod, 2, workspace, 2 +bind = $mainMod, 3, workspace, 3 +bind = $mainMod, 4, workspace, 4 +bind = $mainMod, 5, workspace, 5 +bind = $mainMod, 6, workspace, 6 +bind = $mainMod, 7, workspace, 7 +bind = $mainMod, 8, workspace, 8 +bind = $mainMod, 9, workspace, 9 +bind = $mainMod, 0, workspace, 10 +# Gaming workspace +bind = $mainMod, G, togglespecialworkspace, game + +# Move active window to a workspace with mainMod + SHIFT + [0-9] +bind = $mainMod SHIFT, 1, movetoworkspace, 1 +bind = $mainMod SHIFT, 2, movetoworkspace, 2 +bind = $mainMod SHIFT, 3, movetoworkspace, 3 +bind = $mainMod SHIFT, 4, movetoworkspace, 4 +bind = $mainMod SHIFT, 5, movetoworkspace, 5 +bind = $mainMod SHIFT, 6, movetoworkspace, 6 +bind = $mainMod SHIFT, 7, movetoworkspace, 7 +bind = $mainMod SHIFT, 8, movetoworkspace, 8 +bind = $mainMod SHIFT, 9, movetoworkspace, 9 +bind = $mainMod SHIFT, 0, movetoworkspace, 10 +# Gaming workspace +bind = $mainMod SHIFT, G, movetoworkspace, special:game diff --git a/.config/hypr/hyprfocus.conf b/.config/hypr/hyprfocus.conf new file mode 100644 index 0000000..cd87d60 --- /dev/null +++ b/.config/hypr/hyprfocus.conf @@ -0,0 +1,29 @@ +plugin:hyprfocus { + enabled = yes + animate_floating = yes + animate_workspacechange = yes + focus_animation = flash + # Beziers for focus animations + # bezier = bezIn, 0.5,0.0,1.0,0.5 + # bezier = bezOut, 0.0,0.5,0.5,1.0 + # bezier = overshot, 0.05, 0.9, 0.1, 1.05 + # bezier = smoothOut, 0.36, 0, 0.66, -0.56 + # bezier = smoothIn, 0.25, 1, 0.5, 1 + bezier = realsmooth, 0.28,0.29,.69,1.08 + # Flash settings + flash { + flash_opacity = 0.9 + in_bezier = realsmooth + in_speed = 0.5 + out_bezier = realsmooth + out_speed = 3 + } + # Shrink settings + shrink { + shrink_percentage = 0.95 + in_bezier = realsmooth + in_speed = 1 + out_bezier = realsmooth + out_speed = 2 + } +} diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf new file mode 100644 index 0000000..a8dcb58 --- /dev/null +++ b/.config/hypr/hyprland.conf @@ -0,0 +1,11 @@ +$mainMod = SUPER +$keyboard_name = keychron-keychron-v5-max + +# See https://wiki.hyprland.org/Configuring +source=/etc/hypr/conf.d/* +source=~/.config/hypr/conf.d/* + +misc { + disable_hyprland_logo = true + middle_click_paste = true +} diff --git a/.config/hypr/hyprpaper.conf b/.config/hypr/hyprpaper.conf new file mode 100644 index 0000000..4e524e4 --- /dev/null +++ b/.config/hypr/hyprpaper.conf @@ -0,0 +1,10 @@ +preload = ~/Pictures/wallpapers/_DP-3 +preload = ~/Pictures/wallpapers/_DP-2 +preload = ~/Pictures/wallpapers/_DP-1 + +wallpaper = DP-1,~/Pictures/wallpapers/_DP-1 +wallpaper = DP-2,~/Pictures/wallpapers/_DP-2 +wallpaper = DP-3,~/Pictures/wallpapers/_DP-3 + +ipc = off +