Cleaned up main configs
- removed device-specific lines + restored keymap default options
This commit is contained in:
parent
3d47c24539
commit
8419ae8cd1
8
config
8
config
@ -4,7 +4,6 @@
|
|||||||
#
|
#
|
||||||
# Read `man 5 sway` for a complete reference.
|
# Read `man 5 sway` for a complete reference.
|
||||||
|
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
#
|
#
|
||||||
# Logo key. Use Mod1 for Alt.
|
# Logo key. Use Mod1 for Alt.
|
||||||
@ -32,13 +31,6 @@ output * bg $bg_picture fill
|
|||||||
|
|
||||||
set $screenlock swaylock -f -i $bg_picture -c 000000
|
set $screenlock swaylock -f -i $bg_picture -c 000000
|
||||||
|
|
||||||
output eDP-1 pos 0 0
|
|
||||||
output HDMI-A-1 pos 1920 0
|
|
||||||
|
|
||||||
input 2:14:ETPS/2_Elantech_Touchpad {
|
|
||||||
tap enabled
|
|
||||||
}
|
|
||||||
|
|
||||||
### Idle configuration
|
### Idle configuration
|
||||||
exec_always swayidle -w \
|
exec_always swayidle -w \
|
||||||
timeout 70 '$screenlock' \
|
timeout 70 '$screenlock' \
|
||||||
|
|||||||
@ -23,14 +23,6 @@
|
|||||||
# Exit sway (logs you out of your Wayland session)
|
# Exit sway (logs you out of your Wayland session)
|
||||||
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
|
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
|
||||||
|
|
||||||
### Function keys
|
|
||||||
#
|
|
||||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
|
||||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
|
||||||
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
|
||||||
bindsym XF86MonBrightnessDown exec brightnessctl set 5%- #TODO fix that
|
|
||||||
bindsym XF86MonBrightnessUp exec brightnessctl set +5% #TODO fix that
|
|
||||||
|
|
||||||
### Moving around:
|
### Moving around:
|
||||||
#
|
#
|
||||||
# Move your focus around
|
# Move your focus around
|
||||||
@ -72,17 +64,6 @@
|
|||||||
bindsym $mod+ccedilla exec /home/main/.config/sway/scripts/wrk_select.bash "9"
|
bindsym $mod+ccedilla exec /home/main/.config/sway/scripts/wrk_select.bash "9"
|
||||||
bindsym $mod+agrave exec /home/main/.config/sway/scripts/wrk_select.bash "0"
|
bindsym $mod+agrave exec /home/main/.config/sway/scripts/wrk_select.bash "0"
|
||||||
|
|
||||||
# bindsym $mod+KP_0 workspace number 0
|
|
||||||
# bindsym $mod+KP_1 workspace number 1
|
|
||||||
# bindsym $mod+KP_2 workspace number 2
|
|
||||||
# bindsym $mod+KP_3 workspace number 3
|
|
||||||
# bindsym $mod+KP_4 workspace number 4
|
|
||||||
# bindsym $mod+KP_5 workspace number 5
|
|
||||||
# bindsym $mod+KP_6 workspace number 6
|
|
||||||
# bindsym $mod+KP_7 workspace number 7
|
|
||||||
# bindsym $mod+KP_8 workspace number 8
|
|
||||||
# bindsym $mod+KP_9 workspace number 9
|
|
||||||
|
|
||||||
# Move focused container to workspace
|
# Move focused container to workspace
|
||||||
bindsym $mod+Ctrl+Next workspace next
|
bindsym $mod+Ctrl+Next workspace next
|
||||||
bindsym $mod+Ctrl+Prior workspace prev
|
bindsym $mod+Ctrl+Prior workspace prev
|
||||||
@ -99,21 +80,6 @@
|
|||||||
bindsym $mod+9 exec /home/main/.config/sway/scripts/wrk_move.bash "9"
|
bindsym $mod+9 exec /home/main/.config/sway/scripts/wrk_move.bash "9"
|
||||||
bindsym $mod+0 exec /home/main/.config/sway/scripts/wrk_move.bash "0"
|
bindsym $mod+0 exec /home/main/.config/sway/scripts/wrk_move.bash "0"
|
||||||
|
|
||||||
# bindsym $mod+Ctrl+KP_0 move container to workspace number 0
|
|
||||||
# bindsym $mod+Ctrl+KP_1 move container to workspace number 1
|
|
||||||
# bindsym $mod+Ctrl+KP_2 move container to workspace number 2
|
|
||||||
# bindsym $mod+Ctrl+KP_3 move container to workspace number 3
|
|
||||||
# bindsym $mod+Ctrl+KP_4 move container to workspace number 4
|
|
||||||
# bindsym $mod+Ctrl+KP_5 move container to workspace number 5
|
|
||||||
# bindsym $mod+Ctrl+KP_6 move container to workspace number 6
|
|
||||||
# bindsym $mod+Ctrl+KP_7 move container to workspace number 7
|
|
||||||
# bindsym $mod+Ctrl+KP_8 move container to workspace number 8
|
|
||||||
# bindsym $mod+Ctrl+KP_9 move container to workspace number 9
|
|
||||||
|
|
||||||
|
|
||||||
# Note: workspaces can have any name you want, not just numbers.
|
|
||||||
# We just use 1-10 as the default.
|
|
||||||
|
|
||||||
### Layout stuff:
|
### Layout stuff:
|
||||||
#
|
#
|
||||||
# You can "split" the current object of your focus with
|
# You can "split" the current object of your focus with
|
||||||
@ -175,18 +141,3 @@ mode "resize" {
|
|||||||
}
|
}
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
### Sreenshots
|
|
||||||
#
|
|
||||||
# Take a screenshot with all output and save it into screenshots
|
|
||||||
bindsym Print exec '$screenshot'
|
|
||||||
|
|
||||||
# Take a screenshot of the select window
|
|
||||||
bindsym Print+Ctrl exec '$screenshot_window'
|
|
||||||
|
|
||||||
# Take a Screenshot with the region select
|
|
||||||
bindsym Print+Alt exec '$screenshot_select'
|
|
||||||
|
|
||||||
### Tablet
|
|
||||||
#
|
|
||||||
input 1386:827:Wacom_Intuos_S_2_Pen map_to_output eDP-1
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user