summaryrefslogtreecommitdiff
path: root/.config/hypr/hyprland.conf
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2025-08-04 12:11:59 +0530
committerkrolxon <krolyxon@tutanota.com>2025-08-04 12:11:59 +0530
commit7cbc575dbd33a9b5a7e1d530b974bc9971a70cef (patch)
tree1cefea97f65a1d173cc0098f201d9436705a5ddc /.config/hypr/hyprland.conf
parentb8c1f0f4ebc5deb25fdc9849624261b896c3323e (diff)
hyprland: make work more like dwm
Diffstat (limited to '.config/hypr/hyprland.conf')
-rw-r--r--.config/hypr/hyprland.conf27
1 files changed, 15 insertions, 12 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index ef7f7c3..80ad822 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -9,7 +9,7 @@ autogenerated = 0
$terminal = alacritty
$fileManager = pcmanfm
# $menu = rofi -show drun
-$menu = wofi --show drun
+$menu = rofi -show drun
$browser = brave
@@ -67,8 +67,8 @@ permission = /usr/(bin|local/bin)/hyprpm, plugin, allow
### LOOK AND FEEL ###
#####################
general {
- gaps_in = 10
- gaps_out = 10
+ gaps_in = 5
+ gaps_out = 5
border_size = 2
resize_on_border = false
allow_tearing = false
@@ -186,7 +186,7 @@ bind = $mainMod SHIFT, R, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod SHIFT, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
-bind = $mainMod, tab, cyclenext, prev
+binde = $mainMod, tab, cyclenext, prev
bind = $mainMod, b, exec, killall waybar || waybar
# Applications
@@ -195,14 +195,17 @@ bind = $mainMod, W, exec, $browser
# Music Controls
bind = $mainMod, m, exec, $terminal -e "ncmpcpp"
bind = $mainMod, p, exec, mpc toggle
-bind = $mainMod, comma, exec, mpc seek -10
-bind = $mainMod, period, exec, mpc seek -10
-
-# Move focus with mainMod + arrow keys
-bind = $mainMod, h, movefocus, l
-bind = $mainMod, j, movefocus, r
-bind = $mainMod, k, movefocus, u
-bind = $mainMod, l, movefocus, d
+binde = $mainMod, comma, exec, mpc seek -10
+binde = $mainMod, period, exec, mpc seek +10
+
+# Swap current focused window with master
+bind = $mainMod, space, layoutmsg, swapwithmaster
+
+# Resize windows with h/j/k/l
+binde = $mainMod, h, resizeactive, -30 0
+binde = $mainMod, l, resizeactive, 30 0
+binde = $mainMod, k, resizeactive, 0 -30
+binde = $mainMod, j, resizeactive, 0 30
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, split-workspace, 1