glzr-io / glazewm

GlazeWM is a tiling window manager for Windows inspired by i3wm.
GNU General Public License v3.0
5.51k stars 159 forks source link

glazewm with yasb keeps windows flickering when drag #585

Closed nahid6970 closed 1 month ago

nahid6970 commented 5 months ago

https://github.com/glzr-io/glazewm/assets/93816648/41fdd968-982b-4849-96c8-dc8fa803be0e

nahid6970 commented 5 months ago

here is the setting

general:

Whether to automatically focus windows underneath the cursor.

focus_follows_cursor: false

Whether to jump the cursor between windows focused by the WM.

cursor_follows_focus: false

Whether to switch back and forth between the previously focused workspace

when focusing the current workspace.

toggle_workspace_on_refocus: true

Whether to show floating windows as always on top.

show_floating_on_top: true

Amount to move floating windows by (eg. when using alt+<hjkl> on a floating window)

floating_window_move_amount: "5%"

Whether to center new floating windows.

center_new_floating_windows: false

Strongly recommended to set to 'false'. Whether to globally enable/disable

window transition animations (on minimize, close, etc). Set to 'unchanged'

to make no setting changes.

window_animations: "unchanged"

gaps:

Gap between adjacent windows.

inner_gap: "0px"

Gap between windows and the screen edge.

outer_gap: '1px 1px 1px 1px'

Highlight active/inactive windows with a colored border.

** Exclusive to Windows 11 due to API limitations.

focus_borders: active: enabled: true color: "#00f200"

inactive: enabled: false color: "#ff0000"

bar: enabled: false height: "36px" position: "bottom" always_on_top: false opacity: 1 background: "#ff5c2850" foreground: "#ffffff" font_family: "Segoe UI" font_size: "13px" padding: "4px 6px" offset_x: 0 offset_y: 0 border_radius: 0

components_left:

components_center:

- type: "window title"

- type: "workspaces"
  focused_workspace_background: "#FFFFFF "
  focused_workspace_foreground: "#2E3440"
  displayed_workspace_background: "#4C566A "
  displayed_workspace_foreground: "#D8DEE9 "
  default_workspace_background: "transparent"
  font_family: "Comic Sans MS"
  font_size: "14px"
  font_weight: 950
  margin: 1 1
  padding: 0 0

- type: "tiling direction" #!tiling dir
  label_horizontal: "H"
  label_vertical: "V"
  background: "#626c80"
  foreground: "#000000"
  margin: 1 1
  padding: 0 5
  font_weight: 950
  # label_horizontal: "⮂"
  # label_vertical: "⮁"

- type: "text"
  text: "E" 
  left_click_command: "exec C:\\ms1\\mypygui_import\\edit_files.py"
  background: "#3c97ff"
  foreground: "#000000"
  margin: 1 1
  padding: 0 5
  # border_width: "1"
  # border_color: "#fff"
  font_family: "Comic Sans MS"
  font_size: "14px"
  font_weight: 950

components_right:

# - type: "text"
#   text: "Terminal" 
#   left_click_command: "exec pwsh"
#   right_click_command: "exec cmd"
#   background: "#000"
#   foreground: "#fff"
#   margin: 0 2 # Moves it left on top of the previous component
#   padding: 5 5
#   border_width: "1"
#   border_color: "#fff"

# - type: "text"
#   text: "Sync" 
#   left_click_command: "exec 'C://ms1//sync.ps1'"
#   background: "#005900"
#   foreground: "#fff"
#   margin: 0 2 # Moves it left on top of the previous component
#   padding: 5 5
#   border_width: "1"
#   border_color: "#fff"

# - type: "cpu" #!cpu
#   label: "CPU: {percent_usage}%"
#   refresh_interval_ms: 1000
#   padding: "5px 5px"
#   background: "#3c8aff"
#   foreground: "#000"
#   font_family: "Comic Sans MS"
#   font_size: "13px"
#   font_weight: 950

# - type: "gpu" #!gpu
#   label: "GPU: {percent_usage}%"
#   refresh_interval_ms: 1000
#   padding: "5px 5px"
#   background: "#00f200"
#   foreground: "#000"
#   font_family: "Comic Sans MS"
#   font_size: "13px"
#   font_weight: 950

# - type: "system tray"

- type: "binding mode" #!binding mode
  background: "#ffffff33"
  margin: "0 4px 0 0"
  padding: "0 8px"

# - type: "clock" #!clock
#   padding: "5px 5px"
#   background: "#ffffff"
#   foreground: "#000"
#   font_family: "Comic Sans MS"
#   font_size: "13px"
#   font_weight: 950
#   # Documentation on formatting date/time string:
#   # https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings
#   time_formatting: "hh:mm:ss tt  ddd MMM d"

workspaces:

window_rules:

! Launches system dialogs as floating by default (eg. File Explorer save/open dialog).

- command: "set floating"

match_class_name: "#xxxxxx"

! Do not manage picture-in-picture windows for browsers. Note that the default is for

! English; change match_title to the window's title if you use another language.

! Task Manager requires admin privileges to manage and should be ignored unless running

! the WM as admin.

!here only this 2 application will be splitted horizontally

- command: "tiling direction vertical"

match_process_name: "rssguard"

binding_modes:

keybindings:

! Resize focused window by a percentage or pixel amount.

- command: "resize width -2%"

binding: "Alt+U"

- command: "resize width +2%"

binding: "Alt+P"

- command: "resize height +2%"

binding: "Alt+O"

- command: "resize height -2%"

binding: "Alt+I"

! As an alternative to the resize keybindings above, resize mode enables resizing via

! HJKL or arrow keys. The binding mode is defined above with the name "resize".

- command: "binding mode resize"

binding: "Alt+R"

Change tiling direction. This determines where new tiling windows will be inserted.

lars-berger commented 1 month ago

This should be fixed now 👍 Latest release