summaryrefslogtreecommitdiff
path: root/hypr/.config
diff options
context:
space:
mode:
Diffstat (limited to 'hypr/.config')
-rw-r--r--hypr/.config/hypr/binds.conf82
-rw-r--r--hypr/.config/hypr/hyprland.conf74
-rw-r--r--hypr/.config/hypr/hyprpaper.conf11
-rw-r--r--hypr/.config/hypr/misc.conf0
-rw-r--r--hypr/.config/hypr/monitors.conf25
-rw-r--r--hypr/.config/hypr/style.conf51
6 files changed, 243 insertions, 0 deletions
diff --git a/hypr/.config/hypr/binds.conf b/hypr/.config/hypr/binds.conf
new file mode 100644
index 0000000..59ff8b8
--- /dev/null
+++ b/hypr/.config/hypr/binds.conf
@@ -0,0 +1,82 @@
+# See https://wiki.hyprland.org/Configuring/Keywords/ for more
+$mainMod = SUPER
+
+# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
+bindr = SUPER, SUPER_L, exec, wofi
+bind = $mainMod, A, exec, kitty
+bind = $mainMod, D, killactive,
+bind = $mainMod, M, exit,
+bind = $mainMod, V, togglefloating,
+bind = $mainMod, R, exec, $menu
+bind = $mainMod, P, pseudo, # dwindle
+bind = $mainMod, T, togglesplit, # dwindle
+bind = $mainMod, F, fullscreen
+bind = $mainMod, G, fakefullscreen
+bind = $mainMod, W, exec, cachy-browser
+bind = $mainMod, X, exec, nemo
+bind = $mainMod, backslash, exec, "${HOME}/.config/hypr/scripts/layout.sh"
+bind = $mainMod SHIFT, backslash, exec, "${HOME}/.config/hypr/scripts/layout2.sh"
+
+# Move focus with mainMod + arrow keys
+bind = $mainMod, left, movefocus, l
+bind = $mainMod, right, movefocus, r
+bind = $mainMod, up, movefocus, u
+bind = $mainMod, down, movefocus, d
+
+bind = $mainMod SHIFT,left ,movewindow, l
+bind = $mainMod SHIFT,right ,movewindow, r
+bind = $mainMod SHIFT,up ,movewindow, u
+bind = $mainMod SHIFT,down ,movewindow, d
+
+# Move focus with mainMod + hjkl
+bind = $mainMod, H, movefocus, l
+bind = $mainMod, K, movefocus, u
+bind = $mainMod, J, movefocus, d
+bind = $mainMod, L, movefocus, r
+
+bind = $mainMod SHIFT,H ,movewindow, l
+bind = $mainMod SHIFT,K ,movewindow, r
+bind = $mainMod SHIFT,J ,movewindow, u
+bind = $mainMod SHIFT,L ,movewindow, d
+
+# screenshot keybind
+bind = $mainMod, S, exec, grim -o DP-1 "${HOME}/Pictures/screenshots/screenshot-$(date +%F-%T).png"
+
+# screenshot + crop keybind
+bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" "${HOME}/Pictures/screenshots/screenshot-$(date +%F-%T).png"
+
+# Example special workspace (scratchpad) COMMENTED OUT FOR SCREENSHOT KEYBIND
+# bind = $mainMod, S, togglespecialworkspace, magic
+# bind = $mainMod SHIFT, S, movetoworkspace, special:magic
+
+# Scroll through existing workspaces with mainMod + scroll
+bind = $mainMod, mouse_down, workspace, e+1
+bind = $mainMod, mouse_up, workspace, e-1
+
+# 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, exec, hyprsome workspace 1
+bind = $mainMod, 2, exec, hyprsome workspace 2
+bind = $mainMod, 3, exec, hyprsome workspace 3
+bind = $mainMod, 4, exec, hyprsome workspace 4
+bind = $mainMod, 5, exec, hyprsome workspace 5
+bind = $mainMod, 6, exec, hyprsome workspace 6
+bind = $mainMod, 7, exec, hyprsome workspace 7
+bind = $mainMod, 8, exec, hyprsome workspace 8
+bind = $mainMod, 9, exec, hyprsome workspace 9
+bind = $mainMod, 0, exec, hyprsome workspace 10
+
+# move active window to a workspace with mainMod + SHIFT + [0-9]
+bind = $mainMod SHIFT, 1, exec, hyprsome move 1
+bind = $mainMod SHIFT, 2, exec, hyprsome move 2
+bind = $mainMod SHIFT, 3, exec, hyprsome move 3
+bind = $mainMod SHIFT, 4, exec, hyprsome move 4
+bind = $mainMod SHIFT, 5, exec, hyprsome move 5
+bind = $mainMod SHIFT, 6, exec, hyprsome move 6
+bind = $mainMod SHIFT, 7, exec, hyprsome move 7
+bind = $mainMod SHIFT, 8, exec, hyprsome move 8
+bind = $mainMod SHIFT, 9, exec, hyprsome move 9
+bind = $mainMod SHIFT, 0, exec, hyprsome move 10
diff --git a/hypr/.config/hypr/hyprland.conf b/hypr/.config/hypr/hyprland.conf
new file mode 100644
index 0000000..31b996b
--- /dev/null
+++ b/hypr/.config/hypr/hyprland.conf
@@ -0,0 +1,74 @@
+source=binds.conf
+source=monitors.conf
+source=style.conf
+
+# Set programs that you use
+$terminal = kitty
+$fileManager = nemo
+$menu = wofi --show drun
+
+# Slow app launch fix
+exec-once = systemctl --user import-environment &
+exec-once = hash dbus-update-activation-environment 2>/dev/null &
+exec-once = dbus-update-activation-environment --systemd &
+#exec-once = xdg-desktop-portal-hyprland &
+
+exec-once = hyprctl setcursor HyprBibataModernClassicSVG 24
+exec-once = hyprctl dispatch workspace 1
+exec-once = xrandr --output XWAYLAND0 --primary
+exec-once = gsettings set org.gnome.desktop.interface cursor-theme "Bibata-Modern-Classic"
+exec-once = hyprpaper
+exec-once = waybar
+
+# Some default env vars.
+env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that
+env = WLR_DRM_NO_ATOMIC,1 # some nvidia fix
+env = XDG_SESSION_TYPE,wayland
+env = XDG_SESSION_DESKTOP,Hyprland
+env = XCURSOR_THEME,"Bibata-Modern-Classic"
+env = XCURSOR_SIZE,24
+env = HYPRCURSOR_THEME,HyprBibataModernClassicSVG
+env = HYPRCURSOR_SIZE,64
+env = LIBVA_DRIVER_NAME,nvidia
+env = GBM_BACKEND,nvidia-drm
+env = __GLX_VENDOR_LIBRARY_NAME,nvidia
+
+# 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 = no
+ }
+
+ sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
+}
+
+general {
+ # See https://wiki.hyprland.org/Configuring/Variables/ for more
+
+ gaps_in = 5
+ gaps_out = 10
+
+ border_size = 2
+ col.active_border = rgba(EEABC4aa)
+ col.inactive_border = rgba(595959aa)
+
+ layout = dwindle
+ #layout = master
+
+ # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
+ allow_tearing = false
+}
+
+windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$
+windowrulev2 = noanim,class:^(xwaylandvideobridge)$
+windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
+windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
+windowrulev2 = noblur,class:^(xwaylandvideobridge)$
diff --git a/hypr/.config/hypr/hyprpaper.conf b/hypr/.config/hypr/hyprpaper.conf
new file mode 100644
index 0000000..c4e73f9
--- /dev/null
+++ b/hypr/.config/hypr/hyprpaper.conf
@@ -0,0 +1,11 @@
+preload = ~/.wallpapers/wall0.jpg
+
+wallpaper = DP-1,~/.wallpapers/wall0.jpg
+wallpaper = DP-2,~/.wallpapers/wall0.jpg
+# .. more monitors
+
+# disable messages on bottom
+splash = false
+
+# fully disable ipc
+# ipc = off
diff --git a/hypr/.config/hypr/misc.conf b/hypr/.config/hypr/misc.conf
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/hypr/.config/hypr/misc.conf
diff --git a/hypr/.config/hypr/monitors.conf b/hypr/.config/hypr/monitors.conf
new file mode 100644
index 0000000..e2b2f87
--- /dev/null
+++ b/hypr/.config/hypr/monitors.conf
@@ -0,0 +1,25 @@
+# See https://wiki.hyprland.org/Configuring/Monitors/
+monitor=DP-1,2560x1440@144,0x0,auto
+monitor=DP-2,1920x1080@60,2560x0,auto
+
+# FOR HYPRSOME (MULTIPLE MONITORS)
+workspace=1,monitor:DP-1
+workspace=2,monitor:DP-1
+workspace=3,monitor:DP-1
+workspace=4,monitor:DP-1
+workspace=5,monitor:DP-1
+workspace=6,monitor:DP-1
+workspace=7,monitor:DP-1
+workspace=8,monitor:DP-1
+workspace=9,monitor:DP-1
+workspace=10,monitor:DP-1
+
+workspace=11,monitor:DP-2
+workspace=12,monitor:DP-2
+workspace=13,monitor:DP-2
+workspace=14,monitor:DP-2
+workspace=15,monitor:DP-2
+workspace=17,monitor:DP-2
+workspace=18,monitor:DP-2
+workspace=19,monitor:DP-2
+workspace=110,monitor:DP-2
diff --git a/hypr/.config/hypr/style.conf b/hypr/.config/hypr/style.conf
new file mode 100644
index 0000000..746689d
--- /dev/null
+++ b/hypr/.config/hypr/style.conf
@@ -0,0 +1,51 @@
+decoration {
+ # See https://wiki.hyprland.org/Configuring/Variables/ for more
+
+ rounding = 10
+
+ blur {
+ enabled = true
+ size = 3
+ passes = 6
+ }
+
+ drop_shadow = no
+ shadow_range = 4
+ shadow_render_power = 3
+ col.shadow = rgba(1a1a1aee)
+}
+
+animations {
+ enabled = yes
+
+ bezier = defaultBezier, 0.05, 0.9, 0.1, 1.05
+
+ animation = windows, 1, 7, defaultBezier
+ 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, defaultBezier
+}
+
+dwindle {
+ # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
+ pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
+ preserve_split = yes # you probably want this
+}
+
+master {
+ # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
+ #new_is_master = true
+ mfact = 0.5
+}
+
+gestures {
+ # See https://wiki.hyprland.org/Configuring/Variables/ for more
+ workspace_swipe = off
+}
+
+misc {
+ # See https://wiki.hyprland.org/Configuring/Variables/ for more
+ force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
+}