From bcd9c4d5ef31390e554778b5d9d6c27ef3cae684 Mon Sep 17 00:00:00 2001 From: rayanramoul Date: Sat, 26 Oct 2024 21:33:54 +0200 Subject: [PATCH] feat: add hyprpaper and hyprpanel --- dotfiles/.config/hypr/hyprland.conf | 3 +- dotfiles/.config/hypr/hyprpanel_layout.json | 40 ++++++++++++++ dotfiles/.config/hypr/hyprpaper.conf | 2 + dotfiles/.config/hypr/start.sh | 6 +-- dotfiles/.config/kitty/kitty.conf | 58 +++++++++++---------- dotfiles/.zshrc | 7 +++ 6 files changed, 84 insertions(+), 32 deletions(-) create mode 100644 dotfiles/.config/hypr/hyprpanel_layout.json create mode 100644 dotfiles/.config/hypr/hyprpaper.conf diff --git a/dotfiles/.config/hypr/hyprland.conf b/dotfiles/.config/hypr/hyprland.conf index 20e5575..51be87a 100644 --- a/dotfiles/.config/hypr/hyprland.conf +++ b/dotfiles/.config/hypr/hyprland.conf @@ -267,9 +267,10 @@ workspace = 8, monitor:HDMI-A-1 workspace = 9, monitor:HDMI-A-1 -exec-once=bash ~/.config/hypr/start.sh +exec-once=hyprpaper exec-once=ulauncher --hide-window exec-once=hypridle +exec-once=ags # top bar ########## monitor layout ########## # monitor=DP-1,3440x1440@60,0x0,1 diff --git a/dotfiles/.config/hypr/hyprpanel_layout.json b/dotfiles/.config/hypr/hyprpanel_layout.json new file mode 100644 index 0000000..d812f8b --- /dev/null +++ b/dotfiles/.config/hypr/hyprpanel_layout.json @@ -0,0 +1,40 @@ +{ + "0": { + "left": [ + "dashboard", + "workspaces", + "windowtitle" + ], + "middle": [ + "media" + ], + "right": [ + "volume", + "network", + "bluetooth", + "battery", + "systray", + "clock", + "notifications" + ] + }, + "1": { + "left": [ + "dashboard", + "workspaces", + "windowtitle" + ], + "middle": [ + "media" + ], + "right": [ + "volume", + "network", + "bluetooth", + "battery", + "systray", + "clock", + "notifications" + ] + } +} diff --git a/dotfiles/.config/hypr/hyprpaper.conf b/dotfiles/.config/hypr/hyprpaper.conf new file mode 100644 index 0000000..4adefe8 --- /dev/null +++ b/dotfiles/.config/hypr/hyprpaper.conf @@ -0,0 +1,2 @@ +preload = ~/Pictures/wallpaper_resized.png +wallpaper = , ~/Pictures/wallpaper_resized.png diff --git a/dotfiles/.config/hypr/start.sh b/dotfiles/.config/hypr/start.sh index 1ab9094..4d52c80 100755 --- a/dotfiles/.config/hypr/start.sh +++ b/dotfiles/.config/hypr/start.sh @@ -4,7 +4,7 @@ swww init & swww img ~/Pictures/wallpaper.png & -nm-applet --indicator & +# nm-applet --indicator & -#bash ~/.config/hypr/launch-waybar.sh & -waybar & +# #bash ~/.config/hypr/launch-waybar.sh & +# waybar & diff --git a/dotfiles/.config/kitty/kitty.conf b/dotfiles/.config/kitty/kitty.conf index a12f5ed..66496db 100644 --- a/dotfiles/.config/kitty/kitty.conf +++ b/dotfiles/.config/kitty/kitty.conf @@ -1,31 +1,3 @@ -# Colors -foreground #c0caf5 -background #1a1b26 - -# Normal colors -color0 #15161e -color1 #f7768e -color2 #9ece6a -color3 #e0af68 -color4 #7aa2f7 -color5 #bb9af7 -color6 #7dcfff -color7 #a9b1d6 - -# Bright colors -color8 #414868 -color9 #f7768e -color10 #9ece6a -color11 #e0af68 -color12 #7aa2f7 -color13 #bb9af7 -color14 #7dcfff -color15 #c0caf5 - -# Indexed Colors -color16 #ff9e64 -color17 #db4b4b - # Font settings font_family JetBrainsMono NF bold_font JetBrainsMono NF Bold @@ -65,3 +37,33 @@ shell_integration enabled cursor_shape_when_dragging block background_blur 1 + + +# Colors +foreground #c0caf5 +background #1a1b26 + +# Normal colors +color0 #15161e +color1 #f7768e +color2 #9ece6a +color3 #e0af68 +color4 #7aa2f7 +color5 #bb9af7 +color6 #7dcfff +color7 #a9b1d6 + +# Bright colors +color8 #414868 +color9 #f7768e +color10 #9ece6a +color11 #e0af68 +color12 #7aa2f7 +color13 #bb9af7 +color14 #7dcfff +color15 #c0caf5 + +# Indexed Colors +color16 #ff9e64 +color17 #db4b4b + diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc index 635381d..0bfe8bc 100644 --- a/dotfiles/.zshrc +++ b/dotfiles/.zshrc @@ -126,3 +126,10 @@ source ~/miniconda3/bin/activate base export PATH="$HOME/google-cloud-sdk/bin:$PATH" + +# bun completions +[ -s "/home/rayanramoul/.bun/_bun" ] && source "/home/rayanramoul/.bun/_bun" + +# bun +export BUN_INSTALL="$HOME/.bun" +export PATH="$BUN_INSTALL/bin:$PATH"