diff options
Diffstat (limited to 'hypr/conf')
| -rw-r--r-- | hypr/conf/animations.conf | 11 | ||||
| -rw-r--r-- | hypr/conf/autostart.conf | 8 | ||||
| -rw-r--r-- | hypr/conf/binds.conf | 75 | ||||
| -rw-r--r-- | hypr/conf/cursor.conf | 2 | ||||
| -rw-r--r-- | hypr/conf/decoration.conf | 15 | ||||
| -rw-r--r-- | hypr/conf/environments.conf | 36 | ||||
| -rw-r--r-- | hypr/conf/general.conf | 10 | ||||
| -rw-r--r-- | hypr/conf/gestures.conf | 4 | ||||
| -rw-r--r-- | hypr/conf/input.conf | 16 | ||||
| -rw-r--r-- | hypr/conf/layouts.conf | 10 | ||||
| -rw-r--r-- | hypr/conf/misc.conf | 6 | ||||
| -rw-r--r-- | hypr/conf/monitor.conf | 3 | ||||
| -rw-r--r-- | hypr/conf/windowrules.conf | 1 |
13 files changed, 197 insertions, 0 deletions
diff --git a/hypr/conf/animations.conf b/hypr/conf/animations.conf new file mode 100644 index 0000000..254d63a --- /dev/null +++ b/hypr/conf/animations.conf @@ -0,0 +1,11 @@ +# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more +animations { + enabled = true + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 + animation = windows, 1, 2, myBezier + animation = windowsOut, 1, 7, default, popin 80% + animation = border, 1, 10, default + animation = borderangle, 1, 8, default + animation = fade, 1, 7, default + animation = workspaces, 0, 2, default, fade +} diff --git a/hypr/conf/autostart.conf b/hypr/conf/autostart.conf new file mode 100644 index 0000000..fa9f173 --- /dev/null +++ b/hypr/conf/autostart.conf @@ -0,0 +1,8 @@ +# Execute your favorite apps at launch +exec-once = waybar +exec-once = hyprpaper +exec-once = dunst + +# Load configuration from Hyprland Settings App +exec-once = systemctl --user start hyprpolkitagent +exec-once = hyprctl setcursor rose-pine-hyprcursor 24 diff --git a/hypr/conf/binds.conf b/hypr/conf/binds.conf new file mode 100644 index 0000000..b4a71e6 --- /dev/null +++ b/hypr/conf/binds.conf @@ -0,0 +1,75 @@ +# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more + +# SUPER key +$mainMod = ALT + +# Programs that I use +$terminal = alacritty +$fileManager = dolphin +$menu = rofi -show drun +$search = rofi -dmenu -p "Search> " | xargs -I{} xdg-open https://www.google.com/search?q={\} + +# Actions +bind = $mainMod, RETURN, exec, $terminal # Open Alactritty +bind = $mainMod, Q, killactive # Close current window +bind = $mainMod, M, exit # Exit Hyprland +bind = $mainMod, E, exec, $fileManager # Opens the filemanager +bind = $mainMod, T, togglefloating # Toggle between tiling and floating window +bind = $mainMod, F, fullscreen # Open the window in fullscreen +bind = $mainMod, R, exec, $menu # Open rofi +bind = $mainMod SHIFT, R, exec, $search # Open rofi +bind = $mainMod, P, pseudo, # dwindle +bind = $mainMod SHIFT, J, togglesplit, # dwindle +bind = $mainMod, B, exec, firefox-developer-edition # Opens the browser +bind = $mainMod SHIFT, B, exec, ~/.config/hypr/scripts/reload-waybar.sh # Reload Waybar +bind = $mainMod SHIFT, W, exec, ~/.config/hypr/scripts/reload-hyprpaper.sh # Reload hyprpaper after a changing the wallpaper +bind = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+ +bind = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%- +bind = , XF86MonBrightnessUp, exec, brightnessctl set 10%+ +bind = , XF86MonBrightnessDown, exec, brightnessctl set 10%- +bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle +bind = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle +bind = , XF86WLAN, exec, nmcli radio wifi toggle +bind = , XF86Refresh, exec, xdotool key F5 + +# Move focus with mainMod + arrow keys +bind = $mainMod, h, movefocus, l # Move focus left +bind = $mainMod, l, movefocus, r # Move focus right +bind = $mainMod, k, movefocus, u # Move focus up +bind = $mainMod, j, movefocus, d # Move focus down + +# Switch workspaces with mainMod + [0-9] +bind = $mainMod, 1, workspace, 1 # Switch to workspace 1 +bind = $mainMod, 2, workspace, 2 # Switch to workspace 2 +bind = $mainMod, 3, workspace, 3 # Switch to workspace 3 +bind = $mainMod, 4, workspace, 4 # Switch to workspace 4 +bind = $mainMod, 5, workspace, 5 # Switch to workspace 5 +bind = $mainMod, 6, workspace, 6 # Switch to workspace 6 +bind = $mainMod, 7, workspace, 7 # Switch to workspace 7 +bind = $mainMod, 8, workspace, 8 # Switch to workspace 8 +bind = $mainMod, 9, workspace, 9 # Switch to workspace 9 +bind = $mainMod, 0, workspace, 10 # Switch to workspace 10 + +# Move active window to a workspace with mainMod + SHIFT + [0-9] +bind = $mainMod SHIFT, 1, movetoworkspace, 1 # Move window to workspace 1 +bind = $mainMod SHIFT, 2, movetoworkspace, 2 # Move window to workspace 2 +bind = $mainMod SHIFT, 3, movetoworkspace, 3 # Move window to workspace 3 +bind = $mainMod SHIFT, 4, movetoworkspace, 4 # Move window to workspace 4 +bind = $mainMod SHIFT, 5, movetoworkspace, 5 # Move window to workspace 5 +bind = $mainMod SHIFT, 6, movetoworkspace, 6 # Move window to workspace 6 +bind = $mainMod SHIFT, 7, movetoworkspace, 7 # Move window to workspace 7 +bind = $mainMod SHIFT, 8, movetoworkspace, 8 # Move window to workspace 8 +bind = $mainMod SHIFT, 9, movetoworkspace, 9 # Move window to workspace 9 +bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Move window to workspace 10 + +# Scroll through existing workspaces with mainMod + scroll +bind = $mainMod, mouse_down, workspace, e+1 # Scroll workspaces +bind = $mainMod, mouse_up, workspace, e-1 # Scroll workspaces + +# Move/resize windows with mainMod + LMB/RMB and dragging +bindm = $mainMod, mouse:272, movewindow # Move window +bindm = $mainMod, mouse:273, resizewindow # Resize window + +# Swtich +# trigger when the switch is turning on +bindl = , switch:on:Lid Switch, exec, systemctl suspend diff --git a/hypr/conf/cursor.conf b/hypr/conf/cursor.conf new file mode 100644 index 0000000..6918917 --- /dev/null +++ b/hypr/conf/cursor.conf @@ -0,0 +1,2 @@ +env = XCURSOR_SIZE,24 +env = HYPRCURSOR_THEME,rose-pine-hyprcursor diff --git a/hypr/conf/decoration.conf b/hypr/conf/decoration.conf new file mode 100644 index 0000000..66dec67 --- /dev/null +++ b/hypr/conf/decoration.conf @@ -0,0 +1,15 @@ +# See https://wiki.hyprland.org/Configuring/Variables/ for more +decoration { + rounding = 0 + blur { + enabled = false + size = 3 + passes = 1 + } + shadow { + enabled = false + range = 4 + render_power = 3 + color = rgba(1a1a1aee) + } +} diff --git a/hypr/conf/environments.conf b/hypr/conf/environments.conf new file mode 100644 index 0000000..a0f6146 --- /dev/null +++ b/hypr/conf/environments.conf @@ -0,0 +1,36 @@ +# XDG Desktop Portal +env = XDG_CURRENT_DESKTOP,Hyprland +env = XDG_SESSION_TYPE,wayland +env = XDG_SESSION_DESKTOP,Hyprland + +# QT +env = QT_QPA_PLATFORM,wayland;xcb +env = QT_QPA_PLATFORMTHEME,qt6ct +env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 +env = QT_AUTO_SCREEN_SCALE_FACTOR,1 + +# GTK +env = GDK_SCALE,1 + +# Mozilla +env = MOZ_ENABLE_WAYLAND,1 + +# Set the cursor size for xcursor +env = XCURSOR_SIZE,24 + +# Disable appimage launcher by default +env = APPIMAGELAUNCHER_DISABLE,1 + +# OZONE +env = OZONE_PLATFORM,wayland + +# For KVM virtual machines +# env = WLR_NO_HARDWARE_CURSORS, 1 +# env = WLR_RENDERER_ALLOW_SOFTWARE, 1 + +# NVIDIA https://wiki.hyprland.org/Nvidia/ +# env = LIBVA_DRIVER_NAME,nvidia +# env = GBM_BACKEND,nvidia-drm +# env = __GLX_VENDOR_LIBRARY_NAME,nvidia +# env = __GL_VRR_ALLOWED,1 +# env = WLR_DRM_NO_ATOMIC,1 diff --git a/hypr/conf/general.conf b/hypr/conf/general.conf new file mode 100644 index 0000000..6f7bfdf --- /dev/null +++ b/hypr/conf/general.conf @@ -0,0 +1,10 @@ +# See https://wiki.hyprland.org/Configuring/Variables/ for more +general { + gaps_in = 2 + gaps_out = 10 + border_size = 2 + col.active_border = 0xff31748f 0xff9ccfd8 + col.inactive_border = rgba(595959aa) + layout = dwindle + resize_on_border = true +} diff --git a/hypr/conf/gestures.conf b/hypr/conf/gestures.conf new file mode 100644 index 0000000..90134f5 --- /dev/null +++ b/hypr/conf/gestures.conf @@ -0,0 +1,4 @@ +# See https://wiki.hyprland.org/Configuring/Variables/ for more +gestures { + workspace_swipe = true +} diff --git a/hypr/conf/input.conf b/hypr/conf/input.conf new file mode 100644 index 0000000..cd11afc --- /dev/null +++ b/hypr/conf/input.conf @@ -0,0 +1,16 @@ +# For all categories, see https://wiki.hyprland.org/Configuring/Variables/ +input { + kb_layout = us + kb_variant = + kb_model = + kb_options = + kb_rules = + + follow_mouse = 1 + + touchpad { + natural_scroll = false + } + + sensitivity = 0 # -1.0 - 1.0, 0 means no modification. +} diff --git a/hypr/conf/layouts.conf b/hypr/conf/layouts.conf new file mode 100644 index 0000000..4832966 --- /dev/null +++ b/hypr/conf/layouts.conf @@ -0,0 +1,10 @@ +dwindle { + # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more + pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below + preserve_split = true # you probably want this +} + +master { + # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more + # new_status = master +} diff --git a/hypr/conf/misc.conf b/hypr/conf/misc.conf new file mode 100644 index 0000000..646bb78 --- /dev/null +++ b/hypr/conf/misc.conf @@ -0,0 +1,6 @@ +# See https://wiki.hyprland.org/Configuring/Variables/ for more +misc { + disable_hyprland_logo = true + disable_splash_rendering = true + vfr = true +} diff --git a/hypr/conf/monitor.conf b/hypr/conf/monitor.conf new file mode 100644 index 0000000..8bb498e --- /dev/null +++ b/hypr/conf/monitor.conf @@ -0,0 +1,3 @@ +# See https://wiki.hyprland.org/Configuring/Monitors/ +monitor=eDP-1,2880x1920@60,auto,2 +monitor=DP-1,3440x1440@60,auto,1 diff --git a/hypr/conf/windowrules.conf b/hypr/conf/windowrules.conf new file mode 100644 index 0000000..1da6531 --- /dev/null +++ b/hypr/conf/windowrules.conf @@ -0,0 +1 @@ +# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
\ No newline at end of file |
