From e95f85bd7f9ef2db29230f07d9137755b2605f26 Mon Sep 17 00:00:00 2001 From: "J. Elfring" Date: Sun, 3 Nov 2024 20:55:43 +0100 Subject: [PATCH] Some whitespaceaction --- .../dot-config/hypr/hyprland.conf | 15 +---- .../hypr/src_hyprland/lookNfeel.conf | 38 +++++------ .../hypr/src_hyprland/windowmgm_keys.conf | 66 ++++++++++++------- 3 files changed, 65 insertions(+), 54 deletions(-) diff --git a/dotfiles/hypr-session/dot-config/hypr/hyprland.conf b/dotfiles/hypr-session/dot-config/hypr/hyprland.conf index a45ee2e..90a752d 100644 --- a/dotfiles/hypr-session/dot-config/hypr/hyprland.conf +++ b/dotfiles/hypr-session/dot-config/hypr/hyprland.conf @@ -2,20 +2,12 @@ # Refer to the wiki for more information. # https://wiki.hyprland.org/Configuring/Configuring-Hyprland/ -# Please note not all available settings / options are set here. -# For a full list, see the wiki - -# You can split this configuration into multiple files -# Create your files separately and then link them to this file like this: -# source = ~/.config/hypr/myColors.conf - - ################ ### MONITORS ### ################ # See https://wiki.hyprland.org/Configuring/Monitors/ -monitor=,preferred,auto,1 +monitor=, preferred, auto, 1 ################### @@ -23,8 +15,6 @@ monitor=,preferred,auto,1 ################### # See https://wiki.hyprland.org/Configuring/Keywords/ - -# Set programs that you use $terminal = kitty $fileManager = pcmanfm $menu = wofi --show drun @@ -58,6 +48,7 @@ env = HYPRCURSOR_SIZE,24 ##################### ### LOOK AND FEEL ### ##################### + source = src_hyprland/lookNfeel.conf @@ -104,7 +95,7 @@ device { # See https://wiki.hyprland.org/Configuring/Keywords/ $mainMod = SUPER # Sets "Windows" key as main modifier -# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more +# See https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod SHIFT, E, exit, bind = $mainMod SHIFT, C, killactive, bind = $mainMod SHIFT, F, togglefloating, diff --git a/dotfiles/hypr-session/dot-config/hypr/src_hyprland/lookNfeel.conf b/dotfiles/hypr-session/dot-config/hypr/src_hyprland/lookNfeel.conf index 46e675d..38d8b53 100644 --- a/dotfiles/hypr-session/dot-config/hypr/src_hyprland/lookNfeel.conf +++ b/dotfiles/hypr-session/dot-config/hypr/src_hyprland/lookNfeel.conf @@ -6,13 +6,13 @@ # https://wiki.hyprland.org/Configuring/Variables/#general general { - gaps_in = 2 - gaps_out = 5 + gaps_in = 2 + gaps_out = 5 border_size = 3 # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors - col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg + col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.inactive_border = rgba(595959aa) # Set to true enable resizing windows by clicking and dragging on borders and gaps @@ -29,19 +29,19 @@ decoration { rounding = 5 # Change transparency of focused and unfocused windows - active_opacity = 1.0 + active_opacity = 1.0 inactive_opacity = 1.0 - drop_shadow = true - shadow_range = 4 + drop_shadow = true + shadow_range = 4 shadow_render_power = 3 - col.shadow = rgba(1a1a1aee) + col.shadow = rgba(1a1a1aee) # https://wiki.hyprland.org/Configuring/Variables/#blur blur { - enabled = true - size = 3 - passes = 1 + enabled = true + size = 3 + passes = 1 vibrancy = 0.1696 } @@ -55,17 +55,17 @@ animations { 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 + 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 } # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more dwindle { - pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below + pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true # You probably want this } @@ -76,6 +76,6 @@ master { # https://wiki.hyprland.org/Configuring/Variables/#misc misc { - force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers - disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :( + force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers + disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :( } diff --git a/dotfiles/hypr-session/dot-config/hypr/src_hyprland/windowmgm_keys.conf b/dotfiles/hypr-session/dot-config/hypr/src_hyprland/windowmgm_keys.conf index db5a85e..d1ff506 100644 --- a/dotfiles/hypr-session/dot-config/hypr/src_hyprland/windowmgm_keys.conf +++ b/dotfiles/hypr-session/dot-config/hypr/src_hyprland/windowmgm_keys.conf @@ -1,13 +1,23 @@ # Move focus with mainMod + arrow keys -bind = $mainMod, left, movefocus, l -bind = $mainMod, down, movefocus, d -bind = $mainMod, up, movefocus, u -bind = $mainMod, right, movefocus, r -bind = $mainMod, h, movefocus, l -bind = $mainMod, j, movefocus, d -bind = $mainMod, k, movefocus, u -bind = $mainMod, l, movefocus, r +bind = $mainMod, LEFT, movefocus, l +bind = $mainMod, DOWN, movefocus, d +bind = $mainMod, UP, movefocus, u +bind = $mainMod, RIGHT, movefocus, r +bind = $mainMod, H, movefocus, l +bind = $mainMod, J, movefocus, d +bind = $mainMod, K, movefocus, u +bind = $mainMod, L, movefocus, r + +# Move windows +bind = $mainMod SHIFT, LEFT, movewindow, l +bind = $mainMod SHIFT, DOWN, movewindow, d +bind = $mainMod SHIFT, UP, movewindow, u +bind = $mainMod SHIFT, RIGHT, movewindow, r +bind = $mainMod SHIFT, H, movewindow, l +bind = $mainMod SHIFT, J, movewindow, d +bind = $mainMod SHIFT, K, movewindow, u +bind = $mainMod SHIFT, L, movewindow, r # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 @@ -33,13 +43,23 @@ bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8 bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9 bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10 -# Example special workspace (scratchpad) -bind = , F1, togglespecialworkspace, magic -bind = SHIFT, F1, movetoworkspace, special:magic +# Special workspace (scratchpad) +bind = $mainMod , S, togglespecialworkspace, magic +bind = $mainMod SHIFT, S, movetoworkspacesilent, special:magic + +# Scroll through existing workspaces with mainMod + scroll and CTRL + left/right, h/l +bind = $mainMod, MOUSE_UP, workspace, e-1 +bind = $mainMod CTRL, LEFT, workspace, e-1 +bind = $mainMod CTRL, H, workspace, e-1 +bind = $mainMod, MOUSE_DOWN, workspace, e+1 +bind = $mainMod CTRL, RIGHT, workspace, e+1 +bind = $mainMod CTRL, L, workspace, e+1 + +# Move window to workspace left/right + + +# Move workspace to display -# 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 @@ -48,14 +68,14 @@ bindm = $mainMod, mouse:273, resizewindow # Resize windows bind = $mainMod, R, submap, resize submap = resize -binde = , left, resizeactive, -15 0 -binde = , down, resizeactive, 0 15 -binde = , up, resizeactive, 0 -15 -binde = , right, resizeactive, 15 0 -binde = , h, resizeactive, -15 0 -binde = , j, resizeactive, 0 15 -binde = , k, resizeactive, 0 -15 -binde = , l, resizeactive, 15 0 -bind = , escape, submap, reset +binde = , LEFT, resizeactive, -15 0 +binde = , DOWN, resizeactive, 0 15 +binde = , UP, resizeactive, 0 -15 +binde = , RIGHT, resizeactive, 15 0 +binde = , H, resizeactive, -15 0 +binde = , J, resizeactive, 0 15 +binde = , K, resizeactive, 0 -15 +binde = , L, resizeactive, 15 0 +bind = , ESCAPE, submap, reset submap = reset