From 1b73cf64549be3543cd2505430ac4163dba7728b Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Mon, 5 Feb 2024 17:54:02 +0100 Subject: [PATCH] move hyprland --- betterconf.conf => backupland.conf | 66 +++++++++++++++++++++--------- hyprland.conf | 66 +++++++++--------------------- 2 files changed, 66 insertions(+), 66 deletions(-) rename betterconf.conf => backupland.conf (69%) diff --git a/betterconf.conf b/backupland.conf similarity index 69% rename from betterconf.conf rename to backupland.conf index 9803a79..e752d56 100644 --- a/betterconf.conf +++ b/backupland.conf @@ -1,8 +1,31 @@ -# Monitor + +######################################################################################## +AUTOGENERATED HYPR CONFIG. +PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT, +OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. +######################################################################################## + +# +# Please note not all available settings / options are set here. +# For a full list, see the wiki +# + +# See https://wiki.hyprland.org/Configuring/Monitors/ monitor=,1920x1080,auto,1 -# Input -$mainMod = SUPER + +# See https://wiki.hyprland.org/Configuring/Keywords/ for more + +# Execute your favorite apps at launch +exec-once = waybar & hyprpaper # & firefox + +# Source a file (multi-file configs) +# source = ~/.config/hypr/myColors.conf + +# Some default env vars. +env = XCURSOR_SIZE,24 + +# For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = de kb_variant = @@ -19,11 +42,6 @@ input { sensitivity = 0 # -1.0 - 1.0, 0 means no modification. } -# Exec / Startup -exec-once = waybar -exec-once = hyprpaper - -# General general { # See https://wiki.hyprland.org/Configuring/Variables/ for more @@ -36,7 +54,6 @@ general { layout = dwindle } -# Decoration decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more @@ -54,7 +71,6 @@ decoration { col.shadow = rgba(1a1a1aee) } -# Animation animations { enabled = yes @@ -70,7 +86,6 @@ animations { animation = workspaces, 1, 6, default } -# Misc 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 @@ -84,7 +99,7 @@ master { gestures { # See https://wiki.hyprland.org/Configuring/Variables/ for more - workspace_swipe = on + workspace_swipe = off } # Example per-device config @@ -93,11 +108,17 @@ device:epic-mouse-v1 { sensitivity = -0.5 } -# Layouts +# Example windowrule v1 +# windowrule = float, ^(kitty)$ +# Example windowrule v2 +# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ +# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more -# Window rules -# Keybindings +# See https://wiki.hyprland.org/Configuring/Keywords/ for more +$mainMod = SUPER + +# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Q, exec, kitty bind = $mainMod, C, killactive, bind = $mainMod, M, exit, @@ -109,10 +130,6 @@ bind = $mainMod, J, togglesplit, # dwindle binde=, XF86AudioRaiseVolume, exec, amixer -q sset master 5%+ binde=, XF86AudioLowerVolume, exec, amixer -q sset master 5%- -# Window Management -bindm = $mainMod, mouse:272, movewindow -bindm = $mainMod, mouse:273, resizewindow - # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r @@ -125,7 +142,7 @@ bind = $mainMod, l, movefocus, r bind = $mainMod, k, movefocus, u bind = $mainMod, j, movefocus, d -# Workspace Management +# Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 bind = $mainMod, 3, workspace, 3 @@ -137,6 +154,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, movetoworkspace, 1 bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 3, movetoworkspace, 3 @@ -147,3 +165,11 @@ bind = $mainMod SHIFT, 7, movetoworkspace, 7 bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 + +# 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 diff --git a/hyprland.conf b/hyprland.conf index e752d56..9803a79 100644 --- a/hyprland.conf +++ b/hyprland.conf @@ -1,31 +1,8 @@ - -######################################################################################## -AUTOGENERATED HYPR CONFIG. -PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT, -OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. -######################################################################################## - -# -# Please note not all available settings / options are set here. -# For a full list, see the wiki -# - -# See https://wiki.hyprland.org/Configuring/Monitors/ +# Monitor monitor=,1920x1080,auto,1 - -# See https://wiki.hyprland.org/Configuring/Keywords/ for more - -# Execute your favorite apps at launch -exec-once = waybar & hyprpaper # & firefox - -# Source a file (multi-file configs) -# source = ~/.config/hypr/myColors.conf - -# Some default env vars. -env = XCURSOR_SIZE,24 - -# For all categories, see https://wiki.hyprland.org/Configuring/Variables/ +# Input +$mainMod = SUPER input { kb_layout = de kb_variant = @@ -42,6 +19,11 @@ input { sensitivity = 0 # -1.0 - 1.0, 0 means no modification. } +# Exec / Startup +exec-once = waybar +exec-once = hyprpaper + +# General general { # See https://wiki.hyprland.org/Configuring/Variables/ for more @@ -54,6 +36,7 @@ general { layout = dwindle } +# Decoration decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more @@ -71,6 +54,7 @@ decoration { col.shadow = rgba(1a1a1aee) } +# Animation animations { enabled = yes @@ -86,6 +70,7 @@ animations { animation = workspaces, 1, 6, default } +# Misc 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 @@ -99,7 +84,7 @@ master { gestures { # See https://wiki.hyprland.org/Configuring/Variables/ for more - workspace_swipe = off + workspace_swipe = on } # Example per-device config @@ -108,17 +93,11 @@ device:epic-mouse-v1 { sensitivity = -0.5 } -# Example windowrule v1 -# windowrule = float, ^(kitty)$ -# Example windowrule v2 -# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ -# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more +# Layouts +# Window rules -# See https://wiki.hyprland.org/Configuring/Keywords/ for more -$mainMod = SUPER - -# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more +# Keybindings bind = $mainMod, Q, exec, kitty bind = $mainMod, C, killactive, bind = $mainMod, M, exit, @@ -130,6 +109,10 @@ bind = $mainMod, J, togglesplit, # dwindle binde=, XF86AudioRaiseVolume, exec, amixer -q sset master 5%+ binde=, XF86AudioLowerVolume, exec, amixer -q sset master 5%- +# Window Management +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow + # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r @@ -142,7 +125,7 @@ bind = $mainMod, l, movefocus, r bind = $mainMod, k, movefocus, u bind = $mainMod, j, movefocus, d -# Switch workspaces with mainMod + [0-9] +# Workspace Management bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 bind = $mainMod, 3, workspace, 3 @@ -154,7 +137,6 @@ 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, movetoworkspace, 1 bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 3, movetoworkspace, 3 @@ -165,11 +147,3 @@ bind = $mainMod SHIFT, 7, movetoworkspace, 7 bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 - -# 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