Added floating and fixed terminals
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Assign workspaces
|
||||
assign [app_id="xfce4-terminal"] 1
|
||||
for_window [app_id="xfce4-terminal"] focus
|
||||
assign [app_id="termite"] 1
|
||||
for_window [app_id="termite"] focus
|
||||
|
||||
assign [app_id="firefox"] 2
|
||||
for_window [app_id="firefox"] focus
|
||||
|
||||
@@ -7,8 +7,9 @@ set $down j
|
||||
set $up k
|
||||
set $right l
|
||||
|
||||
# Your preferred terminal emulator : Alt terminal is termite change below + line 1 in application_defaults
|
||||
set $term xfce4-terminal
|
||||
# Your preferred terminal emulators
|
||||
set $term-float xfce4-terminal
|
||||
set $term-fixed termite
|
||||
|
||||
# Your preferred application launcher
|
||||
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
||||
@@ -34,9 +35,12 @@ exec swayidle -w\
|
||||
#
|
||||
# Basics:
|
||||
#
|
||||
# Start a terminal
|
||||
bindsym $mod+Return exec $term
|
||||
|
||||
# Start a floating terminal
|
||||
bindsym $mod+Return exec $term-float
|
||||
|
||||
# Start a fixed terminal
|
||||
bindsym $mod+Shift+Return exec $term-fixed
|
||||
|
||||
# Open the power menu
|
||||
bindsym $mod+Shift+e exec $powermenu
|
||||
|
||||
|
||||
@@ -1,33 +1,27 @@
|
||||
### Input configuration
|
||||
#
|
||||
# Example configuration:
|
||||
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
||||
# Put your touchpad's ID to replace "Touchpad-ID" (keep the quotation marks)
|
||||
#
|
||||
# input "2:14:SynPS/2_Synaptics_TouchPad" {
|
||||
# input "Touchpad-ID" {
|
||||
# dwt enabled
|
||||
# tap enabled
|
||||
# natural_scroll enabled
|
||||
# middle_emulation enabled
|
||||
# }
|
||||
#
|
||||
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
||||
# Read `man 5 sway-input` for more information about this section.
|
||||
#
|
||||
# Keyboard - Uncomment to Pick - Defualt is ENGLISH (UK)
|
||||
# Keyboard - Uncomment to Pick - Defualt is ENGLISH (US)
|
||||
#
|
||||
# All langauges and varinats in keyboard.conf
|
||||
#
|
||||
# input * xkb_layout "gb"
|
||||
# input * xkb_layout "de"
|
||||
# input * xkb_layout "nl"
|
||||
|
||||
input * xkb_layout "us"
|
||||
|
||||
# You can get the names of your inputs by running: swaymsg -t get_input.
|
||||
# Put your touchpad's ID to replace "1267:12363:ELAN0650:01_04F3:304B_Touchpad" (keep the quotation marks)
|
||||
input "1267:12363:ELAN0650:01_04F3:304B_Touchpad" {
|
||||
dwt enabled
|
||||
tap enabled
|
||||
natural_scroll enabled
|
||||
middle_emulation enabled
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user