mirror of https://github.com/ericonr/dotfiles.git
Update sway configs.
* Change touchpad input configuration to "*", so it acts on all inputs. * Add shortcut for launching MPV with clipboard as the argument (useful for viewing youtube videos with hardware acceleration). * Add rule to push Zathura to the P workspace. * Add background image to swaylock. * Enable cache in wofi.
This commit is contained in:
parent
6055d259ea
commit
5a1ea835d3
|
@ -46,8 +46,7 @@ input * {
|
||||||
}
|
}
|
||||||
bindsym $mod+Space exec keyboard_layout_switcher
|
bindsym $mod+Space exec keyboard_layout_switcher
|
||||||
# Touchpad
|
# Touchpad
|
||||||
set $touchpad "1739:31251:SYNA2393:00_06CB:7A13_Touchpad"
|
input * {
|
||||||
input $touchpad {
|
|
||||||
tap enabled
|
tap enabled
|
||||||
natural_scroll disabled
|
natural_scroll disabled
|
||||||
}
|
}
|
||||||
|
@ -79,6 +78,8 @@ bindsym $mod+Return exec $term
|
||||||
bindsym $mod+t exec $term -e start-tmux
|
bindsym $mod+t exec $term -e start-tmux
|
||||||
# Start a terminal with music tmux
|
# Start a terminal with music tmux
|
||||||
bindsym $mod+Mod1+m exec $term -e start-tmux-music
|
bindsym $mod+Mod1+m exec $term -e start-tmux-music
|
||||||
|
# Start MPV with clipboard as arg
|
||||||
|
bindsym $mod+Mod1+p exec bash -c "mpv `wl-paste`"
|
||||||
# Launch editor
|
# Launch editor
|
||||||
bindsym $mod+Shift+w exec $editor
|
bindsym $mod+Shift+w exec $editor
|
||||||
# Start Dolphin file browser
|
# Start Dolphin file browser
|
||||||
|
@ -256,6 +257,7 @@ assign [app_id="Kicad"] $wsn
|
||||||
assign [title="CubeMX"] $wsn
|
assign [title="CubeMX"] $wsn
|
||||||
# PDF
|
# PDF
|
||||||
assign [app_id="okular"] $wsp
|
assign [app_id="okular"] $wsp
|
||||||
|
assign [app_id="zathura"] $wsp
|
||||||
|
|
||||||
## Application specific settings
|
## Application specific settings
|
||||||
for_window [app_id="krunner"] floating enable
|
for_window [app_id="krunner"] floating enable
|
||||||
|
|
|
@ -2,4 +2,5 @@
|
||||||
|
|
||||||
daemonize
|
daemonize
|
||||||
color=000000
|
color=000000
|
||||||
|
image=~/Pictures/wallpaper.png
|
||||||
|
|
||||||
|
|
|
@ -4,3 +4,5 @@ prompt=Hello!
|
||||||
normal_window=false
|
normal_window=false
|
||||||
allow_images=true
|
allow_images=true
|
||||||
|
|
||||||
|
cache=~/.cache/wofi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue