New backup 2025-03-14 20:00:06
This commit is contained in:
parent
41f76e2c40
commit
961f66403a
4 changed files with 72 additions and 94 deletions
|
@ -1,22 +1,26 @@
|
||||||
|
input {
|
||||||
#macbook touchpad
|
#macbook touchpad
|
||||||
input 1452:641:Apple_Internal_Keyboard_/_Trackpad {
|
1452:641:Apple_Internal_Keyboard_/_Trackpad {
|
||||||
scroll_factor 1
|
scroll_factor 1
|
||||||
dwt disabled
|
dwt disabled
|
||||||
}
|
}
|
||||||
|
|
||||||
#p135g touchpad
|
#p135g touchpad
|
||||||
input 1160:4122:DELL0A36:00_0488:101A_Touchpad {
|
1160:4122:DELL0A36:00_0488:101A_Touchpad {
|
||||||
natural_scroll enabled
|
natural_scroll enabled
|
||||||
click_method clickfinger
|
click_method clickfinger
|
||||||
dwt disabled
|
dwt disabled
|
||||||
}
|
}
|
||||||
|
|
||||||
#t16g2 touchpad
|
#t16g2 touchpad
|
||||||
input 1267:12811:ELAN0683:00_04F3:320B_Touchpad {
|
1267:12811:ELAN0683:00_04F3:320B_Touchpad {
|
||||||
natural_scroll enabled
|
natural_scroll enabled
|
||||||
click_method clickfinger
|
click_method clickfinger
|
||||||
dwt disabled
|
dwt disabled
|
||||||
|
}
|
||||||
|
#numlock
|
||||||
|
* xkb_numlock enabled
|
||||||
}
|
}
|
||||||
|
|
||||||
seat * hide_cursor 5000
|
seat * hide_cursor 5000
|
||||||
focus_follows_mouse yes
|
focus_follows_mouse yes
|
||||||
|
|
||||||
|
include $HOME/.config/sway/config.d/keys.d/*
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
include $HOME/.config/sway/config.d/keys.d/*
|
|
|
@ -1,49 +1,33 @@
|
||||||
|
#enable wob
|
||||||
|
set $WOBSOCK $XDG_RUNTIME_DIR/wob.sock
|
||||||
|
exec_always 'killall wob; rm -f $WOBSOCK && mkfifo $WOBSOCK && tail -f $WOBSOCK | wob'
|
||||||
|
|
||||||
# Enable wob
|
bindsym {
|
||||||
set $WOBSOCK $XDG_RUNTIME_DIR/wob.sock
|
# Volume Keys
|
||||||
exec_always 'killall wob; rm -f $WOBSOCK && mkfifo $WOBSOCK && tail -f $WOBSOCK | wob'
|
#vol up
|
||||||
|
XF86AudioRaiseVolume exec "$HOME/.config/sway/scripts/volume.sh up"
|
||||||
|
#vol down
|
||||||
|
XF86AudioLowerVolume exec "$HOME/.config/sway/scripts/volume.sh down"
|
||||||
|
#vol mute
|
||||||
|
XF86AudioMute exec "$HOME/.config/sway/scripts/volume.sh mute"
|
||||||
|
|
||||||
#
|
|
||||||
# Volume
|
|
||||||
#
|
|
||||||
|
|
||||||
# Vol Up
|
|
||||||
bindsym XF86AudioRaiseVolume exec "$HOME/.config/sway/scripts/volume.sh up"
|
|
||||||
# Vol Down
|
|
||||||
bindsym XF86AudioLowerVolume exec "$HOME/.config/sway/scripts/volume.sh down"
|
|
||||||
# Vol Mute
|
|
||||||
bindsym XF86AudioMute exec "$HOME/.config/sway/scripts/volume.sh mute"
|
|
||||||
|
|
||||||
#
|
|
||||||
# Media Keys
|
# Media Keys
|
||||||
#
|
#previous
|
||||||
|
XF86AudioPrev exec playerctl previous
|
||||||
|
#skip
|
||||||
|
XF86AudioNext exec playerctl next
|
||||||
|
#play/pause
|
||||||
|
XF86AudioPlay exec playerctl play-pause
|
||||||
|
|
||||||
# Previous
|
|
||||||
bindsym XF86AudioPrev exec playerctl previous
|
|
||||||
# Skip
|
|
||||||
bindsym XF86AudioNext exec playerctl next
|
|
||||||
# Play/Pause
|
|
||||||
bindsym XF86AudioPlay exec playerctl play-pause
|
|
||||||
|
|
||||||
|
|
||||||
#
|
|
||||||
# Brightness
|
# Brightness
|
||||||
#
|
#brightness up
|
||||||
|
|
||||||
# Brightness Up
|
|
||||||
bindsym XF86MonBrightnessUp exec "$HOME/.config/sway/scripts/brightness.sh up"
|
bindsym XF86MonBrightnessUp exec "$HOME/.config/sway/scripts/brightness.sh up"
|
||||||
# Brightness Down
|
#brightness down
|
||||||
bindsym XF86MonBrightnessDown exec "$HOME/.config/sway/scripts/brightness.sh down"
|
bindsym XF86MonBrightnessDown exec "$HOME/.config/sway/scripts/brightness.sh down"
|
||||||
|
|
||||||
#
|
|
||||||
# Keyboard Brightness
|
# Keyboard Brightness
|
||||||
#
|
#brightness up
|
||||||
|
|
||||||
# Brightness Up
|
|
||||||
bindsym $mod+XF86AudioRaiseVolume exec "$HOME/.config/sway/scripts/kb_brightness up"
|
bindsym $mod+XF86AudioRaiseVolume exec "$HOME/.config/sway/scripts/kb_brightness up"
|
||||||
# Brightness Down
|
#brightness down
|
||||||
bindsym $mod+XF86AudioLowerVolume exec "$HOME/.config/sway/scripts/kb_brightness down"
|
bindsym $mod+XF86AudioLowerVolume exec "$HOME/.config/sway/scripts/kb_brightness down"
|
||||||
|
}
|
||||||
|
|
||||||
# Numlock
|
|
||||||
input * xkb_numlock enabled
|
|
||||||
|
|
|
@ -1,43 +1,34 @@
|
||||||
#
|
|
||||||
# Window Management
|
# Window Management
|
||||||
#
|
|
||||||
|
|
||||||
# Kill Focused Window
|
bindsym {
|
||||||
bindsym $mod+Shift+q kill
|
#kill focused window
|
||||||
|
$mod+Shift+q kill
|
||||||
|
#move focus around
|
||||||
|
$mod+Left focus left
|
||||||
|
$mod+Down focus down
|
||||||
|
$mod+Up focus up
|
||||||
|
$mod+Right focus right
|
||||||
|
#move focused window
|
||||||
|
$mod+Shift+Left move left
|
||||||
|
$mod+Shift+Down move down
|
||||||
|
$mod+Shift+Up move up
|
||||||
|
$mod+Shift+Right move right
|
||||||
|
#fullscreen
|
||||||
|
$mod+f fullscreen
|
||||||
|
#change split orientation
|
||||||
|
$mod+comma splith
|
||||||
|
$mod+period splitv
|
||||||
|
$mod+slash layout toggle split
|
||||||
|
#change layout style
|
||||||
|
$mod+semicolon layout stacking
|
||||||
|
$mod+apostrophe layout tabbed
|
||||||
|
#focus parent
|
||||||
|
$mod+a focus parent
|
||||||
|
#toggle floating
|
||||||
|
$mod+Shift+space floating toggle
|
||||||
|
#swap between tiles and floats
|
||||||
|
$mod+space focus mode_toggle
|
||||||
|
}
|
||||||
|
|
||||||
# Move Floating Window
|
#move floating window
|
||||||
floating_modifier $mod normal
|
floating_modifier $mod normal
|
||||||
|
|
||||||
# Move Focus Around
|
|
||||||
bindsym $mod+Left focus left
|
|
||||||
bindsym $mod+Down focus down
|
|
||||||
bindsym $mod+Up focus up
|
|
||||||
bindsym $mod+Right focus right
|
|
||||||
|
|
||||||
# Move Focused Window
|
|
||||||
bindsym $mod+Shift+Left move left
|
|
||||||
bindsym $mod+Shift+Down move down
|
|
||||||
bindsym $mod+Shift+Up move up
|
|
||||||
bindsym $mod+Shift+Right move right
|
|
||||||
|
|
||||||
# Fullscreen
|
|
||||||
bindsym $mod+f fullscreen
|
|
||||||
|
|
||||||
# Change Split Orientation
|
|
||||||
# < splits windows horizontally, > splits vertically
|
|
||||||
bindsym $mod+comma splith
|
|
||||||
bindsym $mod+period splitv
|
|
||||||
bindsym $mod+slash layout toggle split
|
|
||||||
|
|
||||||
# Change Layout Style
|
|
||||||
bindsym $mod+semicolon layout stacking
|
|
||||||
bindsym $mod+apostrophe layout tabbed
|
|
||||||
|
|
||||||
# Focus Parent
|
|
||||||
bindsym $mod+a focus parent
|
|
||||||
|
|
||||||
# Toggle Floating
|
|
||||||
bindsym $mod+Shift+space floating toggle
|
|
||||||
|
|
||||||
# Swap Between Tiles and Floats
|
|
||||||
bindsym $mod+space focus mode_toggle
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue