From 694727db4d14c7999c66c4c13810ba429fedb850 Mon Sep 17 00:00:00 2001 From: ambertia <95402631+ambertia@users.noreply.github.com> Date: Wed, 5 Jun 2024 02:24:43 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Implemented=20rofimoji,=20added=20a?= =?UTF-8?q?=20colorizer=20to=20VSCodium,=20added=20basic=20Ranger=20config?= =?UTF-8?q?s,=20added=20noto=20fonts=20as=20fallback=20for=20kitty=20for?= =?UTF-8?q?=20basic=20emoji?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .backgrounds/generate-backgrounds.sh | 6 +- .config/VSCodium/User/settings.json | 13 ++ .config/hypr/hyprland.conf | 1 + .config/kitty/kitty.conf | 2 +- .config/ranger/rc.conf | 2 + .config/ranger/rifle.conf | 285 +++++++++++++++++++++++++++ .config/rofimoji.rc | 3 + 7 files changed, 310 insertions(+), 2 deletions(-) create mode 100644 .config/ranger/rc.conf create mode 100644 .config/ranger/rifle.conf create mode 100644 .config/rofimoji.rc diff --git a/.backgrounds/generate-backgrounds.sh b/.backgrounds/generate-backgrounds.sh index d56db6b..9fe5a8e 100755 --- a/.backgrounds/generate-backgrounds.sh +++ b/.backgrounds/generate-backgrounds.sh @@ -9,5 +9,9 @@ # only be one screen with this specific aspect ratio 99.9% of the time. ASPECT_RATIO="3:2" + +# Convert jpgs to png because hyprlock only supports png at the moment +(cd originals && mogrify -format png *.jpg) + +# Minimally crop to aspect ratio, repage, and put up in the main .backgrounds directory (cd originals && mogrify -gravity center -crop $ASPECT_RATIO +repage -path ../ *.png) -(cd originals && mogrify -gravity center -crop $ASPECT_RATIO -path ../ *.jpg) diff --git a/.config/VSCodium/User/settings.json b/.config/VSCodium/User/settings.json index 61c276d..fee06de 100644 --- a/.config/VSCodium/User/settings.json +++ b/.config/VSCodium/User/settings.json @@ -42,4 +42,17 @@ "editor.stickyScroll.maxLineCount": 2, "workbench.tree.stickyScrollMaxItemCount": 2, + + "colorize.include": [ + "**/*.css", + "**/*.scss", + "**/*.sass", + "**/*.less", + "**/*.styl", + "**/*" + ], + + "colorize.colorized_variables": [ + "LESS" + ] } \ No newline at end of file diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 9d77f1e..88e571b 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -175,6 +175,7 @@ bind = , Print, exec, grim -g "$(slurp)" - | swappy -f - # Take a screenshot wit bind = ALT, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy && wl-paste # Open clipboard manager bind = $mainMod, N, exec, wlogout # Launch logout menu bind = $mainMod, G, exec, hyprpicker --autocopy --format=hex # Open color picker +bind = $mainMod SHIFT, E, exec, rofimoji # TODO nChain options - eventually # Changed focus movement to Vimlike syntax diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 039806f..4f8e4e9 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -6,7 +6,7 @@ #: individual font faces and even specify special fonts for particular #: characters. -font_family Iosevka NF +font_family Iosevka NF, Noto Color Emoji bold_font Iosevka NF ExtraBold italic_font Iosevka NF Italic bold_italic_font Iosevka NF ExtraBold Italic diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf new file mode 100644 index 0000000..b98ca02 --- /dev/null +++ b/.config/ranger/rc.conf @@ -0,0 +1,2 @@ +set preview_images true +set show_hidden true diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf new file mode 100644 index 0000000..2822f0a --- /dev/null +++ b/.config/ranger/rifle.conf @@ -0,0 +1,285 @@ +# vim: ft=cfg +# +# This is the configuration file of "rifle", ranger's file executor/opener. +# Each line consists of conditions and a command. For each line the conditions +# are checked and if they are met, the respective command is run. +# +# Syntax: +# , , ... = command +# +# The command can contain these environment variables: +# $1-$9 | The n-th selected file +# $@ | All selected files +# +# If you use the special command "ask", rifle will ask you what program to run. +# +# Prefixing a condition with "!" will negate its result. +# These conditions are currently supported: +# match | The regexp matches $1 +# ext | The regexp matches the extension of $1 +# mime | The regexp matches the mime type of $1 +# name | The regexp matches the basename of $1 +# path | The regexp matches the absolute path of $1 +# has | The program is installed (i.e. located in $PATH) +# env | The environment variable "variable" is non-empty +# file | $1 is a file +# directory | $1 is a directory +# number | change the number of this command to n +# terminal | stdin, stderr and stdout are connected to a terminal +# X | A graphical environment is available (darwin, Xorg, or Wayland) +# +# There are also pseudo-conditions which have a "side effect": +# flag | Change how the program is run. See below. +# label