Make the rice shareable: appearance-only default, --with-shell, --layouts, --restore, 07-input and 99-personal split
- default install: SwayFX + DMS + kitty + fonts/theme + hotkeys/screenshots only - zsh/tmux/CLI tools behind --with-shell; personal apps/autostart/mouse speed removed from the repo - keyboard layouts prompt/--layouts, user-editable files (07-input.conf, dms/settings.json) never overwritten - --restore (oldest backup), unique backup dirs, README rewritten for strangers, private URL removed Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
# Mouse sensitivity: -1 (slowest) .. 1 (fastest), 0 is default. Touchpad is set in 10-appearance.conf
|
||||
input type:pointer {
|
||||
pointer_accel -0.5
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
# Input devices: edit freely. install.sh --layouts "us,de" rewrites the keyboard line.
|
||||
# Keep a Latin layout FIRST: the hotkeys are bound with --to-code and work on the other layouts too.
|
||||
input "type:keyboard" {
|
||||
xkb_layout "us,ru"
|
||||
xkb_options "grp:alt_shift_toggle,grp_led:scroll"
|
||||
}
|
||||
|
||||
input type:touchpad {
|
||||
tap enabled
|
||||
tap_button_map lrm
|
||||
natural_scroll enabled
|
||||
dwt enabled
|
||||
middle_emulation enabled
|
||||
}
|
||||
|
||||
# Mouse / touchpad speed (-1 slowest .. 1 fastest) goes into your own config.d/99-personal.conf
|
||||
@@ -32,14 +32,6 @@ exec_always sh -c 'pkill -x nm-applet; exec nm-applet --indicator'
|
||||
bindsym --to-code $mod+Shift+x exec ~/.config/sway/lock.sh
|
||||
|
||||
# Touchpad
|
||||
input type:touchpad {
|
||||
tap enabled
|
||||
tap_button_map lrm
|
||||
natural_scroll enabled
|
||||
dwt enabled
|
||||
middle_emulation enabled
|
||||
pointer_accel 0.3
|
||||
}
|
||||
|
||||
# Window rules
|
||||
for_window [app_id="pavucontrol|nm-connection-editor|blueman-manager"] floating enable, resize set 700 500, border pixel 2
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
# Autostart (xdg-autostart does not run under sway). Delayed so the DMS tray is ready;
|
||||
# guarded against duplicates and against apps that are not installed on this machine.
|
||||
exec sh -c 'sleep 5; flatpak info com.nextcloud.desktopclient.nextcloud >/dev/null 2>&1 && ! pgrep -f "[n]extcloud.*--background" >/dev/null && flatpak run com.nextcloud.desktopclient.nextcloud --background'
|
||||
exec sh -c 'sleep 5; flatpak info org.remmina.Remmina >/dev/null 2>&1 && ! pgrep -f "[R]emmina.* -i" >/dev/null && flatpak run org.remmina.Remmina -i'
|
||||
exec sh -c 'sleep 8; command -v geary >/dev/null && ! pgrep -x geary >/dev/null && geary --gapplication-service'
|
||||
Reference in New Issue
Block a user