diff options
Diffstat (limited to '.config/hypr/config.d')
-rwxr-xr-x | .config/hypr/config.d/autostart.sh | 21 | ||||
-rw-r--r-- | .config/hypr/config.d/input.conf | 24 | ||||
-rw-r--r-- | .config/hypr/config.d/keybinds.conf | 34 | ||||
-rw-r--r-- | .config/hypr/config.d/theme.conf | 40 | ||||
-rw-r--r-- | .config/hypr/config.d/workspaces.conf | 58 |
5 files changed, 177 insertions, 0 deletions
diff --git a/.config/hypr/config.d/autostart.sh b/.config/hypr/config.d/autostart.sh new file mode 100755 index 0000000..9b18715 --- /dev/null +++ b/.config/hypr/config.d/autostart.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +pipewire & &> ~/.log/pipewire +pipewire-pulse & &> ~/.log/pipewire-pulse +wireplumber & &> ~/.log/wireplumber + +/usr/lib/xdg-desktop-portal -r & +/usr/lib/xdg-desktop-portal-hyprland -r & + +waybar & + +mako & + +hyprpaper & + +nm-applet --indicator & + +/usr/bin/gnome-keyring-daemon --foreground & + +discord --enable-features=UseOzonePlatform --ozone-platform=wayland & +element-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland & diff --git a/.config/hypr/config.d/input.conf b/.config/hypr/config.d/input.conf new file mode 100644 index 0000000..947ae3d --- /dev/null +++ b/.config/hypr/config.d/input.conf @@ -0,0 +1,24 @@ + +monitor= eDP-1, 3072x1920, 0x0, $scale + +env = XCURSOR_SIZE, 24 + +input { + kb_layout = us + kb_variant = + kb_model = + kb_options = gtp:alt_shit_toggle, compose:rctrl + kb_rules = + + follow_mouse = 1 + + touchpad { + natural_scroll = yes + } + + sensitivity = 0 +} + +device:epic-mouse-v1 { + sensitivity = -0.5 +} diff --git a/.config/hypr/config.d/keybinds.conf b/.config/hypr/config.d/keybinds.conf new file mode 100644 index 0000000..3351e85 --- /dev/null +++ b/.config/hypr/config.d/keybinds.conf @@ -0,0 +1,34 @@ + +bind = $mod, Return, exec, $term +bind = $mod, W, exec, $browser +bind = $mod SHIFT, SPACE, togglefloating +bind = $mod, D, exec, $menu +bind = $mod, J, togglesplit +bind = $mod, F, fullscreen +bind = $mod, L, exec, killall wlogout || wlogout --css ~/scripts/power/style.css -l ~/scripts/power/layout +bind = $mod, P, exec, killall wlogout || wlogout --css ~/scripts/monitor/style.css -l ~/scripts/monitor/layout -b 2 -L 400 -R 400 +bind = $mod SHIFT, B, exec, killall waybar && waybar +bind = $mod SHIFT, Q, killactive +bind = $mod SHIFT, W, exec, hyprpaper + +$monitor_sh = ~/scripts/monitor +bind = $mod ALT, right, exec, $monitor_sh right +bind = $mod ALT, left, exec, $monitor_sh left +bind = $mod ALT, up, exec, $monitor_sh mirror +bind = $mod ALT, down, exec, $monitor_sh disable + +binde =, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+ +binde =, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +binde =, XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle +binde =, XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle + +binde =, XF86MonBrightnessDown, exec, brightnessctl set 5%- +binde =, XF86MonBrightnessUp, exec, brightnessctl set 5%+ + +binde =, XF86AudioPlay, exec, playerctl play-pause +binde =, XF86AudioNext, exec, playerctl next +binde =, XF86AudioPrev, exec, playerctl previous + +bind = ,Print, exec, grim -g "$(slurp)" - | wl-copy +bind = SHIFT, Print, exec, slurp -p | grim -g - - | convert - txt:- | tail -n 1 | awk '{print $3}' | wl-copy +bind = CONTROL, Print, exec, diff --git a/.config/hypr/config.d/theme.conf b/.config/hypr/config.d/theme.conf new file mode 100644 index 0000000..90e23e8 --- /dev/null +++ b/.config/hypr/config.d/theme.conf @@ -0,0 +1,40 @@ +general { + gaps_in = $radius + gaps_out = $gaps + border_size = $border + col.active_border = rgba(aaaaaa90) + col.inactive_border = rgba(77777790) + col.group_border_active = rgba(aaaaaa90) + col.group_border = rgba(77777790) + + layout = dwindle +} + +decoration { + + rounding = 5 + drop_shadow = yes + shadow_range = 4 + shadow_render_power = 3 + col.shadow = rgba(1a1a1aee) +} + +animations { + enabled = yes + + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 + + #animation = windows, 1, 7, 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, 1, 6, default +} + +windowrule = float, ^(wlogout)$ +windowrule = move 12.5% 12.5%, ^(wlogout)$ +windowrule = size 75% 75%, ^(wlogout)$ +windowrule = noborder, ^(wlogout)$ +windowrule = noshadow, ^(wlogout)$ +windowrule = nofullscreenrequest, ^(wlogout)$ diff --git a/.config/hypr/config.d/workspaces.conf b/.config/hypr/config.d/workspaces.conf new file mode 100644 index 0000000..2f3e81c --- /dev/null +++ b/.config/hypr/config.d/workspaces.conf @@ -0,0 +1,58 @@ + +dwindle { + pseudotile = yes + preserve_split = yes +} + +gestures { + workspace_swipe = on +} + +# Move focus with mod + arrow keys + +bind = $mod, left, movefocus, l +bind = $mod, right, movefocus, r +bind = $mod, up, movefocus, u +bind = $mod, down, movefocus, d + +# Move window across workspace with mod + arrow keys + +bind = $mod SHIFT, left, movewindow, l +bind = $mod SHIFT, right, movewindow, r +bind = $mod SHIFT, up, movewindow, u +bind = $mod SHIFT, down, movewindow, d + +# Switch workspaces with mod + [0-9] + +bind = $mod, 1, workspace, 1 +bind = $mod, 2, workspace, 2 +bind = $mod, 3, workspace, 3 +bind = $mod, 4, workspace, 4 +bind = $mod, 5, workspace, 5 +bind = $mod, 6, workspace, 6 +bind = $mod, 7, workspace, 7 +bind = $mod, 8, workspace, 8 +bind = $mod, 9, workspace, 9 + +# Move active window to a workspace with mod + SHIFT + [0-9] + +bind = $mod SHIFT, 1, movetoworkspacesilent, 1 +bind = $mod SHIFT, 2, movetoworkspacesilent, 2 +bind = $mod SHIFT, 3, movetoworkspacesilent, 3 +bind = $mod SHIFT, 4, movetoworkspacesilent, 4 +bind = $mod SHIFT, 5, movetoworkspacesilent, 5 +bind = $mod SHIFT, 6, movetoworkspacesilent, 6 +bind = $mod SHIFT, 7, movetoworkspacesilent, 7 +bind = $mod SHIFT, 8, movetoworkspacesilent, 8 +bind = $mod SHIFT, 9, movetoworkspacesilent, 9 +bind = $mod SHIFT, 0, movetoworkspacesilent, 10 + +# Scroll through existing workspaces with mod + scroll + +bind = $mod, mouse_down, workspace, e+1 +bind = $mod, mouse_up, workspace, e-1 + +# Move/resize windows with mod + LMB/RMB and dragging + +bindm = $mod, mouse:272, movewindow +bindm = $mod, mouse:273, resizewindow |