summaryrefslogtreecommitdiff
path: root/default_sxwmrc
diff options
context:
space:
mode:
authorAbhinav Prasai <abhinav.prsai@gmail.com>2025-10-06 14:04:45 +0100
committerAbhinav Prasai <abhinav.prsai@gmail.com>2025-10-06 14:05:54 +0100
commit28116a2dd7101340c029f29fcbd445ec41ea5445 (patch)
treeceaeefc04cea1af4970a41076f04ee12e02a6477 /default_sxwmrc
parentffade58f2df2a67135a564308e57118d6db22f52 (diff)
add window moving + resizing option from keyboard
window resizing + moving by keyboard
Diffstat (limited to 'default_sxwmrc')
-rw-r--r--default_sxwmrc13
1 files changed, 13 insertions, 0 deletions
diff --git a/default_sxwmrc b/default_sxwmrc
index 64959a7..264f8da 100644
--- a/default_sxwmrc
+++ b/default_sxwmrc
@@ -9,6 +9,8 @@ border_width : 1
master_width : 60 # Percentage of screen width
resize_master_amount : 1
resize_stack_amt : 20
+move_window_amount : 50
+resize_window_amount : 50
snap_distance : 5
motion_throttle : 60 # Set to screen refresh rate for smoothest motions
should_float : "pcmanfm", "obs"
@@ -59,6 +61,17 @@ call : mod + h : master_decrease
call : mod + ctrl + l : stack_increase
call : mod + ctrl + h : stack_decrease
+# Keyboard Window Management
+call : mod + Up : move_win_up
+call : mod + Down : move_win_down
+call : mod + Left : move_win_left
+call : mod + Right : move_win_right
+
+call : mod + shift + Up : resize_win_up
+call : mod + shift + Down : resize_win_down
+call : mod + shift + Left : resize_win_left
+call : mod + shift + Right : resize_win_right
+
# Gaps
call : mod + equal : increase_gaps
call : mod + minus : decrease_gaps