openSUSEway icon indicating copy to clipboard operation
openSUSEway copied to clipboard

improve default bindings and tools for openSUSEway

Open denisok opened this issue 2 years ago • 2 comments

Hi!

I know that configuring your system is kind of very user specific, still I´d like to share some adjustments I made, that may be useful for others:

*Autotiling I know this is not something all i3/sway users will like, as it is not the default way how sway works, nonetheless I find this tool to be very cool.

*Udiskie This little tool allows to manage storage devices like usb-disk/cellphones....it populates your waybar with a little tray icon -> useful

*Grim + Slurp These tools I use to create screenshot tool. This is how I´ve set it up

# Screen capture 
set $ps1 Print
set $ps2 Control+Print
set $ps3 Alt+Print
set $ps4 Alt+Control+Print 
bindsym $ps1 exec grim
bindsym $ps2 exec grim -g "$(slurp)" 
bindsym $ps3 exec grim $(xdg-user-dir PICTURES)/screenshot_$(date +"%Y%m%d%H%M%S").png
bindsym $ps4 execgrim -g "$(slurp)" $(xdg-user-dir PICTURES)/ps_$(date +"%Y%m%d%H%M%S").png

*Resize The way that sway resizes windows is somehow "clumsy", first you need to enable the "resize" mode and then only you may resize. Ok, this is ok, but there is a way to do it directly:

bindsym    $mod+Control+$left   resize shrink width 40px 
bindsym    $mod+Control+$down   resize shrink height 40px
bindsym    $mod+Control+$up     resize grow height 40px
bindsym    $mod+Control+$right  resize grow width 40px 
bindsym    $mod+Control+Left   resize shrink width 40px 
bindsym    $mod+Control+Down   resize shrink height 40px  
bindsym    $mod+Control+Up     resize grow height 40px 
bindsym    $mod+Control+Right  resize grow width 40px

*Tab Use mod+Tab to toggle through your workspaces

#Toggle Tab 
bindsym $mod+tab workspace next_on_output  
bindsym $mod+Shift+tab workspace prev_on_output 
  • Touchpad This could be useful for laptop users
#Touchpad
 input tgype:touchpad { 
    tap enabled
    natural_scroll enabled
 }

As I wrote, all of this are of course very personal choices, still I hope that some of you may find this or that useful. Let me know what you think of them, maybe some of these tool may be added to the openSuseway.

Cheers!

Originally posted by @taschenlampe in https://github.com/openSUSE/openSUSEway/discussions/67

denisok avatar Jul 10 '22 09:07 denisok