diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf index b37335cc..0489e023 100644 --- a/config/hypr/UserConfigs/UserSettings.conf +++ b/config/hypr/UserConfigs/UserSettings.conf @@ -22,7 +22,7 @@ general { apply_sens_to_raw = 1 gaps_in = 2 gaps_out = 1 - border_size = 1 + border_size = 2 resize_on_border = true col.active_border = rgba(DB4740FF) @@ -44,41 +44,35 @@ decoration { drop_shadow = true shadow_range = 6 - shadow_render_power = 3 + shadow_render_power = 1 col.shadow = rgba(0, 0, 0, 0.5) + col.shadow_inactive = 0x50000000 blur { enabled = true - size = 5 - passes = 2 + size = 4 + passes = 3 ignore_opacity = true new_optimizations = true - special = 2 } } animations { enabled = yes - bezier = myBezier, 0.05, 0.9, 0.1, 1.05 - bezier = linear, 0.0, 0.0, 1.0, 1.0 bezier = wind, 0.05, 0.9, 0.1, 1.05 bezier = winIn, 0.1, 1.1, 0.1, 1.1 bezier = winOut, 0.3, -0.3, 0, 1 - bezier = slow, 0, 0.85, 0.3, 1 - bezier = overshot, 0.7, 0.6, 0.1, 1.1 - bezier = bounce, 1.1, 1.6, 0.1, 0.85 - bezier = sligshot, 1, -1, 0.15, 1.25 - bezier = nice, 0, 6.9, 0.5, -4.20 + bezier = liner, 1, 1, 1, 1 - animation = windowsIn, 1, 5, slow, popin - animation = windowsOut, 1, 5, winOut, popin + animation = windows, 1, 6, wind, slide + animation = windowsIn, 1, 6, winIn, slide + animation = windowsOut, 1, 5, winOut, slide animation = windowsMove, 1, 5, wind, slide - animation = border, 1, 10, linear - animation = borderangle, 1, 180, linear, loop #used by rainbow borders and rotating colors - animation = fade, 1, 5, overshot + animation = border, 1, 1, liner + animation = borderangle, 1, 180, liner, loop #used by rainbow borders and rotating colors + animation = fade, 1, 10, default animation = workspaces, 1, 5, wind - animation = windows, 1, 5, bounce, popin } input { @@ -119,7 +113,7 @@ misc { disable_hyprland_logo = true disable_splash_rendering = true mouse_move_enables_dpms = true - vrr = 1 + #vrr = 0 enable_swallow = true no_direct_scanout = true #for fullscreen games focus_on_activate = false diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index fe91f722..be4b607b 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -4,7 +4,7 @@ windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$ windowrulev2 = opacity 0.9 0.6, class:^(yad)$ windowrulev2 = opacity 0.9 0.6, class:^(mousepad)$ -windowrulev2 = opacity 0.9 0.6, class:^(geany)$ +windowrulev2 = opacity 0.9 0.9, class:^(geany)$ windowrulev2 = opacity 0.80 0.70,class:^(nm-applet)$ windowrulev2 = opacity 0.80 0.70,class:^(nm-connection-editor)$ @@ -55,8 +55,8 @@ windowrulev2 = center, class:(com.obsproject.Studio), title:(Select Recording Di windowrulev2 = workspace 3, class:^(firefox)$ windowrulev2 = workspace 3, class:^(qutebrowser)$ windowrulev2 = workspace 3, class:^(Firefox-esr)$ -windowrulev2 = opacity 0.9 0.6, class:^(firefox)$ -windowrulev2 = opacity 0.95 0.75,title:^(Picture-in-Picture)$ +windowrulev2 = opacity 0.9 0.9, class:^(firefox)$ +windowrulev2 = opacity 0.95 0.95,title:^(Picture-in-Picture)$ windowrulev2 = pin,title:^(Picture-in-Picture)$ windowrulev2 = float, title:^(Picture-in-Picture)$ windowrulev2 = size 25% 25%,title:^(Picture-in-Picture)$ @@ -85,7 +85,7 @@ windowrulev2 = size 477 149, class:(thunar), title:(Create New Folder) windowrulev2 = center, class:(thunar), title:(Create New Folder) windowrulev2 = workspace 4, class:(thunar) -windowrulev2 = opacity 0.9 0.7, class:^([Tt]hunar)$ +windowrulev2 = opacity 0.9 0.9, class:^([Tt]hunar)$ #windowrulev2 = float, class:(thunar) #windowrulev2 = size 1161 619, class:(thunar) #windowrulev2 = center, class:(thunar) @@ -104,7 +104,7 @@ windowrulev2 = center 1, $center-float-title # VS Code windowrulev2 = workspace 2, class:^(.*Code.*)$|(.*codium.*)$|(.*VSCodium.*) -windowrulev2 = opacity 0.9 0.6, class:^(.*Code.*)$|(.*codium.*)$|(.*codium-url-handler.*)$|(.*VSCodium.*) +windowrulev2 = opacity 0.9 0.9, class:^(.*Code.*)$|(.*codium.*)$|(.*codium-url-handler.*)$|(.*VSCodium.*) # Telegram @@ -137,7 +137,7 @@ windowrulev2 = center, class:(org.qbittorrent.qBittorrent), title:(.*qbittorrent # Kitty -windowrule = opacity 0.9 0.7,kitty +windowrule = opacity 0.9 0.9,kitty windowrule = float, title:^(fly_is_kitty)$ windowrule = size 800 500, title:^(fly_is_kitty)$ windowrule = move center, title:^(fly_is_kitty)$ diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index 26790fd1..70eb7384 100755 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -1,44 +1,47 @@ #!/bin/bash -# A bash script designed to run only once dotfiles installed - +# A bash script designed to run only once to install dotfiles # THIS SCRIPT CAN BE DELETED ONCE SUCCESSFULLY BOOTED!! # Variables -wallpaper=$HOME/Pictures/wallpapers/wall-03.jpg +wallpaper="$HOME/Pictures/wallpapers/wall-03.jpg" kvantum_theme="Darker" color_scheme="prefer-dark" gtk_theme="Darker" icon_theme="Tela-circle-dark" -cursor_theme="Bibata-Orginal-Classic" -font_name=" JetBrainsMono Nerd Font 10" +cursor_theme="Bibata-Original-Classic" +font_name="JetBrainsMono Nerd Font 12" swww="swww img" effect="--transition-bezier .43,1.19,1,.4 --transition-fps 30 --transition-type grow --transition-pos 0.925,0.977 --transition-duration 2" - # Check if a marker file exists. - if [ ! -f $HOME/cache/.initial_startup_done ]; then +# Check if a marker file exists. +if [ ! -f "$HOME/.cache/.initial_startup_done" ]; then # Initial scripts to load in order to have a proper wallpaper - swww query || swww-daemon && $swww $wallpaper $effect + if ! pgrep -x "swww-daemon" > /dev/null; then + swww-daemon + fi + $swww "$wallpaper" $effect - # initiate GTK dark mode and apply icon and cursor theme - gsettings set org.gnome.desktop.interface color-scheme $color_scheme > /dev/null 2>&1 & - gsettings set org.gnome.desktop.interface gtk-theme $gtk_theme > /dev/null 2>&1 & - gsettings set org.gnome.desktop.wm.preferences theme $gtk_theme > /dev/null 2>&1 & - gsettings set org.gnome.desktop.interface icon-theme $icon_theme > /dev/null 2>&1 & - gsettings set org.gnome.desktop.interface cursor-theme $cursor_theme > /dev/null 2>&1 & + # Initiate GTK dark mode and apply icon and cursor theme + gsettings set org.gnome.desktop.interface color-scheme "$color_scheme" > /dev/null 2>&1 & + gsettings set org.gnome.desktop.interface gtk-theme "$gtk_theme" > /dev/null 2>&1 & + gsettings set org.gnome.desktop.wm.preferences theme "$gtk_theme" > /dev/null 2>&1 & + gsettings set org.gnome.desktop.interface icon-theme "$icon_theme" > /dev/null 2>&1 & + gsettings set org.gnome.desktop.interface cursor-theme "$cursor_theme" > /dev/null 2>&1 & gsettings set org.gnome.desktop.interface cursor-size 6 > /dev/null 2>&1 & - gsettings set org.gnome.desktop.interface font-name $font_name > /dev/null 2>&1 & + gsettings set org.gnome.desktop.interface font-name "$font_name" > /dev/null 2>&1 & - # initiate kvantum theme + # Initiate Kvantum theme kvantummanager --set "$kvantum_theme" > /dev/null 2>&1 & - #initiate the kb_layout - grep 'kb_layout=' "$HOME/dotfiles/hypr/UserConfigs/UserSettings.conf" | cut -d '=' -f 2 | cut -d ',' -f 1 2>/dev/null > $HOME/.cache/kb_layout + # Initiate the keyboard layout + kb_layout=$(grep 'kb_layout=' "$HOME/dotfiles/hypr/UserConfigs/UserSettings.conf" | cut -d '=' -f 2 | cut -d ',' -f 1) + echo "$kb_layout" > "$HOME/.cache/kb_layout" # Create a marker file to indicate that the script has been executed. - touch $HOME/.cache/.initial_startup_done + touch "$HOME/.cache/.initial_startup_done" exit fi diff --git a/config/hypr/scripts/System_cmd.sh b/config/hypr/scripts/System_cmd.sh index 860d5fe8..c715ab33 100755 --- a/config/hypr/scripts/System_cmd.sh +++ b/config/hypr/scripts/System_cmd.sh @@ -159,7 +159,7 @@ battery_notify() { FULL_CHARGE_NOTIFIED=1 # Set the state to indicate that the full charge notification has been sent fi - if [ "$PERCENT" -le 20 ] && [ "$LOW_BATTERY_NOTIFIED" -eq 0 ]; then # Check if the battery percentage is less than or equal to 20% and low battery notification has not been sent + if [ "$PERCENT" -le 40 ] && [ "$LOW_BATTERY_NOTIFIED" -eq 0 ]; then # Check if the battery percentage is less than or equal to 20% and low battery notification has not been sent notify-send -u critical "🪫 Low Battery" "Plug in the charger" # Send low battery notification LOW_BATTERY_NOTIFIED=1 # Set the state to indicate that the low battery notification has been sent fi diff --git a/config/hypr/wallpaper_effects/.wallpaper_current b/config/hypr/wallpaper_effects/.wallpaper_current index c44c24ff..63f5d759 120000 --- a/config/hypr/wallpaper_effects/.wallpaper_current +++ b/config/hypr/wallpaper_effects/.wallpaper_current @@ -1 +1 @@ -/home/sankalp/Pictures/wallpapers/wall-35.jpg \ No newline at end of file +/home/sankalp/Pictures/wallpapers/wall-15.png \ No newline at end of file diff --git a/config/hypr/wallpaper_effects/.wallpaper_modified b/config/hypr/wallpaper_effects/.wallpaper_modified index a7c14631..c44f89a5 100644 Binary files a/config/hypr/wallpaper_effects/.wallpaper_modified and b/config/hypr/wallpaper_effects/.wallpaper_modified differ diff --git a/setup b/setup index 0262cab1..90139c14 100755 --- a/setup +++ b/setup @@ -93,7 +93,6 @@ pkg=( ttf-firacode-nerd noto-fonts gnu-free-fonts - qutebrowser bibata-cursor-theme-bin swayosd-git )