Added floating and fixed terminals

This commit is contained in:
OdiousImp2604
2021-02-10 13:08:56 +00:00
committed by GitHub
parent 5617965461
commit 44d051a649
3 changed files with 17 additions and 19 deletions

View File

@@ -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

View File

@@ -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,8 +35,11 @@ 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

View File

@@ -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
}