#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
→ 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-randr
instead ofxrandr
→ 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
}
→ Scripting with python
→ Tools list
→ get tree
swaymsg -t get_tree
→ switch next/previous window
This page was last modified: