diff --git a/config/hypr-ahrc--laptop/hyprland.conf b/config/hypr-ahrc--laptop/hyprland.conf index 2070142..be2e3d8 100644 --- a/config/hypr-ahrc--laptop/hyprland.conf +++ b/config/hypr-ahrc--laptop/hyprland.conf @@ -2,6 +2,7 @@ $terminal = alacritty $browser = librewolf $locker = hyprlock +$launcher = anyrun # Applications $joplin = joplin-desktop --ozone-platform=wayland --enable-features=WebRTCPipeWireCapturer @@ -18,14 +19,13 @@ $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 +source = hyprland.d/agnostic.conf +source = hyprland.d/sections.conf +source = hyprland.d/environment.conf +source = hyprland.d/startup.conf +source = hyprland.d/bindings.conf +source = hyprland.d/windowrules.conf diff --git a/config/hypr-ahrc--laptop/hyprland.d/ahrc-laptop.conf b/config/hypr-ahrc--laptop/hyprland.d/ahrc-laptop.conf new file mode 100644 index 0000000..6c67a46 --- /dev/null +++ b/config/hypr-ahrc--laptop/hyprland.d/ahrc-laptop.conf @@ -0,0 +1,15 @@ +# Main monitor +monitor = , highrr, 0x0, 1 + +# Colors +$col_accentdark = rgb(00ff00) +$col_accentlight = rgb(80ff80) +$col_inactive = rgba(80808040) +$col_textlight = rgba(ffffffe8) +$col_urgent = rgb(ffd966) + +# Decoration +$transparency_amount = 1.0 +$shadow_enabled = false +$blur_enabled = false +$animations_enabled = false diff --git a/config/hypr-ahrc--laptop/hyprland.d/animations.conf b/config/hypr-ahrc--laptop/hyprland.d/animations.conf deleted file mode 100644 index 826da8d..0000000 --- a/config/hypr-ahrc--laptop/hyprland.d/animations.conf +++ /dev/null @@ -1,5 +0,0 @@ -# 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 index 588533c..1de1370 100644 --- a/config/hypr-ahrc--laptop/hyprland.d/bindings.conf +++ b/config/hypr-ahrc--laptop/hyprland.d/bindings.conf @@ -60,7 +60,7 @@ bind = SUPER, B, hy3:changegroup, toggletab bind = SUPER SHIFT, BackSpace, exit # Launchers -bind = SUPER, F1, exec, anyrun +bind = SUPER, F1, exec, $launcher bind = SUPER, F2, exec, $joplin # bind = SUPER, F3, exec, $bitwarden bind = SUPER, F3, exec, $element diff --git a/config/hypr-ahrc--laptop/hyprland.d/binds.conf b/config/hypr-ahrc--laptop/hyprland.d/binds.conf deleted file mode 100644 index e7cf409..0000000 --- a/config/hypr-ahrc--laptop/hyprland.d/binds.conf +++ /dev/null @@ -1,14 +0,0 @@ -# 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 deleted file mode 100644 index c321a12..0000000 --- a/config/hypr-ahrc--laptop/hyprland.d/decoration.conf +++ /dev/null @@ -1,23 +0,0 @@ -# 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 = false - } -} diff --git a/config/hypr-ahrc--laptop/hyprland.d/environment.conf b/config/hypr-ahrc--laptop/hyprland.d/environment.conf index de12887..581e438 100644 --- a/config/hypr-ahrc--laptop/hyprland.d/environment.conf +++ b/config/hypr-ahrc--laptop/hyprland.d/environment.conf @@ -5,7 +5,7 @@ env = QT_AUTO_SCREEN_SCALE_FACTOR, 1 env = QT_WAYLAND_DISABLE_WINDOWDECORATION, 1 # Clutter -env = CLUTTER_BACKEND = wayland +env = CLUTTER_BACKEND, wayland # SDL env = SDL_VIDEODRIVER, wayland diff --git a/config/hypr-ahrc--laptop/hyprland.d/general.conf b/config/hypr-ahrc--laptop/hyprland.d/general.conf deleted file mode 100644 index 7265ab3..0000000 --- a/config/hypr-ahrc--laptop/hyprland.d/general.conf +++ /dev/null @@ -1,25 +0,0 @@ -# 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 deleted file mode 100644 index 43d9310..0000000 --- a/config/hypr-ahrc--laptop/hyprland.d/gestures.conf +++ /dev/null @@ -1,4 +0,0 @@ -# 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 deleted file mode 100644 index ec5af20..0000000 --- a/config/hypr-ahrc--laptop/hyprland.d/input.conf +++ /dev/null @@ -1,19 +0,0 @@ -# Input -input { - # Keyboard - kb_layout = fr - numlock_by_default = true - repeat_rate = 75 - repeat_delay = 300 - kb_options = compose:rctrl - - # 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 deleted file mode 100644 index ad11be8..0000000 --- a/config/hypr-ahrc--laptop/hyprland.d/misc.conf +++ /dev/null @@ -1,29 +0,0 @@ -# Misc -misc { - # Logos and mascotts - disable_hyprland_logo = true - disable_splash_rendering = true - - # 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 deleted file mode 100644 index d55bcff..0000000 --- a/config/hypr-ahrc--laptop/hyprland.d/monitors.conf +++ /dev/null @@ -1,2 +0,0 @@ -# Main monitor -monitor = , highrr, 0x0, 1 diff --git a/config/hypr-ahrc--laptop/hyprland.d/plugin.conf b/config/hypr-ahrc--laptop/hyprland.d/plugin.conf deleted file mode 100644 index 6be3858..0000000 --- a/config/hypr-ahrc--laptop/hyprland.d/plugin.conf +++ /dev/null @@ -1,27 +0,0 @@ -# Plugin configuration -plugin { - hy3 { - # Windows - no_gaps_when_only = false - - # Groups - node_collapse_policy = 0 - - # Tabs - tabs { - height = 8 - padding = 5 - from_top = true - rounding = 4 - render_text = false - col.active = rgba(00ff00e0) - col.urgent = rgb(ffd966) - col.inactive = rgba(00000090) - } - - # Autotile - autotile { - enable = true - } - } -} diff --git a/config/hypr-ahrc--laptop/hyprland.d/sections.conf b/config/hypr-ahrc--laptop/hyprland.d/sections.conf new file mode 100644 index 0000000..1ac599b --- /dev/null +++ b/config/hypr-ahrc--laptop/hyprland.d/sections.conf @@ -0,0 +1,145 @@ +animations { + # Save battery + enabled = $animations_enabled +} + +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 +} + +decoration { + # Corners + rounding = 10 + + # Opacity + active_opacity = 1.0 + inactive_opacity = $transparency_amount + fullscreen_opacity = 1.0 + + # Shadows + drop_shadow = $shadow_enabled + + # Dimming + dim_inactive = false + + # Blur + blur { + enabled = $blur_enabled + ignore_opacity = true + xray = false + } +} + +general { + # Borders + border_size = 2 + col.inactive_border = $col_inactive + col.nogroup_border = $col_inactive + col.active_border = $col_accentdark $col_accentlight 90deg + 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 +} + +gestures { + workspace_swipe = true +} + +input { + # Keyboard + kb_layout = fr + numlock_by_default = true + repeat_rate = 75 + repeat_delay = 300 + kb_options = compose:rctrl + + # Mouse + sensitivity = 0.0 + accel_profile = flat + + # Touchpad + touchpad { + disable_while_typing = false + natural_scroll = true + } +} + +misc { + # Logos and mascotts + disable_hyprland_logo = true + disable_splash_rendering = true + + # Focus + layers_hog_keyboard_focus = true + mouse_move_focuses_monitor = true + + # Swallowing + enable_swallow = true + swallow_regex = $terminal_class + + # Cursor + hide_cursor_on_touch = false + + # Workspaces + close_special_on_empty = true + + # Windows + new_window_takes_over_fullscreen = 2 + + # Animations + animate_manual_resizes = $animations_enabled +} + +plugin { + hy3 { + # Windows + no_gaps_when_only = false + + # Groups + node_collapse_policy = 0 + + # Tabs + tabs { + height = 5 + padding = 5 + from_top = true + rounding = 4 + render_text = false + col.active = $col_accentdark + col.urgent = $col_urgent + col.inactive = $col_inactive + } + + # Autotile + autotile { + enable = true + } + } +} + +xwayland { + force_zero_scaling = true +} diff --git a/config/hypr-ahrc--laptop/hyprland.d/startup.conf b/config/hypr-ahrc--laptop/hyprland.d/startup.conf index 50ec9a7..456d2b4 100644 --- a/config/hypr-ahrc--laptop/hyprland.d/startup.conf +++ b/config/hypr-ahrc--laptop/hyprland.d/startup.conf @@ -1,5 +1,5 @@ # Wallpaper -exec-once = hyprpaper +# exec-once = hyprpaper # XDG compliance exec-once = hyprxdg diff --git a/config/hypr-ahrc--laptop/hyprland.d/xwayland.conf b/config/hypr-ahrc--laptop/hyprland.d/xwayland.conf deleted file mode 100644 index c2ab535..0000000 --- a/config/hypr-ahrc--laptop/hyprland.d/xwayland.conf +++ /dev/null @@ -1,4 +0,0 @@ -# Xwayland -xwayland { - force_zero_scaling = true -} diff --git a/config/hypr-ahrc--laptop/hyprlock.conf b/config/hypr-ahrc--laptop/hyprlock.conf index 033b027..233096d 100644 --- a/config/hypr-ahrc--laptop/hyprlock.conf +++ b/config/hypr-ahrc--laptop/hyprlock.conf @@ -53,7 +53,7 @@ label { color = rgb(ffffff) font_size = 50 font_family = Noto Sans Bold - + position = 40, 0 halign = left valign = bottom