From 3ab801875313f195e6e85a9e82f0157fc94910a9 Mon Sep 17 00:00:00 2001 From: hesam-init Date: Sun, 21 Jul 2024 15:08:03 +0330 Subject: [PATCH] fix: stow shell --- hypr-configs/hyprland/gtk-3.0/settings.ini | 2 +- hypr-configs/hyprland/hypr/hyprlock.conf | 134 +++++++-------------- linux-configs | 2 +- stow.sh | 2 +- 4 files changed, 49 insertions(+), 91 deletions(-) diff --git a/hypr-configs/hyprland/gtk-3.0/settings.ini b/hypr-configs/hyprland/gtk-3.0/settings.ini index 8ea18c3..30c9705 100644 --- a/hypr-configs/hyprland/gtk-3.0/settings.ini +++ b/hypr-configs/hyprland/gtk-3.0/settings.ini @@ -2,7 +2,7 @@ gtk-theme-name=Colloid-Dark gtk-icon-theme-name=Adwaita gtk-font-name=Cantarell 11 -gtk-cursor-theme-name=Adwaita +gtk-cursor-theme-name=Bibata-Modern-Ice gtk-cursor-theme-size=24 gtk-toolbar-style=3 gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR diff --git a/hypr-configs/hyprland/hypr/hyprlock.conf b/hypr-configs/hyprland/hypr/hyprlock.conf index d3de5d8..e4c56b3 100644 --- a/hypr-configs/hyprland/hypr/hyprlock.conf +++ b/hypr-configs/hyprland/hypr/hyprlock.conf @@ -1,102 +1,60 @@ -# $text_color = rgba({{ $onBackground }}FF) -# $entry_background_color = rgba({{ $background }}11) -# $entry_border_color = rgba({{ $outline }}55) -# $entry_color = rgba({{ $onSurfaceVariant }}FF) -$text_color = rgba(FFFFFFFF) -$entry_background_color = rgba(33333311) -$entry_border_color = rgba(3B3B3B55) -$entry_color = rgba(FFFFFFFF) -$font_family = Rubik Light -$font_family_clock = Rubik Light -$font_material_symbols = Material Symbols Rounded +# _ _ _ +# | |__ _ _ _ __ _ __| | ___ ___| | __ +# | '_ \| | | | '_ \| '__| |/ _ \ / __| |/ / +# | | | | |_| | |_) | | | | (_) | (__| < +# |_| |_|\__, | .__/|_| |_|\___/ \___|_|\_\ +# |___/|_| +# background { - # color = rgba({{ $surfaceContainerLowest }}FF) - color = rgba(000000FF) - # path = {{ SWWW_WALL }} - # path = screenshot - # blur_size = 5 - # blur_passes = 4 + monitor = + path = screenshot + color = rgba(25, 20, 20, 1.0) + blur_passes = 2 + blur_size = 7 + noise = 0 + contrast = 0.5 + brightness = 0.5 + vibrancy = 0.1696 + vibrancy_darkness = 0.0 } + input-field { monitor = - size = 250, 50 - outline_thickness = 2 - dots_size = 0.1 - dots_spacing = 0.3 - outer_color = $entry_border_color - inner_color = $entry_background_color - font_color = $entry_color - # fade_on_empty = true + size = 260, 60 + outline_thickness = 0 + dots_size = 0.2 + dots_spacing = 0.15 + dots_center = true + dots_rounding = -2 + + outer_color = rgba(0, 0, 0, 0) + inner_color = rgba(11, 5, 0, 0.2) + font_color = rgb(255, 255, 255) + + placeholder_text = Input Password... + fail_text = $FAIL ($ATTEMPTS) + + fade_on_empty = false + fade_timeout = 1000 + hide_input = false + rounding = -1 + fail_transition = 300 + capslock_color = -1 + numlock_color = -1 + bothlock_color = -1 + invert_numlock = false + swap_font_color = false - position = 0, 20 halign = center valign = center } -label { # Clock +label { monitor = - text = $TIME - shadow_passes = 1 - shadow_boost = 0.5 - color = $text_color - font_size = 65 - font_family = $font_family_clock - - position = 0, 300 + text = cmd[update:1000] echo " $(date +"%H:%M:%S") " # 24H + font_size = 96 + position = 0, 40 halign = center valign = center -} -label { # Greeting - monitor = - text = hi $USER !!! - shadow_passes = 1 - shadow_boost = 0.5 - color = $text_color - font_size = 20 - font_family = $font_family - - position = 0, 240 - halign = center - valign = center -} -label { # lock icon - monitor = - text = lock - shadow_passes = 1 - shadow_boost = 0.5 - color = $text_color - font_size = 21 - font_family = $font_material_symbols - - position = 0, 65 - halign = center - valign = bottom -} -label { # "locked" text - monitor = - text = locked - shadow_passes = 1 - shadow_boost = 0.5 - color = $text_color - font_size = 14 - font_family = $font_family - - position = 0, 45 - halign = center - valign = bottom -} - -label { # Status - monitor = - text = cmd[update:5000] ${XDG_CONFIG_HOME:-$HOME/.config}/hypr/hyprlock/status.sh - shadow_passes = 1 - shadow_boost = 0.5 - color = $text_color - font_size = 14 - font_family = $font_family - - position = 30, -30 - halign = left - valign = top } \ No newline at end of file diff --git a/linux-configs b/linux-configs index a6d9b4c..9428b77 160000 --- a/linux-configs +++ b/linux-configs @@ -1 +1 @@ -Subproject commit a6d9b4cdb6aef3383bd1bb72e17b5ef24b995591 +Subproject commit 9428b77b013c65d02de4cfa04b3d3c6cd593e8bd diff --git a/stow.sh b/stow.sh index f5b9c2b..bde7c74 100755 --- a/stow.sh +++ b/stow.sh @@ -35,7 +35,7 @@ stow() { create_links $SHELL_DIR ~ log "Shell stowed successfully!" - ln -s $FISH_DIR ~/.config/fish + ln -sfn $FISH_DIR ~/.config/fish log "Fish Shell stowed successfully!" create_links $EDITOR_DIR ~