diff --git a/config/hypr-ahrc--laptop/hyprland.conf b/config/hypr-ahrc--laptop/hyprland.conf new file mode 100644 index 0000000..e8c75ef --- /dev/null +++ b/config/hypr-ahrc--laptop/hyprland.conf @@ -0,0 +1,31 @@ +# Defaults +$terminal = alacritty +$browser = librewolf +$locker = swaylock + +# Applications +$joplin = joplin-desktop +$bitwarden = bitwarden-desktop +$element = element-desktop +$discord = webcord +$deezer = deezer --enable-features=UseOzonePlatform --ozone-platform=wayland + +# Classes +$terminal_class = Alacritty +$joplin_class = @joplin/app-desktop +$bitwarden_class = Bitwarden +$element_class = Element +$discord_class = WebCord +$deezer_class = Deezer + +# Colors +$col_accentdark = rgb(00ff00) +$col_accentlight = rgb(80ff80) +$col_inactive = rgba(80808080) +$col_textlight = rgba(ffffffe8) + +# Plugins +plugin = /usr/lib/libhy3.so + +# Configuration modules +source = hyprland.d/*.conf diff --git a/config/hypr-ahrc--laptop/hyprland.d/animations.conf b/config/hypr-ahrc--laptop/hyprland.d/animations.conf new file mode 100644 index 0000000..826da8d --- /dev/null +++ b/config/hypr-ahrc--laptop/hyprland.d/animations.conf @@ -0,0 +1,5 @@ +# Animations +animations { + # Save battery + enabled = false +} diff --git a/config/hypr-ahrc--laptop/hyprland.d/bindings.conf b/config/hypr-ahrc--laptop/hyprland.d/bindings.conf new file mode 100644 index 0000000..2ea9f77 --- /dev/null +++ b/config/hypr-ahrc--laptop/hyprland.d/bindings.conf @@ -0,0 +1,94 @@ +# Open terminal +bind = SUPER, Return, exec, $terminal + +# Workspaces +#bind = SUPER, equal, movetoworkspace, special +bind = SUPER, 10, workspace, 1 +bind = SUPER, 11, workspace, 2 +bind = SUPER, 12, workspace, 3 +bind = SUPER, 13, workspace, 4 +bind = SUPER, R, workspace, 5 +bind = SUPER, F, workspace, 6 +bind = SUPER, V, workspace, 7 +bind = SUPER, C, workspace, 8 +bind = SUPER, X, workspace, 9 +bind = SUPER, W, workspace, 10 +bind = SUPER, mouse_down, workspace, e-1 +bind = SUPER, mouse_up, workspace, e+1 +bind = SUPER Alt_L, Return, exec, hyprswapworkspaces + +# Windows +bindm = SUPER, mouse:272, movewindow +bindm = SUPER, mouse:273, resizewindow +bind = SUPER SHIFT, Q, killactive +bind = SUPER SHIFT, 10, movetoworkspacesilent, 1 +bind = SUPER SHIFT, 11, movetoworkspacesilent, 2 +bind = SUPER SHIFT, 12, movetoworkspacesilent, 3 +bind = SUPER SHIFT, 13, movetoworkspacesilent, 4 +bind = SUPER SHIFT, R, movetoworkspacesilent, 5 +bind = SUPER SHIFT, F, movetoworkspacesilent, 6 +bind = SUPER SHIFT, V, movetoworkspacesilent, 7 +bind = SUPER SHIFT, C, movetoworkspacesilent, 8 +bind = SUPER SHIFT, X, movetoworkspacesilent, 9 +bind = SUPER SHIFT, W, movetoworkspacesilent, 10 +bind = SUPER SHIFT, space, pin, active +bind = SUPER SHIFT, A, hy3:movewindow, l +bind = SUPER SHIFT, Z, hy3:movewindow, u +bind = SUPER SHIFT, S, hy3:movewindow, d +bind = SUPER SHIFT, D, hy3:movewindow, r +bind = SUPER Alt_L, space, togglefloating +bind = SUPER Alt_L, F, fullscreen +bind = SUPER SHIFT Alt_L, F, fakefullscreen + +# Focus +bind = SUPER, A, hy3:movefocus, l +bind = SUPER, Z, hy3:movefocus, u +bind = SUPER, S, hy3:movefocus, d +bind = SUPER, D, hy3:movefocus, r +bindn = , mouse:272, hy3:focustab, mouse +bindn = , mouse_up, hy3:focustab, r, require_hovered, wrap +bindn = , mouse_down, hy3:focustab, l, require_hovered, wrap + +# Groups +bind = SUPER, Q, hy3:makegroup, tab, force_ephemeral +bind = SUPER, E, hy3:changegroup, opposite +bind = SUPER, B, hy3:changegroup, toggletab + +# Global +bind = SUPER SHIFT, BackSpace, exit + +# Launchers +bind = SUPER, F1, exec, $browser +bind = SUPER, F2, exec, $joplin +bind = SUPER, F3, exec, $bitwarden +bind = SUPER, F4, exec, $element +bind = SUPER, F5, exec, $discord +bind = SUPER, F6, exec, $deezer + +# Screenshots +bind = , Print, exec, glurp full clip +bind = Alt_L, Print, exec, glurp full file +bind = SHIFT, Print, exec, glurp area clip +bind = SHIFT Alt_L, Print, exec, glurp area file + +# Lock screen +bind = SUPER, L, exec, $locker + +# Sound +binde = , XF86AudioRaiseVolume, exec, swayosd-client --output-volume=raise +binde = , XF86AudioLowerVolume, exec, swayosd-client --output-volume=lower +binde = , XF86AudioMute, exec, swayosd-client --output-volume=mute-toggle + +# Resize +bind = SUPER Alt_L, R, submap, resize +submap = resize +binde = , A, resizeactive, -25 0 +binde = , Z, resizeactive, 0 -25 +binde = , S, resizeactive, 0 25 +binde = , D, resizeactive, 25 0 +bind = , escape, submap, reset +submap = reset + +# Brightness +binde = , XF86MonBrightnessDown, exec, swayosd-client --brightness=lower +binde = , XF86MonBrightnessUp, exec, swayosd-client --brightness=raise diff --git a/config/hypr-ahrc--laptop/hyprland.d/binds.conf b/config/hypr-ahrc--laptop/hyprland.d/binds.conf new file mode 100644 index 0000000..e7cf409 --- /dev/null +++ b/config/hypr-ahrc--laptop/hyprland.d/binds.conf @@ -0,0 +1,14 @@ +# Binds +binds { + # Scrolling + scroll_event_delay = 0 + + # Workspaces + workspace_back_and_forth = false + allow_workspace_cycles = false + workspace_center_on = 1 + + # Focus + focus_preferred_method = 1 + movefocus_cycles_fullscreen = false +} diff --git a/config/hypr-ahrc--laptop/hyprland.d/decoration.conf b/config/hypr-ahrc--laptop/hyprland.d/decoration.conf new file mode 100644 index 0000000..bd4c9eb --- /dev/null +++ b/config/hypr-ahrc--laptop/hyprland.d/decoration.conf @@ -0,0 +1,23 @@ +# Decoration +decoration { + # Corners + rounding = 10 + + # Opacity + active_opacity = 1.0 + inactive_opacity = 1.0 + fullscreen_opacity = 1.0 + + # Shadows + drop_shadow = false + + # Dimming + dim_inactive = false + + # Blur + blur { + enabled = false + ignore_opacity = true + xray = true + } +} diff --git a/config/hypr-ahrc--laptop/hyprland.d/environment.conf b/config/hypr-ahrc--laptop/hyprland.d/environment.conf new file mode 100644 index 0000000..60a5d6a --- /dev/null +++ b/config/hypr-ahrc--laptop/hyprland.d/environment.conf @@ -0,0 +1,20 @@ +# Qt +env = QT_QPA_PLATFORM, wayland +env = QT_QPA_PLATFORMTHEME, qt6ct +env = QT_AUTO_SCREEN_SCALE_FACTOR, 1 +env = QT_WAYLAND_DISABLE_WINDOWDECORATION, 1 + +# Clutter +env = CLUTTER_BACKEND = wayland + +# SDL +env = SDL_VIDEODRIVER, wayland + +# ELM +env = ELM_DISPLAY, wl + +# Java +env = _JAVA_AWT_WM_NONREPARENTING, 1 + +# XDG +env = XDG_SESSION_DESKTOP, Hyprland diff --git a/config/hypr-ahrc--laptop/hyprland.d/general.conf b/config/hypr-ahrc--laptop/hyprland.d/general.conf new file mode 100644 index 0000000..7265ab3 --- /dev/null +++ b/config/hypr-ahrc--laptop/hyprland.d/general.conf @@ -0,0 +1,25 @@ +# General +general { + # Borders + border_size = 2 + col.inactive_border = $col_inactive + col.nogroup_border = $col_inactive + col.active_border = $col_accentdark $col_accentlight 90deg + col.nogroup_border_active = rgb(00cc66) rgb(33ff99) 270deg + resize_on_border = false + + # Gaps + gaps_in = 5 + gaps_out = 10 + gaps_workspaces = 0 + + # Cursor + cursor_inactive_timeout = 0 + no_cursor_warps = false + + # Layout + layout = hy3 + + # Focus + no_focus_fallback = true +} diff --git a/config/hypr-ahrc--laptop/hyprland.d/gestures.conf b/config/hypr-ahrc--laptop/hyprland.d/gestures.conf new file mode 100644 index 0000000..43d9310 --- /dev/null +++ b/config/hypr-ahrc--laptop/hyprland.d/gestures.conf @@ -0,0 +1,4 @@ +# Gestures +gestures { + workspace_swipe = true +} diff --git a/config/hypr-ahrc--laptop/hyprland.d/input.conf b/config/hypr-ahrc--laptop/hyprland.d/input.conf new file mode 100644 index 0000000..119539f --- /dev/null +++ b/config/hypr-ahrc--laptop/hyprland.d/input.conf @@ -0,0 +1,18 @@ +# Input +input { + # Keyboard + kb_layout = fr + numlock_by_default = true + repeat_rate = 75 + repeat_delay = 300 + + # Mouse + sensitivity = 0.0 + accel_profile = flat + + # Touchpad + touchpad { + disable_while_typing = false + natural_scroll = true + } +} diff --git a/config/hypr-ahrc--laptop/hyprland.d/misc.conf b/config/hypr-ahrc--laptop/hyprland.d/misc.conf new file mode 100644 index 0000000..132756f --- /dev/null +++ b/config/hypr-ahrc--laptop/hyprland.d/misc.conf @@ -0,0 +1,30 @@ +# Misc +misc { + # Logos and mascotts + disable_hyprland_logo = true + disable_splash_rendering = true + force_hypr_chan = false + + # Focus + layers_hog_keyboard_focus = true + mouse_move_focuses_monitor = true + + # Animations + animate_manual_resizes = true + + # Swallowing + enable_swallow = true + swallow_regex = $terminal_class + + # Cursor + hide_cursor_on_touch = false + + # Screen locking + #allow_session_lock_restore = true + + # Workspaces + close_special_on_empty = true + + # Windows + new_window_takes_over_fullscreen = 2 +} diff --git a/config/hypr-ahrc--laptop/hyprland.d/monitors.conf b/config/hypr-ahrc--laptop/hyprland.d/monitors.conf new file mode 100644 index 0000000..2216e00 --- /dev/null +++ b/config/hypr-ahrc--laptop/hyprland.d/monitors.conf @@ -0,0 +1,2 @@ +# Main monitor +monitor = , highrr, 1920x0, 1 diff --git a/config/hypr-ahrc--laptop/hyprland.d/plugin.conf b/config/hypr-ahrc--laptop/hyprland.d/plugin.conf new file mode 100644 index 0000000..0715a78 --- /dev/null +++ b/config/hypr-ahrc--laptop/hyprland.d/plugin.conf @@ -0,0 +1,34 @@ +# Plugin configuration +plugin { + hy3 { + # Windows + no_gaps_when_only = false + + # Groups + node_collapse_policy = 0 + + # Tabs + tabs { + height = 15 + padding = 5 + from_top = true + rounding = 8 + render_text = true + text_center = false + text_font = Hack Nerd Font + text_height = 8 + text_padding = 10 + col.active = rgba(000000e0) + col.urgent = rgb(ffd966) + col.inactive = rgba(00000080) + col.text.active = $col_accentdark + col.text.urgent = rgba(000000e8) + col.text.inactive = rgb(808080) + } + + # Autotile + autotile { + enable = true + } + } +} diff --git a/config/hypr-ahrc--laptop/hyprland.d/startup.conf b/config/hypr-ahrc--laptop/hyprland.d/startup.conf new file mode 100644 index 0000000..0d1d7ff --- /dev/null +++ b/config/hypr-ahrc--laptop/hyprland.d/startup.conf @@ -0,0 +1,8 @@ +# Wallpaper +exec-once = hyprpaper + +# XDG compliance +exec-once = hyprxdg + +# SwayOSD +exec-once = swayosd-server diff --git a/config/hypr-ahrc--laptop/hyprland.d/windowrules.conf b/config/hypr-ahrc--laptop/hyprland.d/windowrules.conf new file mode 100644 index 0000000..f3743d0 --- /dev/null +++ b/config/hypr-ahrc--laptop/hyprland.d/windowrules.conf @@ -0,0 +1,6 @@ +# Workspace 4 +windowrulev2 = workspace 4 silent, class:($joplin_class) +windowrulev2 = workspace 4 silent, class:($bitwarden_class) +windowrulev2 = workspace 4 silent, class:($element_class) +windowrulev2 = workspace 4 silent, class:($discord_class) +windowrulev2 = workspace 4 silent, class:($deezer_class) diff --git a/config/hypr-ahrc--laptop/hyprland.d/xwayland.conf b/config/hypr-ahrc--laptop/hyprland.d/xwayland.conf new file mode 100644 index 0000000..c2ab535 --- /dev/null +++ b/config/hypr-ahrc--laptop/hyprland.d/xwayland.conf @@ -0,0 +1,4 @@ +# Xwayland +xwayland { + force_zero_scaling = true +} diff --git a/config/hypr-ahrc--laptop/hyprpaper.conf b/config/hypr-ahrc--laptop/hyprpaper.conf new file mode 100644 index 0000000..76e7721 --- /dev/null +++ b/config/hypr-ahrc--laptop/hyprpaper.conf @@ -0,0 +1,6 @@ +# Wallpaper +preload = ~/.local/share/backgrounds/chime_interdimensional.jpg +wallpaper = , ~/.local/share/backgrounds/chime_interdimensional.jpg + +# Save battery +ipc = off