From 44d051a649373572de9708e341b22a33cdb16ff4 Mon Sep 17 00:00:00 2001 From: OdiousImp2604 <74424076+OdiousImp2604@users.noreply.github.com> Date: Wed, 10 Feb 2021 13:08:56 +0000 Subject: [PATCH] Added floating and fixed terminals --- .config/sway/config.d/application_defaults | 4 ++-- .config/sway/config.d/default | 14 +++++++++----- .config/sway/config.d/input | 18 ++++++------------ 3 files changed, 17 insertions(+), 19 deletions(-) diff --git a/.config/sway/config.d/application_defaults b/.config/sway/config.d/application_defaults index d6c9c47..3177dc4 100644 --- a/.config/sway/config.d/application_defaults +++ b/.config/sway/config.d/application_defaults @@ -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 diff --git a/.config/sway/config.d/default b/.config/sway/config.d/default index 6aeda5d..f6d95b2 100644 --- a/.config/sway/config.d/default +++ b/.config/sway/config.d/default @@ -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 diff --git a/.config/sway/config.d/input b/.config/sway/config.d/input index b626938..c9ccc5e 100644 --- a/.config/sway/config.d/input +++ b/.config/sway/config.d/input @@ -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 -} + +