瀏覽代碼

use syncthing daemon + don't swap alt and super on macbook + less space in waybar + add ghostty config

Noah Vogt 2 天之前
父節點
當前提交
0552046dd3
共有 3 個文件被更改,包括 55 次插入15 次删除
  1. 34 0
      dot-config/ghostty/config
  2. 10 4
      dot-config/hypr/hyprland.conf
  3. 11 11
      dot-config/waybar/config.jsonc

+ 34 - 0
dot-config/ghostty/config

@@ -0,0 +1,34 @@
+# Font Settings
+font-family = "JetBrainsMono Nerd Font"
+font-size = 11
+font-feature = ["calt", "liga", "dlig"] # Aktiviert alle Ligaturen
+
+# Appearance
+theme = dark:custom_dark,light:custom_light
+window-decoration = false
+cursor-style = block
+cursor-style-blink = false
+
+###################
+### Keybindings ###
+###################
+
+# Copy & Paste
+keybind = alt+c=copy_to_clipboard
+keybind = ctrl+shift+c=copy_to_clipboard
+keybind = alt+v=paste_from_clipboard
+keybind = ctrl+shift+v=paste_from_clipboard
+
+# Font Size
+keybind = alt+shift+k=increase_font_size:1
+keybind = alt+shift+j=decrease_font_size:1
+keybind = alt+zero=reset_font_size
+
+# Scrolling
+keybind = alt+u=scroll_page_up
+keybind = alt+d=scroll_page_down
+keybind = alt+k=scroll_line_up
+keybind = alt+j=scroll_line_down
+
+# Search
+keybind = alt+f=inspector:toggle

+ 10 - 4
dot-config/hypr/hyprland.conf

@@ -1,5 +1,5 @@
 monitor=,preferred,auto,auto
-
+$mainMod = SUPER
 
 ###################
 ### MY PROGRAMS ###
@@ -22,8 +22,9 @@ $browser = chromium
 # Or execute your favorite apps at launch like this:
 
 exec-once = swww-daemon &
-exec-once = waybar
-exec-once = swaync
+exec-once = waybar &
+exec-once = swaync &
+exec-once = syncthing &
 # exec-once = $terminal
 # exec-once = nm-applet &
 # exec-once = waybar & hyprpaper & firefox
@@ -205,13 +206,18 @@ device {
     sensitivity = -0.5
 }
 
+device {
+    name = apple-inc.-apple-internal-keyboard-/-trackpad
+    kb_options = caps:swapescape
+    bindr = $mainMod, ALT_L, exec, fuzzel
+}
+
 
 ###################
 ### KEYBINDINGS ###
 ###################
 
 # See https://wiki.hypr.land/Configuring/Keywords/
-$mainMod = SUPER
 bindr = $mainMod, SUPER_L, exec, fuzzel
 
 # Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more

+ 11 - 11
dot-config/waybar/config.jsonc

@@ -58,7 +58,7 @@
 
     "backlight": {
         "device": "intel_backlight",
-        "format": "{icon}   {percent}%",
+        "format": "{icon}  {percent}%",
         "format-icons": ["󰃞", "󰃟", "󰃠"],
         "on-scroll-up": "brightnessctl set 1%+",
         "on-scroll-down": "brightnessctl set 1%-",
@@ -71,26 +71,26 @@
             "warning": 30,
             "critical": 15
         },
-        "format": "{icon}   {capacity}%",
-        "format-charging": "󰂄   {capacity}%",
-        "format-plugged": "󰂄   {capacity}%",
-        "format-alt": "{icon}   {time}",
+        "format": "{icon}  {capacity}%",
+        "format-charging": "󰂄  {capacity}%",
+        "format-plugged": "󰂄  {capacity}%",
+        "format-alt": "{icon}  {time}",
         "format-icons": ["󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"]
     },
 
     "network": {
-        "format-wifi": "   {essid}",
-        "format-ethernet": "󰈀   {ipaddr}/{cidr}",
-        "format-linked": "󰈀   {ifname} (No IP)",
-        "format-disconnected": "󰖪   Disconnected",
+        "format-wifi": "  {essid}",
+        "format-ethernet": "󰈀  {ipaddr}/{cidr}",
+        "format-linked": "󰈀  {ifname} (No IP)",
+        "format-disconnected": "󰖪  Disconnected",
         "tooltip-format": "{ifname} via {gwaddr} ",
         "format-alt": "{ifname}: {ipaddr}/{cidr}"
     },
 
     "network#vpn": {
         "interface": "tun*",
-        "format-wifi": "   VPN Connected",
-        "format-ethernet": "   VPN Connected",
+        "format-wifi": "  VPN",
+        "format-ethernet": "  VPN",
         "format-disconnected": "",
         "tooltip-format": "VPN Active",
         "interval": 5