[rc/sway] add back second argument of floating_modifier
[~bandali/configs] / rc.org
diff --git a/rc.org b/rc.org
index e787d8b..d1155f1 100644 (file)
--- a/rc.org
+++ b/rc.org
@@ -790,7 +790,7 @@ borders_color=#01FF70
 
 [date]
 preset=DATE
-command=date '+%-I:%M, %a %b %d'
+command=date '+%-I:%M, %a %b %d '
 title=<span weight='heavy' fgcolor='#FFDC00'> </span>
 borders_color=#FFDC00
 separator_width=0
@@ -3740,7 +3740,10 @@ input "1:1:AT_Translated_Set_2_keyboard" {
 
     # Drag floating windows by holding down $mod and left mouse button.
     # Resize them with right mouse button + $mod.
-    floating_modifier $mod
+    # Despite the name, also works for non-floating windows.
+    # Change normal to inverse to use left mouse button for resizing and right
+    # mouse button for dragging.
+    floating_modifier $mod normal
 
     # reload the configuration file
     bindsym $mod+Shift+c reload
@@ -4906,7 +4909,7 @@ elif [ "$state" -eq 1 ]; then  # Charging
        secs=$(dbus_send 'TimeToFull')
 fi
 
-printf '%s%%%%%2dh%02dm\n' "$perc" $((secs / 3600)) $((secs % 3600 / 60))
+printf '%s%%%%%2dh%02dm \n' "$perc" $((secs / 3600)) $((secs % 3600 / 60))
 #+end_src
 
 ** rofi-light