Quellcode durchsuchen

now use brave + kitty + awww

Noah Vogt vor 2 Tagen
Ursprung
Commit
55fc327d68

+ 3 - 3
dot-config/hypr/hyprland.conf

@@ -9,10 +9,10 @@ $mainMod = SUPER
 # source=~/.config/hypr/keybind.conf
 
 # Set programs that you use
-$terminal = wezterm
+$terminal = kitty
 $fileManager = nautilus
 $menu = fuzzel
-$browser = chromium
+$browser = brave
 
 #################
 ### AUTOSTART ###
@@ -21,7 +21,7 @@ $browser = chromium
 # Autostart necessary processes (like notifications daemons, status bars, etc.)
 # Or execute your favorite apps at launch like this:
 
-exec-once = swww-daemon &
+exec-once = awww-daemon &
 exec-once = waybar &
 exec-once = swaync &
 exec-once = syncthing &

+ 4 - 3
dot-config/hypr/scripts/toggle-theme.sh

@@ -5,6 +5,7 @@
 # Set this to where Waybar reads its config files
 WAYBAR_DIR="$HOME/.config/waybar"
 SWAYNC_DIR="$HOME/.config/swaync"
+KITTY_DIR="$HOME/.config/kitty"
 
 CURRENT_SCHEME=$(gsettings get org.gnome.desktop.interface color-scheme)
 
@@ -13,19 +14,19 @@ if [ "$CURRENT_SCHEME" == "'prefer-dark'" ]; then
     # Copy the light theme to theme.css
     cp "$WAYBAR_DIR/light.css" "$WAYBAR_DIR/theme.css"
     cp "$SWAYNC_DIR/light.css" "$SWAYNC_DIR/theme.css"
+    ln -sf "$KITTY_DIR/light_theme.conf" "$KITTY_DIR/theme.conf"
     notify-send "Light Mode" -a "System"
 else
     gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
     # Copy the dark theme to theme.css
     cp "$WAYBAR_DIR/dark.css" "$WAYBAR_DIR/theme.css"
     cp "$SWAYNC_DIR/dark.css" "$SWAYNC_DIR/theme.css"
+    ln -sf "$KITTY_DIR/dark_theme.conf" "$KITTY_DIR/theme.conf"
     notify-send "Dark Mode" -a "System"
 fi
 
 # Sends signals to these processes to speed up the theme switch
 killall -SIGUSR2 waybar
 killall -SIGUSR1 nvim
-pkill -SIGHUP wezterm
-
-# Reload SwayNC CSS styling cleanly
+pkill -USR1 kitty
 swaync-client -rs

+ 25 - 0
dot-config/kitty/dark_theme.conf

@@ -0,0 +1,25 @@
+foreground #e4e1e6
+background #1b1b1f
+cursor #add8e6
+cursor_text_color #000000
+selection_foreground #000000
+selection_background #fffacd
+
+# ANSI Colors
+color0 #3b4252
+color1 #bf616a
+color2 #a3be8c
+color3 #ebcb8b
+color4 #81a1c1
+color5 #b48ead
+color6 #88c0d0
+color7 #e5e9f0
+# Brights
+color8 #4c566a
+color9 #bf616a
+color10 #a3be8c
+color11 #ebcb8b
+color12 #81a1c1
+color13 #b48ead
+color14 #8fbcbb
+color15 #eceff4

+ 43 - 0
dot-config/kitty/kitty.conf

@@ -0,0 +1,43 @@
+# Shell
+shell /bin/zsh
+
+# Font & Ligatures
+font_family      JetBrainsMono Nerd Font
+bold_font        auto
+italic_font      auto
+bold_italic_font auto
+font_size        11.0
+disable_ligatures never
+
+# Appearance
+cursor_blink_interval 0
+enable_audio_bell no
+window_padding_width 0
+hide_window_decorations yes
+include theme.conf
+
+###################
+### Keybindings ###
+###################
+
+clear_all_shortcuts yes
+
+# Copy & Paste
+map alt+c copy_to_clipboard
+map ctrl+shift+c copy_to_clipboard
+map alt+v paste_from_clipboard
+map ctrl+shift+v paste_from_clipboard
+
+# Font Size
+map alt+shift+k change_font_size all +1.0
+map alt+shift+j change_font_size all -1.0
+map alt+0 change_font_size all 0
+
+# Scrolling
+map alt+u scroll_page_up
+map alt+d scroll_page_down
+map alt+k scroll_line_up
+map alt+j scroll_line_down
+
+# Search
+map alt+f show_scrollback

+ 25 - 0
dot-config/kitty/light_theme.conf

@@ -0,0 +1,25 @@
+foreground #2e3440
+background #eceff4
+cursor #5e81ac
+cursor_text_color #ffffff
+selection_foreground #eceff4
+selection_background #4c566a
+
+# ANSI Colors (gleich bleibend wie in deiner WezTerm Config)
+color0 #3b4252
+color1 #bf616a
+color2 #a3be8c
+color3 #ebcb8b
+color4 #81a1c1
+color5 #b48ead
+color6 #88c0d0
+color7 #e5e9f0
+# Brights
+color8 #4c566a
+color9 #bf616a
+color10 #a3be8c
+color11 #ebcb8b
+color12 #81a1c1
+color13 #b48ead
+color14 #8fbcbb
+color15 #eceff4