aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2022-12-02 01:20:00 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2022-12-02 01:20:00 +0100
commit2aedf93b3bf3b21295007cca4e9610ddc1115509 (patch)
tree0e591090d8dfda0c82bef31f0a7161852100b3d9 /sway
parentcc10f85446c2cfcf7413de04bae150cde438a6ec (diff)
downloaddotfiles-2aedf93b3bf3b21295007cca4e9610ddc1115509.tar.gz
sway
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%-