about summary refs log tree commit diff
path: root/home/profiles/base/config
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-03-08 17:46:14 +0900
committersefidel <contact@sefidel.net>2023-03-08 17:46:14 +0900
commit5104901343761bad8a1c1975b8165342a031e6c2 (patch)
tree9212043023b2f37bf971bd94697bdaa7948ca976 /home/profiles/base/config
parentecbc34bfca9e3ad2e82e4e75eb7f6c02c648b826 (diff)
downloadnixrc-5104901343761bad8a1c1975b8165342a031e6c2.tar.gz
nixrc-5104901343761bad8a1c1975b8165342a031e6c2.zip
feat(nixos/kompakt): add basic options
Diffstat (limited to 'home/profiles/base/config')
-rw-r--r--home/profiles/base/config/sway.nix19
-rw-r--r--home/profiles/base/config/waybar/settings.nix2
2 files changed, 20 insertions, 1 deletions
diff --git a/home/profiles/base/config/sway.nix b/home/profiles/base/config/sway.nix
index 6daa3fd..728292b 100644
--- a/home/profiles/base/config/sway.nix
+++ b/home/profiles/base/config/sway.nix
@@ -191,11 +191,30 @@ with neotheme.colors;
   output "*" scale 1
   output "*" scale_filter nearest
 
+  # MacBook screen
+  output "Unknown-1" {
+    scale 2
+    scale_filter smart
+  }
+
   input type:touchpad {
     tap enabled
     natural_scroll enabled
   }
 
+
+  input "1452:641:Apple_Internal_Keyboard_/_Trackpad" {
+    dwt enabled                 #Disable while typing
+    tap enabled                 #Tap registers as a click
+    accel_profile adaptive      #adaptive/flat cursor acceleration
+    pointer_accel 0             #From -1 to 1: Speed of cursor
+    natural_scroll enabled      #Direction of Scroll
+    scroll_factor 0.3           #Speed of Scrolling gets multiplied by this factor
+    scroll_method two_finger    #none|two_finger|edge|on_button_down
+    middle_emulation enabled    #Enables middle click
+    tap_button_map lmr          #1Finger > Left Click , 2Finger > Right Click, 3Fingers > MiddleClick
+  }
+
   input type:keyboard {
     repeat_rate 40
     repeat_delay 350
diff --git a/home/profiles/base/config/waybar/settings.nix b/home/profiles/base/config/waybar/settings.nix
index 12b65a4..07bf8a9 100644
--- a/home/profiles/base/config/waybar/settings.nix
+++ b/home/profiles/base/config/waybar/settings.nix
@@ -48,7 +48,7 @@ with neotheme.colors;
   };
 
   "battery" = {
-    format = "<span foreground='#${color6}'>BATT</span> AA {capacity}%";
+    format = "<span foreground='#${color6}'>BATT</span> {capacity}%";
     format-alt = "<span foreground='#${color6}'>PWR</span> {power}Wh";
   };