repos / dotfiles

my dotfiles

commit
0f17847
parent
4a87220
author
Eric Bower
date
2024-12-13 15:50:39 -0500 EST
chore: fish and sway
2 files changed,  +9, -21
M dot_config/fish/config.fish
+1, -0
1@@ -42,6 +42,7 @@ abbr -a scratch nvim ~/scratch.md
2 abbr -a bcp rsync -avzu --progress
3 abbr -a weather curl wttr.in/Ann+Arbor+Michigan
4 abbr -a img img2sixel
5+abbr -a sway sway --unsupported-gpu
6 
7 if type -q direnv
8   direnv hook fish | source
M dot_config/sway/config
+8, -21
 1@@ -1,4 +1,4 @@
 2-# Read `man 5 sway` for a complete reference. exec wl-paste -t text --watch clipman store exec wl-paste -p -t text --watch clipman store -P --histpath="~/.local/share/clipman-primary.json" ## Variables
 3+# Read `man 5 sway` for a complete reference.
 4 #
 5 # Logo key. Use Mod1 for Alt.
 6 set $mod Mod4
 7@@ -57,17 +57,6 @@ bindsym XF86AudioLowerVolume exec pamixer -d 5
 8 bindsym XF86AudioRaiseVolume exec pamixer -i 5
 9 bindsym $mod+Shift+s exec grimshot --notify save area
10 
11-### Input configuration
12-#
13-# Example configuration:
14-#
15-#   input "2:14:SynPS/2_Synaptics_TouchPad" {
16-#       dwt enabled
17-#       tap enabled
18-#       natural_scroll enabled
19-#       middle_emulation enabled
20-#   }
21-#
22 # You can get the names of your inputs by running: swaymsg -t get_inputs
23 # Read `man 5 sway-input` for more information about this section.
24 
25@@ -75,15 +64,8 @@ input "type:touchpad" {
26     tap enabled
27     natural_scroll disabled
28     dwt disabled
29-    accel_profile "flat" # disable mouse acceleration (enabled by default; to set it manually, use "adaptive" instead of "flat")
30-    pointer_accel 0.0 # set mouse sensitivity (between -1 and 1)
31-}
32-
33-input "1149:8257:Kensington_Slimblade_Trackball" {
34-    # 272 (left) (phys: front-left)
35-    # 273 (right) (phys: front-right)
36-    # 274 (middle) (phys: back-left)
37-    # 275 (side) (phys: back-right)
38+    accel_profile "flat"  # disable mouse acceleration
39+    pointer_accel 0.0     # set mouse sensitivity (between -1 and 1)
40 }
41 
42 input "type:keyboard" {
43@@ -102,6 +84,11 @@ input "4152:5920:SteelSeries_SteelSeries_Rival_310_eSports_Mouse_Keyboard" {
44     scroll_factor 1
45 }
46 
47+input "20547:23623:Ploopy_Corporation_Ploopy_Adept_Trackball_Mouse" {
48+  accel_profile "flat"  # disable mouse acceleration
49+  pointer_accel -0.65    # set mouse sensitivity (between -1 and 1)
50+}
51+
52 ### Key bindings
53 #
54 # Basics: