diff --git a/config-files-laptop/wayfire/wayfire.ini b/config-files-laptop/wayfire/wayfire.ini new file mode 100755 index 0000000..6a40644 --- /dev/null +++ b/config-files-laptop/wayfire/wayfire.ini @@ -0,0 +1,358 @@ +[alpha] +min_value = 0.100000 +modifier = + +[animate] +close_animation = fade +duration = 400 +enabled_for = all +fade_duration = 400 +fade_enabled_for = none +fire_duration = 300 +fire_enabled_for = none +fire_particle_size = 16.000000 +fire_particles = 2000 +open_animation = fade +startup_duration = 600 +zoom_duration = 500 +zoom_enabled_for = none + +[autostart] +audio = pipewire +audio_notify = sleep 1; pa-notify -t 2 +audio_player = sleep 1; playerctld daemon +automount = udiskie -As +autostart_wf_shell = false +background = wf-background +bar = waybar +element = element-desktop --hidden --enable-features=UseOzonePlatform --ozone-platform=wayland +gamma = wlsunset -l 52.0 -L 5.9 -t 3000 +idle = swayidle -w timeout 230 gtklock before-sleep gtklock +network = sleep 1; nm-applet --indicator +notifications = mako +outputs = kanshi + +[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 = gaussian +saturation = 1.000000 +toggle = none + +[command] +binding_filer = KEY_F +binding_firefox = KEY_B +binding_gamma = KEY_G +binding_kanshi = KEY_K +binding_launcher = KEY_S +binding_matrix = KEY_E +binding_mute = KEY_MUTE +binding_next = KEY_NEXTSONG +binding_playpause = KEY_PLAYPAUSE +binding_previous = KEY_PREVIOUSSONG +binding_screenshot = KEY_SYSRQ +binding_screenshot_interactive = KEY_SYSRQ +binding_terminal = KEY_T +binding_volumedown = KEY_VOLUMEDOWN +binding_volumeup = KEY_VOLUMEUP +binding_vscode = KEY_V +binding_waybar = KEY_W +binding_wlogout = KEY_P +command_filer = Thunar +command_firefox = firefox +command_gamma = wlsunset -l 52.0 -L 5.9 -t 3000 +command_kanshi = kanshi +command_launcher = wofi --show drun +command_matrix = element-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland +command_mute = pamixer -t +command_next = playerctl next +command_playpause = playerctl play-pause +command_previous = playerctl previous +command_screenshot = grim - | wl-copy -t image/png +command_screenshot_interactive = pkill -9 slurp; grim -g "$(slurp -d)" - | wl-copy -t image/png +command_terminal = foot +command_volumedown = pamixer -d 5 -u +command_volumeup = pamixer -i 5 -u +command_vscode = code-oss +command_waybar = pkill -9 waybar; waybar +command_wlogout = wlogout + +[core] +background_color = \#000000FF +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 cube expo fast-switcher grid idle move oswitch place resize switcher vswitch window-rules wobbly wrot zoom blur +preferred_decoration_mode = server +vheight = 3 +vwidth = 3 +xwayland = true + +[cube] +activate = BTN_LEFT +background = \#00000000 +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 = \#000000FF +border_size = 0 +button_order = +font = Roboto +ignore_views = none +inactive_color = \#000000FF +title_height = 0 + +[expo] +background = \#00000000 +duration = 300 +offset = 10 +select_workspace_1 = KEY_1 +select_workspace_2 = KEY_2 +select_workspace_3 = KEY_3 +select_workspace_4 = KEY_4 +select_workspace_5 = KEY_5 +select_workspace_6 = KEY_6 +select_workspace_7 = KEY_7 +select_workspace_8 = KEY_8 +select_workspace_9 = KEY_9 +toggle = + +[extra-gestures] +close_fingers = 20 +move_delay = 500 +move_fingers = 3 + +[fast-switcher] +activate = KEY_TAB +activate_backward = KEY_TAB +inactive_alpha = 0.700000 + +[fisheye] +radius = 450.000000 +toggle = KEY_F +zoom = 7.000000 + +[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 + +[idle] +cube_max_zoom = 1.500000 +cube_rotate_speed = 1.000000 +cube_zoom_speed = 1000 +disable_on_fullscreen = true +dpms_timeout = 240 +screensaver_timeout = 220 +toggle = none + +[input] +click_method = default +cursor_size = 24 +cursor_theme = default +disable_touchpad_while_mouse = false +disable_touchpad_while_typing = 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 +tap_to_click = true +touchpad_accel_profile = default +touchpad_cursor_speed = 0.000000 +touchpad_scroll_speed = 1.000000 +xkb_layout = eu +xkb_model = +xkb_options = +xkb_rules = evdev +xkb_variant = + +[input-device] +output = + +[invert] +preserve_hue = false +toggle = KEY_I + +[move] +activate = BTN_LEFT +enable_snap = false +enable_snap_off = true +join_views = false +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 + +[place] +mode = center + +[preserve-output] +last_output_focus_timeout = 1000000 + +[resize] +activate = BTN_RIGHT + +[scale] +allow_zoom = false +background = 0.0 0.0 0.0 0.0 +bg_color = \#1A1A1AE6 +duration = 750 +inactive_alpha = 0.750000 +interact = false +middle_click_close = false +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] +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 +tile_by_default = all + +[switcher] +next_view = KEY_TAB +prev_view = KEY_TAB +speed = 500 +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 = \#00000000 +binding_down = KEY_DOWN +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 +with_win_down = KEY_DOWN +with_win_left = KEY_LEFT +with_win_right = KEY_RIGHT +with_win_up = KEY_UP +wraparound = false + +[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 = 5.000000 +grid_resolution = 6 +spring_k = 8.000000 + +[workarounds] +all_dialogs_modal = true +app_id_mode = stock +dynamic_repaint_delay = false + +[wrot] +activate = BTN_RIGHT +activate-3d = BTN_RIGHT +invert = false +reset = KEY_R +reset-one = KEY_R +reset_radius = 25.000000 +sensitivity = 24 + +[zoom] +modifier = +smoothing_duration = 300 +speed = 0.010000 + diff --git a/config-files/wayfire/wayfire-greetd.ini b/config-files/wayfire/wayfire-greetd.ini index 2427c33..78aba67 100755 --- a/config-files/wayfire/wayfire-greetd.ini +++ b/config-files/wayfire/wayfire-greetd.ini @@ -4,7 +4,7 @@ focus_button_with_modifiers = false focus_buttons = BTN_LEFT | BTN_MIDDLE | BTN_RIGHT focus_buttons_passthrough = true max_render_time = -1 -plugins = animate autostart blur cube idle +plugins = animate autostart blur cube command idle preferred_decoration_mode = server vheight = 3 vwidth = 3 @@ -16,6 +16,10 @@ gtkgreet = gtkgreet -l -s /etc/greetd/config/gtkgreet.css; pkill -9 wayfire gamma = wlsunset -l 52.0 -L 5.9 -t 3000 outputs = kanshi -c /etc/greetd/config/kanshi/config +[command] +binding_wlogout = KEY_P +command_wlogout = wlogout -l /etc/greetd/config/wlogout/layout --css /etc/greetd/config/wlogout/style.css + [animate] close_animation = fade duration = 400 diff --git a/config-files/wayfire/wayfire.ini b/config-files/wayfire/wayfire.ini index 5c8de5c..c343fda 100755 --- a/config-files/wayfire/wayfire.ini +++ b/config-files/wayfire/wayfire.ini @@ -27,7 +27,7 @@ background = wf-background bar = waybar element = element-desktop --hidden --enable-features=UseOzonePlatform --ozone-platform=wayland gamma = wlsunset -l 52.0 -L 5.9 -t 3000 -idle = swayidle -w timeout 390 gtklock before-sleep gtklock +idle = swayidle -w timeout 590 gtklock before-sleep gtklock network = sleep 1; nm-applet --indicator notifications = mako outputs = kanshi @@ -119,12 +119,12 @@ speed_zoom = 0.070000 zoom = 0.100000 [decoration] -active_color = \#000000FF -border_size = 0 +active_color = \#000000CA +border_size = 2 button_order = font = Roboto ignore_views = none -inactive_color = \#000000FF +inactive_color = \#0000009C title_height = 0 [expo] @@ -150,7 +150,7 @@ move_fingers = 3 [fast-switcher] activate = KEY_TAB activate_backward = KEY_TAB -inactive_alpha = 0.700000 +inactive_alpha = 1.000000 [fisheye] radius = 450.000000 @@ -176,7 +176,7 @@ cube_max_zoom = 1.500000 cube_rotate_speed = 1.000000 cube_zoom_speed = 1000 disable_on_fullscreen = true -dpms_timeout = 400 +dpms_timeout = 600 screensaver_timeout = 300 toggle = none diff --git a/void-desktop-install.md b/void-desktop-install.md index 61d4b3d..40e9e1d 100644 --- a/void-desktop-install.md +++ b/void-desktop-install.md @@ -511,7 +511,7 @@ And refresh the repositories: # xbps-install -S ``` -### Firmware and drivers (maybe unfinished) +### Firmware and drivers #### GPU drivers @@ -745,29 +745,13 @@ wayfire-run bash ``` -Additionally `kanshi` may be added in the greeter session. To obtain the right display configuration in the greeter session. +Additionally `kanshi` and `wlogout` may be added in the greeter session. ``` # cp -r void-desktop/config-files/kanshi /etc/greetd/config +# cp -r void-desktop/config-files/wlogout /etc/greetd/config ``` -Greetd may then be enabled by linking it to `/var/service`. However, the best practice is to first test `greetd`. Since, with a non-functioning `greetd`, it may not be possible anymore to log into the system. - -The best practice is thus to create a down file in the `greetd` service. - -``` -# touch /etc/sv/greetd/down -``` - -And then linking and enabling `greetd`. - -``` -# ln -s /etc/sv/greetd /var/service -# sv up greetd -``` - -If `greetd` functions properly the down file may be removed. - ### Window manager There are many different window managers and desktop environments which can provide a decent experience. Wayfire is a functional, relatively lightweight and good looking wayland window manager and will be used for this install. @@ -880,7 +864,7 @@ Also make sure that Waybar and network-manager-applet are started by Wayfire. ``` [autostart] bar = waybar -network = sleep 1; nm-applet --indicator +network = sleep 5; nm-applet --indicator ``` ### Application launcher @@ -981,7 +965,7 @@ or ``` ### Notifications - + #### Mako For a very minimal notification deamon it's recommended to use Mako. It can be used to display notifications from the session-bus. @@ -1220,7 +1204,7 @@ or Some essential applications and packages. ``` -# xbps-install firefox-esr vscode foot Thunar element-desktop htop mpv blueman wdisplays wlr-randr noto-fonts-ttf noto-fonts-cjk +# xbps-install firefox-esr vscode foot Thunar element-desktop mpv blueman wdisplays wlr-randr noto-fonts-ttf noto-fonts-cjk ```