diff options
Diffstat (limited to 'archive/.config/hypr')
| -rw-r--r-- | archive/.config/hypr/binds.conf | 93 | ||||
| -rw-r--r-- | archive/.config/hypr/hypridle.conf | 9 | ||||
| -rw-r--r-- | archive/.config/hypr/hyprland.conf | 123 | ||||
| -rw-r--r-- | archive/.config/hypr/hyprlock.conf | 40 | ||||
| -rw-r--r-- | archive/.config/hypr/hyprpaper.conf | 2 |
5 files changed, 267 insertions, 0 deletions
diff --git a/archive/.config/hypr/binds.conf b/archive/.config/hypr/binds.conf new file mode 100644 index 0000000..8de4514 --- /dev/null +++ b/archive/.config/hypr/binds.conf @@ -0,0 +1,93 @@ +# main mod +$mainMod = SUPER + +# used programs +$terminal = emacsclient -c -s main --eval "(my/switch-to-master-vterm)" +$browser = firefox +$menu = swenu-run -oi +$appMenu = swenu-run -coil 10 + +# main binds +bind = $mainMod, D, killactive, +bind = $mainMod CTRL SHIFT, D, exec, hyprctl kill +bind = $mainMod, V, togglefloating, +bind = $mainMod, F, fullscreen +bind = $mainMod, SPACE, layoutmsg, swapwithmaster +bind = $mainMod, G, fullscreenstate, 0 3 +bind = $mainMod, R, exec, $menu +bind = $mainMod, RETURN, exec, $appMenu +bind = $mainMod SHIFT, Q, exit, + +# app and util binds +bind = $mainMod CONTROLALT SHIFT, L, exec, xdg-open https://linkedin.com +bind = $mainMod, I, exec, sysinfo +bind = $mainMod, A, exec, $terminal +bind = $mainMod, W, exec, $browser +bind = $mainMod, E, exec, launchemacs +bind = $mainMod CTRL, P, exec, hyprpicker -a +bind = $mainMod, L, exec, simlock +bind = $mainMod, K, exec, $terminal -e htop +bind = $mainMod SHIFT, B, exec, /bin/sh -c "pidof waybar && pkill -x waybar || waybar" +bind = $mainMod SHIFT, E, exec, wlboomer + +# screenshot (region + full) +bind = $mainMod SHIFT, S, exec, screenshot -save +bind = $mainMod, S, exec, screenshot -full -save +# screenshot and copy +bind = $mainMod CTRL SHIFT, S, exec, screenshot +bind = $mainMod CTRL, S, exec, screenshot -full + +# brightess and audio controls +bindle = , xf86monbrightnessup , exec, brightnessctl set 10%+ +bindle = , xf86monbrightnessdown, exec, brightnessctl set 10%- +bindle = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+ +bindle = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%- +bindle = SHIFT, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 1%+ +bindle = SHIFT, XF86AudioLowerVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 1%- +bindle = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle + +# Move focus with mainMod + arrow keys +binde = $mainMod, left, movefocus, l +binde = $mainMod, right, movefocus, r +binde = $mainMod, n, cyclenext, prev +binde = $mainMod, p, cyclenext +binde = $mainMod, up, movefocus, u +binde = $mainMod, down, movefocus, d +bind = $mainMod, o, cyclenext, prev + +# Move windows +binde = $mainMod SHIFT,left ,movewindow, l +binde = $mainMod SHIFT,right ,movewindow, r +binde = $mainMod SHIFT, n, swapnext, prev +binde = $mainMod SHIFT, p, swapnext +binde = $mainMod SHIFT,up ,movewindow, u +binde = $mainMod SHIFT,down ,movewindow, d +bind = $mainMod SHIFT, o, swapnext, prev + +# Move/resize windows with mainMod + LMB/RMB and dragging +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow + +# 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 + +# move active window to a workspace with mainMod + SHIFT + [0-9] +bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1 +bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2 +bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3 +bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4 +bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5 +bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6 +bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7 +bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8 +bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9 +bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10 diff --git a/archive/.config/hypr/hypridle.conf b/archive/.config/hypr/hypridle.conf new file mode 100644 index 0000000..96dfaa7 --- /dev/null +++ b/archive/.config/hypr/hypridle.conf @@ -0,0 +1,9 @@ +general { + before_sleep_cmd = pidof simlock || simlock + after_sleep_cmd = hyprctl dispatch dpms on +} + +listener { + timeout = 300 # 5min + on-timeout = loginctl suspend +} diff --git a/archive/.config/hypr/hyprland.conf b/archive/.config/hypr/hyprland.conf new file mode 100644 index 0000000..1edcb6b --- /dev/null +++ b/archive/.config/hypr/hyprland.conf @@ -0,0 +1,123 @@ +source=binds.conf + +# Settings +monitor = eDP-1, 1920x1200@60, 0x0, 1 +env = XCURSOR_PATH=${XCURSOR_PATH}:/usr/share/icons +env = XCURSOR_SIZE,24 +env = XCURSOR_THEME,whiteglass + +exec-once = hyprctl setcursor whiteglass 24 +exec-once = xrdb ~/.Xresources + +# Startup +exec-once = startup +exec-once = hyprctl dispatch workspace 1 + +env = XDG_CURRENT_DESKTOP, Hyprland +env = XDG_SESSION_TYPE, wayland +env = XDG_SESSION_DESKTOP, Hyprland +exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +exec-once = start-xdg-portal-hyprland + +input { + kb_layout = us + kb_options = ctrl:nocaps + + follow_mouse = 1 + + repeat_delay = 300 + repeat_rate = 30 + + accel_profile = adaptive + + touchpad { + scroll_factor = 0.7 + natural_scroll = yes + disable_while_typing = false + } + + sensitivity = 0 # -1.0 - 1.0, 0 means no modification. +} + +general { + layout = master + allow_tearing = true + resize_on_border = false + + gaps_in = 0 + gaps_out = 0 + + border_size = 0 + + col.active_border = rgba(AFD7FFff) + col.inactive_border = rgba(59595900) +} + +cursor { + no_hardware_cursors = false + no_warps = false + persistent_warps = true + warp_on_change_workspace = true +} + +windowrulev2 = noshadow, floating:0 + +decoration { + rounding = 0 + + blur { + enabled = true + size = 1 + passes = 1 + } +} + +master { + new_status = slave + new_on_top = true + orientation = left + mfact = 0.5 +} + +misc { + force_default_wallpaper = 1 # Set to 0 or 1 to disable the anime mascot wallpapers + enable_anr_dialog = false +} + +animations { + enabled = yes, please :) + + # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more + + bezier = easeOutQuint,0.23,1,0.32,1 + bezier = easeInOutCubic,0.65,0.05,0.36,1 + bezier = linear,0,0,1,1 + bezier = almostLinear,0.5,0.5,0.75,1.0 + bezier = quick,0.15,0,0.1,1 + + animation = global, 1, 10, default + animation = border, 1, 5.39, easeOutQuint + + animation = windows, 1, 4.79, easeOutQuint + animation = windowsIn, 1, 4.1, easeOutQuint, slide + animation = windowsOut, 1, 2, linear, slide + + animation = fadeIn, 1, 1.73, almostLinear + animation = fadeOut, 1, 2, easeOutQuint + animation = fade, 1, 3.03, quick + + animation = layers, 1, 3.81, easeOutQuint + animation = layersIn, 1, 4, easeOutQuint, fade + animation = layersOut, 1, 1.5, linear, fade + animation = fadeLayersIn, 1, 1.79, almostLinear + animation = fadeLayersOut, 1, 1.39, almostLinear + + animation = workspaces, 0, 1.94, almostLinear, fade + animation = workspacesIn, 0, 1.21, almostLinear, fade + animation = workspacesOut, 1, 1.94, almostLinear, fade +} + +# Ignore maximize requests from apps. You'll probably like this. +windowrule = suppressevent maximize, class:.* +# Fix some dragging issues with XWayland +windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 diff --git a/archive/.config/hypr/hyprlock.conf b/archive/.config/hypr/hyprlock.conf new file mode 100644 index 0000000..e8d61a5 --- /dev/null +++ b/archive/.config/hypr/hyprlock.conf @@ -0,0 +1,40 @@ +background { + path = screenshot + + blur_passes = 2 # 0 disables blurring + blur_size = 2 + noise = 0.0117 + contrast = 0.8916 + brightness = 0.8172 + vibrancy = 0.1696 + vibrancy_darkness = 0.0 +} +input-field { + # size = 200, 200 + # outline_thickness = 15 + # dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8 + # dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 + # dots_center = false + # dots_rounding = -1 # -1 default circle, -2 follow input-field rounding + # outer_color = rgb(151515) + # inner_color = rgb(200, 200, 200) + # font_color = rgb(10, 10, 10) + # fade_on_empty = true + # fade_timeout = 50 # Milliseconds before fade_on_empty is triggered. + # hide_input = true + # rounding = -1 # -1 means complete rounding (circle/oval) + # check_color = rgb(100, 118, 48) + # fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color + # placeholder_text = + # fail_text = <i><b>($ATTEMPTS)</b></i> # can be set to empty + # fail_transition = 50 # transition time in ms between normal outer_color and fail_color + # capslock_color = -1 + # numlock_color = -1 + # bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above) + # invert_numlock = false # change color if numlock is off + # swap_font_color = false # see below + + position = 0, -20 + halign = center + valign = center +} diff --git a/archive/.config/hypr/hyprpaper.conf b/archive/.config/hypr/hyprpaper.conf new file mode 100644 index 0000000..98f7b7c --- /dev/null +++ b/archive/.config/hypr/hyprpaper.conf @@ -0,0 +1,2 @@ +preload = $HOME/dotfiles/files/wallpapers/tlou.png +wallpaper = eDP-1,contain:$HOME/dotfiles/files/wallpapers/tlou.png |
