Added floating and fixed terminals
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Assign workspaces
|
# Assign workspaces
|
||||||
assign [app_id="xfce4-terminal"] 1
|
assign [app_id="termite"] 1
|
||||||
for_window [app_id="xfce4-terminal"] focus
|
for_window [app_id="termite"] focus
|
||||||
|
|
||||||
assign [app_id="firefox"] 2
|
assign [app_id="firefox"] 2
|
||||||
for_window [app_id="firefox"] focus
|
for_window [app_id="firefox"] focus
|
||||||
|
|||||||
@@ -7,8 +7,9 @@ set $down j
|
|||||||
set $up k
|
set $up k
|
||||||
set $right l
|
set $right l
|
||||||
|
|
||||||
# Your preferred terminal emulator : Alt terminal is termite change below + line 1 in application_defaults
|
# Your preferred terminal emulators
|
||||||
set $term xfce4-terminal
|
set $term-float xfce4-terminal
|
||||||
|
set $term-fixed termite
|
||||||
|
|
||||||
# Your preferred application launcher
|
# Your preferred application launcher
|
||||||
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
||||||
@@ -34,9 +35,12 @@ exec swayidle -w\
|
|||||||
#
|
#
|
||||||
# Basics:
|
# Basics:
|
||||||
#
|
#
|
||||||
# Start a terminal
|
# Start a floating terminal
|
||||||
bindsym $mod+Return exec $term
|
bindsym $mod+Return exec $term-float
|
||||||
|
|
||||||
|
# Start a fixed terminal
|
||||||
|
bindsym $mod+Shift+Return exec $term-fixed
|
||||||
|
|
||||||
# Open the power menu
|
# Open the power menu
|
||||||
bindsym $mod+Shift+e exec $powermenu
|
bindsym $mod+Shift+e exec $powermenu
|
||||||
|
|
||||||
|
|||||||
@@ -1,33 +1,27 @@
|
|||||||
### Input configuration
|
### Input configuration
|
||||||
#
|
#
|
||||||
# Example 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
|
# dwt enabled
|
||||||
# tap enabled
|
# tap enabled
|
||||||
# natural_scroll enabled
|
# natural_scroll enabled
|
||||||
# middle_emulation 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.
|
# 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
|
# All langauges and varinats in keyboard.conf
|
||||||
#
|
#
|
||||||
# input * xkb_layout "gb"
|
# input * xkb_layout "gb"
|
||||||
# input * xkb_layout "de"
|
# input * xkb_layout "de"
|
||||||
# input * xkb_layout "nl"
|
# input * xkb_layout "nl"
|
||||||
|
|
||||||
input * xkb_layout "us"
|
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