aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-rw-r--r--sway/config1
-rw-r--r--sway/config.d/00-sway.conf5
-rw-r--r--sway/config.d/40-app-shortcuts.conf4
-rw-r--r--sway/config.d/40-sway-shortcuts.conf2
4 files changed, 7 insertions, 5 deletions
diff --git a/sway/config b/sway/config
index ebd3bab..dee9b43 100644
--- a/sway/config
+++ b/sway/config
@@ -1,6 +1,7 @@
# vi: ft=i3config
set $mod Mod1
+set $term alacritty
floating_modifier $mod
include config.d/*.conf
diff --git a/sway/config.d/00-sway.conf b/sway/config.d/00-sway.conf
index 645f4fe..395162a 100644
--- a/sway/config.d/00-sway.conf
+++ b/sway/config.d/00-sway.conf
@@ -12,6 +12,7 @@ input type:touchpad {
# ThinkPad TrackPoint
input "2:10:TPPS/2_ALPS_TrackPoint" {
- pointer_accel -0.5
- scroll_factor 0.1
+ accel_profile flat
+ pointer_accel 0.3
+ scroll_factor 0.2
}
diff --git a/sway/config.d/40-app-shortcuts.conf b/sway/config.d/40-app-shortcuts.conf
index 1f6b639..9c27915 100644
--- a/sway/config.d/40-app-shortcuts.conf
+++ b/sway/config.d/40-app-shortcuts.conf
@@ -1,7 +1,7 @@
# vi: ft=i3config
-bindsym $mod+Return exec "alacritty"
-bindsym $mod+Shift+Return exec "alacritty -t termite_floating"
+bindsym $mod+Return exec $term
+bindsym $mod+Shift+Return exec "$term -t termite_floating"
bindsym $mod+o exec "dolphin"
diff --git a/sway/config.d/40-sway-shortcuts.conf b/sway/config.d/40-sway-shortcuts.conf
index 1fa956d..95f8ddc 100644
--- a/sway/config.d/40-sway-shortcuts.conf
+++ b/sway/config.d/40-sway-shortcuts.conf
@@ -1,6 +1,6 @@
# vi: ft=i3config
-bindsym $mod+Shift+e exec "wofi --show fb -modi fb:rofi-exit-menu.sh"
+bindsym $mod+Shift+e exec "sh -c 'rofi-exit-menu.sh $(rofi-exit-menu.sh | bemenu)'"
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl s +5%
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl s 5%-