linux
Sway
→ Display manager
Based on Wayland, it only works on:
→ Terminal
→ foot
- url mode: ctrl-shift-o: will tag each one with a alphabet letter, then<letter>will open the link
→ Menu
- ~~rofi, change the theme rofi-theme-selector~~
- wofi + python script for windows
- swayr: An urgent-first/most-recently-used window switcher for sway & swayrbar, a status_command for swaybar
- fuzzel
should likely move to swayr + fuzzel
→ automate keys / mouse
- wtype
→ Bar
- waybar
- modules documentation
- needed: sudo apt-get install -y fonts-font-awesome
→ Notifications
- mako
→ Copy/paste
- copyQ
→ copy/paste
- wl-copy
→ Image display
- swayimg
→ Screens
- wlr-randrinstead of- xrandr
→ Keyboards and mouse
Get the device list:
swaymsg -t get_inputs
Then configure each one:
input "6127:24704:Lite-On_Tech_Lenovo_USB_Travel_Keyboard_with_Ultra_Nav" {
    xkb_layout "us"
    xkb_variant altgr-intl
    xkb_options caps:escape,ctrl:swap_lalt_lctl,lv3:ralt_alt,lv3:switch
}
input "6127:24704:Lite-On_Tech_Lenovo_USB_Travel_Keyboard_with_Ultra_Nav_Mouse" {
        dwt enabled
        natural_scroll disabled
        middle_emulation enabled
        scroll_button 274
        scroll_method on_button_down
}
→ Disable touchpad
# Toggle touchpad on/off with Caps Lock key
bindsym Caps_Lock exec swaymsg "input 'type:touchpad' events toggle"
This will disable the standard Caps Lock function so it only works as a modifier:
input * {
    xkb_options caps:none
}
→ Scripting with python
→ Tools list
→ get tree
swaymsg -t get_tree
→ switch next/previous window
 This page was last modified: 


