From 7350ce3e3a3290e91ef7262d58f0593523332b10 Mon Sep 17 00:00:00 2001 From: Mark Hoekveen Date: Sat, 1 Jun 2024 00:30:48 +0200 Subject: [PATCH] kitty font update --- .aliasrc | 8 ++++--- .config/hypr/hyprland.conf | 49 ++++++++++++++++++-------------------- .config/kitty/kitty.conf | 4 ++-- .config/zsh/.zshrc | 1 + 4 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.aliasrc b/.aliasrc index 73bd027..72fc7fe 100644 --- a/.aliasrc +++ b/.aliasrc @@ -2,6 +2,7 @@ alias ka="killall" \ p="sudo pacman" \ s="sudo systemctl" \ + su="systemctl --user" \ ss="sudo systemctl start" \ f="nnn" \ g="git" \ @@ -11,8 +12,7 @@ alias ka="killall" \ reflect="sudo reflector --country Netherlands --sort rate --age 12 --save /etc/pacman.d/mirrorlist" \ grep="grep --color=auto" \ diff="diff --color=auto" \ - yt="youtube-dl --add-metadata -i -o '%(upload_date)s-%(title)s.%(ext)s'" \ - yta="yt -x -f bestaudio/best" \ + yta="yt-dlp -x -f bestaudio/best" \ vim="nvim" \ cfg="$EDITOR ~/.config/hypr/hyprland.conf" \ ssh="kitty +kitten ssh" \ @@ -20,7 +20,9 @@ alias ka="killall" \ sw="swallow" \ swz="swallow zathura" \ pls="sudo" \ - o="fzf | sw xdg-open" + o="fzf | sw xdg-open" \ + gif="gifski -Q 60 --output -" \ + duf="du -sh -- */ | sort -rh" se() { du -a ~/.scripts/* ~/.config/* | awk '{print $2}' | fzf | xargs -r $EDITOR ;} vf() { fzf | xargs -r -I % $EDITOR % ;} diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 41590c8..75eaf51 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -2,7 +2,6 @@ $scr_left=DP-2 $scr_right=DP-3 $scr_port=HDMI-A-1 $Mod = SUPER -# $launcher = rofi -show drun $launcher = bemenu-run $record = wf-recorder -c libx264 -g "$(slurp)" -f ~/screenshots/mov-$(date +"%Y-%m-%d--%H-%M-%S.mp4") $bar = waybar @@ -14,7 +13,7 @@ exec-once = $wallpaper exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP #exec-once = udiskie exec-once = ~/.config/mako/launch.sh -exec-once = swayidle -w timeout 300 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on && sleep 1 && ~/.scripts/monitor 0' +exec-once = swayidle -w timeout 300 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on && sleep 1 && ~/.scripts/monitor 0 && systemctl --user restart xdg-desktop-portal xdg-desktop-portal-hyprland' exec-once = ~/.scripts/pushover "I'm on!" "Apocrypha" source = ~/.config/hypr/monitors.conf @@ -32,54 +31,49 @@ exec-once = ~/.scripts/monitor 0 source = ~/.cache/wal/hypr-colors.conf -# https://wiki.hyprland.org/Configuring/Variables/#input input { kb_layout = us kb_variant = intl numlock_by_default = true - follow_mouse = 2 + follow_mouse = 1 repeat_delay = 300 repeat_rate = 30 - #tablet { - #relative_input = true - #} } -# https://wiki.hyprland.org/Configuring/Variables/#general general { gaps_in = 10 gaps_out = 10 - border_size = 4 - col.active_border = $color4 $color0 $color4 45deg + border_size = 0 + col.active_border = $color4 col.inactive_border = $color0 no_border_on_floating = true - no_cursor_warps = true + no_cursor_warps = false layout = dwindle } # https://wiki.hyprland.org/Configuring/Variables/#decoration decoration { - rounding = 20 - active_opacity = 1.0 - inactive_opacity = 0.8 + rounding = 0 + drop_shadow = true + shadow_range = 20 + shadow_offset = 0, 0 + shadow_render_power = 4 + shadow_scale = 1 + col.shadow = $color4 + col.shadow_inactive = $color0 + dim_special = 0.0 blur { enabled = true - size = 4 - passes = 4 - noise = 0 - contrast = 1.4 - brightness = 0.8 - vibrancy = 1.0 - vibrancy_darkness = 0.1 - ignore_opacity = true + size = 8 + passes = 3 + noise = 0.1 } - drop_shadow = false } # https://wiki.hyprland.org/Configuring/Animations/ animations { - enabled = yes + enabled = false bezier = myBezier, 0.58, 0.9, 0.5, 0.97 bezier = linear, 0.0, 0.0, 1.0, 1.0 @@ -117,7 +111,7 @@ misc { focus_on_activate = false disable_hyprland_logo = true disable_splash_rendering = true - vfr = false + render_ahead_of_time = false } # Window rules and bindings @@ -128,6 +122,8 @@ windowrule = float, imv windowrule = rounding 0, imv windowrule = workspace 3 silent, discord windowrule = opacity 0.9 0.9, discord +windowrule = workspace 3 silent, vesktop +windowrule = opacity 0.9 0.9, vesktop windowrulev2 = workspace 4 silent,class:^(steam)$ windowrulev2 = noinitialfocus,class:^(steam)$ windowrulev2 = stayfocused, title:^()$,class:^(steam)$ @@ -143,10 +139,11 @@ windowrule = rounding 0, pinned:1 # Application Bindings bind = $Mod, Return, exec, $term +bind = $Mod SHIFT, Return, exec, $term -e python bind = $Mod, A, exec, $term -e cava bind = $Mod SHIFT, A, exec, $term -e pulsemixer bind = $Mod, D, exec, $launcher -bind = $Mod SHIFT, D, exec, discord --enable-gpu-rasterization --ozone-platform-hint=auto +bind = $Mod SHIFT, D, exec, vesktop --enable-gpu-rasterization --ozone-platform-hint=auto bind = $Mod CTRL, D, exec, dolphin bind = $Mod SHIFT, E, exec, [silent] steam bind = $Mod, E, exec, thunar diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 49acaef..14c87ad 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -2,8 +2,8 @@ #: Fonts {{{ -font_family Source Code Pro -bold_font Source Code Pro Black +font_family Space Mono +bold_font Space Mono Bold font_size 11.0 disable_ligatures cursor diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 00c9f1a..fe8ce4e 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -50,6 +50,7 @@ source /usr/share/fzf/completion.zsh source $ZSH/oh-my-zsh.sh source ~/.aliasrc +source ~/.scripts/env.sh # source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme # To customize prompt, run `p10k configure` or edit ~/.config/zsh/.p10k.zsh.