diff --git a/hypr/modules/autostart.conf b/hypr/modules/autostart.conf index babfdde..a4e77da 100644 --- a/hypr/modules/autostart.conf +++ b/hypr/modules/autostart.conf @@ -2,8 +2,14 @@ # Autostart necessary processes (like notifications daemons, status bars, etc.) # Or execute your favorite apps at launch like this: -exec-once = uwsm app -- nm-applet -exec-once = uwsm app -- nextcloud --background -exec-once = uwsm app -- rclone mount google_drive: ~/gdrive +# exec-once = uwsm app -- waybar +# exec-once = uwsm app -- nextcloud --background +exec-once = uwsm app -- nm-applet --indicator +# exec-once = uwsm app -- rclone mount google_drive: ~/gdrive exec-once = uwsm app -- protonvpn-app -# exec-once = uwsm app -- sh -c "/usr/bin/discord --enable-features=UseOzonePlatform --ozone-platform=wayland --start-minimized &> /dev/null" +exec-once = uwsm app -- hyprpaper +# exec-once = uwsm app -- /usr/bin/discord --enable-features=UseOzonePlatform --ozone-platform=wayland --start-minimized &> /dev/null +exec-once = sleep 5 && ~/.config/hypr/scripts/replay-ctrl.sh start +# exec-once = uwsm app -- /usr/lib/xdg-desktop-portal-hyprland +exec-once = wl-paste --type text --watch cliphist store # Stores only text data +exec-once = wl-paste --type image --watch cliphist store # Stores only image data diff --git a/hypr/modules/env.conf b/hypr/modules/env.conf index bdfa8d8..a16fbad 100644 --- a/hypr/modules/env.conf +++ b/hypr/modules/env.conf @@ -11,3 +11,4 @@ env = QT_QPA_PLATFORMTHEME,qt6ct env = LIBVA_DRIVER_NAME,radeonsi env = VDPAU_DRIVER,radeonsi env = MOZ_ENABLE_WAYLAND,1 +env = ELECTRON_OZONE_PLATFORM_HINT,wayland diff --git a/hypr/modules/input.conf b/hypr/modules/input.conf index 5f22694..84cfd6c 100644 --- a/hypr/modules/input.conf +++ b/hypr/modules/input.conf @@ -2,6 +2,7 @@ # https://wiki.hyprland.org/Configuring/Variables/#input input { kb_layout = us + # kb_variant = dvorak-intl, intl kb_variant = intl kb_model = kb_options = @@ -30,8 +31,3 @@ device { kb_layout = us kb_variant = dvorak-intl } - -# https://wiki.hyprland.org/Configuring/Variables/#gestures -gestures { - workspace_swipe = false -} diff --git a/hypr/modules/keybinds.conf b/hypr/modules/keybinds.conf index 2ed7965..76d57b8 100644 --- a/hypr/modules/keybinds.conf +++ b/hypr/modules/keybinds.conf @@ -1,7 +1,13 @@ $mainMod = SUPER # Sets "Windows" key as main modifier -bind = , PRINT, exec, gscreenshot -c -s +bindr = ALT, m, exec, cliphist list | fuzzel --dmenu | cliphist decode | wl-copy +bind = , PRINT, exec, grim -g "$(slurp)" - | wl-copy +bindr = ALT SHIFT, z, exec, ~/.config/hypr/scripts/replay-ctrl.sh save +bindr = ALT, z, exec, ~/.config/hypr/scripts/replay-ctrl.sh toggle +bindr = ALT SHIFT, c, exec, ~/.config/hypr/scripts/droidcam-ctrl.sh toggle + +# general binds bind = $mainMod, RETURN, exec, $terminal bind = $mainMod SHIFT, Q, killactive, bind = $mainMod CTRL, L, exec, hyprlock @@ -9,7 +15,7 @@ bind = $mainMod, E, exec, $fileManager bind = $mainMod, V, togglefloating, bind = $mainMod, F, fullscreen, bind = $mainMod, SPACE, exec, $menu -bind = $mainMod, P, exec, ~/.config/hypr/scripts/powermenu.sh & +bind = $mainMod, P, exec, ~/.config/hypr/scripts/powermenu.sh bind = $mainMod, t, togglesplit, # dwindle bind = $mainMod, n, togglegroup diff --git a/hypr/modules/monitors.conf b/hypr/modules/monitors.conf index cd3b343..906a909 100644 --- a/hypr/modules/monitors.conf +++ b/hypr/modules/monitors.conf @@ -1,9 +1,10 @@ -# See https://wiki.hyprland.org/Configuring/Monitors/ -monitor=eDP-1, preferred, 0x0, 1 -# monitor=DP-4, preferred, auto, 1, mirror, eDP-1 -monitor=,preferred,auto,auto -# trigger when the switch is turning off -# bindl = , switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, 1920x1080@60, 0x0, 1" -# trigger when the switch is turning on -# bindl = , switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable" +monitor = desc:Samsung Electric Company LC27G7xT H4ZRA00734, 2560x1440@240, 0x0, 1 +# monitorv2 { +# desc = Samsung Electric Company LC27G7xT H4ZRA00734 +# mode = 2560x1440@240 +# position = 0x0 +# scale = 1 +# bitdepth = 10 +# cm = wide +# } diff --git a/hypr/modules/plugins.conf b/hypr/modules/plugins.conf new file mode 100644 index 0000000..f324253 --- /dev/null +++ b/hypr/modules/plugins.conf @@ -0,0 +1,38 @@ +exec-once = hyprpm reload -n + +# plugin:hyprfocus { +# enabled = yes +# animate_floating = yes +# animate_workspacechange = yes +# focus_animation = shrink +# # Beziers for focus animations +# bezier = bezIn, 0.5,0.0,1.0,0.5 +# bezier = bezOut, 0.0,0.5,0.5,1.0 +# bezier = overshot, 0.05, 0.9, 0.1, 1.05 +# bezier = smoothOut, 0.36, 0, 0.66, -0.56 +# bezier = smoothIn, 0.25, 1, 0.5, 1 +# bezier = realsmooth, 0.28,0.29,.69,1.08 +# # Flash settings +# flash { +# flash_opacity = 0.95 +# in_bezier = realsmooth +# in_speed = 0.5 +# out_bezier = realsmooth +# out_speed = 3 +# } +# # Shrink settings +# shrink { +# shrink_percentage = 0.95 +# in_bezier = realsmooth +# in_speed = 1 +# out_bezier = realsmooth +# out_speed = 2 +# } +# } +# +# plugin:csgo-vulkan-fix { +# res_w = 1280 +# res_h = 960 +# class = gamescope +# fix_mouse = true +# } diff --git a/hypr/modules/window_rules.conf b/hypr/modules/window_rules.conf index 2a85bcf..3bd4377 100644 --- a/hypr/modules/window_rules.conf +++ b/hypr/modules/window_rules.conf @@ -1,3 +1,4 @@ + # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules @@ -14,6 +15,7 @@ windowrulev2=noblur,class:^()$,title:^()$ # Float Windows windowrulev2=float,title:^(Open File)$ windowrulev2=float,title:^(Select a File)$ +windowrulev2=float,title:^(Select Folder)$ windowrulev2=float,title:^(Choose a file)$ windowrulev2=float,title:^(Save As)$ windowrulev2=float,title:^(Save File)$ @@ -62,6 +64,7 @@ windowrulev2=noblur,class:^(pavucontrol|blueman-manager|nm-connection-editor)$ windowrulev2=workspace special:magic silent,class:^(Spotify)$ +windowrulev2=workspace special:magic silent,class:^(spotify)$ windowrulev2=workspace special:magic silent,class:^(discord|vesktop)$ # steam rules