Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

unable to run mew launcher #45

Open
gksudolol opened this issue Feb 21, 2025 · 4 comments
Open

unable to run mew launcher #45

gksudolol opened this issue Feb 21, 2025 · 4 comments

Comments

@gksudolol
Copy link

Hey! really liking the new updates to owl/mwc <3

Only downfall I'm having is with mew (https://codeberg.org/sewn/mew)

wl_registry#2: error 0: invalid version for global wl_compositor (3): have 5, wanted 6
wl_display_dispatch_pending: Protocol error

Here's my config:

env XDG_CURRENT_DESKTOP mwc
env XDG_SESSION_DESKTOP mwc
env XDG_SESSION_TYPE wayland
env SDL_VIDEODRIVER wayland
env MOZ_ENABLE_WAYLAND 1
env MOZ_DBUS_REMOTE 1
env GDK_SCALE 1.6

run "dbus-update-activation-environment --all"
run gentoo-pipewire-launcher
run swww-daemon
run eww-run

output HDMI-A-1 0 0 3840 2160 60 1.6

keymap us ""

keyboard_rate 30
keyboard_delay 200

pointer "Logitech USB Receiver Mouse" 1 0.3

cursor_theme rose-pine
cursor_size 24

workspace 1 HDMI-A-1
workspace 2 HDMI-A-1
workspace 3 HDMI-A-1
workspace 4 HDMI-A-1
workspace 5 HDMI-A-1
workspace 6 HDMI-A-1
workspace 7 HDMI-A-1
workspace 8 HDMI-A-1
workspace 9 HDMI-A-1
workspace 10 HDMI-A-1

min_toplevel_size 10
client_side_decorations 0
outer_gaps 15
inner_gaps 15
master_count 1
master_ratio 0.5

border_width 2
border_radius 5
border_radius_location all
active_border_color eb6f92ff
inactive_border_color 31748fff

blur 1
blur_passes 1
blur_radius 3
blur_noise 0.0117
blur_brightness 0.8172
blur_contrast 0.8916
blur_saturation 0.1696

shadows 1
shadows_blur 6
shadows_size 3
shadows_position 3 3
shadows_color 00000090

animations 1
animation_duration 500
animation_curve 0.23 1 0.32 1

keybind super+shift q exit
keybind super s run "grim /garfield/screenshots/Screenshot-$(date +%Y-%m-%d-%H-%M-%S).png"
keybind super 1 workspace 1
keybind super 2 workspace 2
keybind super 3 workspace 3
keybind super 4 workspace 4
keybind super 5 workspace 5
keybind super 6 workspace 6
keybind super 7 workspace 7
keybind super 8 workspace 8
keybind super 9 workspace 9
keybind super escape workspace 10
keybind super+shift 1 move_to_workspace 1
keybind super+shift 2 move_to_workspace 2
keybind super+shift 3 move_to_workspace 3
keybind super+shift 4 move_to_workspace 4
keybind super+shift 5 move_to_workspace 5
keybind super+shift 6 move_to_workspace 6
keybind super+shift 7 move_to_workspace 7
keybind super+shift 8 move_to_workspace 8
keybind super+shift 9 move_to_workspace 9
keybind super+shift escape move_to_workspace 10
keybind super x run mew-run
keybind super enter run foot
keybind super c kill_active 
keybind super f toggle_floating 
keybind super t toggle_fullscreen 
keybind super pointer_left_click move
keybind super pointer_right_click resize

window_rule imv _ float

layer_rule mew blur
@dqrk0jeste
Copy link
Owner

should be just a single line fix here, you can try compiling it with version set to 6 while i get back home

@gksudolol
Copy link
Author

sweet, mew-run ran but I got a segfault

/home/d/.local/bin/mew-run: line 35: 15060 Done                    path
     15061 Segmentation fault      | mew -e "$@"

I was going to try with a different launcher like tofi but haven't grasped how to pipe into mwc-ipc

@dqrk0jeste
Copy link
Owner

weird, i will try to debug it later

@dqrk0jeste
Copy link
Owner

dqrk0jeste commented Feb 21, 2025

ipc is really basic, it only can list the toplevels, layers and output names, just so its easier to write window rules etc

its was really boring writing that part of the code, so i left it pretty bare bones.

i will revisit it in the future.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants