From 03e3439e8722077d27b67b51a5e3fda4b79e61af Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 25 Dec 2023 20:44:38 +0100 Subject: refactor and switch kusanagi to wayfire --- wayfire/wayfire.ini | 397 +++++++++++++++++++++++++++++++++++++++++++++++++++ wayfire/wf-shell.ini | 64 +++++++++ 2 files changed, 461 insertions(+) create mode 100644 wayfire/wayfire.ini create mode 100644 wayfire/wf-shell.ini (limited to 'wayfire') diff --git a/wayfire/wayfire.ini b/wayfire/wayfire.ini new file mode 100644 index 0000000..a497cf2 --- /dev/null +++ b/wayfire/wayfire.ini @@ -0,0 +1,397 @@ +[alpha] +min_value = 0.100000 +modifier = + +[animate] +close_animation = fade +duration = 400 +enabled_for = (type equals "toplevel" | (type equals "x-or" & focusable equals true)) +fade_duration = 400 +fade_enabled_for = type equals "overlay" +fire_color = \#B22303FF +fire_duration = 300 +fire_enabled_for = none +fire_particle_size = 16.000000 +fire_particles = 2000 +open_animation = fade +random_fire_color = false +startup_duration = 600 +zoom_duration = 500 +zoom_enabled_for = none + +[autostart] +autostart0 = waybar +autostart1 = wf-background +autostart_wf_shell = false + +[background] +cycle_timeout = 150 +image = /nix/store/9gmwzbczqpdw7bxl31sv0jajsbkb7nh0-wf-shell-0.7.0/share/wayfire/wallpaper.jpg +preserve_aspect = false +randomize = false + +[blur] +blur_by_default = type is "toplevel" +bokeh_degrade = 1 +bokeh_iterations = 15 +bokeh_offset = 5.000000 +box_degrade = 1 +box_iterations = 2 +box_offset = 1.000000 +gaussian_degrade = 1 +gaussian_iterations = 2 +gaussian_offset = 1.000000 +kawase_degrade = 8 +kawase_iterations = 2 +kawase_offset = 2.000000 +method = kawase +saturation = 1.000000 +toggle = none + +[command] +binding_0 = KEY_ENTER +binding_1 = KEY_P +binding_2 = KEY_F2 +binding_3 = KEY_X +command_0 = alacritty +command_1 = xfce4-appfinder +command_2 = xfrun4 +command_3 = swaylock -c 000000 + +[core] +background_color = \#1A1A1AFF +close_top_view = KEY_Q | KEY_F4 +focus_button_with_modifiers = false +focus_buttons = BTN_LEFT | BTN_MIDDLE | BTN_RIGHT +focus_buttons_passthrough = true +max_render_time = -1 +plugins = alpha animate autostart command decoration expo fast-switcher fisheye grid move oswitch place resize vswitch window-rules wrot switcher wayfire-shell ipc gtk-shell foreign-toplevel xdg-activation +preferred_decoration_mode = client +transaction_timeout = 100 +vheight = 3 +vwidth = 3 +xwayland = true + +[cube] +activate = BTN_LEFT +background = \#1A1A1AFF +background_mode = simple +cubemap_image = +deform = 0 +initial_animation = 350 +light = true +rotate_left = none +rotate_right = none +skydome_mirror = true +skydome_texture = +speed_spin_horiz = 0.020000 +speed_spin_vert = 0.020000 +speed_zoom = 0.070000 +zoom = 0.100000 + +[decoration] +active_color = \#222222AA +border_size = 4 +button_order = minimize maximize close +font = sans-serif +ignore_views = none +inactive_color = \#333333DD +title_height = 30 + +[dock] +autohide_duration = 300 +css_path = +position = bottom + +[expo] +background = \#1A1A1AFF +duration = 300 +inactive_brightness = 0.700000 +keyboard_interaction = true +offset = 10 +toggle = +transition_length = 200 + +[extra-gestures] +close_fingers = 20 +move_delay = 500 +move_fingers = 3 + +[fast-switcher] +activate = KEY_ESC +activate_backward = KEY_ESC +inactive_alpha = 0.700000 + +[fisheye] +radius = 450.000000 +toggle = KEY_F +zoom = 7.000000 + +[foreign-toplevel] + +[grid] +duration = 300 +restore = KEY_DOWN | KEY_KP0 +slot_b = KEY_KP2 +slot_bl = KEY_KP1 +slot_br = KEY_KP3 +slot_c = KEY_UP | KEY_KP5 +slot_l = KEY_LEFT | KEY_KP4 +slot_r = KEY_RIGHT | KEY_KP6 +slot_t = KEY_KP8 +slot_tl = KEY_KP7 +slot_tr = KEY_KP9 +type = crossfade + +[gtk-shell] + +[idle] +cube_max_zoom = 1.500000 +cube_rotate_speed = 1.000000 +cube_zoom_speed = 1000 +disable_initially = false +disable_on_fullscreen = true +dpms_timeout = -1 +screensaver_timeout = 3600 +toggle = none + +[input] +click_method = default +cursor_size = 24 +cursor_theme = default +disable_touchpad_while_mouse = false +disable_touchpad_while_typing = false +drag_lock = false +gesture_sensitivity = 1.000000 +kb_capslock_default_state = false +kb_numlock_default_state = false +kb_repeat_delay = 400 +kb_repeat_rate = 40 +left_handed_mode = false +middle_emulation = false +modifier_binding_timeout = 400 +mouse_accel_profile = default +mouse_cursor_speed = 0.000000 +mouse_scroll_speed = 1.000000 +natural_scroll = false +scroll_method = default +tablet_motion_mode = default +tap_to_click = true +touchpad_accel_profile = default +touchpad_cursor_speed = 0.000000 +touchpad_scroll_speed = 1.000000 +xkb_layout = fr-custom-lx +xkb_model = +xkb_options = +xkb_rules = evdev +xkb_variant = + +[input-device] +output = + +[invert] +preserve_hue = false +toggle = KEY_I + +[ipc] + +[ipc-rules] + +[move] +activate = BTN_LEFT +enable_snap = true +enable_snap_off = true +join_views = false +preview_base_border = \#404080CC +preview_base_color = \#8080FF80 +preview_border_width = 3 +quarter_snap_threshold = 50 +snap_off_threshold = 10 +snap_threshold = 10 +workspace_switch_after = -1 + +[oswitch] +next_output = KEY_O +next_output_with_win = KEY_O + +[output] +mode = auto +position = auto +scale = 1.000000 +transform = normal + +[panel] +autohide = false +autohide_duration = 300 +background_color = gtk_headerbar +battery_font = default +battery_icon_invert = true +battery_icon_size = 24 +battery_status = 1 +clock_font = default +clock_format = %e %A %H:%M +css_path = +launchers_size = 42 +launchers_spacing = 4 +layer = top +menu_fuzzy_search = true +menu_icon = +menu_logout_command = wayland-logout +minimal_height = 24 +network_icon_invert_color = false +network_icon_size = 32 +network_status = 1 +network_status_font = default +network_status_use_color = false +position = top +volume_display_timeout = 2.500000 +widgets_center = clock +widgets_left = spacing4 menu spacing18 launchers +widgets_right = network battery + +[place] +mode = cascade + +[preserve-output] +last_output_focus_timeout = 10000 + +[resize] +activate = BTN_RIGHT +activate_preserve_aspect = none + +[scale] +allow_zoom = false +bg_color = \#1A1A1AE6 +duration = 750 +inactive_alpha = 0.750000 +include_minimized = false +interact = false +middle_click_close = false +minimized_alpha = 0.450000 +spacing = 50 +text_color = \#CCCCCCFF +title_font_size = 16 +title_overlay = all +title_position = center +toggle = KEY_P +toggle_all = + +[scale-title-filter] +bg_color = \#00000080 +case_sensitive = false +font_size = 30 +overlay = true +share_filter = false +text_color = \#CCCCCCCC + +[simple-tile] +animation_duration = 0 +button_move = BTN_LEFT +button_resize = BTN_RIGHT +inner_gap_size = 5 +keep_fullscreen_on_adjacent = true +key_focus_above = KEY_K +key_focus_below = KEY_J +key_focus_left = KEY_H +key_focus_right = KEY_L +key_toggle = KEY_T +outer_horiz_gap_size = 0 +outer_vert_gap_size = 0 +preview_base_border = \#404080CC +preview_base_color = \#8080FF80 +preview_border_width = 3 +tile_by_default = all + +[switcher] +next_view = KEY_TAB +prev_view = KEY_TAB +speed = 500 +view_thumbnail_rotation = 30 +view_thumbnail_scale = 1.000000 + +[vswipe] +background = \#1A1A1AFF +delta_threshold = 24.000000 +duration = 180 +enable_free_movement = false +enable_horizontal = true +enable_smooth_transition = false +enable_vertical = true +fingers = 4 +gap = 32.000000 +speed_cap = 0.050000 +speed_factor = 256.000000 +threshold = 0.350000 + +[vswitch] +background = \#1A1A1AFF +binding_down = KEY_DOWN +binding_last = +binding_left = KEY_LEFT +binding_right = KEY_RIGHT +binding_up = KEY_UP +binding_win_down = KEY_DOWN +binding_win_left = KEY_LEFT +binding_win_right = KEY_RIGHT +binding_win_up = KEY_UP +duration = 300 +gap = 20 +send_win_down = +send_win_last = +send_win_left = +send_win_right = +send_win_up = +with_win_down = +with_win_last = +with_win_left = KEY_LEFT +with_win_right = KEY_RIGHT +with_win_up = KEY_UP +wraparound = false + +[wayfire-shell] + +[window-rules] + +[wm-actions] +minimize = none +send_to_back = none +toggle_always_on_top = none +toggle_fullscreen = none +toggle_maximize = none +toggle_showdesktop = none +toggle_sticky = none + +[wobbly] +friction = 3.000000 +grid_resolution = 6 +spring_k = 8.000000 + +[workarounds] +all_dialogs_modal = true +app_id_mode = stock +dynamic_repaint_delay = false +enable_so_unloading = false +force_preferred_decoration_mode = false +remove_output_limits = false +use_external_output_configuration = false + +[wrot] +activate = BTN_RIGHT +activate-3d = BTN_RIGHT +invert = false +reset = KEY_R +reset-one = KEY_R +reset_radius = 25.000000 +sensitivity = 24 + +[wsets] +label_duration = 2000 + +[xdg-activation] + +[zoom] +interpolation_method = 0 +modifier = +smoothing_duration = 300 +speed = 0.010000 + diff --git a/wayfire/wf-shell.ini b/wayfire/wf-shell.ini new file mode 100644 index 0000000..7de2d2a --- /dev/null +++ b/wayfire/wf-shell.ini @@ -0,0 +1,64 @@ +[background] +cycle_timeout = 150 +image = /nix/store/ga5cq3jbzxa1s683yck36l12h7z43n18-wf-shell-0.8.0/share/wayfire/wallpaper.jpg +preserve_aspect = false +randomize = false + +[dock] +autohide = true +autohide_duration = 300 +css_path = +dock_height = 100 +edge_offset = 20 +icon_height = 72 +position = bottom + +[panel] +autohide = false +autohide_duration = 300 +background_color = gtk_headerbar +battery_font = default +battery_icon_invert = true +battery_icon_size = 32 +battery_status = percentage +clock_font = default +clock_format = %e %A %H:%M +commands_output_max_chars = 10 +css_path = +edge_offset = 20 +hibernate_command = systemctl hibernate +launchers_animation_duration = 200 +launchers_size = 42 +launchers_spacing = 4 +layer = top +logout_command = wayland-logout +menu_fuzzy_search = true +menu_icon = +menu_logout_command = +menu_min_content_height = 500 +menu_min_content_width = 500 +minimal_height = 24 +network_icon_invert_color = false +network_icon_size = 32 +network_onclick_command = default +network_status = connection +network_status_font = default +network_status_use_color = false +notifications_autohide_timeout = 2.500000 +notifications_critical_in_dnd = true +notifications_icon_size = 32 +position = bottom +reboot_command = systemctl reboot +shutdown_command = systemctl poweroff +suspend_command = systemctl suspend +switchuser_command = dm-tool switch-to-greeter +tray_icon_size = 32 +tray_menu_on_middle_click = false +tray_smooth_scrolling_threshold = 5 +volume_display_timeout = 2.500000 +volume_icon_size = 32 +volume_scroll_sensitivity = 0.050000 +widgets_center = none +widgets_left = menu spacing4 launchers window-list +widgets_right = volume network battery clock + -- cgit v1.2.3